diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 0b833d9dc4..fc33b085a4 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,7 +1,5 @@ #include "util/options.h" - -// Dear CI, please update stage0 - +// Please update stage0 namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Lean/DocString/Add.c b/stage0/stdlib/Lean/DocString/Add.c index 6d5fa67787..5a4cb43200 100644 --- a/stage0/stdlib/Lean/DocString/Add.c +++ b/stage0/stdlib/Lean/DocString/Add.c @@ -14,15 +14,23 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__1; LEAN_EXPORT lean_object* l_Lean_addDocStringOf___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_addMarkdownDocString___at___Lean_addDocStringOf_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_versoDocStringFromString___closed__0; +lean_object* l_Lean_findInternalDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_logError___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(lean_object*, lean_object*); static lean_object* l_Lean_versoDocString___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMarkdownDocString___redArg___lam__0___closed__0; lean_object* l_Lean_indentD(lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); @@ -30,12 +38,13 @@ LEAN_EXPORT lean_object* l_Lean_addDocStringOf(uint8_t, lean_object*, lean_objec LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_versoDocString_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString(lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocString(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_throwErrorAt___at___Lean_versoDocString_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_removeLeadingSpaces(lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +static lean_object* l_Lean_makeDocStringVerso___closed__0; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_rewriteManualLinksCore(lean_object*, lean_object*); @@ -44,45 +53,56 @@ lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfN static lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, 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_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__2; uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addVersoDocStringCore___redArg___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString___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*); static lean_object* l_Lean_versoDocString___closed__0; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_doc_verso; uint8_t lean_string_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___lam__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable(lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_versoDocString_spec__7___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__4(lean_object*, lean_object*); static lean_object* l_Lean_addVersoDocStringCore___redArg___lam__3___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__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_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0; +static lean_object* l_Lean_versoDocStringFromString___closed__3; lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___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_validateDocComment___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_object*, lean_object*); lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addVersoDocStringFromString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); +static lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1; lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_versoDocString_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,39 +113,56 @@ LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___at___Lean_addDocStringOf_ lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___lam__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_makeDocStringVerso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_versoDocString___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_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_FileMap_ofString(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_versoDocString_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocString___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMarkdownDocString___redArg___lam__6___closed__2; -lean_object* l_Lean_Doc_elabBlocks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_elabBlocks(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_Doc_Parser_document(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_minView___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_versoDocString_spec__7(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_versoDocString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_warningAsError; extern lean_object* l_Lean_Elab_pp_macroStack; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_prev(lean_object*, lean_object*); extern lean_object* l_Lean_docStringExt; +static lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0; LEAN_EXPORT lean_object* l_Lean_addDocString___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_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__0; +static lean_object* l_Lean_versoDocStringFromString___closed__1; static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___closed__2; -lean_object* l_Lean_Doc_DocM_exec___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_DocM_exec___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__5; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TSyntax_getDocString(lean_object*); +lean_object* l_Lean_Core_setMessageLog___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___redArg___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMarkdownDocString___redArg___lam__6___closed__1; +static lean_object* l_Lean_makeDocStringVerso___closed__2; LEAN_EXPORT lean_object* l_Lean_validateDocComment___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); static lean_object* l_Lean_versoDocString___closed__3; LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___redArg___lam__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); lean_object* l_Lean_logErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,25 +170,30 @@ lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__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* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getDocStringText___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__6; +static lean_object* l_Lean_versoDocStringFromString___closed__2; LEAN_EXPORT lean_object* l_Lean_addDocString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_removeBuiltinDocString(lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___closed__1; lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_versoDocStringExt; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__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_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__4; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0(uint8_t, uint8_t, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__7; lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDocString___closed__0; static lean_object* l_Lean_addVersoDocStringCore___redArg___lam__3___closed__1; @@ -159,51 +201,74 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___closed__0; +lean_object* l_Std_DTreeMap_Internal_Impl_maxView___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___closed__4; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1; static lean_object* l_Lean_versoDocString___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0; +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__0; static lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__1; -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__2; size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__2___closed__1; +lean_object* lean_io_error_to_string(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__2___closed__0; +lean_object* l_Lean_Name_mkStr1(lean_object*); +static lean_object* l_Lean_makeDocStringVerso___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_getAndEmptyMessageLog___redArg(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_versoDocString___closed__1; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_MessageLog_toArray(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_versoDocString___closed__2; +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_versoDocStringFromString_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMarkdownDocString___redArg___lam__6___closed__3; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); LEAN_EXPORT lean_object* l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocString_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_validateDocComment___redArg___lam__0(lean_object* x_1, lean_object* x_2) { _start: { @@ -1687,7 +1752,7 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; x_21 = lean_ctor_get(x_8, 1); x_22 = lean_ctor_get(x_18, 0); lean_inc(x_22); @@ -1697,25 +1762,25 @@ x_24 = lean_ctor_get(x_8, 2); x_25 = lean_ctor_get(x_8, 6); x_26 = lean_ctor_get(x_8, 7); x_27 = lean_ctor_get(x_21, 0); -x_61 = lean_string_utf8_prev(x_27, x_22); +x_62 = lean_string_utf8_prev(x_27, x_22); lean_dec(x_22); -x_62 = lean_string_utf8_prev(x_27, x_61); -lean_dec(x_61); -x_63 = lean_string_utf8_byte_size(x_27); -x_64 = lean_nat_dec_le(x_62, x_63); -if (x_64 == 0) -{ +x_63 = lean_string_utf8_prev(x_27, x_62); lean_dec(x_62); -x_28 = x_63; -goto block_60; +x_64 = lean_string_utf8_byte_size(x_27); +x_65 = lean_nat_dec_le(x_63, x_64); +if (x_65 == 0) +{ +lean_dec(x_63); +x_28 = x_64; +goto block_61; } else { -lean_dec(x_63); -x_28 = x_62; -goto block_60; +lean_dec(x_64); +x_28 = x_63; +goto block_61; } -block_60: +block_61: { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; x_29 = lean_st_ref_get(x_9, x_10); @@ -1795,7 +1860,7 @@ return x_51; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_object* x_52; lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_dec_ref(x_40); x_52 = lean_ctor_get(x_39, 0); lean_inc_ref(x_52); @@ -1807,10 +1872,11 @@ lean_dec(x_53); x_55 = lean_array_size(x_54); x_56 = 0; x_57 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_versoDocString_spec__7(x_55, x_56, x_54); -x_58 = lean_alloc_closure((void*)(l_Lean_Doc_elabBlocks), 10, 1); +x_58 = lean_alloc_closure((void*)(l_Lean_Doc_elabBlocks), 11, 1); lean_closure_set(x_58, 0, x_57); -x_59 = l_Lean_Doc_DocM_exec___redArg(x_1, x_2, x_58, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -return x_59; +x_59 = 0; +x_60 = l_Lean_Doc_DocM_exec___redArg(x_1, x_2, x_58, x_59, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +return x_60; } } } @@ -1984,6 +2050,1801 @@ lean_dec(x_3); return x_11; } } +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 1); +x_6 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__0; +x_7 = lean_string_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 0); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_4, 1); +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__1; +x_12 = lean_string_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__2; +x_14 = lean_string_dec_eq(x_10, x_13); +if (x_14 == 0) +{ +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__3; +x_16 = lean_string_dec_eq(x_9, x_15); +if (x_16 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__4; +x_18 = lean_string_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +return x_1; +} +} +default: +{ +return x_1; +} +} +} +else +{ +return x_1; +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_warningAsError; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; uint8_t x_86; uint8_t x_87; lean_object* x_88; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; uint8_t x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; +x_133 = 2; +x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); +if (x_158 == 0) +{ +x_142 = x_158; +goto block_157; +} +else +{ +uint8_t x_159; +lean_inc_ref(x_2); +x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_142 = x_159; +goto block_157; +} +block_80: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_st_ref_take(x_18, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_17, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 7); +lean_inc(x_25); +lean_dec_ref(x_17); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_22, 6); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_13); +x_29 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 1, x_14); +lean_ctor_set(x_29, 2, x_11); +lean_ctor_set(x_29, 3, x_10); +lean_ctor_set(x_29, 4, x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_16); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_15); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); +x_30 = l_Lean_MessageLog_add(x_29, x_27); +lean_ctor_set(x_22, 6, x_30); +x_31 = lean_st_ref_set(x_18, x_22, x_23); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +x_40 = lean_ctor_get(x_22, 2); +x_41 = lean_ctor_get(x_22, 3); +x_42 = lean_ctor_get(x_22, 4); +x_43 = lean_ctor_get(x_22, 5); +x_44 = lean_ctor_get(x_22, 6); +x_45 = lean_ctor_get(x_22, 7); +x_46 = lean_ctor_get(x_22, 8); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_13); +x_48 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_48, 0, x_12); +lean_ctor_set(x_48, 1, x_14); +lean_ctor_set(x_48, 2, x_11); +lean_ctor_set(x_48, 3, x_10); +lean_ctor_set(x_48, 4, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_16); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_15); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); +x_49 = l_Lean_MessageLog_add(x_48, x_44); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_43); +lean_ctor_set(x_50, 6, x_49); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set(x_50, 8, x_46); +x_51 = lean_st_ref_set(x_18, x_50, x_23); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_ctor_get(x_17, 6); +lean_inc(x_58); +x_59 = lean_ctor_get(x_17, 7); +lean_inc(x_59); +lean_dec_ref(x_17); +x_60 = lean_ctor_get(x_56, 0); +lean_inc_ref(x_60); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_56, 2); +lean_inc_ref(x_62); +x_63 = lean_ctor_get(x_56, 3); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_56, 4); +lean_inc_ref(x_64); +x_65 = lean_ctor_get(x_56, 5); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_56, 6); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_56, 7); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_56, 8); +lean_inc_ref(x_68); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + lean_ctor_release(x_56, 2); + lean_ctor_release(x_56, 3); + lean_ctor_release(x_56, 4); + lean_ctor_release(x_56, 5); + lean_ctor_release(x_56, 6); + lean_ctor_release(x_56, 7); + lean_ctor_release(x_56, 8); + x_69 = x_56; +} else { + lean_dec_ref(x_56); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_58); +lean_ctor_set(x_70, 1, x_59); +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_13); +x_72 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_72, 0, x_12); +lean_ctor_set(x_72, 1, x_14); +lean_ctor_set(x_72, 2, x_11); +lean_ctor_set(x_72, 3, x_10); +lean_ctor_set(x_72, 4, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_16); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_15); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); +x_73 = l_Lean_MessageLog_add(x_72, x_66); +if (lean_is_scalar(x_69)) { + x_74 = lean_alloc_ctor(0, 9, 0); +} else { + x_74 = x_69; +} +lean_ctor_set(x_74, 0, x_60); +lean_ctor_set(x_74, 1, x_61); +lean_ctor_set(x_74, 2, x_62); +lean_ctor_set(x_74, 3, x_63); +lean_ctor_set(x_74, 4, x_64); +lean_ctor_set(x_74, 5, x_65); +lean_ctor_set(x_74, 6, x_73); +lean_ctor_set(x_74, 7, x_67); +lean_ctor_set(x_74, 8, x_68); +x_75 = lean_st_ref_set(x_18, x_74, x_57); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +x_78 = lean_box(0); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +} +block_109: +{ +lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_89 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_90 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__0(x_89, x_5, x_6, x_7, x_8, x_9); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc_ref(x_82); +x_94 = l_Lean_FileMap_toPosition(x_82, x_83); +lean_dec(x_83); +x_95 = l_Lean_FileMap_toPosition(x_82, x_88); +lean_dec(x_88); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___closed__0; +if (x_84 == 0) +{ +lean_free_object(x_90); +lean_dec_ref(x_81); +x_10 = x_97; +x_11 = x_96; +x_12 = x_85; +x_13 = x_92; +x_14 = x_94; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +else +{ +uint8_t x_98; +lean_inc(x_92); +x_98 = l_Lean_MessageData_hasTag(x_81, x_92); +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec_ref(x_96); +lean_dec_ref(x_94); +lean_dec(x_92); +lean_dec_ref(x_85); +lean_dec_ref(x_7); +x_99 = lean_box(0); +lean_ctor_set(x_90, 0, x_99); +return x_90; +} +else +{ +lean_free_object(x_90); +x_10 = x_97; +x_11 = x_96; +x_12 = x_85; +x_13 = x_92; +x_14 = x_94; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_100 = lean_ctor_get(x_90, 0); +x_101 = lean_ctor_get(x_90, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_90); +lean_inc_ref(x_82); +x_102 = l_Lean_FileMap_toPosition(x_82, x_83); +lean_dec(x_83); +x_103 = l_Lean_FileMap_toPosition(x_82, x_88); +lean_dec(x_88); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___closed__0; +if (x_84 == 0) +{ +lean_dec_ref(x_81); +x_10 = x_105; +x_11 = x_104; +x_12 = x_85; +x_13 = x_100; +x_14 = x_102; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +else +{ +uint8_t x_106; +lean_inc(x_100); +x_106 = l_Lean_MessageData_hasTag(x_81, x_100); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_104); +lean_dec_ref(x_102); +lean_dec(x_100); +lean_dec_ref(x_85); +lean_dec_ref(x_7); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +x_10 = x_105; +x_11 = x_104; +x_12 = x_85; +x_13 = x_100; +x_14 = x_102; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +} +} +} +block_120: +{ +lean_object* x_118; +x_118 = l_Lean_Syntax_getTailPos_x3f(x_114, x_116); +lean_dec(x_114); +if (lean_obj_tag(x_118) == 0) +{ +lean_inc(x_117); +x_81 = x_110; +x_82 = x_111; +x_83 = x_117; +x_84 = x_113; +x_85 = x_112; +x_86 = x_116; +x_87 = x_115; +x_88 = x_117; +goto block_109; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec_ref(x_118); +x_81 = x_110; +x_82 = x_111; +x_83 = x_117; +x_84 = x_113; +x_85 = x_112; +x_86 = x_116; +x_87 = x_115; +x_88 = x_119; +goto block_109; +} +} +block_132: +{ +lean_object* x_128; lean_object* x_129; +x_128 = l_Lean_replaceRef(x_1, x_123); +lean_dec(x_123); +x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_126); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; +x_130 = lean_unsigned_to_nat(0u); +x_110 = x_121; +x_111 = x_122; +x_112 = x_125; +x_113 = x_124; +x_114 = x_128; +x_115 = x_127; +x_116 = x_126; +x_117 = x_130; +goto block_120; +} +else +{ +lean_object* x_131; +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec_ref(x_129); +x_110 = x_121; +x_111 = x_122; +x_112 = x_125; +x_113 = x_124; +x_114 = x_128; +x_115 = x_127; +x_116 = x_126; +x_117 = x_131; +goto block_120; +} +} +block_141: +{ +if (x_140 == 0) +{ +x_121 = x_135; +x_122 = x_134; +x_123 = x_136; +x_124 = x_138; +x_125 = x_137; +x_126 = x_139; +x_127 = x_3; +goto block_132; +} +else +{ +x_121 = x_135; +x_122 = x_134; +x_123 = x_136; +x_124 = x_138; +x_125 = x_137; +x_126 = x_139; +x_127 = x_133; +goto block_132; +} +} +block_157: +{ +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; +x_143 = lean_ctor_get(x_7, 0); +x_144 = lean_ctor_get(x_7, 1); +x_145 = lean_ctor_get(x_7, 2); +x_146 = lean_ctor_get(x_7, 5); +x_147 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_148 = lean_box(x_142); +x_149 = lean_box(x_147); +x_150 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_150, 0, x_148); +lean_closure_set(x_150, 1, x_149); +x_151 = 1; +x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); +if (x_152 == 0) +{ +lean_inc_ref(x_143); +lean_inc(x_146); +lean_inc_ref(x_144); +x_134 = x_144; +x_135 = x_150; +x_136 = x_146; +x_137 = x_143; +x_138 = x_147; +x_139 = x_142; +x_140 = x_152; +goto block_141; +} +else +{ +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0; +x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__1(x_145, x_153); +lean_inc_ref(x_143); +lean_inc(x_146); +lean_inc_ref(x_144); +x_134 = x_144; +x_135 = x_150; +x_136 = x_146; +x_137 = x_143; +x_138 = x_147; +x_139 = x_142; +x_140 = x_154; +goto block_141; +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_9); +return x_156; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 2; +x_10 = 0; +x_11 = l_Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec_ref(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; +x_15 = lean_array_uget(x_2, x_4); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Parser_Error_toString(x_17); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc_ref(x_10); +x_21 = l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); +x_23 = 1; +x_24 = lean_usize_add(x_4, x_23); +{ +size_t _tmp_3 = x_24; +lean_object* _tmp_4 = x_1; +lean_object* _tmp_11 = x_22; +x_4 = _tmp_3; +x_5 = _tmp_4; +x_12 = _tmp_11; +} +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec_ref(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_15 = lean_array_uget(x_2, x_4); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Parser_Error_toString(x_17); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc_ref(x_10); +x_21 = l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); +x_23 = 1; +x_24 = lean_usize_add(x_4, x_23); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3(x_1, x_2, x_3, x_24, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_st_ref_take(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 7); +lean_inc_ref(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec_ref(x_4); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_5, 7); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_6); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +lean_ctor_set_uint8(x_6, sizeof(void*)*3, x_1); +x_11 = lean_st_ref_set(x_2, x_5, x_7); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +x_14 = lean_box(0); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +x_21 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_1); +lean_ctor_set(x_5, 7, x_21); +x_22 = lean_st_ref_set(x_2, x_5, x_7); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_24 = x_22; +} else { + lean_dec_ref(x_22); + x_24 = lean_box(0); +} +x_25 = lean_box(0); +if (lean_is_scalar(x_24)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_24; +} +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_27 = lean_ctor_get(x_5, 0); +x_28 = lean_ctor_get(x_5, 1); +x_29 = lean_ctor_get(x_5, 2); +x_30 = lean_ctor_get(x_5, 3); +x_31 = lean_ctor_get(x_5, 4); +x_32 = lean_ctor_get(x_5, 5); +x_33 = lean_ctor_get(x_5, 6); +x_34 = lean_ctor_get(x_5, 8); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_5); +x_35 = lean_ctor_get(x_6, 0); +lean_inc_ref(x_35); +x_36 = lean_ctor_get(x_6, 1); +lean_inc_ref(x_36); +x_37 = lean_ctor_get(x_6, 2); +lean_inc_ref(x_37); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_38 = x_6; +} else { + lean_dec_ref(x_6); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 3, 1); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*3, x_1); +x_40 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_40, 0, x_27); +lean_ctor_set(x_40, 1, x_28); +lean_ctor_set(x_40, 2, x_29); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_31); +lean_ctor_set(x_40, 5, x_32); +lean_ctor_set(x_40, 6, x_33); +lean_ctor_set(x_40, 7, x_39); +lean_ctor_set(x_40, 8, x_34); +x_41 = lean_st_ref_set(x_2, x_40, x_7); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +x_44 = lean_box(0); +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_43; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +return x_45; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(x_1, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 7); +lean_inc_ref(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec_ref(x_10); +x_14 = lean_ctor_get_uint8(x_12, sizeof(void*)*3); +lean_dec_ref(x_12); +x_15 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(x_1, x_8, x_13); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +lean_inc(x_8); +x_17 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(x_14, x_8, x_19); +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_dec_ref(x_17); +x_27 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(x_14, x_8, x_26); +lean_dec(x_8); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set_tag(x_27, 1); +lean_ctor_set(x_27, 0, x_25); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec_ref(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; +x_15 = lean_ctor_get(x_10, 5); +x_16 = lean_array_uget(x_2, x_4); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*5 + 1); +x_18 = lean_ctor_get(x_16, 4); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = 0; +lean_inc_ref(x_10); +x_20 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_15, x_18, x_17, x_19, x_8, x_9, x_10, x_11, x_12); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = 1; +x_23 = lean_usize_add(x_4, x_22); +{ +size_t _tmp_3 = x_23; +lean_object* _tmp_4 = x_1; +lean_object* _tmp_11 = x_21; +x_4 = _tmp_3; +x_5 = _tmp_4; +x_12 = _tmp_11; +} +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec_ref(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_15 = lean_ctor_get(x_10, 5); +x_16 = lean_array_uget(x_2, x_4); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*5 + 1); +x_18 = lean_ctor_get(x_16, 4); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = 0; +lean_inc_ref(x_10); +x_20 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_15, x_18, x_17, x_19, x_8, x_9, x_10, x_11, x_12); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = 1; +x_23 = lean_usize_add(x_4, x_22); +x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7(x_1, x_2, x_3, x_23, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_dec(x_14); +lean_ctor_set(x_10, 1, x_1); +x_15 = l_Lean_Doc_DocM_exec___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 2); +x_18 = lean_ctor_get(x_10, 3); +x_19 = lean_ctor_get(x_10, 4); +x_20 = lean_ctor_get(x_10, 5); +x_21 = lean_ctor_get(x_10, 6); +x_22 = lean_ctor_get(x_10, 7); +x_23 = lean_ctor_get(x_10, 8); +x_24 = lean_ctor_get(x_10, 9); +x_25 = lean_ctor_get(x_10, 10); +x_26 = lean_ctor_get(x_10, 11); +x_27 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_28 = lean_ctor_get(x_10, 12); +x_29 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_30 = lean_ctor_get(x_10, 13); +lean_inc(x_30); +lean_inc(x_28); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_10); +x_31 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_31, 0, x_16); +lean_ctor_set(x_31, 1, x_1); +lean_ctor_set(x_31, 2, x_17); +lean_ctor_set(x_31, 3, x_18); +lean_ctor_set(x_31, 4, x_19); +lean_ctor_set(x_31, 5, x_20); +lean_ctor_set(x_31, 6, x_21); +lean_ctor_set(x_31, 7, x_22); +lean_ctor_set(x_31, 8, x_23); +lean_ctor_set(x_31, 9, x_24); +lean_ctor_set(x_31, 10, x_25); +lean_ctor_set(x_31, 11, x_26); +lean_ctor_set(x_31, 12, x_28); +lean_ctor_set(x_31, 13, x_30); +lean_ctor_set_uint8(x_31, sizeof(void*)*14, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*14 + 1, x_29); +x_32 = l_Lean_Doc_DocM_exec___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31, x_11, x_12); +return x_32; +} +} +} +static lean_object* _init_l_Lean_versoDocStringFromString___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_versoDocStringFromString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_versoDocStringFromString___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_versoDocStringFromString___closed__1; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_versoDocStringFromString___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_versoDocStringFromString___closed__0; +x_2 = l_Lean_versoDocStringFromString___closed__2; +x_3 = lean_box(2); +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 2); +x_16 = lean_ctor_get(x_7, 6); +x_17 = lean_ctor_get(x_7, 7); +x_18 = lean_string_utf8_byte_size(x_2); +lean_inc_ref(x_2); +x_19 = l_Lean_FileMap_ofString(x_2); +lean_inc_ref(x_19); +lean_inc_ref(x_14); +lean_inc_ref(x_2); +x_20 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_19); +lean_ctor_set(x_20, 3, x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc_ref(x_13); +x_21 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_16); +lean_ctor_set(x_21, 3, x_17); +x_22 = l_Lean_Parser_mkParserState(x_2); +lean_dec_ref(x_2); +x_23 = l_Lean_versoDocString___closed__3; +x_24 = l_Lean_Parser_getTokenTable(x_13); +x_25 = l_Lean_Parser_ParserFn_run(x_23, x_20, x_21, x_24, x_22); +lean_inc_ref(x_25); +x_26 = l_Lean_Parser_ParserState_allErrors(x_25); +x_27 = l_Array_isEmpty___redArg(x_26); +if (x_27 == 0) +{ +lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; uint8_t x_32; +lean_dec_ref(x_25); +lean_dec_ref(x_19); +lean_dec(x_1); +x_28 = lean_box(0); +x_29 = lean_array_size(x_26); +x_30 = 0; +x_31 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg(x_28, x_26, x_29, x_30, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_26); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = l_Lean_versoDocString___closed__5; +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = l_Lean_versoDocString___closed__5; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; +lean_dec_ref(x_26); +x_38 = l_Lean_Core_getAndEmptyMessageLog___redArg(x_8, x_12); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec_ref(x_38); +x_53 = lean_ctor_get(x_25, 0); +lean_inc_ref(x_53); +lean_dec_ref(x_25); +x_54 = 0; +x_55 = l_Lean_Parser_SyntaxStack_back(x_53); +lean_dec_ref(x_53); +x_56 = l_Lean_Syntax_getArgs(x_55); +lean_dec(x_55); +x_57 = l_Lean_versoDocStringFromString___closed__3; +x_58 = lean_array_size(x_56); +x_59 = 0; +x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_versoDocString_spec__7(x_58, x_59, x_56); +x_61 = lean_alloc_closure((void*)(l_Lean_Doc_elabBlocks), 11, 1); +lean_closure_set(x_61, 0, x_60); +x_62 = 1; +x_63 = lean_box(x_62); +x_64 = lean_alloc_closure((void*)(l_Lean_versoDocStringFromString___lam__0___boxed), 12, 5); +lean_closure_set(x_64, 0, x_19); +lean_closure_set(x_64, 1, x_1); +lean_closure_set(x_64, 2, x_57); +lean_closure_set(x_64, 3, x_61); +lean_closure_set(x_64, 4, x_63); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_65 = l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg(x_54, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec_ref(x_65); +x_68 = l_Lean_Core_getAndEmptyMessageLog___redArg(x_8, x_67); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec_ref(x_68); +x_71 = l_Lean_Core_setMessageLog___redArg(x_39, x_8, x_70); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; size_t x_75; lean_object* x_76; uint8_t x_77; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec_ref(x_71); +x_73 = l_Lean_MessageLog_toArray(x_69); +lean_dec(x_69); +x_74 = lean_box(0); +x_75 = lean_array_size(x_73); +x_76 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg(x_74, x_73, x_75, x_59, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_72); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_73); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +lean_ctor_set(x_76, 0, x_66); +return x_76; +} +else +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +lean_dec(x_76); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_66); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +else +{ +uint8_t x_81; +lean_dec(x_69); +lean_dec(x_66); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_81 = !lean_is_exclusive(x_71); +if (x_81 == 0) +{ +return x_71; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_71, 0); +x_83 = lean_ctor_get(x_71, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_71); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_66); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_85 = lean_ctor_get(x_68, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_68, 1); +lean_inc(x_86); +lean_dec_ref(x_68); +x_41 = x_85; +x_42 = x_86; +goto block_52; +} +} +else +{ +lean_object* x_87; lean_object* x_88; +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_87 = lean_ctor_get(x_65, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_65, 1); +lean_inc(x_88); +lean_dec_ref(x_65); +x_41 = x_87; +x_42 = x_88; +goto block_52; +} +block_52: +{ +lean_object* x_43; +x_43 = l_Lean_Core_setMessageLog___redArg(x_39, x_8, x_42); +lean_dec(x_8); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set_tag(x_43, 1); +lean_ctor_set(x_43, 0, x_41); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +else +{ +uint8_t x_48; +lean_dec_ref(x_41); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +return x_43; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_43, 0); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_43); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +else +{ +uint8_t x_89; +lean_dec_ref(x_25); +lean_dec_ref(x_19); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_89 = !lean_is_exclusive(x_38); +if (x_89 == 0) +{ +return x_38; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_38, 0); +x_91 = lean_ctor_get(x_38, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_38); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_2); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___lam__0(x_4, x_5, x_3); +lean_dec(x_3); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_3); +x_11 = lean_unbox(x_4); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_3); +x_13 = lean_unbox(x_4); +x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_2); +x_12 = lean_unbox(x_3); +x_13 = l_Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_versoDocStringFromString_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3_spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__3(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +x_5 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___redArg(x_4, x_2, x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +x_10 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5_spec__5(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +x_11 = l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +x_12 = l_Lean_Elab_withEnableInfoTree___at___Lean_versoDocStringFromString_spec__5(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7_spec__7(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocStringFromString_spec__7(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_versoDocStringFromString___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l_Lean_versoDocStringFromString___lam__0(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} static lean_object* _init_l_Lean_addMarkdownDocString___redArg___lam__0___closed__0() { _start: { @@ -2917,686 +4778,174 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_addVersoDocStringFromString(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -if (lean_obj_tag(x_3) == 1) +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = l_Lean_Environment_getModuleIdxFor_x3f(x_13, x_1); +lean_dec_ref(x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_4; -x_4 = lean_ctor_get(x_3, 0); -switch (lean_obj_tag(x_4)) { -case 0: +lean_object* x_15; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_1); +x_15 = l_Lean_versoDocStringFromString(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_3, 1); -x_6 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__0; -x_7 = lean_string_dec_eq(x_5, x_6); -if (x_7 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -case 1: -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_4, 0); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_ctor_get(x_3, 1); -x_10 = lean_ctor_get(x_4, 1); -x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__1; -x_12 = lean_string_dec_eq(x_10, x_11); -if (x_12 == 0) -{ -lean_object* x_13; uint8_t x_14; -x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__2; -x_14 = lean_string_dec_eq(x_10, x_13); -if (x_14 == 0) -{ -return x_1; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__3; -x_16 = lean_string_dec_eq(x_9, x_15); -if (x_16 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -} -else -{ -lean_object* x_17; uint8_t x_18; -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___lam__0___closed__4; -x_18 = lean_string_dec_eq(x_9, x_17); +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = !lean_is_exclusive(x_16); if (x_18 == 0) { -return x_1; +lean_object* x_19; +x_19 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_19; } else { -return x_2; -} +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_23; } } else { -return x_1; -} -} -default: +uint8_t x_24; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) { -return x_1; -} -} +return x_15; } else { -return x_1; -} -} -} -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_warningAsError; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; -x_133 = 2; -x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); -if (x_158 == 0) -{ -x_142 = x_158; -goto block_157; -} -else -{ -uint8_t x_159; -lean_inc_ref(x_2); -x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2); -x_142 = x_159; -goto block_157; -} -block_80: -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_st_ref_take(x_18, x_19); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_ctor_get(x_17, 6); -lean_inc(x_24); -x_25 = lean_ctor_get(x_17, 7); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); lean_inc(x_25); -lean_dec_ref(x_17); -x_26 = !lean_is_exclusive(x_22); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_22, 6); -lean_ctor_set(x_20, 1, x_25); -lean_ctor_set(x_20, 0, x_24); -x_28 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_28, 0, x_20); -lean_ctor_set(x_28, 1, x_10); -x_29 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_29, 0, x_14); -lean_ctor_set(x_29, 1, x_16); -lean_ctor_set(x_29, 2, x_15); -lean_ctor_set(x_29, 3, x_11); -lean_ctor_set(x_29, 4, x_28); -lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_13); -lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_12); -lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); -x_30 = l_Lean_MessageLog_add(x_29, x_27); -lean_ctor_set(x_22, 6, x_30); -x_31 = lean_st_ref_set(x_18, x_22, x_23); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = lean_box(0); -lean_ctor_set(x_31, 0, x_34); -return x_31; +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); +uint8_t x_28; +lean_dec_ref(x_2); +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_14, 0); +lean_dec(x_29); +x_30 = l_Lean_addVersoDocStringCore___redArg___lam__3___closed__0; +x_31 = 1; +x_32 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_31); +x_33 = lean_string_append(x_30, x_32); +lean_dec_ref(x_32); +x_34 = l_Lean_addVersoDocStringCore___redArg___lam__3___closed__1; +x_35 = lean_string_append(x_33, x_34); +lean_ctor_set_tag(x_14, 3); +lean_ctor_set(x_14, 0, x_35); +x_36 = l_Lean_MessageData_ofFormat(x_14); +x_37 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); return x_37; } -} else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -x_40 = lean_ctor_get(x_22, 2); -x_41 = lean_ctor_get(x_22, 3); -x_42 = lean_ctor_get(x_22, 4); -x_43 = lean_ctor_get(x_22, 5); -x_44 = lean_ctor_get(x_22, 6); -x_45 = lean_ctor_get(x_22, 7); -x_46 = lean_ctor_get(x_22, 8); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -lean_ctor_set(x_20, 1, x_25); -lean_ctor_set(x_20, 0, x_24); -x_47 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_47, 0, x_20); -lean_ctor_set(x_47, 1, x_10); -x_48 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_48, 0, x_14); -lean_ctor_set(x_48, 1, x_16); -lean_ctor_set(x_48, 2, x_15); -lean_ctor_set(x_48, 3, x_11); -lean_ctor_set(x_48, 4, x_47); -lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_13); -lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_12); -lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); -x_49 = l_Lean_MessageLog_add(x_48, x_44); -x_50 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_50, 0, x_38); -lean_ctor_set(x_50, 1, x_39); -lean_ctor_set(x_50, 2, x_40); -lean_ctor_set(x_50, 3, x_41); -lean_ctor_set(x_50, 4, x_42); -lean_ctor_set(x_50, 5, x_43); -lean_ctor_set(x_50, 6, x_49); -lean_ctor_set(x_50, 7, x_45); -lean_ctor_set(x_50, 8, x_46); -x_51 = lean_st_ref_set(x_18, x_50, x_23); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_53 = x_51; -} else { - lean_dec_ref(x_51); - x_53 = lean_box(0); -} -x_54 = lean_box(0); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_56 = lean_ctor_get(x_20, 0); -x_57 = lean_ctor_get(x_20, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_20); -x_58 = lean_ctor_get(x_17, 6); -lean_inc(x_58); -x_59 = lean_ctor_get(x_17, 7); -lean_inc(x_59); -lean_dec_ref(x_17); -x_60 = lean_ctor_get(x_56, 0); -lean_inc_ref(x_60); -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); -x_62 = lean_ctor_get(x_56, 2); -lean_inc_ref(x_62); -x_63 = lean_ctor_get(x_56, 3); -lean_inc_ref(x_63); -x_64 = lean_ctor_get(x_56, 4); -lean_inc_ref(x_64); -x_65 = lean_ctor_get(x_56, 5); -lean_inc_ref(x_65); -x_66 = lean_ctor_get(x_56, 6); -lean_inc_ref(x_66); -x_67 = lean_ctor_get(x_56, 7); -lean_inc_ref(x_67); -x_68 = lean_ctor_get(x_56, 8); -lean_inc_ref(x_68); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - lean_ctor_release(x_56, 2); - lean_ctor_release(x_56, 3); - lean_ctor_release(x_56, 4); - lean_ctor_release(x_56, 5); - lean_ctor_release(x_56, 6); - lean_ctor_release(x_56, 7); - lean_ctor_release(x_56, 8); - x_69 = x_56; -} else { - lean_dec_ref(x_56); - x_69 = lean_box(0); -} -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_58); -lean_ctor_set(x_70, 1, x_59); -x_71 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_10); -x_72 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_72, 0, x_14); -lean_ctor_set(x_72, 1, x_16); -lean_ctor_set(x_72, 2, x_15); -lean_ctor_set(x_72, 3, x_11); -lean_ctor_set(x_72, 4, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_13); -lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_12); -lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); -x_73 = l_Lean_MessageLog_add(x_72, x_66); -if (lean_is_scalar(x_69)) { - x_74 = lean_alloc_ctor(0, 9, 0); -} else { - x_74 = x_69; -} -lean_ctor_set(x_74, 0, x_60); -lean_ctor_set(x_74, 1, x_61); -lean_ctor_set(x_74, 2, x_62); -lean_ctor_set(x_74, 3, x_63); -lean_ctor_set(x_74, 4, x_64); -lean_ctor_set(x_74, 5, x_65); -lean_ctor_set(x_74, 6, x_73); -lean_ctor_set(x_74, 7, x_67); -lean_ctor_set(x_74, 8, x_68); -x_75 = lean_st_ref_set(x_18, x_74, x_57); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -} -block_109: -{ -lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_89 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_90 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__0(x_89, x_5, x_6, x_7, x_8, x_9); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc_ref(x_84); -x_94 = l_Lean_FileMap_toPosition(x_84, x_82); -lean_dec(x_82); -x_95 = l_Lean_FileMap_toPosition(x_84, x_88); -lean_dec(x_88); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___closed__0; -if (x_87 == 0) -{ -lean_free_object(x_90); -lean_dec_ref(x_81); -x_10 = x_92; -x_11 = x_97; -x_12 = x_83; -x_13 = x_85; -x_14 = x_86; -x_15 = x_96; -x_16 = x_94; -x_17 = x_7; -x_18 = x_8; -x_19 = x_93; -goto block_80; -} -else -{ -uint8_t x_98; -lean_inc(x_92); -x_98 = l_Lean_MessageData_hasTag(x_81, x_92); -if (x_98 == 0) -{ -lean_object* x_99; -lean_dec_ref(x_96); -lean_dec_ref(x_94); -lean_dec(x_92); -lean_dec_ref(x_86); +lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_14); +x_38 = l_Lean_addVersoDocStringCore___redArg___lam__3___closed__0; +x_39 = 1; +x_40 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_39); +x_41 = lean_string_append(x_38, x_40); +lean_dec_ref(x_40); +x_42 = l_Lean_addVersoDocStringCore___redArg___lam__3___closed__1; +x_43 = lean_string_append(x_41, x_42); +x_44 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = l_Lean_MessageData_ofFormat(x_44); +x_46 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); lean_dec_ref(x_7); -x_99 = lean_box(0); -lean_ctor_set(x_90, 0, x_99); -return x_90; -} -else -{ -lean_free_object(x_90); -x_10 = x_92; -x_11 = x_97; -x_12 = x_83; -x_13 = x_85; -x_14 = x_86; -x_15 = x_96; -x_16 = x_94; -x_17 = x_7; -x_18 = x_8; -x_19 = x_93; -goto block_80; -} -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_100 = lean_ctor_get(x_90, 0); -x_101 = lean_ctor_get(x_90, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_90); -lean_inc_ref(x_84); -x_102 = l_Lean_FileMap_toPosition(x_84, x_82); -lean_dec(x_82); -x_103 = l_Lean_FileMap_toPosition(x_84, x_88); -lean_dec(x_88); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_103); -x_105 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_versoDocString_spec__6___redArg___closed__0; -if (x_87 == 0) -{ -lean_dec_ref(x_81); -x_10 = x_100; -x_11 = x_105; -x_12 = x_83; -x_13 = x_85; -x_14 = x_86; -x_15 = x_104; -x_16 = x_102; -x_17 = x_7; -x_18 = x_8; -x_19 = x_101; -goto block_80; -} -else -{ -uint8_t x_106; -lean_inc(x_100); -x_106 = l_Lean_MessageData_hasTag(x_81, x_100); -if (x_106 == 0) -{ -lean_object* x_107; lean_object* x_108; -lean_dec_ref(x_104); -lean_dec_ref(x_102); -lean_dec(x_100); -lean_dec_ref(x_86); -lean_dec_ref(x_7); -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_101); -return x_108; -} -else -{ -x_10 = x_100; -x_11 = x_105; -x_12 = x_83; -x_13 = x_85; -x_14 = x_86; -x_15 = x_104; -x_16 = x_102; -x_17 = x_7; -x_18 = x_8; -x_19 = x_101; -goto block_80; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_46; } } } } -block_120: -{ -lean_object* x_118; -x_118 = l_Lean_Syntax_getTailPos_x3f(x_111, x_114); -lean_dec(x_111); -if (lean_obj_tag(x_118) == 0) -{ -lean_inc(x_117); -x_81 = x_110; -x_82 = x_117; -x_83 = x_112; -x_84 = x_113; -x_85 = x_114; -x_86 = x_115; -x_87 = x_116; -x_88 = x_117; -goto block_109; -} -else -{ -lean_object* x_119; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -lean_dec_ref(x_118); -x_81 = x_110; -x_82 = x_117; -x_83 = x_112; -x_84 = x_113; -x_85 = x_114; -x_86 = x_115; -x_87 = x_116; -x_88 = x_119; -goto block_109; -} -} -block_132: -{ -lean_object* x_128; lean_object* x_129; -x_128 = l_Lean_replaceRef(x_1, x_126); -lean_dec(x_126); -x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_123); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; -x_130 = lean_unsigned_to_nat(0u); -x_110 = x_121; -x_111 = x_128; -x_112 = x_127; -x_113 = x_122; -x_114 = x_123; -x_115 = x_124; -x_116 = x_125; -x_117 = x_130; -goto block_120; -} -else -{ -lean_object* x_131; -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec_ref(x_129); -x_110 = x_121; -x_111 = x_128; -x_112 = x_127; -x_113 = x_122; -x_114 = x_123; -x_115 = x_124; -x_116 = x_125; -x_117 = x_131; -goto block_120; -} -} -block_141: -{ -if (x_140 == 0) -{ -x_121 = x_136; -x_122 = x_134; -x_123 = x_139; -x_124 = x_135; -x_125 = x_138; -x_126 = x_137; -x_127 = x_3; -goto block_132; -} -else -{ -x_121 = x_136; -x_122 = x_134; -x_123 = x_139; -x_124 = x_135; -x_125 = x_138; -x_126 = x_137; -x_127 = x_133; -goto block_132; -} -} -block_157: -{ -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; -x_143 = lean_ctor_get(x_7, 0); -x_144 = lean_ctor_get(x_7, 1); -x_145 = lean_ctor_get(x_7, 2); -x_146 = lean_ctor_get(x_7, 5); -x_147 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); -x_148 = lean_box(x_142); -x_149 = lean_box(x_147); -x_150 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0___boxed), 3, 2); -lean_closure_set(x_150, 0, x_148); -lean_closure_set(x_150, 1, x_149); -x_151 = 1; -x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); -if (x_152 == 0) -{ -lean_inc(x_146); -lean_inc_ref(x_143); -lean_inc_ref(x_144); -x_134 = x_144; -x_135 = x_143; -x_136 = x_150; -x_137 = x_146; -x_138 = x_147; -x_139 = x_142; -x_140 = x_152; -goto block_141; -} -else -{ -lean_object* x_153; uint8_t x_154; -x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; -x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0_spec__1_spec__1(x_145, x_153); -lean_inc(x_146); -lean_inc_ref(x_143); -lean_inc_ref(x_144); -x_134 = x_144; -x_135 = x_143; -x_136 = x_150; -x_137 = x_146; -x_138 = x_147; -x_139 = x_142; -x_140 = x_154; -goto block_141; -} -} -else -{ -lean_object* x_155; lean_object* x_156; -lean_dec_ref(x_7); -lean_dec_ref(x_2); -x_155 = lean_box(0); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_9); -return x_156; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_12; -x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); -return x_12; +uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_8 = 2; +x_9 = 0; +x_10 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_8, x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 5); -lean_inc(x_11); -x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_11); -return x_12; +lean_object* x_10; +x_10 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_5, x_6, x_7, x_8, x_9); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_9 = 2; -x_10 = 0; -x_11 = l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; uint8_t x_11; lean_object* x_12; -x_10 = 2; -x_11 = 0; -x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; uint8_t x_21; @@ -3627,7 +4976,7 @@ x_26 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_26, 0, x_25); x_27 = l_Lean_MessageData_ofFormat(x_26); lean_inc_ref(x_12); -x_28 = l_Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_28 = l_Lean_logError___at___Lean_versoDocStringFromString_spec__0(x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec_ref(x_28); @@ -3665,7 +5014,7 @@ x_40 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_40, 0, x_30); x_41 = l_Lean_MessageData_ofFormat(x_40); lean_inc_ref(x_12); -x_42 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3(x_24, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_42 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(x_24, x_41, x_10, x_11, x_12, x_13, x_14); lean_dec_ref(x_24); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); @@ -3700,7 +5049,7 @@ x_53 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_53, 0, x_30); x_54 = l_Lean_MessageData_ofFormat(x_53); lean_inc_ref(x_12); -x_55 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3(x_52, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_55 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(x_52, x_54, x_10, x_11, x_12, x_13, x_14); lean_dec_ref(x_52); x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); @@ -3767,7 +5116,7 @@ lean_dec(x_12); x_15 = lean_box(0); x_16 = lean_array_size(x_14); x_17 = 0; -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4(x_10, x_15, x_9, x_14, x_16, x_17, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1(x_10, x_15, x_9, x_14, x_16, x_17, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_13); lean_dec(x_14); lean_dec_ref(x_9); lean_dec(x_10); @@ -3794,7 +5143,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0() { +static lean_object* _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0() { _start: { lean_object* x_1; @@ -3802,16 +5151,16 @@ x_1 = lean_mk_string_unchecked("unexpected doc string", 21, 21); return x_1; } } -static lean_object* _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1() { +static lean_object* _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0; +x_1 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -3865,7 +5214,7 @@ return x_25; else { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1; +x_26 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1; x_27 = l_Lean_MessageData_ofSyntax(x_10); x_28 = l_Lean_indentD(x_27); x_29 = lean_alloc_ctor(7, 2, 0); @@ -3885,7 +5234,7 @@ x_11 = l_Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_ad x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec_ref(x_11); -x_13 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +x_13 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_12); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -4261,81 +5610,23 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox(x_1); -x_5 = lean_unbox(x_2); -x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___lam__0(x_4, x_5, x_3); -lean_dec(x_3); -x_7 = lean_box(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; uint8_t x_11; lean_object* x_12; -x_10 = lean_unbox(x_3); -x_11 = lean_unbox(x_4); -x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); +lean_object* x_8; +x_8 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); -lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); lean_dec(x_1); -return x_12; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; uint8_t x_13; lean_object* x_14; -x_12 = lean_unbox(x_3); -x_13 = lean_unbox(x_4); -x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_unbox(x_2); -x_12 = lean_unbox(x_3); -x_13 = l_Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_logErrorAt___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_5); @@ -4345,7 +5636,7 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -4353,7 +5644,7 @@ x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__4(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_11); lean_dec_ref(x_10); @@ -4379,11 +5670,11 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec_ref(x_4); @@ -4428,6 +5719,3465 @@ lean_dec(x_4); return x_13; } } +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 4); +lean_inc(x_6); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + x_7 = x_2; +} else { + lean_dec_ref(x_2); + x_7 = lean_box(0); +} +x_8 = l_Lean_Name_quickCmp(x_1, x_3); +switch (x_8) { +case 0: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(x_1, x_5); +x_10 = lean_unsigned_to_nat(1u); +if (lean_obj_tag(x_9) == 0) +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +x_14 = lean_ctor_get(x_6, 2); +x_15 = lean_ctor_get(x_6, 3); +lean_inc(x_15); +x_16 = lean_ctor_get(x_6, 4); +x_17 = lean_unsigned_to_nat(3u); +x_18 = lean_nat_mul(x_17, x_11); +x_19 = lean_nat_dec_lt(x_18, x_12); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_15); +x_20 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_21 = lean_nat_add(x_20, x_12); +lean_dec(x_20); +if (lean_is_scalar(x_7)) { + x_22 = lean_alloc_ctor(0, 5, 0); +} else { + x_22 = x_7; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_3); +lean_ctor_set(x_22, 2, x_4); +lean_ctor_set(x_22, 3, x_9); +lean_ctor_set(x_22, 4, x_6); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_inc(x_16); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_23 = x_6; +} else { + lean_dec_ref(x_6); + x_23 = lean_box(0); +} +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +x_26 = lean_ctor_get(x_15, 2); +x_27 = lean_ctor_get(x_15, 3); +x_28 = lean_ctor_get(x_15, 4); +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_unsigned_to_nat(2u); +x_31 = lean_nat_mul(x_30, x_29); +x_32 = lean_nat_dec_lt(x_24, x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_43; +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + lean_ctor_release(x_15, 2); + lean_ctor_release(x_15, 3); + lean_ctor_release(x_15, 4); + x_33 = x_15; +} else { + lean_dec_ref(x_15); + x_33 = lean_box(0); +} +x_34 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_35 = lean_nat_add(x_34, x_12); +lean_dec(x_12); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_27, 0); +lean_inc(x_50); +x_43 = x_50; +goto block_49; +} +else +{ +lean_object* x_51; +x_51 = lean_unsigned_to_nat(0u); +x_43 = x_51; +goto block_49; +} +block_42: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_nat_add(x_36, x_38); +lean_dec(x_38); +lean_dec(x_36); +if (lean_is_scalar(x_33)) { + x_40 = lean_alloc_ctor(0, 5, 0); +} else { + x_40 = x_33; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_13); +lean_ctor_set(x_40, 2, x_14); +lean_ctor_set(x_40, 3, x_28); +lean_ctor_set(x_40, 4, x_16); +if (lean_is_scalar(x_23)) { + x_41 = lean_alloc_ctor(0, 5, 0); +} else { + x_41 = x_23; +} +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_25); +lean_ctor_set(x_41, 2, x_26); +lean_ctor_set(x_41, 3, x_37); +lean_ctor_set(x_41, 4, x_40); +return x_41; +} +block_49: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_nat_add(x_34, x_43); +lean_dec(x_43); +lean_dec(x_34); +if (lean_is_scalar(x_7)) { + x_45 = lean_alloc_ctor(0, 5, 0); +} else { + x_45 = x_7; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_3); +lean_ctor_set(x_45, 2, x_4); +lean_ctor_set(x_45, 3, x_9); +lean_ctor_set(x_45, 4, x_27); +x_46 = lean_nat_add(x_10, x_29); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_28, 0); +lean_inc(x_47); +x_36 = x_46; +x_37 = x_45; +x_38 = x_47; +goto block_42; +} +else +{ +lean_object* x_48; +x_48 = lean_unsigned_to_nat(0u); +x_36 = x_46; +x_37 = x_45; +x_38 = x_48; +goto block_42; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_7); +x_52 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_53 = lean_nat_add(x_52, x_12); +lean_dec(x_12); +x_54 = lean_nat_add(x_52, x_24); +lean_dec(x_52); +lean_inc_ref(x_9); +if (lean_is_scalar(x_23)) { + x_55 = lean_alloc_ctor(0, 5, 0); +} else { + x_55 = x_23; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +lean_ctor_set(x_55, 2, x_4); +lean_ctor_set(x_55, 3, x_9); +lean_ctor_set(x_55, 4, x_15); +x_56 = !lean_is_exclusive(x_9); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_9, 4); +lean_dec(x_57); +x_58 = lean_ctor_get(x_9, 3); +lean_dec(x_58); +x_59 = lean_ctor_get(x_9, 2); +lean_dec(x_59); +x_60 = lean_ctor_get(x_9, 1); +lean_dec(x_60); +x_61 = lean_ctor_get(x_9, 0); +lean_dec(x_61); +lean_ctor_set(x_9, 4, x_16); +lean_ctor_set(x_9, 3, x_55); +lean_ctor_set(x_9, 2, x_14); +lean_ctor_set(x_9, 1, x_13); +lean_ctor_set(x_9, 0, x_53); +return x_9; +} +else +{ +lean_object* x_62; +lean_dec(x_9); +x_62 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_13); +lean_ctor_set(x_62, 2, x_14); +lean_ctor_set(x_62, 3, x_55); +lean_ctor_set(x_62, 4, x_16); +return x_62; +} +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_9, 0); +lean_inc(x_63); +x_64 = lean_nat_add(x_10, x_63); +lean_dec(x_63); +if (lean_is_scalar(x_7)) { + x_65 = lean_alloc_ctor(0, 5, 0); +} else { + x_65 = x_7; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_3); +lean_ctor_set(x_65, 2, x_4); +lean_ctor_set(x_65, 3, x_9); +lean_ctor_set(x_65, 4, x_6); +return x_65; +} +} +else +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_6, 3); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_6, 4); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_6); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_69 = lean_ctor_get(x_6, 0); +x_70 = lean_ctor_get(x_6, 1); +x_71 = lean_ctor_get(x_6, 2); +x_72 = lean_ctor_get(x_6, 4); +lean_dec(x_72); +x_73 = lean_ctor_get(x_6, 3); +lean_dec(x_73); +x_74 = lean_ctor_get(x_66, 0); +x_75 = lean_nat_add(x_10, x_69); +lean_dec(x_69); +x_76 = lean_nat_add(x_10, x_74); +lean_ctor_set(x_6, 4, x_66); +lean_ctor_set(x_6, 3, x_9); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 0, x_76); +if (lean_is_scalar(x_7)) { + x_77 = lean_alloc_ctor(0, 5, 0); +} else { + x_77 = x_7; +} +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_70); +lean_ctor_set(x_77, 2, x_71); +lean_ctor_set(x_77, 3, x_6); +lean_ctor_set(x_77, 4, x_67); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_78 = lean_ctor_get(x_6, 0); +x_79 = lean_ctor_get(x_6, 1); +x_80 = lean_ctor_get(x_6, 2); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_6); +x_81 = lean_ctor_get(x_66, 0); +x_82 = lean_nat_add(x_10, x_78); +lean_dec(x_78); +x_83 = lean_nat_add(x_10, x_81); +x_84 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_3); +lean_ctor_set(x_84, 2, x_4); +lean_ctor_set(x_84, 3, x_9); +lean_ctor_set(x_84, 4, x_66); +if (lean_is_scalar(x_7)) { + x_85 = lean_alloc_ctor(0, 5, 0); +} else { + x_85 = x_7; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_79); +lean_ctor_set(x_85, 2, x_80); +lean_ctor_set(x_85, 3, x_84); +lean_ctor_set(x_85, 4, x_67); +return x_85; +} +} +else +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_6); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_ctor_get(x_6, 4); +lean_dec(x_87); +x_88 = lean_ctor_get(x_6, 3); +lean_dec(x_88); +x_89 = lean_ctor_get(x_6, 0); +lean_dec(x_89); +x_90 = !lean_is_exclusive(x_66); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_91 = lean_ctor_get(x_66, 1); +x_92 = lean_ctor_get(x_66, 2); +x_93 = lean_ctor_get(x_66, 4); +lean_dec(x_93); +x_94 = lean_ctor_get(x_66, 3); +lean_dec(x_94); +x_95 = lean_ctor_get(x_66, 0); +lean_dec(x_95); +x_96 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_66, 4, x_67); +lean_ctor_set(x_66, 3, x_67); +lean_ctor_set(x_66, 2, x_4); +lean_ctor_set(x_66, 1, x_3); +lean_ctor_set(x_66, 0, x_10); +lean_ctor_set(x_6, 3, x_67); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_97 = lean_alloc_ctor(0, 5, 0); +} else { + x_97 = x_7; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_91); +lean_ctor_set(x_97, 2, x_92); +lean_ctor_set(x_97, 3, x_66); +lean_ctor_set(x_97, 4, x_6); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_98 = lean_ctor_get(x_66, 1); +x_99 = lean_ctor_get(x_66, 2); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_66); +x_100 = lean_unsigned_to_nat(3u); +x_101 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_101, 0, x_10); +lean_ctor_set(x_101, 1, x_3); +lean_ctor_set(x_101, 2, x_4); +lean_ctor_set(x_101, 3, x_67); +lean_ctor_set(x_101, 4, x_67); +lean_ctor_set(x_6, 3, x_67); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_102 = lean_alloc_ctor(0, 5, 0); +} else { + x_102 = x_7; +} +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_98); +lean_ctor_set(x_102, 2, x_99); +lean_ctor_set(x_102, 3, x_101); +lean_ctor_set(x_102, 4, x_6); +return x_102; +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_103 = lean_ctor_get(x_6, 1); +x_104 = lean_ctor_get(x_6, 2); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_6); +x_105 = lean_ctor_get(x_66, 1); +lean_inc(x_105); +x_106 = lean_ctor_get(x_66, 2); +lean_inc(x_106); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + lean_ctor_release(x_66, 2); + lean_ctor_release(x_66, 3); + lean_ctor_release(x_66, 4); + x_107 = x_66; +} else { + lean_dec_ref(x_66); + x_107 = lean_box(0); +} +x_108 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_107)) { + x_109 = lean_alloc_ctor(0, 5, 0); +} else { + x_109 = x_107; +} +lean_ctor_set(x_109, 0, x_10); +lean_ctor_set(x_109, 1, x_3); +lean_ctor_set(x_109, 2, x_4); +lean_ctor_set(x_109, 3, x_67); +lean_ctor_set(x_109, 4, x_67); +x_110 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_110, 0, x_10); +lean_ctor_set(x_110, 1, x_103); +lean_ctor_set(x_110, 2, x_104); +lean_ctor_set(x_110, 3, x_67); +lean_ctor_set(x_110, 4, x_67); +if (lean_is_scalar(x_7)) { + x_111 = lean_alloc_ctor(0, 5, 0); +} else { + x_111 = x_7; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_105); +lean_ctor_set(x_111, 2, x_106); +lean_ctor_set(x_111, 3, x_109); +lean_ctor_set(x_111, 4, x_110); +return x_111; +} +} +} +else +{ +lean_object* x_112; +x_112 = lean_ctor_get(x_6, 4); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_6); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_114 = lean_ctor_get(x_6, 1); +x_115 = lean_ctor_get(x_6, 2); +x_116 = lean_ctor_get(x_6, 4); +lean_dec(x_116); +x_117 = lean_ctor_get(x_6, 3); +lean_dec(x_117); +x_118 = lean_ctor_get(x_6, 0); +lean_dec(x_118); +x_119 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_6, 4, x_66); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_120 = lean_alloc_ctor(0, 5, 0); +} else { + x_120 = x_7; +} +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_114); +lean_ctor_set(x_120, 2, x_115); +lean_ctor_set(x_120, 3, x_6); +lean_ctor_set(x_120, 4, x_112); +return x_120; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_6, 1); +x_122 = lean_ctor_get(x_6, 2); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_6); +x_123 = lean_unsigned_to_nat(3u); +x_124 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_124, 0, x_10); +lean_ctor_set(x_124, 1, x_3); +lean_ctor_set(x_124, 2, x_4); +lean_ctor_set(x_124, 3, x_66); +lean_ctor_set(x_124, 4, x_66); +if (lean_is_scalar(x_7)) { + x_125 = lean_alloc_ctor(0, 5, 0); +} else { + x_125 = x_7; +} +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_121); +lean_ctor_set(x_125, 2, x_122); +lean_ctor_set(x_125, 3, x_124); +lean_ctor_set(x_125, 4, x_112); +return x_125; +} +} +else +{ +uint8_t x_126; +x_126 = !lean_is_exclusive(x_6); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_127 = lean_ctor_get(x_6, 4); +lean_dec(x_127); +x_128 = lean_ctor_get(x_6, 3); +lean_dec(x_128); +lean_ctor_set(x_6, 3, x_112); +x_129 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_130 = lean_alloc_ctor(0, 5, 0); +} else { + x_130 = x_7; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_3); +lean_ctor_set(x_130, 2, x_4); +lean_ctor_set(x_130, 3, x_112); +lean_ctor_set(x_130, 4, x_6); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_131 = lean_ctor_get(x_6, 0); +x_132 = lean_ctor_get(x_6, 1); +x_133 = lean_ctor_get(x_6, 2); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_6); +x_134 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +lean_ctor_set(x_134, 2, x_133); +lean_ctor_set(x_134, 3, x_112); +lean_ctor_set(x_134, 4, x_112); +x_135 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_136 = lean_alloc_ctor(0, 5, 0); +} else { + x_136 = x_7; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_3); +lean_ctor_set(x_136, 2, x_4); +lean_ctor_set(x_136, 3, x_112); +lean_ctor_set(x_136, 4, x_134); +return x_136; +} +} +} +} +else +{ +lean_object* x_137; +if (lean_is_scalar(x_7)) { + x_137 = lean_alloc_ctor(0, 5, 0); +} else { + x_137 = x_7; +} +lean_ctor_set(x_137, 0, x_10); +lean_ctor_set(x_137, 1, x_3); +lean_ctor_set(x_137, 2, x_4); +lean_ctor_set(x_137, 3, x_6); +lean_ctor_set(x_137, 4, x_6); +return x_137; +} +} +} +case 1: +{ +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_138 = lean_ctor_get(x_5, 0); +x_139 = lean_ctor_get(x_5, 1); +x_140 = lean_ctor_get(x_5, 2); +x_141 = lean_ctor_get(x_5, 3); +x_142 = lean_ctor_get(x_5, 4); +lean_inc(x_142); +x_143 = lean_ctor_get(x_6, 0); +x_144 = lean_ctor_get(x_6, 1); +x_145 = lean_ctor_get(x_6, 2); +x_146 = lean_ctor_get(x_6, 3); +lean_inc(x_146); +x_147 = lean_ctor_get(x_6, 4); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_nat_dec_lt(x_138, x_143); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + x_150 = x_5; +} else { + lean_dec_ref(x_5); + x_150 = lean_box(0); +} +x_151 = l_Std_DTreeMap_Internal_Impl_maxView___redArg(x_139, x_140, x_141, x_142); +x_152 = lean_ctor_get(x_151, 2); +lean_inc(x_152); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_153 = lean_ctor_get(x_151, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); +lean_dec_ref(x_151); +x_155 = lean_ctor_get(x_152, 0); +x_156 = lean_unsigned_to_nat(3u); +x_157 = lean_nat_mul(x_156, x_155); +x_158 = lean_nat_dec_lt(x_157, x_143); +lean_dec(x_157); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_146); +x_159 = lean_nat_add(x_148, x_155); +x_160 = lean_nat_add(x_159, x_143); +lean_dec(x_159); +if (lean_is_scalar(x_150)) { + x_161 = lean_alloc_ctor(0, 5, 0); +} else { + x_161 = x_150; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_153); +lean_ctor_set(x_161, 2, x_154); +lean_ctor_set(x_161, 3, x_152); +lean_ctor_set(x_161, 4, x_6); +return x_161; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_162 = x_6; +} else { + lean_dec_ref(x_6); + x_162 = lean_box(0); +} +x_163 = lean_ctor_get(x_146, 0); +x_164 = lean_ctor_get(x_146, 1); +x_165 = lean_ctor_get(x_146, 2); +x_166 = lean_ctor_get(x_146, 3); +x_167 = lean_ctor_get(x_146, 4); +x_168 = lean_ctor_get(x_147, 0); +x_169 = lean_unsigned_to_nat(2u); +x_170 = lean_nat_mul(x_169, x_168); +x_171 = lean_nat_dec_lt(x_163, x_170); +lean_dec(x_170); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_182; +lean_inc(x_167); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + x_172 = x_146; +} else { + lean_dec_ref(x_146); + x_172 = lean_box(0); +} +x_173 = lean_nat_add(x_148, x_155); +x_174 = lean_nat_add(x_173, x_143); +lean_dec(x_143); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_189; +x_189 = lean_ctor_get(x_166, 0); +lean_inc(x_189); +x_182 = x_189; +goto block_188; +} +else +{ +lean_object* x_190; +x_190 = lean_unsigned_to_nat(0u); +x_182 = x_190; +goto block_188; +} +block_181: +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_178 = lean_nat_add(x_176, x_177); +lean_dec(x_177); +lean_dec(x_176); +if (lean_is_scalar(x_172)) { + x_179 = lean_alloc_ctor(0, 5, 0); +} else { + x_179 = x_172; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_144); +lean_ctor_set(x_179, 2, x_145); +lean_ctor_set(x_179, 3, x_167); +lean_ctor_set(x_179, 4, x_147); +if (lean_is_scalar(x_162)) { + x_180 = lean_alloc_ctor(0, 5, 0); +} else { + x_180 = x_162; +} +lean_ctor_set(x_180, 0, x_174); +lean_ctor_set(x_180, 1, x_164); +lean_ctor_set(x_180, 2, x_165); +lean_ctor_set(x_180, 3, x_175); +lean_ctor_set(x_180, 4, x_179); +return x_180; +} +block_188: +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_nat_add(x_173, x_182); +lean_dec(x_182); +lean_dec(x_173); +if (lean_is_scalar(x_150)) { + x_184 = lean_alloc_ctor(0, 5, 0); +} else { + x_184 = x_150; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_153); +lean_ctor_set(x_184, 2, x_154); +lean_ctor_set(x_184, 3, x_152); +lean_ctor_set(x_184, 4, x_166); +x_185 = lean_nat_add(x_148, x_168); +if (lean_obj_tag(x_167) == 0) +{ +lean_object* x_186; +x_186 = lean_ctor_get(x_167, 0); +lean_inc(x_186); +x_175 = x_184; +x_176 = x_185; +x_177 = x_186; +goto block_181; +} +else +{ +lean_object* x_187; +x_187 = lean_unsigned_to_nat(0u); +x_175 = x_184; +x_176 = x_185; +x_177 = x_187; +goto block_181; +} +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_191 = lean_nat_add(x_148, x_155); +x_192 = lean_nat_add(x_191, x_143); +lean_dec(x_143); +x_193 = lean_nat_add(x_191, x_163); +lean_dec(x_191); +if (lean_is_scalar(x_162)) { + x_194 = lean_alloc_ctor(0, 5, 0); +} else { + x_194 = x_162; +} +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_153); +lean_ctor_set(x_194, 2, x_154); +lean_ctor_set(x_194, 3, x_152); +lean_ctor_set(x_194, 4, x_146); +if (lean_is_scalar(x_150)) { + x_195 = lean_alloc_ctor(0, 5, 0); +} else { + x_195 = x_150; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_144); +lean_ctor_set(x_195, 2, x_145); +lean_ctor_set(x_195, 3, x_194); +lean_ctor_set(x_195, 4, x_147); +return x_195; +} +} +} +else +{ +uint8_t x_196; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +x_196 = !lean_is_exclusive(x_6); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_197 = lean_ctor_get(x_6, 4); +lean_dec(x_197); +x_198 = lean_ctor_get(x_6, 3); +lean_dec(x_198); +x_199 = lean_ctor_get(x_6, 2); +lean_dec(x_199); +x_200 = lean_ctor_get(x_6, 1); +lean_dec(x_200); +x_201 = lean_ctor_get(x_6, 0); +lean_dec(x_201); +if (lean_obj_tag(x_146) == 0) +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_202 = lean_ctor_get(x_151, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_151, 1); +lean_inc(x_203); +lean_dec_ref(x_151); +x_204 = lean_ctor_get(x_146, 0); +x_205 = lean_nat_add(x_148, x_143); +lean_dec(x_143); +x_206 = lean_nat_add(x_148, x_204); +lean_ctor_set(x_6, 4, x_146); +lean_ctor_set(x_6, 3, x_152); +lean_ctor_set(x_6, 2, x_203); +lean_ctor_set(x_6, 1, x_202); +lean_ctor_set(x_6, 0, x_206); +if (lean_is_scalar(x_150)) { + x_207 = lean_alloc_ctor(0, 5, 0); +} else { + x_207 = x_150; +} +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_144); +lean_ctor_set(x_207, 2, x_145); +lean_ctor_set(x_207, 3, x_6); +lean_ctor_set(x_207, 4, x_147); +return x_207; +} +else +{ +lean_object* x_208; lean_object* x_209; uint8_t x_210; +lean_dec(x_143); +x_208 = lean_ctor_get(x_151, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_151, 1); +lean_inc(x_209); +lean_dec_ref(x_151); +x_210 = !lean_is_exclusive(x_146); +if (x_210 == 0) +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_211 = lean_ctor_get(x_146, 1); +x_212 = lean_ctor_get(x_146, 2); +x_213 = lean_ctor_get(x_146, 4); +lean_dec(x_213); +x_214 = lean_ctor_get(x_146, 3); +lean_dec(x_214); +x_215 = lean_ctor_get(x_146, 0); +lean_dec(x_215); +x_216 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_146, 4, x_147); +lean_ctor_set(x_146, 3, x_147); +lean_ctor_set(x_146, 2, x_209); +lean_ctor_set(x_146, 1, x_208); +lean_ctor_set(x_146, 0, x_148); +lean_ctor_set(x_6, 3, x_147); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_217 = lean_alloc_ctor(0, 5, 0); +} else { + x_217 = x_150; +} +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_211); +lean_ctor_set(x_217, 2, x_212); +lean_ctor_set(x_217, 3, x_146); +lean_ctor_set(x_217, 4, x_6); +return x_217; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_218 = lean_ctor_get(x_146, 1); +x_219 = lean_ctor_get(x_146, 2); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_146); +x_220 = lean_unsigned_to_nat(3u); +x_221 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_221, 0, x_148); +lean_ctor_set(x_221, 1, x_208); +lean_ctor_set(x_221, 2, x_209); +lean_ctor_set(x_221, 3, x_147); +lean_ctor_set(x_221, 4, x_147); +lean_ctor_set(x_6, 3, x_147); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_222 = lean_alloc_ctor(0, 5, 0); +} else { + x_222 = x_150; +} +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_218); +lean_ctor_set(x_222, 2, x_219); +lean_ctor_set(x_222, 3, x_221); +lean_ctor_set(x_222, 4, x_6); +return x_222; +} +} +} +else +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +lean_dec(x_143); +x_223 = lean_ctor_get(x_151, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_151, 1); +lean_inc(x_224); +lean_dec_ref(x_151); +x_225 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_6, 4, x_146); +lean_ctor_set(x_6, 2, x_224); +lean_ctor_set(x_6, 1, x_223); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_226 = lean_alloc_ctor(0, 5, 0); +} else { + x_226 = x_150; +} +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_144); +lean_ctor_set(x_226, 2, x_145); +lean_ctor_set(x_226, 3, x_6); +lean_ctor_set(x_226, 4, x_147); +return x_226; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_227 = lean_ctor_get(x_151, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_151, 1); +lean_inc(x_228); +lean_dec_ref(x_151); +lean_ctor_set(x_6, 3, x_147); +x_229 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_150)) { + x_230 = lean_alloc_ctor(0, 5, 0); +} else { + x_230 = x_150; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_227); +lean_ctor_set(x_230, 2, x_228); +lean_ctor_set(x_230, 3, x_147); +lean_ctor_set(x_230, 4, x_6); +return x_230; +} +} +} +else +{ +lean_dec(x_6); +if (lean_obj_tag(x_146) == 0) +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_231 = lean_ctor_get(x_151, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_151, 1); +lean_inc(x_232); +lean_dec_ref(x_151); +x_233 = lean_ctor_get(x_146, 0); +x_234 = lean_nat_add(x_148, x_143); +lean_dec(x_143); +x_235 = lean_nat_add(x_148, x_233); +x_236 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_231); +lean_ctor_set(x_236, 2, x_232); +lean_ctor_set(x_236, 3, x_152); +lean_ctor_set(x_236, 4, x_146); +if (lean_is_scalar(x_150)) { + x_237 = lean_alloc_ctor(0, 5, 0); +} else { + x_237 = x_150; +} +lean_ctor_set(x_237, 0, x_234); +lean_ctor_set(x_237, 1, x_144); +lean_ctor_set(x_237, 2, x_145); +lean_ctor_set(x_237, 3, x_236); +lean_ctor_set(x_237, 4, x_147); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_143); +x_238 = lean_ctor_get(x_151, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_151, 1); +lean_inc(x_239); +lean_dec_ref(x_151); +x_240 = lean_ctor_get(x_146, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_146, 2); +lean_inc(x_241); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + x_242 = x_146; +} else { + lean_dec_ref(x_146); + x_242 = lean_box(0); +} +x_243 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_242)) { + x_244 = lean_alloc_ctor(0, 5, 0); +} else { + x_244 = x_242; +} +lean_ctor_set(x_244, 0, x_148); +lean_ctor_set(x_244, 1, x_238); +lean_ctor_set(x_244, 2, x_239); +lean_ctor_set(x_244, 3, x_147); +lean_ctor_set(x_244, 4, x_147); +x_245 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_245, 0, x_148); +lean_ctor_set(x_245, 1, x_144); +lean_ctor_set(x_245, 2, x_145); +lean_ctor_set(x_245, 3, x_147); +lean_ctor_set(x_245, 4, x_147); +if (lean_is_scalar(x_150)) { + x_246 = lean_alloc_ctor(0, 5, 0); +} else { + x_246 = x_150; +} +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_240); +lean_ctor_set(x_246, 2, x_241); +lean_ctor_set(x_246, 3, x_244); +lean_ctor_set(x_246, 4, x_245); +return x_246; +} +} +else +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_143); +x_247 = lean_ctor_get(x_151, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_151, 1); +lean_inc(x_248); +lean_dec_ref(x_151); +x_249 = lean_unsigned_to_nat(3u); +x_250 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_250, 0, x_148); +lean_ctor_set(x_250, 1, x_247); +lean_ctor_set(x_250, 2, x_248); +lean_ctor_set(x_250, 3, x_146); +lean_ctor_set(x_250, 4, x_146); +if (lean_is_scalar(x_150)) { + x_251 = lean_alloc_ctor(0, 5, 0); +} else { + x_251 = x_150; +} +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_144); +lean_ctor_set(x_251, 2, x_145); +lean_ctor_set(x_251, 3, x_250); +lean_ctor_set(x_251, 4, x_147); +return x_251; +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_252 = lean_ctor_get(x_151, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_151, 1); +lean_inc(x_253); +lean_dec_ref(x_151); +x_254 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_254, 0, x_143); +lean_ctor_set(x_254, 1, x_144); +lean_ctor_set(x_254, 2, x_145); +lean_ctor_set(x_254, 3, x_147); +lean_ctor_set(x_254, 4, x_147); +x_255 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_150)) { + x_256 = lean_alloc_ctor(0, 5, 0); +} else { + x_256 = x_150; +} +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_252); +lean_ctor_set(x_256, 2, x_253); +lean_ctor_set(x_256, 3, x_147); +lean_ctor_set(x_256, 4, x_254); +return x_256; +} +} +} +} +} +else +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_257 = x_6; +} else { + lean_dec_ref(x_6); + x_257 = lean_box(0); +} +x_258 = l_Std_DTreeMap_Internal_Impl_minView___redArg(x_144, x_145, x_146, x_147); +x_259 = lean_ctor_get(x_258, 2); +lean_inc(x_259); +if (lean_obj_tag(x_259) == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +lean_dec_ref(x_258); +x_262 = lean_ctor_get(x_259, 0); +x_263 = lean_unsigned_to_nat(3u); +x_264 = lean_nat_mul(x_263, x_262); +x_265 = lean_nat_dec_lt(x_264, x_138); +lean_dec(x_264); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_142); +x_266 = lean_nat_add(x_148, x_138); +x_267 = lean_nat_add(x_266, x_262); +lean_dec(x_266); +if (lean_is_scalar(x_257)) { + x_268 = lean_alloc_ctor(0, 5, 0); +} else { + x_268 = x_257; +} +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_260); +lean_ctor_set(x_268, 2, x_261); +lean_ctor_set(x_268, 3, x_5); +lean_ctor_set(x_268, 4, x_259); +return x_268; +} +else +{ +uint8_t x_269; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +x_269 = !lean_is_exclusive(x_5); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; +x_270 = lean_ctor_get(x_5, 4); +lean_dec(x_270); +x_271 = lean_ctor_get(x_5, 3); +lean_dec(x_271); +x_272 = lean_ctor_get(x_5, 2); +lean_dec(x_272); +x_273 = lean_ctor_get(x_5, 1); +lean_dec(x_273); +x_274 = lean_ctor_get(x_5, 0); +lean_dec(x_274); +x_275 = lean_ctor_get(x_141, 0); +x_276 = lean_ctor_get(x_142, 0); +x_277 = lean_ctor_get(x_142, 1); +x_278 = lean_ctor_get(x_142, 2); +x_279 = lean_ctor_get(x_142, 3); +x_280 = lean_ctor_get(x_142, 4); +x_281 = lean_unsigned_to_nat(2u); +x_282 = lean_nat_mul(x_281, x_275); +x_283 = lean_nat_dec_lt(x_276, x_282); +lean_dec(x_282); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_300; lean_object* x_301; +lean_inc(x_280); +lean_inc(x_279); +lean_inc(x_278); +lean_inc(x_277); +lean_free_object(x_5); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_284 = x_142; +} else { + lean_dec_ref(x_142); + x_284 = lean_box(0); +} +x_285 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_286 = lean_nat_add(x_285, x_262); +lean_dec(x_285); +x_300 = lean_nat_add(x_148, x_275); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_308; +x_308 = lean_ctor_get(x_279, 0); +lean_inc(x_308); +x_301 = x_308; +goto block_307; +} +else +{ +lean_object* x_309; +x_309 = lean_unsigned_to_nat(0u); +x_301 = x_309; +goto block_307; +} +block_299: +{ +lean_object* x_290; lean_object* x_291; uint8_t x_292; +x_290 = lean_nat_add(x_287, x_289); +lean_dec(x_289); +lean_dec(x_287); +lean_inc_ref(x_259); +if (lean_is_scalar(x_284)) { + x_291 = lean_alloc_ctor(0, 5, 0); +} else { + x_291 = x_284; +} +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_260); +lean_ctor_set(x_291, 2, x_261); +lean_ctor_set(x_291, 3, x_280); +lean_ctor_set(x_291, 4, x_259); +x_292 = !lean_is_exclusive(x_259); +if (x_292 == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_293 = lean_ctor_get(x_259, 4); +lean_dec(x_293); +x_294 = lean_ctor_get(x_259, 3); +lean_dec(x_294); +x_295 = lean_ctor_get(x_259, 2); +lean_dec(x_295); +x_296 = lean_ctor_get(x_259, 1); +lean_dec(x_296); +x_297 = lean_ctor_get(x_259, 0); +lean_dec(x_297); +lean_ctor_set(x_259, 4, x_291); +lean_ctor_set(x_259, 3, x_288); +lean_ctor_set(x_259, 2, x_278); +lean_ctor_set(x_259, 1, x_277); +lean_ctor_set(x_259, 0, x_286); +return x_259; +} +else +{ +lean_object* x_298; +lean_dec(x_259); +x_298 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_298, 0, x_286); +lean_ctor_set(x_298, 1, x_277); +lean_ctor_set(x_298, 2, x_278); +lean_ctor_set(x_298, 3, x_288); +lean_ctor_set(x_298, 4, x_291); +return x_298; +} +} +block_307: +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_302 = lean_nat_add(x_300, x_301); +lean_dec(x_301); +lean_dec(x_300); +if (lean_is_scalar(x_257)) { + x_303 = lean_alloc_ctor(0, 5, 0); +} else { + x_303 = x_257; +} +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_139); +lean_ctor_set(x_303, 2, x_140); +lean_ctor_set(x_303, 3, x_141); +lean_ctor_set(x_303, 4, x_279); +x_304 = lean_nat_add(x_148, x_262); +if (lean_obj_tag(x_280) == 0) +{ +lean_object* x_305; +x_305 = lean_ctor_get(x_280, 0); +lean_inc(x_305); +x_287 = x_304; +x_288 = x_303; +x_289 = x_305; +goto block_299; +} +else +{ +lean_object* x_306; +x_306 = lean_unsigned_to_nat(0u); +x_287 = x_304; +x_288 = x_303; +x_289 = x_306; +goto block_299; +} +} +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_310 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_311 = lean_nat_add(x_310, x_262); +lean_dec(x_310); +x_312 = lean_nat_add(x_148, x_262); +x_313 = lean_nat_add(x_312, x_276); +lean_dec(x_312); +if (lean_is_scalar(x_257)) { + x_314 = lean_alloc_ctor(0, 5, 0); +} else { + x_314 = x_257; +} +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_260); +lean_ctor_set(x_314, 2, x_261); +lean_ctor_set(x_314, 3, x_142); +lean_ctor_set(x_314, 4, x_259); +lean_ctor_set(x_5, 4, x_314); +lean_ctor_set(x_5, 0, x_311); +return x_5; +} +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; +lean_dec(x_5); +x_315 = lean_ctor_get(x_141, 0); +x_316 = lean_ctor_get(x_142, 0); +x_317 = lean_ctor_get(x_142, 1); +x_318 = lean_ctor_get(x_142, 2); +x_319 = lean_ctor_get(x_142, 3); +x_320 = lean_ctor_get(x_142, 4); +x_321 = lean_unsigned_to_nat(2u); +x_322 = lean_nat_mul(x_321, x_315); +x_323 = lean_nat_dec_lt(x_316, x_322); +lean_dec(x_322); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_335; lean_object* x_336; +lean_inc(x_320); +lean_inc(x_319); +lean_inc(x_318); +lean_inc(x_317); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_324 = x_142; +} else { + lean_dec_ref(x_142); + x_324 = lean_box(0); +} +x_325 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_326 = lean_nat_add(x_325, x_262); +lean_dec(x_325); +x_335 = lean_nat_add(x_148, x_315); +if (lean_obj_tag(x_319) == 0) +{ +lean_object* x_343; +x_343 = lean_ctor_get(x_319, 0); +lean_inc(x_343); +x_336 = x_343; +goto block_342; +} +else +{ +lean_object* x_344; +x_344 = lean_unsigned_to_nat(0u); +x_336 = x_344; +goto block_342; +} +block_334: +{ +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_330 = lean_nat_add(x_327, x_329); +lean_dec(x_329); +lean_dec(x_327); +lean_inc_ref(x_259); +if (lean_is_scalar(x_324)) { + x_331 = lean_alloc_ctor(0, 5, 0); +} else { + x_331 = x_324; +} +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_260); +lean_ctor_set(x_331, 2, x_261); +lean_ctor_set(x_331, 3, x_320); +lean_ctor_set(x_331, 4, x_259); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + lean_ctor_release(x_259, 2); + lean_ctor_release(x_259, 3); + lean_ctor_release(x_259, 4); + x_332 = x_259; +} else { + lean_dec_ref(x_259); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(0, 5, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_326); +lean_ctor_set(x_333, 1, x_317); +lean_ctor_set(x_333, 2, x_318); +lean_ctor_set(x_333, 3, x_328); +lean_ctor_set(x_333, 4, x_331); +return x_333; +} +block_342: +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = lean_nat_add(x_335, x_336); +lean_dec(x_336); +lean_dec(x_335); +if (lean_is_scalar(x_257)) { + x_338 = lean_alloc_ctor(0, 5, 0); +} else { + x_338 = x_257; +} +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_139); +lean_ctor_set(x_338, 2, x_140); +lean_ctor_set(x_338, 3, x_141); +lean_ctor_set(x_338, 4, x_319); +x_339 = lean_nat_add(x_148, x_262); +if (lean_obj_tag(x_320) == 0) +{ +lean_object* x_340; +x_340 = lean_ctor_get(x_320, 0); +lean_inc(x_340); +x_327 = x_339; +x_328 = x_338; +x_329 = x_340; +goto block_334; +} +else +{ +lean_object* x_341; +x_341 = lean_unsigned_to_nat(0u); +x_327 = x_339; +x_328 = x_338; +x_329 = x_341; +goto block_334; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_345 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_346 = lean_nat_add(x_345, x_262); +lean_dec(x_345); +x_347 = lean_nat_add(x_148, x_262); +x_348 = lean_nat_add(x_347, x_316); +lean_dec(x_347); +if (lean_is_scalar(x_257)) { + x_349 = lean_alloc_ctor(0, 5, 0); +} else { + x_349 = x_257; +} +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_260); +lean_ctor_set(x_349, 2, x_261); +lean_ctor_set(x_349, 3, x_142); +lean_ctor_set(x_349, 4, x_259); +x_350 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_350, 0, x_346); +lean_ctor_set(x_350, 1, x_139); +lean_ctor_set(x_350, 2, x_140); +lean_ctor_set(x_350, 3, x_141); +lean_ctor_set(x_350, 4, x_349); +return x_350; +} +} +} +} +else +{ +if (lean_obj_tag(x_141) == 0) +{ +uint8_t x_351; +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +x_351 = !lean_is_exclusive(x_5); +if (x_351 == 0) +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_352 = lean_ctor_get(x_5, 4); +lean_dec(x_352); +x_353 = lean_ctor_get(x_5, 3); +lean_dec(x_353); +x_354 = lean_ctor_get(x_5, 2); +lean_dec(x_354); +x_355 = lean_ctor_get(x_5, 1); +lean_dec(x_355); +x_356 = lean_ctor_get(x_5, 0); +lean_dec(x_356); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_357 = lean_ctor_get(x_258, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_258, 1); +lean_inc(x_358); +lean_dec_ref(x_258); +x_359 = lean_ctor_get(x_142, 0); +x_360 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_361 = lean_nat_add(x_148, x_359); +if (lean_is_scalar(x_257)) { + x_362 = lean_alloc_ctor(0, 5, 0); +} else { + x_362 = x_257; +} +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_357); +lean_ctor_set(x_362, 2, x_358); +lean_ctor_set(x_362, 3, x_142); +lean_ctor_set(x_362, 4, x_259); +lean_ctor_set(x_5, 4, x_362); +lean_ctor_set(x_5, 0, x_360); +return x_5; +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_138); +x_363 = lean_ctor_get(x_258, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_258, 1); +lean_inc(x_364); +lean_dec_ref(x_258); +x_365 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_257)) { + x_366 = lean_alloc_ctor(0, 5, 0); +} else { + x_366 = x_257; +} +lean_ctor_set(x_366, 0, x_148); +lean_ctor_set(x_366, 1, x_363); +lean_ctor_set(x_366, 2, x_364); +lean_ctor_set(x_366, 3, x_142); +lean_ctor_set(x_366, 4, x_142); +lean_ctor_set(x_5, 4, x_366); +lean_ctor_set(x_5, 0, x_365); +return x_5; +} +} +else +{ +lean_dec(x_5); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; +x_367 = lean_ctor_get(x_258, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_258, 1); +lean_inc(x_368); +lean_dec_ref(x_258); +x_369 = lean_ctor_get(x_142, 0); +x_370 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_371 = lean_nat_add(x_148, x_369); +if (lean_is_scalar(x_257)) { + x_372 = lean_alloc_ctor(0, 5, 0); +} else { + x_372 = x_257; +} +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_367); +lean_ctor_set(x_372, 2, x_368); +lean_ctor_set(x_372, 3, x_142); +lean_ctor_set(x_372, 4, x_259); +x_373 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_373, 0, x_370); +lean_ctor_set(x_373, 1, x_139); +lean_ctor_set(x_373, 2, x_140); +lean_ctor_set(x_373, 3, x_141); +lean_ctor_set(x_373, 4, x_372); +return x_373; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; +lean_dec(x_138); +x_374 = lean_ctor_get(x_258, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_258, 1); +lean_inc(x_375); +lean_dec_ref(x_258); +x_376 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_257)) { + x_377 = lean_alloc_ctor(0, 5, 0); +} else { + x_377 = x_257; +} +lean_ctor_set(x_377, 0, x_148); +lean_ctor_set(x_377, 1, x_374); +lean_ctor_set(x_377, 2, x_375); +lean_ctor_set(x_377, 3, x_142); +lean_ctor_set(x_377, 4, x_142); +x_378 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_378, 0, x_376); +lean_ctor_set(x_378, 1, x_139); +lean_ctor_set(x_378, 2, x_140); +lean_ctor_set(x_378, 3, x_141); +lean_ctor_set(x_378, 4, x_377); +return x_378; +} +} +} +else +{ +if (lean_obj_tag(x_142) == 0) +{ +uint8_t x_379; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +x_379 = !lean_is_exclusive(x_5); +if (x_379 == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; +x_380 = lean_ctor_get(x_5, 4); +lean_dec(x_380); +x_381 = lean_ctor_get(x_5, 3); +lean_dec(x_381); +x_382 = lean_ctor_get(x_5, 2); +lean_dec(x_382); +x_383 = lean_ctor_get(x_5, 1); +lean_dec(x_383); +x_384 = lean_ctor_get(x_5, 0); +lean_dec(x_384); +x_385 = lean_ctor_get(x_258, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_258, 1); +lean_inc(x_386); +lean_dec_ref(x_258); +x_387 = !lean_is_exclusive(x_142); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_388 = lean_ctor_get(x_142, 1); +x_389 = lean_ctor_get(x_142, 2); +x_390 = lean_ctor_get(x_142, 4); +lean_dec(x_390); +x_391 = lean_ctor_get(x_142, 3); +lean_dec(x_391); +x_392 = lean_ctor_get(x_142, 0); +lean_dec(x_392); +x_393 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_142, 4, x_141); +lean_ctor_set(x_142, 3, x_141); +lean_ctor_set(x_142, 2, x_140); +lean_ctor_set(x_142, 1, x_139); +lean_ctor_set(x_142, 0, x_148); +if (lean_is_scalar(x_257)) { + x_394 = lean_alloc_ctor(0, 5, 0); +} else { + x_394 = x_257; +} +lean_ctor_set(x_394, 0, x_148); +lean_ctor_set(x_394, 1, x_385); +lean_ctor_set(x_394, 2, x_386); +lean_ctor_set(x_394, 3, x_141); +lean_ctor_set(x_394, 4, x_141); +lean_ctor_set(x_5, 4, x_394); +lean_ctor_set(x_5, 3, x_142); +lean_ctor_set(x_5, 2, x_389); +lean_ctor_set(x_5, 1, x_388); +lean_ctor_set(x_5, 0, x_393); +return x_5; +} +else +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_395 = lean_ctor_get(x_142, 1); +x_396 = lean_ctor_get(x_142, 2); +lean_inc(x_396); +lean_inc(x_395); +lean_dec(x_142); +x_397 = lean_unsigned_to_nat(3u); +x_398 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_398, 0, x_148); +lean_ctor_set(x_398, 1, x_139); +lean_ctor_set(x_398, 2, x_140); +lean_ctor_set(x_398, 3, x_141); +lean_ctor_set(x_398, 4, x_141); +if (lean_is_scalar(x_257)) { + x_399 = lean_alloc_ctor(0, 5, 0); +} else { + x_399 = x_257; +} +lean_ctor_set(x_399, 0, x_148); +lean_ctor_set(x_399, 1, x_385); +lean_ctor_set(x_399, 2, x_386); +lean_ctor_set(x_399, 3, x_141); +lean_ctor_set(x_399, 4, x_141); +lean_ctor_set(x_5, 4, x_399); +lean_ctor_set(x_5, 3, x_398); +lean_ctor_set(x_5, 2, x_396); +lean_ctor_set(x_5, 1, x_395); +lean_ctor_set(x_5, 0, x_397); +return x_5; +} +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +lean_dec(x_5); +x_400 = lean_ctor_get(x_258, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_258, 1); +lean_inc(x_401); +lean_dec_ref(x_258); +x_402 = lean_ctor_get(x_142, 1); +lean_inc(x_402); +x_403 = lean_ctor_get(x_142, 2); +lean_inc(x_403); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_404 = x_142; +} else { + lean_dec_ref(x_142); + x_404 = lean_box(0); +} +x_405 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_404)) { + x_406 = lean_alloc_ctor(0, 5, 0); +} else { + x_406 = x_404; +} +lean_ctor_set(x_406, 0, x_148); +lean_ctor_set(x_406, 1, x_139); +lean_ctor_set(x_406, 2, x_140); +lean_ctor_set(x_406, 3, x_141); +lean_ctor_set(x_406, 4, x_141); +if (lean_is_scalar(x_257)) { + x_407 = lean_alloc_ctor(0, 5, 0); +} else { + x_407 = x_257; +} +lean_ctor_set(x_407, 0, x_148); +lean_ctor_set(x_407, 1, x_400); +lean_ctor_set(x_407, 2, x_401); +lean_ctor_set(x_407, 3, x_141); +lean_ctor_set(x_407, 4, x_141); +x_408 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_402); +lean_ctor_set(x_408, 2, x_403); +lean_ctor_set(x_408, 3, x_406); +lean_ctor_set(x_408, 4, x_407); +return x_408; +} +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_409 = lean_ctor_get(x_258, 0); +lean_inc(x_409); +x_410 = lean_ctor_get(x_258, 1); +lean_inc(x_410); +lean_dec_ref(x_258); +x_411 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_257)) { + x_412 = lean_alloc_ctor(0, 5, 0); +} else { + x_412 = x_257; +} +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_409); +lean_ctor_set(x_412, 2, x_410); +lean_ctor_set(x_412, 3, x_5); +lean_ctor_set(x_412, 4, x_142); +return x_412; +} +} +} +} +} +else +{ +return x_5; +} +} +else +{ +return x_6; +} +} +default: +{ +lean_object* x_413; lean_object* x_414; +x_413 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(x_1, x_6); +x_414 = lean_unsigned_to_nat(1u); +if (lean_obj_tag(x_413) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; +x_415 = lean_ctor_get(x_413, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_5, 0); +x_417 = lean_ctor_get(x_5, 1); +x_418 = lean_ctor_get(x_5, 2); +x_419 = lean_ctor_get(x_5, 3); +x_420 = lean_ctor_get(x_5, 4); +lean_inc(x_420); +x_421 = lean_unsigned_to_nat(3u); +x_422 = lean_nat_mul(x_421, x_415); +x_423 = lean_nat_dec_lt(x_422, x_416); +lean_dec(x_422); +if (x_423 == 0) +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_420); +x_424 = lean_nat_add(x_414, x_416); +x_425 = lean_nat_add(x_424, x_415); +lean_dec(x_415); +lean_dec(x_424); +if (lean_is_scalar(x_7)) { + x_426 = lean_alloc_ctor(0, 5, 0); +} else { + x_426 = x_7; +} +lean_ctor_set(x_426, 0, x_425); +lean_ctor_set(x_426, 1, x_3); +lean_ctor_set(x_426, 2, x_4); +lean_ctor_set(x_426, 3, x_5); +lean_ctor_set(x_426, 4, x_413); +return x_426; +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +lean_inc(x_419); +lean_inc(x_418); +lean_inc(x_417); +lean_inc(x_416); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + x_427 = x_5; +} else { + lean_dec_ref(x_5); + x_427 = lean_box(0); +} +x_428 = lean_ctor_get(x_419, 0); +x_429 = lean_ctor_get(x_420, 0); +x_430 = lean_ctor_get(x_420, 1); +x_431 = lean_ctor_get(x_420, 2); +x_432 = lean_ctor_get(x_420, 3); +x_433 = lean_ctor_get(x_420, 4); +x_434 = lean_unsigned_to_nat(2u); +x_435 = lean_nat_mul(x_434, x_428); +x_436 = lean_nat_dec_lt(x_429, x_435); +lean_dec(x_435); +if (x_436 == 0) +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_447; lean_object* x_448; +lean_inc(x_433); +lean_inc(x_432); +lean_inc(x_431); +lean_inc(x_430); +if (lean_is_exclusive(x_420)) { + lean_ctor_release(x_420, 0); + lean_ctor_release(x_420, 1); + lean_ctor_release(x_420, 2); + lean_ctor_release(x_420, 3); + lean_ctor_release(x_420, 4); + x_437 = x_420; +} else { + lean_dec_ref(x_420); + x_437 = lean_box(0); +} +x_438 = lean_nat_add(x_414, x_416); +lean_dec(x_416); +x_439 = lean_nat_add(x_438, x_415); +lean_dec(x_438); +x_447 = lean_nat_add(x_414, x_428); +if (lean_obj_tag(x_432) == 0) +{ +lean_object* x_455; +x_455 = lean_ctor_get(x_432, 0); +lean_inc(x_455); +x_448 = x_455; +goto block_454; +} +else +{ +lean_object* x_456; +x_456 = lean_unsigned_to_nat(0u); +x_448 = x_456; +goto block_454; +} +block_446: +{ +lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_443 = lean_nat_add(x_441, x_442); +lean_dec(x_442); +lean_dec(x_441); +if (lean_is_scalar(x_437)) { + x_444 = lean_alloc_ctor(0, 5, 0); +} else { + x_444 = x_437; +} +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_3); +lean_ctor_set(x_444, 2, x_4); +lean_ctor_set(x_444, 3, x_433); +lean_ctor_set(x_444, 4, x_413); +if (lean_is_scalar(x_427)) { + x_445 = lean_alloc_ctor(0, 5, 0); +} else { + x_445 = x_427; +} +lean_ctor_set(x_445, 0, x_439); +lean_ctor_set(x_445, 1, x_430); +lean_ctor_set(x_445, 2, x_431); +lean_ctor_set(x_445, 3, x_440); +lean_ctor_set(x_445, 4, x_444); +return x_445; +} +block_454: +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; +x_449 = lean_nat_add(x_447, x_448); +lean_dec(x_448); +lean_dec(x_447); +if (lean_is_scalar(x_7)) { + x_450 = lean_alloc_ctor(0, 5, 0); +} else { + x_450 = x_7; +} +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_417); +lean_ctor_set(x_450, 2, x_418); +lean_ctor_set(x_450, 3, x_419); +lean_ctor_set(x_450, 4, x_432); +x_451 = lean_nat_add(x_414, x_415); +lean_dec(x_415); +if (lean_obj_tag(x_433) == 0) +{ +lean_object* x_452; +x_452 = lean_ctor_get(x_433, 0); +lean_inc(x_452); +x_440 = x_450; +x_441 = x_451; +x_442 = x_452; +goto block_446; +} +else +{ +lean_object* x_453; +x_453 = lean_unsigned_to_nat(0u); +x_440 = x_450; +x_441 = x_451; +x_442 = x_453; +goto block_446; +} +} +} +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; +lean_dec(x_7); +x_457 = lean_nat_add(x_414, x_416); +lean_dec(x_416); +x_458 = lean_nat_add(x_457, x_415); +lean_dec(x_457); +x_459 = lean_nat_add(x_414, x_415); +lean_dec(x_415); +x_460 = lean_nat_add(x_459, x_429); +lean_dec(x_459); +lean_inc_ref(x_413); +if (lean_is_scalar(x_427)) { + x_461 = lean_alloc_ctor(0, 5, 0); +} else { + x_461 = x_427; +} +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_3); +lean_ctor_set(x_461, 2, x_4); +lean_ctor_set(x_461, 3, x_420); +lean_ctor_set(x_461, 4, x_413); +x_462 = !lean_is_exclusive(x_413); +if (x_462 == 0) +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_463 = lean_ctor_get(x_413, 4); +lean_dec(x_463); +x_464 = lean_ctor_get(x_413, 3); +lean_dec(x_464); +x_465 = lean_ctor_get(x_413, 2); +lean_dec(x_465); +x_466 = lean_ctor_get(x_413, 1); +lean_dec(x_466); +x_467 = lean_ctor_get(x_413, 0); +lean_dec(x_467); +lean_ctor_set(x_413, 4, x_461); +lean_ctor_set(x_413, 3, x_419); +lean_ctor_set(x_413, 2, x_418); +lean_ctor_set(x_413, 1, x_417); +lean_ctor_set(x_413, 0, x_458); +return x_413; +} +else +{ +lean_object* x_468; +lean_dec(x_413); +x_468 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_468, 0, x_458); +lean_ctor_set(x_468, 1, x_417); +lean_ctor_set(x_468, 2, x_418); +lean_ctor_set(x_468, 3, x_419); +lean_ctor_set(x_468, 4, x_461); +return x_468; +} +} +} +} +else +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; +x_469 = lean_ctor_get(x_413, 0); +lean_inc(x_469); +x_470 = lean_nat_add(x_414, x_469); +lean_dec(x_469); +if (lean_is_scalar(x_7)) { + x_471 = lean_alloc_ctor(0, 5, 0); +} else { + x_471 = x_7; +} +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_3); +lean_ctor_set(x_471, 2, x_4); +lean_ctor_set(x_471, 3, x_5); +lean_ctor_set(x_471, 4, x_413); +return x_471; +} +} +else +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_472; +x_472 = lean_ctor_get(x_5, 3); +if (lean_obj_tag(x_472) == 0) +{ +lean_object* x_473; +lean_inc_ref(x_472); +x_473 = lean_ctor_get(x_5, 4); +lean_inc(x_473); +if (lean_obj_tag(x_473) == 0) +{ +uint8_t x_474; +x_474 = !lean_is_exclusive(x_5); +if (x_474 == 0) +{ +lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_475 = lean_ctor_get(x_5, 0); +x_476 = lean_ctor_get(x_5, 1); +x_477 = lean_ctor_get(x_5, 2); +x_478 = lean_ctor_get(x_5, 4); +lean_dec(x_478); +x_479 = lean_ctor_get(x_5, 3); +lean_dec(x_479); +x_480 = lean_ctor_get(x_473, 0); +x_481 = lean_nat_add(x_414, x_475); +lean_dec(x_475); +x_482 = lean_nat_add(x_414, x_480); +lean_ctor_set(x_5, 4, x_413); +lean_ctor_set(x_5, 3, x_473); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_482); +if (lean_is_scalar(x_7)) { + x_483 = lean_alloc_ctor(0, 5, 0); +} else { + x_483 = x_7; +} +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_476); +lean_ctor_set(x_483, 2, x_477); +lean_ctor_set(x_483, 3, x_472); +lean_ctor_set(x_483, 4, x_5); +return x_483; +} +else +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_484 = lean_ctor_get(x_5, 0); +x_485 = lean_ctor_get(x_5, 1); +x_486 = lean_ctor_get(x_5, 2); +lean_inc(x_486); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_5); +x_487 = lean_ctor_get(x_473, 0); +x_488 = lean_nat_add(x_414, x_484); +lean_dec(x_484); +x_489 = lean_nat_add(x_414, x_487); +x_490 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_3); +lean_ctor_set(x_490, 2, x_4); +lean_ctor_set(x_490, 3, x_473); +lean_ctor_set(x_490, 4, x_413); +if (lean_is_scalar(x_7)) { + x_491 = lean_alloc_ctor(0, 5, 0); +} else { + x_491 = x_7; +} +lean_ctor_set(x_491, 0, x_488); +lean_ctor_set(x_491, 1, x_485); +lean_ctor_set(x_491, 2, x_486); +lean_ctor_set(x_491, 3, x_472); +lean_ctor_set(x_491, 4, x_490); +return x_491; +} +} +else +{ +uint8_t x_492; +x_492 = !lean_is_exclusive(x_5); +if (x_492 == 0) +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_493 = lean_ctor_get(x_5, 1); +x_494 = lean_ctor_get(x_5, 2); +x_495 = lean_ctor_get(x_5, 4); +lean_dec(x_495); +x_496 = lean_ctor_get(x_5, 3); +lean_dec(x_496); +x_497 = lean_ctor_get(x_5, 0); +lean_dec(x_497); +x_498 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_5, 3, x_473); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_499 = lean_alloc_ctor(0, 5, 0); +} else { + x_499 = x_7; +} +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_493); +lean_ctor_set(x_499, 2, x_494); +lean_ctor_set(x_499, 3, x_472); +lean_ctor_set(x_499, 4, x_5); +return x_499; +} +else +{ +lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_500 = lean_ctor_get(x_5, 1); +x_501 = lean_ctor_get(x_5, 2); +lean_inc(x_501); +lean_inc(x_500); +lean_dec(x_5); +x_502 = lean_unsigned_to_nat(3u); +x_503 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_503, 0, x_414); +lean_ctor_set(x_503, 1, x_3); +lean_ctor_set(x_503, 2, x_4); +lean_ctor_set(x_503, 3, x_473); +lean_ctor_set(x_503, 4, x_473); +if (lean_is_scalar(x_7)) { + x_504 = lean_alloc_ctor(0, 5, 0); +} else { + x_504 = x_7; +} +lean_ctor_set(x_504, 0, x_502); +lean_ctor_set(x_504, 1, x_500); +lean_ctor_set(x_504, 2, x_501); +lean_ctor_set(x_504, 3, x_472); +lean_ctor_set(x_504, 4, x_503); +return x_504; +} +} +} +else +{ +lean_object* x_505; +x_505 = lean_ctor_get(x_5, 4); +lean_inc(x_505); +if (lean_obj_tag(x_505) == 0) +{ +uint8_t x_506; +lean_inc(x_472); +x_506 = !lean_is_exclusive(x_5); +if (x_506 == 0) +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; +x_507 = lean_ctor_get(x_5, 1); +x_508 = lean_ctor_get(x_5, 2); +x_509 = lean_ctor_get(x_5, 4); +lean_dec(x_509); +x_510 = lean_ctor_get(x_5, 3); +lean_dec(x_510); +x_511 = lean_ctor_get(x_5, 0); +lean_dec(x_511); +x_512 = !lean_is_exclusive(x_505); +if (x_512 == 0) +{ +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_513 = lean_ctor_get(x_505, 1); +x_514 = lean_ctor_get(x_505, 2); +x_515 = lean_ctor_get(x_505, 4); +lean_dec(x_515); +x_516 = lean_ctor_get(x_505, 3); +lean_dec(x_516); +x_517 = lean_ctor_get(x_505, 0); +lean_dec(x_517); +x_518 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_505, 4, x_472); +lean_ctor_set(x_505, 3, x_472); +lean_ctor_set(x_505, 2, x_508); +lean_ctor_set(x_505, 1, x_507); +lean_ctor_set(x_505, 0, x_414); +lean_ctor_set(x_5, 4, x_472); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_519 = lean_alloc_ctor(0, 5, 0); +} else { + x_519 = x_7; +} +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_513); +lean_ctor_set(x_519, 2, x_514); +lean_ctor_set(x_519, 3, x_505); +lean_ctor_set(x_519, 4, x_5); +return x_519; +} +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_520 = lean_ctor_get(x_505, 1); +x_521 = lean_ctor_get(x_505, 2); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_505); +x_522 = lean_unsigned_to_nat(3u); +x_523 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_523, 0, x_414); +lean_ctor_set(x_523, 1, x_507); +lean_ctor_set(x_523, 2, x_508); +lean_ctor_set(x_523, 3, x_472); +lean_ctor_set(x_523, 4, x_472); +lean_ctor_set(x_5, 4, x_472); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_524 = lean_alloc_ctor(0, 5, 0); +} else { + x_524 = x_7; +} +lean_ctor_set(x_524, 0, x_522); +lean_ctor_set(x_524, 1, x_520); +lean_ctor_set(x_524, 2, x_521); +lean_ctor_set(x_524, 3, x_523); +lean_ctor_set(x_524, 4, x_5); +return x_524; +} +} +else +{ +lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_525 = lean_ctor_get(x_5, 1); +x_526 = lean_ctor_get(x_5, 2); +lean_inc(x_526); +lean_inc(x_525); +lean_dec(x_5); +x_527 = lean_ctor_get(x_505, 1); +lean_inc(x_527); +x_528 = lean_ctor_get(x_505, 2); +lean_inc(x_528); +if (lean_is_exclusive(x_505)) { + lean_ctor_release(x_505, 0); + lean_ctor_release(x_505, 1); + lean_ctor_release(x_505, 2); + lean_ctor_release(x_505, 3); + lean_ctor_release(x_505, 4); + x_529 = x_505; +} else { + lean_dec_ref(x_505); + x_529 = lean_box(0); +} +x_530 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_529)) { + x_531 = lean_alloc_ctor(0, 5, 0); +} else { + x_531 = x_529; +} +lean_ctor_set(x_531, 0, x_414); +lean_ctor_set(x_531, 1, x_525); +lean_ctor_set(x_531, 2, x_526); +lean_ctor_set(x_531, 3, x_472); +lean_ctor_set(x_531, 4, x_472); +x_532 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_532, 0, x_414); +lean_ctor_set(x_532, 1, x_3); +lean_ctor_set(x_532, 2, x_4); +lean_ctor_set(x_532, 3, x_472); +lean_ctor_set(x_532, 4, x_472); +if (lean_is_scalar(x_7)) { + x_533 = lean_alloc_ctor(0, 5, 0); +} else { + x_533 = x_7; +} +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_527); +lean_ctor_set(x_533, 2, x_528); +lean_ctor_set(x_533, 3, x_531); +lean_ctor_set(x_533, 4, x_532); +return x_533; +} +} +else +{ +lean_object* x_534; lean_object* x_535; +x_534 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_535 = lean_alloc_ctor(0, 5, 0); +} else { + x_535 = x_7; +} +lean_ctor_set(x_535, 0, x_534); +lean_ctor_set(x_535, 1, x_3); +lean_ctor_set(x_535, 2, x_4); +lean_ctor_set(x_535, 3, x_5); +lean_ctor_set(x_535, 4, x_505); +return x_535; +} +} +} +else +{ +lean_object* x_536; +if (lean_is_scalar(x_7)) { + x_536 = lean_alloc_ctor(0, 5, 0); +} else { + x_536 = x_7; +} +lean_ctor_set(x_536, 0, x_414); +lean_ctor_set(x_536, 1, x_3); +lean_ctor_set(x_536, 2, x_4); +lean_ctor_set(x_536, 3, x_5); +lean_ctor_set(x_536, 4, x_5); +return x_536; +} +} +} +} +} +else +{ +return x_2; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_st_ref_take(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_14 = lean_ctor_get(x_11, 0); +x_15 = lean_ctor_get(x_11, 5); +lean_dec(x_15); +x_16 = l_Lean_addMarkdownDocString___redArg___lam__0___closed__0; +x_17 = lean_box(2); +x_18 = lean_box(0); +x_19 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_16, x_14, x_1, x_17, x_18); +x_20 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__2; +lean_ctor_set(x_11, 5, x_20); +lean_ctor_set(x_11, 0, x_19); +x_21 = lean_st_ref_set(x_8, x_11, x_12); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); +x_23 = lean_st_ref_take(x_6, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_24, 1); +lean_dec(x_27); +x_28 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3; +lean_ctor_set(x_24, 1, x_28); +x_29 = lean_st_ref_set(x_6, x_24, x_25); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_36 = lean_ctor_get(x_24, 0); +x_37 = lean_ctor_get(x_24, 2); +x_38 = lean_ctor_get(x_24, 3); +x_39 = lean_ctor_get(x_24, 4); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_24); +x_40 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3; +x_41 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_41, 0, x_36); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_41, 2, x_37); +lean_ctor_set(x_41, 3, x_38); +lean_ctor_set(x_41, 4, x_39); +x_42 = lean_st_ref_set(x_6, x_41, x_25); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_44 = x_42; +} else { + lean_dec_ref(x_42); + x_44 = lean_box(0); +} +x_45 = lean_box(0); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_47 = lean_ctor_get(x_11, 0); +x_48 = lean_ctor_get(x_11, 1); +x_49 = lean_ctor_get(x_11, 2); +x_50 = lean_ctor_get(x_11, 3); +x_51 = lean_ctor_get(x_11, 4); +x_52 = lean_ctor_get(x_11, 6); +x_53 = lean_ctor_get(x_11, 7); +x_54 = lean_ctor_get(x_11, 8); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_11); +x_55 = l_Lean_addMarkdownDocString___redArg___lam__0___closed__0; +x_56 = lean_box(2); +x_57 = lean_box(0); +x_58 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_55, x_47, x_1, x_56, x_57); +x_59 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__2; +x_60 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_48); +lean_ctor_set(x_60, 2, x_49); +lean_ctor_set(x_60, 3, x_50); +lean_ctor_set(x_60, 4, x_51); +lean_ctor_set(x_60, 5, x_59); +lean_ctor_set(x_60, 6, x_52); +lean_ctor_set(x_60, 7, x_53); +lean_ctor_set(x_60, 8, x_54); +x_61 = lean_st_ref_set(x_8, x_60, x_12); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec_ref(x_61); +x_63 = lean_st_ref_take(x_6, x_62); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec_ref(x_63); +x_66 = lean_ctor_get(x_64, 0); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_64, 2); +lean_inc(x_67); +x_68 = lean_ctor_get(x_64, 3); +lean_inc_ref(x_68); +x_69 = lean_ctor_get(x_64, 4); +lean_inc_ref(x_69); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + lean_ctor_release(x_64, 2); + lean_ctor_release(x_64, 3); + lean_ctor_release(x_64, 4); + x_70 = x_64; +} else { + lean_dec_ref(x_64); + x_70 = lean_box(0); +} +x_71 = l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3; +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 5, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_66); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_67); +lean_ctor_set(x_72, 3, x_68); +lean_ctor_set(x_72, 4, x_69); +x_73 = lean_st_ref_set(x_6, x_72, x_65); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +x_76 = lean_box(0); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_75; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +} +static lean_object* _init_l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid doc string removal, declaration `", 41, 41); +return x_1; +} +} +static lean_object* _init_l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +lean_inc(x_1); +x_14 = lean_alloc_closure((void*)(l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0___boxed), 2, 1); +lean_closure_set(x_14, 0, x_1); +x_15 = l_Lean_Environment_getModuleIdxFor_x3f(x_13, x_1); +lean_dec_ref(x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_free_object(x_9); +lean_dec(x_1); +x_16 = lean_box(0); +x_17 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1(x_14, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_12); +lean_dec_ref(x_2); +return x_17; +} +else +{ +uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec_ref(x_15); +lean_dec_ref(x_14); +x_18 = 0; +x_19 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1; +x_20 = l_Lean_MessageData_ofConstName(x_1, x_18); +lean_ctor_set_tag(x_9, 7); +lean_ctor_set(x_9, 1, x_20); +lean_ctor_set(x_9, 0, x_19); +x_21 = l_Lean_addMarkdownDocString___redArg___lam__6___closed__3; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_9); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_12); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_9, 0); +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_9); +x_26 = lean_ctor_get(x_24, 0); +lean_inc_ref(x_26); +lean_dec(x_24); +lean_inc(x_1); +x_27 = lean_alloc_closure((void*)(l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0___boxed), 2, 1); +lean_closure_set(x_27, 0, x_1); +x_28 = l_Lean_Environment_getModuleIdxFor_x3f(x_26, x_1); +lean_dec_ref(x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_1); +x_29 = lean_box(0); +x_30 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1(x_27, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_25); +lean_dec_ref(x_2); +return x_30; +} +else +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec_ref(x_28); +lean_dec_ref(x_27); +x_31 = 0; +x_32 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1; +x_33 = l_Lean_MessageData_ofConstName(x_1, x_31); +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_addMarkdownDocString___redArg___lam__6___closed__3; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_25); +return x_37; +} +} +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("No documentation found for `", 28, 28); +return x_1; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_makeDocStringVerso___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_makeDocStringVerso___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Documentation for `", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_makeDocStringVerso___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` is already in Verso format", 28, 28); +return x_1; +} +} +static lean_object* _init_l_Lean_makeDocStringVerso___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_makeDocStringVerso___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_makeDocStringVerso(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = 1; +lean_inc(x_1); +x_15 = l_Lean_findInternalDocString_x3f(x_13, x_1, x_14, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = l_Lean_makeDocStringVerso___closed__1; +x_19 = 0; +x_20 = l_Lean_MessageData_ofConstName(x_1, x_19); +lean_ctor_set_tag(x_9, 7); +lean_ctor_set(x_9, 1, x_20); +lean_ctor_set(x_9, 0, x_18); +x_21 = l_Lean_makeDocStringVerso___closed__3; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_9); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_16, 0); +lean_inc(x_24); +lean_dec_ref(x_16); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_dec_ref(x_15); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 0); +x_28 = l_Lean_removeBuiltinDocString(x_1, x_25); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_free_object(x_24); +lean_free_object(x_9); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec_ref(x_28); +lean_inc_ref(x_2); +lean_inc(x_1); +x_30 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec_ref(x_30); +x_32 = l_Lean_addVersoDocStringFromString(x_1, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_31); +return x_32; +} +else +{ +lean_dec(x_27); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_30; +} +} +else +{ +uint8_t x_33; +lean_dec(x_27); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_28, 0); +x_35 = lean_ctor_get(x_6, 5); +lean_inc(x_35); +lean_dec_ref(x_6); +x_36 = lean_io_error_to_string(x_34); +lean_ctor_set_tag(x_24, 3); +lean_ctor_set(x_24, 0, x_36); +x_37 = l_Lean_MessageData_ofFormat(x_24); +lean_ctor_set(x_9, 1, x_37); +lean_ctor_set(x_9, 0, x_35); +lean_ctor_set(x_28, 0, x_9); +return x_28; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_38 = lean_ctor_get(x_28, 0); +x_39 = lean_ctor_get(x_28, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_28); +x_40 = lean_ctor_get(x_6, 5); +lean_inc(x_40); +lean_dec_ref(x_6); +x_41 = lean_io_error_to_string(x_38); +lean_ctor_set_tag(x_24, 3); +lean_ctor_set(x_24, 0, x_41); +x_42 = l_Lean_MessageData_ofFormat(x_24); +lean_ctor_set(x_9, 1, x_42); +lean_ctor_set(x_9, 0, x_40); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_9); +lean_ctor_set(x_43, 1, x_39); +return x_43; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_24, 0); +lean_inc(x_44); +lean_dec(x_24); +x_45 = l_Lean_removeBuiltinDocString(x_1, x_25); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_free_object(x_9); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec_ref(x_45); +lean_inc_ref(x_2); +lean_inc(x_1); +x_47 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec_ref(x_47); +x_49 = l_Lean_addVersoDocStringFromString(x_1, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +return x_49; +} +else +{ +lean_dec(x_44); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_47; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_44); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_50 = lean_ctor_get(x_45, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_45, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_52 = x_45; +} else { + lean_dec_ref(x_45); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_6, 5); +lean_inc(x_53); +lean_dec_ref(x_6); +x_54 = lean_io_error_to_string(x_50); +x_55 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = l_Lean_MessageData_ofFormat(x_55); +lean_ctor_set(x_9, 1, x_56); +lean_ctor_set(x_9, 0, x_53); +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_52; +} +lean_ctor_set(x_57, 0, x_9); +lean_ctor_set(x_57, 1, x_51); +return x_57; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec_ref(x_24); +x_58 = lean_ctor_get(x_15, 1); +lean_inc(x_58); +lean_dec_ref(x_15); +x_59 = l_Lean_makeDocStringVerso___closed__5; +x_60 = 0; +x_61 = l_Lean_MessageData_ofConstName(x_1, x_60); +lean_ctor_set_tag(x_9, 7); +lean_ctor_set(x_9, 1, x_61); +lean_ctor_set(x_9, 0, x_59); +x_62 = l_Lean_makeDocStringVerso___closed__7; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_9); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_58); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_15); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_15, 0); +x_67 = lean_ctor_get(x_6, 5); +lean_inc(x_67); +lean_dec_ref(x_6); +x_68 = lean_io_error_to_string(x_66); +x_69 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = l_Lean_MessageData_ofFormat(x_69); +lean_ctor_set(x_9, 1, x_70); +lean_ctor_set(x_9, 0, x_67); +lean_ctor_set(x_15, 0, x_9); +return x_15; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_71 = lean_ctor_get(x_15, 0); +x_72 = lean_ctor_get(x_15, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_15); +x_73 = lean_ctor_get(x_6, 5); +lean_inc(x_73); +lean_dec_ref(x_6); +x_74 = lean_io_error_to_string(x_71); +x_75 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_75, 0, x_74); +x_76 = l_Lean_MessageData_ofFormat(x_75); +lean_ctor_set(x_9, 1, x_76); +lean_ctor_set(x_9, 0, x_73); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_9); +lean_ctor_set(x_77, 1, x_72); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; +x_78 = lean_ctor_get(x_9, 0); +x_79 = lean_ctor_get(x_9, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_9); +x_80 = lean_ctor_get(x_78, 0); +lean_inc_ref(x_80); +lean_dec(x_78); +x_81 = 1; +lean_inc(x_1); +x_82 = l_Lean_findInternalDocString_x3f(x_80, x_1, x_81, x_79); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec_ref(x_82); +x_85 = l_Lean_makeDocStringVerso___closed__1; +x_86 = 0; +x_87 = l_Lean_MessageData_ofConstName(x_1, x_86); +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_makeDocStringVerso___closed__3; +x_90 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_84); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_91; +} +else +{ +lean_object* x_92; +x_92 = lean_ctor_get(x_83, 0); +lean_inc(x_92); +lean_dec_ref(x_83); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get(x_82, 1); +lean_inc(x_93); +lean_dec_ref(x_82); +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + x_95 = x_92; +} else { + lean_dec_ref(x_92); + x_95 = lean_box(0); +} +x_96 = l_Lean_removeBuiltinDocString(x_1, x_93); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; +lean_dec(x_95); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec_ref(x_96); +lean_inc_ref(x_2); +lean_inc(x_1); +x_98 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_97); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec_ref(x_98); +x_100 = l_Lean_addVersoDocStringFromString(x_1, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_99); +return x_100; +} +else +{ +lean_dec(x_94); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_98; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_94); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_96, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_96, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_103 = x_96; +} else { + lean_dec_ref(x_96); + x_103 = lean_box(0); +} +x_104 = lean_ctor_get(x_6, 5); +lean_inc(x_104); +lean_dec_ref(x_6); +x_105 = lean_io_error_to_string(x_101); +if (lean_is_scalar(x_95)) { + x_106 = lean_alloc_ctor(3, 1, 0); +} else { + x_106 = x_95; + lean_ctor_set_tag(x_106, 3); +} +lean_ctor_set(x_106, 0, x_105); +x_107 = l_Lean_MessageData_ofFormat(x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_104); +lean_ctor_set(x_108, 1, x_107); +if (lean_is_scalar(x_103)) { + x_109 = lean_alloc_ctor(1, 2, 0); +} else { + x_109 = x_103; +} +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_102); +return x_109; +} +} +else +{ +lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec_ref(x_92); +x_110 = lean_ctor_get(x_82, 1); +lean_inc(x_110); +lean_dec_ref(x_82); +x_111 = l_Lean_makeDocStringVerso___closed__5; +x_112 = 0; +x_113 = l_Lean_MessageData_ofConstName(x_1, x_112); +x_114 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_makeDocStringVerso___closed__7; +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_versoDocString_spec__0_spec__0___redArg(x_116, x_2, x_3, x_4, x_5, x_6, x_7, x_110); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_117; +} +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_118 = lean_ctor_get(x_82, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_82, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_120 = x_82; +} else { + lean_dec_ref(x_82); + x_120 = lean_box(0); +} +x_121 = lean_ctor_get(x_6, 5); +lean_inc(x_121); +lean_dec_ref(x_6); +x_122 = lean_io_error_to_string(x_118); +x_123 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_123, 0, x_122); +x_124 = l_Lean_MessageData_ofFormat(x_123); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_121); +lean_ctor_set(x_125, 1, x_124); +if (lean_is_scalar(x_120)) { + x_126 = lean_alloc_ctor(1, 2, 0); +} else { + x_126 = x_120; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_119); +return x_126; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___redArg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0_spec__0(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__0(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} static lean_object* _init_l_Lean_addDocString___closed__0() { _start: { @@ -4583,6 +9333,16 @@ l_Lean_versoDocString___closed__4 = _init_l_Lean_versoDocString___closed__4(); lean_mark_persistent(l_Lean_versoDocString___closed__4); l_Lean_versoDocString___closed__5 = _init_l_Lean_versoDocString___closed__5(); lean_mark_persistent(l_Lean_versoDocString___closed__5); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_versoDocStringFromString_spec__0_spec__0_spec__0___redArg___closed__0); +l_Lean_versoDocStringFromString___closed__0 = _init_l_Lean_versoDocStringFromString___closed__0(); +lean_mark_persistent(l_Lean_versoDocStringFromString___closed__0); +l_Lean_versoDocStringFromString___closed__1 = _init_l_Lean_versoDocStringFromString___closed__1(); +lean_mark_persistent(l_Lean_versoDocStringFromString___closed__1); +l_Lean_versoDocStringFromString___closed__2 = _init_l_Lean_versoDocStringFromString___closed__2(); +lean_mark_persistent(l_Lean_versoDocStringFromString___closed__2); +l_Lean_versoDocStringFromString___closed__3 = _init_l_Lean_versoDocStringFromString___closed__3(); +lean_mark_persistent(l_Lean_versoDocStringFromString___closed__3); l_Lean_addMarkdownDocString___redArg___lam__0___closed__0 = _init_l_Lean_addMarkdownDocString___redArg___lam__0___closed__0(); lean_mark_persistent(l_Lean_addMarkdownDocString___redArg___lam__0___closed__0); l_Lean_addMarkdownDocString___redArg___lam__6___closed__0 = _init_l_Lean_addMarkdownDocString___redArg___lam__6___closed__0(); @@ -4607,12 +9367,30 @@ l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___cl lean_mark_persistent(l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__2); l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3 = _init_l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3(); lean_mark_persistent(l_Lean_addVersoDocStringCore___at___Lean_addVersoDocString_spec__0___lam__0___closed__3); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0); -l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0 = _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0(); -lean_mark_persistent(l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__0); -l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1 = _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1(); -lean_mark_persistent(l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__6___closed__1); +l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0 = _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0(); +lean_mark_persistent(l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__0); +l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1 = _init_l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1(); +lean_mark_persistent(l_Lean_getDocStringText___at___Lean_addMarkdownDocString___at___Lean_addDocStringOf_spec__0_spec__3___closed__1); +l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0 = _init_l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0(); +lean_mark_persistent(l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__0); +l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1 = _init_l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1(); +lean_mark_persistent(l_Lean_removeDocStringCore___at___Lean_makeDocStringVerso_spec__0___closed__1); +l_Lean_makeDocStringVerso___closed__0 = _init_l_Lean_makeDocStringVerso___closed__0(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__0); +l_Lean_makeDocStringVerso___closed__1 = _init_l_Lean_makeDocStringVerso___closed__1(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__1); +l_Lean_makeDocStringVerso___closed__2 = _init_l_Lean_makeDocStringVerso___closed__2(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__2); +l_Lean_makeDocStringVerso___closed__3 = _init_l_Lean_makeDocStringVerso___closed__3(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__3); +l_Lean_makeDocStringVerso___closed__4 = _init_l_Lean_makeDocStringVerso___closed__4(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__4); +l_Lean_makeDocStringVerso___closed__5 = _init_l_Lean_makeDocStringVerso___closed__5(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__5); +l_Lean_makeDocStringVerso___closed__6 = _init_l_Lean_makeDocStringVerso___closed__6(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__6); +l_Lean_makeDocStringVerso___closed__7 = _init_l_Lean_makeDocStringVerso___closed__7(); +lean_mark_persistent(l_Lean_makeDocStringVerso___closed__7); l_Lean_addDocString___closed__0 = _init_l_Lean_addDocString___closed__0(); lean_mark_persistent(l_Lean_addDocString___closed__0); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/DocString/Extension.c b/stage0/stdlib/Lean/DocString/Extension.c index 192dd47a8e..1df52efb78 100644 --- a/stage0/stdlib/Lean/DocString/Extension.c +++ b/stage0/stdlib/Lean/DocString/Extension.c @@ -16,13 +16,15 @@ extern "C" { lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__1____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; static lean_object* l_Lean_getModuleDoc_x3f___closed__0; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getDocStringText___redArg___closed__1; +lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__4____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4_; +LEAN_EXPORT lean_object* l_Lean_getBuiltinVersoDocStrings(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__0(uint32_t, lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__10; LEAN_EXPORT lean_object* l_Lean_findInternalDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,12 +34,16 @@ LEAN_EXPORT lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown(lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; static lean_object* l_Lean_addInheritedDocString___redArg___lam__4___closed__3; +static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__6____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4_; +static lean_object* l_Lean_removeDocStringCore___redArg___lam__0___closed__0; lean_object* l_StateT_instMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(lean_object*); static lean_object* l_Lean_initFn___closed__1____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4_; +static lean_object* l_Lean_instReprElabInline___lam__0___closed__8; LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__3; static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__10; static lean_object* l_Lean_initFn___closed__2____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2_; static lean_object* l_Lean_addMainModuleDoc___closed__0; @@ -48,6 +54,7 @@ LEAN_EXPORT lean_object* l_Lean_ElabBlock_ctorIdx___boxed(lean_object*); lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__11; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getDocStringText___redArg___closed__0; static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__8; LEAN_EXPORT lean_object* l_Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0___redArg(lean_object*, lean_object*, lean_object*); @@ -62,14 +69,14 @@ LEAN_EXPORT lean_object* l_Lean_getDocStringText(lean_object*, lean_object*, lea static lean_object* l_Lean_initFn___closed__3____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4_; static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__7; uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_removeDocStringCore___redArg___lam__4___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getModuleDoc_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_797151674____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__12; -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__3; LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_instReprElabBlock___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn___lam__0____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2_(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_addDocStringCore___redArg___lam__3___closed__3; static lean_object* l_Lean_addDocStringCore___redArg___lam__0___closed__0; @@ -82,17 +89,21 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_inheritDoc lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown___lam__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__13; static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__4____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2__spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_doc_verso; +static lean_object* l_Lean_getBuiltinVersoDocStrings___closed__0; static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__6____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__2; lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__9; lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l_ReaderT_instMonad___redArg(lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__9____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; @@ -120,11 +131,12 @@ LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27___redArg(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_VersoDocString_ctorIdx(lean_object*); lean_object* l_Array_empty(lean_object*); LEAN_EXPORT lean_object* l_Lean_findSimpleDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +lean_object* l_Lean_Name_quickCmp___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ModuleDoc_ctorIdx(lean_object*); lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMainModuleDoc(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instReprElabBlock; static lean_object* l_Lean_addInheritedDocString___redArg___lam__4___closed__1; LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___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___private_Lean_DocString_Extension_0__Lean_instMarkdownBlockElabInlineElabBlock___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,16 +147,18 @@ static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1; static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__10; LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__5; lean_object* lean_st_mk_ref(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn___lam__0____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__11____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2__spec__0(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1___closed__2; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findInternalDocString_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeBuiltinDocString___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn___lam__0____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2_(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,13 +167,18 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension_152104186 LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_builtinVersoDocStrings; lean_object* l_Lean_instInhabitedPersistentArray_default(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instReprElabInline; lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); +lean_object* l_Std_Format_nestD(lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_minView___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__5____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; +lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); lean_object* l_StateT_instMonad___redArg___lam__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__19; LEAN_EXPORT lean_object* l_Lean_addInheritedDocString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,19 +187,23 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__11; static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__8; lean_object* l_StateT_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__13; -static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__6_spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findSimpleDocString_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_instReprElabInline___lam__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__0____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2_; static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,17 +211,20 @@ lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__14(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__10____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_getMainModuleDoc(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instReprElabInline___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getModuleDoc_x3f(lean_object*, lean_object*); static lean_object* l_Lean_addInheritedDocString___redArg___lam__4___closed__0; static lean_object* l_Lean_getMainModuleDoc___closed__0; LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_(lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__4; LEAN_EXPORT lean_object* l_Lean_addDocStringCore___redArg___lam__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addBuiltinDocString___closed__0; +static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_getDocStringText___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDocStringCore___redArg___lam__3___closed__0; @@ -207,22 +233,27 @@ static lean_object* l_Lean_addInheritedDocString___redArg___lam__3___closed__0; lean_object* l_String_replace(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_findInternalDocString_x3f___closed__1; static lean_object* l_Lean_addDocStringCore___redArg___lam__3___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2_(lean_object*); lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__0____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_removeBuiltinDocString(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ElabInline_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_versoDocStringExt; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__1(lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__1____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2_; lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instReprElabBlock___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_removeDocStringCore___redArg___lam__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn___lam__0____x40_Lean_DocString_Extension_152104186____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); @@ -236,16 +267,23 @@ lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_addDocStringCore___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DocString_Extension_1505119820____hygCtx___hyg_2__spec__0(lean_object*, lean_object*); lean_object* l_Int_toNat(lean_object*); uint8_t l_Lean_instOrdOLeanLevel_ord(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_ModuleDoc_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__0(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedVersoDocString_default; LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addInheritedDocString___redArg___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__7; +lean_object* l_Std_DTreeMap_Internal_Impl_maxView___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__0; lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ElabInline_ctorIdx___boxed(lean_object*); @@ -256,18 +294,22 @@ LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_initFn____x40_Lean_D lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_1174734686____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__5___closed__1; +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__5; uint8_t l_Substring_beq(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__5; size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__8____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__6_spec__6___closed__0; static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__1; +static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__7; -static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +lean_object* l_Std_DTreeMap_Internal_Impl_erase___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn___closed__5____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4_; +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Option_instBEq_beq___redArg(lean_object*, lean_object*, lean_object*); @@ -276,12 +318,14 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__16; static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__17; static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__6; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__12; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedVersoDocString_default___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addInheritedDocString___redArg___lam__0___closed__0; +static lean_object* l_Lean_instReprElabInline___lam__0___closed__0; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline; lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); @@ -290,12 +334,13 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__7____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; static lean_object* l_Lean_addDocStringCore___redArg___lam__3___closed__2; -static lean_object* l_Lean_findInternalDocString_x3f___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_findInternalDocString_x3f___closed__0; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object*, lean_object*); +static lean_object* l_Lean_instReprElabInline___lam__0___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Doc_MarkdownM_run_x27(lean_object*, lean_object*, lean_object*); @@ -314,7 +359,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_addDocStringCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_initFn____x40_Lean_DocString_Extension_3293524073____hygCtx___hyg_4__spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ElabBlock_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,6 +381,229 @@ lean_dec_ref(x_1); return x_2; } } +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("{ name :=", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instReprElabInline___lam__0___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_instReprElabInline___lam__0___closed__1; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("val :=", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instReprElabInline___lam__0___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_instReprElabInline___lam__0___closed__4; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Dynamic.mk ", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instReprElabInline___lam__0___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instReprElabInline___lam__0___closed__7; +x_2 = l_Lean_instReprElabInline___lam__0___closed__5; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" _ }", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprElabInline___lam__0___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instReprElabInline___lam__0___closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instReprElabInline___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_box(1); +x_7 = l_Lean_instReprElabInline___lam__0___closed__2; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Name_reprPrec(x_4, x_8); +lean_ctor_set_tag(x_1, 5); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_7); +x_10 = l_Std_Format_nestD(x_1); +x_11 = 0; +x_12 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_6); +x_14 = l_Lean_instReprElabInline___lam__0___closed__8; +x_15 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_5); +lean_dec(x_5); +x_16 = l_Lean_Name_reprPrec(x_15, x_8); +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_instReprElabInline___lam__0___closed__10; +x_19 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Std_Format_nestD(x_19); +x_21 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_11); +x_22 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_22, 0, x_13); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Std_Format_nestD(x_22); +x_24 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_11); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_25 = lean_ctor_get(x_1, 0); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_1); +x_27 = lean_box(1); +x_28 = l_Lean_instReprElabInline___lam__0___closed__2; +x_29 = lean_unsigned_to_nat(0u); +x_30 = l_Lean_Name_reprPrec(x_25, x_29); +x_31 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Std_Format_nestD(x_31); +x_33 = 0; +x_34 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*1, x_33); +x_35 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +x_36 = l_Lean_instReprElabInline___lam__0___closed__8; +x_37 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_26); +lean_dec(x_26); +x_38 = l_Lean_Name_reprPrec(x_37, x_29); +x_39 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_instReprElabInline___lam__0___closed__10; +x_41 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Std_Format_nestD(x_41); +x_43 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_33); +x_44 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Std_Format_nestD(x_44); +x_46 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_33); +return x_46; +} +} +} +static lean_object* _init_l_Lean_instReprElabInline() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instReprElabInline___lam__0___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_instReprElabInline___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_instReprElabInline___lam__0(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -659,6 +926,121 @@ lean_dec_ref(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_instReprElabBlock___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_box(1); +x_7 = l_Lean_instReprElabInline___lam__0___closed__2; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Name_reprPrec(x_4, x_8); +lean_ctor_set_tag(x_1, 5); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_7); +x_10 = l_Std_Format_nestD(x_1); +x_11 = 0; +x_12 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_6); +x_14 = l_Lean_instReprElabInline___lam__0___closed__8; +x_15 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_5); +lean_dec(x_5); +x_16 = l_Lean_Name_reprPrec(x_15, x_8); +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_instReprElabInline___lam__0___closed__10; +x_19 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Std_Format_nestD(x_19); +x_21 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_11); +x_22 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_22, 0, x_13); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Std_Format_nestD(x_22); +x_24 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_11); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_25 = lean_ctor_get(x_1, 0); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_1); +x_27 = lean_box(1); +x_28 = l_Lean_instReprElabInline___lam__0___closed__2; +x_29 = lean_unsigned_to_nat(0u); +x_30 = l_Lean_Name_reprPrec(x_25, x_29); +x_31 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Std_Format_nestD(x_31); +x_33 = 0; +x_34 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*1, x_33); +x_35 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +x_36 = l_Lean_instReprElabInline___lam__0___closed__8; +x_37 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_26); +lean_dec(x_26); +x_38 = l_Lean_Name_reprPrec(x_37, x_29); +x_39 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_instReprElabInline___lam__0___closed__10; +x_41 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Std_Format_nestD(x_41); +x_43 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_33); +x_44 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Std_Format_nestD(x_44); +x_46 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_33); +return x_46; +} +} +} +static lean_object* _init_l_Lean_instReprElabBlock() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instReprElabBlock___lam__0___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_instReprElabBlock___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_instReprElabBlock___lam__0(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_instMarkdownBlockElabInlineElabBlock___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -1520,6 +1902,2593 @@ return x_14; } } } +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 4); +lean_inc(x_6); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + x_7 = x_2; +} else { + lean_dec_ref(x_2); + x_7 = lean_box(0); +} +x_8 = l_Lean_Name_quickCmp(x_1, x_3); +switch (x_8) { +case 0: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(x_1, x_5); +x_10 = lean_unsigned_to_nat(1u); +if (lean_obj_tag(x_9) == 0) +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +x_14 = lean_ctor_get(x_6, 2); +x_15 = lean_ctor_get(x_6, 3); +lean_inc(x_15); +x_16 = lean_ctor_get(x_6, 4); +x_17 = lean_unsigned_to_nat(3u); +x_18 = lean_nat_mul(x_17, x_11); +x_19 = lean_nat_dec_lt(x_18, x_12); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_15); +x_20 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_21 = lean_nat_add(x_20, x_12); +lean_dec(x_20); +if (lean_is_scalar(x_7)) { + x_22 = lean_alloc_ctor(0, 5, 0); +} else { + x_22 = x_7; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_3); +lean_ctor_set(x_22, 2, x_4); +lean_ctor_set(x_22, 3, x_9); +lean_ctor_set(x_22, 4, x_6); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_inc(x_16); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_23 = x_6; +} else { + lean_dec_ref(x_6); + x_23 = lean_box(0); +} +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +x_26 = lean_ctor_get(x_15, 2); +x_27 = lean_ctor_get(x_15, 3); +x_28 = lean_ctor_get(x_15, 4); +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_unsigned_to_nat(2u); +x_31 = lean_nat_mul(x_30, x_29); +x_32 = lean_nat_dec_lt(x_24, x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_43; +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + lean_ctor_release(x_15, 2); + lean_ctor_release(x_15, 3); + lean_ctor_release(x_15, 4); + x_33 = x_15; +} else { + lean_dec_ref(x_15); + x_33 = lean_box(0); +} +x_34 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_35 = lean_nat_add(x_34, x_12); +lean_dec(x_12); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_27, 0); +lean_inc(x_50); +x_43 = x_50; +goto block_49; +} +else +{ +lean_object* x_51; +x_51 = lean_unsigned_to_nat(0u); +x_43 = x_51; +goto block_49; +} +block_42: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_nat_add(x_36, x_38); +lean_dec(x_38); +lean_dec(x_36); +if (lean_is_scalar(x_33)) { + x_40 = lean_alloc_ctor(0, 5, 0); +} else { + x_40 = x_33; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_13); +lean_ctor_set(x_40, 2, x_14); +lean_ctor_set(x_40, 3, x_28); +lean_ctor_set(x_40, 4, x_16); +if (lean_is_scalar(x_23)) { + x_41 = lean_alloc_ctor(0, 5, 0); +} else { + x_41 = x_23; +} +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_25); +lean_ctor_set(x_41, 2, x_26); +lean_ctor_set(x_41, 3, x_37); +lean_ctor_set(x_41, 4, x_40); +return x_41; +} +block_49: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_nat_add(x_34, x_43); +lean_dec(x_43); +lean_dec(x_34); +if (lean_is_scalar(x_7)) { + x_45 = lean_alloc_ctor(0, 5, 0); +} else { + x_45 = x_7; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_3); +lean_ctor_set(x_45, 2, x_4); +lean_ctor_set(x_45, 3, x_9); +lean_ctor_set(x_45, 4, x_27); +x_46 = lean_nat_add(x_10, x_29); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_28, 0); +lean_inc(x_47); +x_36 = x_46; +x_37 = x_45; +x_38 = x_47; +goto block_42; +} +else +{ +lean_object* x_48; +x_48 = lean_unsigned_to_nat(0u); +x_36 = x_46; +x_37 = x_45; +x_38 = x_48; +goto block_42; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_7); +x_52 = lean_nat_add(x_10, x_11); +lean_dec(x_11); +x_53 = lean_nat_add(x_52, x_12); +lean_dec(x_12); +x_54 = lean_nat_add(x_52, x_24); +lean_dec(x_52); +lean_inc_ref(x_9); +if (lean_is_scalar(x_23)) { + x_55 = lean_alloc_ctor(0, 5, 0); +} else { + x_55 = x_23; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +lean_ctor_set(x_55, 2, x_4); +lean_ctor_set(x_55, 3, x_9); +lean_ctor_set(x_55, 4, x_15); +x_56 = !lean_is_exclusive(x_9); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_9, 4); +lean_dec(x_57); +x_58 = lean_ctor_get(x_9, 3); +lean_dec(x_58); +x_59 = lean_ctor_get(x_9, 2); +lean_dec(x_59); +x_60 = lean_ctor_get(x_9, 1); +lean_dec(x_60); +x_61 = lean_ctor_get(x_9, 0); +lean_dec(x_61); +lean_ctor_set(x_9, 4, x_16); +lean_ctor_set(x_9, 3, x_55); +lean_ctor_set(x_9, 2, x_14); +lean_ctor_set(x_9, 1, x_13); +lean_ctor_set(x_9, 0, x_53); +return x_9; +} +else +{ +lean_object* x_62; +lean_dec(x_9); +x_62 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_13); +lean_ctor_set(x_62, 2, x_14); +lean_ctor_set(x_62, 3, x_55); +lean_ctor_set(x_62, 4, x_16); +return x_62; +} +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_9, 0); +lean_inc(x_63); +x_64 = lean_nat_add(x_10, x_63); +lean_dec(x_63); +if (lean_is_scalar(x_7)) { + x_65 = lean_alloc_ctor(0, 5, 0); +} else { + x_65 = x_7; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_3); +lean_ctor_set(x_65, 2, x_4); +lean_ctor_set(x_65, 3, x_9); +lean_ctor_set(x_65, 4, x_6); +return x_65; +} +} +else +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_6, 3); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_6, 4); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_6); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_69 = lean_ctor_get(x_6, 0); +x_70 = lean_ctor_get(x_6, 1); +x_71 = lean_ctor_get(x_6, 2); +x_72 = lean_ctor_get(x_6, 4); +lean_dec(x_72); +x_73 = lean_ctor_get(x_6, 3); +lean_dec(x_73); +x_74 = lean_ctor_get(x_66, 0); +x_75 = lean_nat_add(x_10, x_69); +lean_dec(x_69); +x_76 = lean_nat_add(x_10, x_74); +lean_ctor_set(x_6, 4, x_66); +lean_ctor_set(x_6, 3, x_9); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 0, x_76); +if (lean_is_scalar(x_7)) { + x_77 = lean_alloc_ctor(0, 5, 0); +} else { + x_77 = x_7; +} +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_70); +lean_ctor_set(x_77, 2, x_71); +lean_ctor_set(x_77, 3, x_6); +lean_ctor_set(x_77, 4, x_67); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_78 = lean_ctor_get(x_6, 0); +x_79 = lean_ctor_get(x_6, 1); +x_80 = lean_ctor_get(x_6, 2); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_6); +x_81 = lean_ctor_get(x_66, 0); +x_82 = lean_nat_add(x_10, x_78); +lean_dec(x_78); +x_83 = lean_nat_add(x_10, x_81); +x_84 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_3); +lean_ctor_set(x_84, 2, x_4); +lean_ctor_set(x_84, 3, x_9); +lean_ctor_set(x_84, 4, x_66); +if (lean_is_scalar(x_7)) { + x_85 = lean_alloc_ctor(0, 5, 0); +} else { + x_85 = x_7; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_79); +lean_ctor_set(x_85, 2, x_80); +lean_ctor_set(x_85, 3, x_84); +lean_ctor_set(x_85, 4, x_67); +return x_85; +} +} +else +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_6); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_ctor_get(x_6, 4); +lean_dec(x_87); +x_88 = lean_ctor_get(x_6, 3); +lean_dec(x_88); +x_89 = lean_ctor_get(x_6, 0); +lean_dec(x_89); +x_90 = !lean_is_exclusive(x_66); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_91 = lean_ctor_get(x_66, 1); +x_92 = lean_ctor_get(x_66, 2); +x_93 = lean_ctor_get(x_66, 4); +lean_dec(x_93); +x_94 = lean_ctor_get(x_66, 3); +lean_dec(x_94); +x_95 = lean_ctor_get(x_66, 0); +lean_dec(x_95); +x_96 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_66, 4, x_67); +lean_ctor_set(x_66, 3, x_67); +lean_ctor_set(x_66, 2, x_4); +lean_ctor_set(x_66, 1, x_3); +lean_ctor_set(x_66, 0, x_10); +lean_ctor_set(x_6, 3, x_67); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_97 = lean_alloc_ctor(0, 5, 0); +} else { + x_97 = x_7; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_91); +lean_ctor_set(x_97, 2, x_92); +lean_ctor_set(x_97, 3, x_66); +lean_ctor_set(x_97, 4, x_6); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_98 = lean_ctor_get(x_66, 1); +x_99 = lean_ctor_get(x_66, 2); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_66); +x_100 = lean_unsigned_to_nat(3u); +x_101 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_101, 0, x_10); +lean_ctor_set(x_101, 1, x_3); +lean_ctor_set(x_101, 2, x_4); +lean_ctor_set(x_101, 3, x_67); +lean_ctor_set(x_101, 4, x_67); +lean_ctor_set(x_6, 3, x_67); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_102 = lean_alloc_ctor(0, 5, 0); +} else { + x_102 = x_7; +} +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_98); +lean_ctor_set(x_102, 2, x_99); +lean_ctor_set(x_102, 3, x_101); +lean_ctor_set(x_102, 4, x_6); +return x_102; +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_103 = lean_ctor_get(x_6, 1); +x_104 = lean_ctor_get(x_6, 2); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_6); +x_105 = lean_ctor_get(x_66, 1); +lean_inc(x_105); +x_106 = lean_ctor_get(x_66, 2); +lean_inc(x_106); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + lean_ctor_release(x_66, 2); + lean_ctor_release(x_66, 3); + lean_ctor_release(x_66, 4); + x_107 = x_66; +} else { + lean_dec_ref(x_66); + x_107 = lean_box(0); +} +x_108 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_107)) { + x_109 = lean_alloc_ctor(0, 5, 0); +} else { + x_109 = x_107; +} +lean_ctor_set(x_109, 0, x_10); +lean_ctor_set(x_109, 1, x_3); +lean_ctor_set(x_109, 2, x_4); +lean_ctor_set(x_109, 3, x_67); +lean_ctor_set(x_109, 4, x_67); +x_110 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_110, 0, x_10); +lean_ctor_set(x_110, 1, x_103); +lean_ctor_set(x_110, 2, x_104); +lean_ctor_set(x_110, 3, x_67); +lean_ctor_set(x_110, 4, x_67); +if (lean_is_scalar(x_7)) { + x_111 = lean_alloc_ctor(0, 5, 0); +} else { + x_111 = x_7; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_105); +lean_ctor_set(x_111, 2, x_106); +lean_ctor_set(x_111, 3, x_109); +lean_ctor_set(x_111, 4, x_110); +return x_111; +} +} +} +else +{ +lean_object* x_112; +x_112 = lean_ctor_get(x_6, 4); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_6); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_114 = lean_ctor_get(x_6, 1); +x_115 = lean_ctor_get(x_6, 2); +x_116 = lean_ctor_get(x_6, 4); +lean_dec(x_116); +x_117 = lean_ctor_get(x_6, 3); +lean_dec(x_117); +x_118 = lean_ctor_get(x_6, 0); +lean_dec(x_118); +x_119 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_6, 4, x_66); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 0, x_10); +if (lean_is_scalar(x_7)) { + x_120 = lean_alloc_ctor(0, 5, 0); +} else { + x_120 = x_7; +} +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_114); +lean_ctor_set(x_120, 2, x_115); +lean_ctor_set(x_120, 3, x_6); +lean_ctor_set(x_120, 4, x_112); +return x_120; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_6, 1); +x_122 = lean_ctor_get(x_6, 2); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_6); +x_123 = lean_unsigned_to_nat(3u); +x_124 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_124, 0, x_10); +lean_ctor_set(x_124, 1, x_3); +lean_ctor_set(x_124, 2, x_4); +lean_ctor_set(x_124, 3, x_66); +lean_ctor_set(x_124, 4, x_66); +if (lean_is_scalar(x_7)) { + x_125 = lean_alloc_ctor(0, 5, 0); +} else { + x_125 = x_7; +} +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_121); +lean_ctor_set(x_125, 2, x_122); +lean_ctor_set(x_125, 3, x_124); +lean_ctor_set(x_125, 4, x_112); +return x_125; +} +} +else +{ +uint8_t x_126; +x_126 = !lean_is_exclusive(x_6); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_127 = lean_ctor_get(x_6, 4); +lean_dec(x_127); +x_128 = lean_ctor_get(x_6, 3); +lean_dec(x_128); +lean_ctor_set(x_6, 3, x_112); +x_129 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_130 = lean_alloc_ctor(0, 5, 0); +} else { + x_130 = x_7; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_3); +lean_ctor_set(x_130, 2, x_4); +lean_ctor_set(x_130, 3, x_112); +lean_ctor_set(x_130, 4, x_6); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_131 = lean_ctor_get(x_6, 0); +x_132 = lean_ctor_get(x_6, 1); +x_133 = lean_ctor_get(x_6, 2); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_6); +x_134 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +lean_ctor_set(x_134, 2, x_133); +lean_ctor_set(x_134, 3, x_112); +lean_ctor_set(x_134, 4, x_112); +x_135 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_136 = lean_alloc_ctor(0, 5, 0); +} else { + x_136 = x_7; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_3); +lean_ctor_set(x_136, 2, x_4); +lean_ctor_set(x_136, 3, x_112); +lean_ctor_set(x_136, 4, x_134); +return x_136; +} +} +} +} +else +{ +lean_object* x_137; +if (lean_is_scalar(x_7)) { + x_137 = lean_alloc_ctor(0, 5, 0); +} else { + x_137 = x_7; +} +lean_ctor_set(x_137, 0, x_10); +lean_ctor_set(x_137, 1, x_3); +lean_ctor_set(x_137, 2, x_4); +lean_ctor_set(x_137, 3, x_6); +lean_ctor_set(x_137, 4, x_6); +return x_137; +} +} +} +case 1: +{ +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_138 = lean_ctor_get(x_5, 0); +x_139 = lean_ctor_get(x_5, 1); +x_140 = lean_ctor_get(x_5, 2); +x_141 = lean_ctor_get(x_5, 3); +x_142 = lean_ctor_get(x_5, 4); +lean_inc(x_142); +x_143 = lean_ctor_get(x_6, 0); +x_144 = lean_ctor_get(x_6, 1); +x_145 = lean_ctor_get(x_6, 2); +x_146 = lean_ctor_get(x_6, 3); +lean_inc(x_146); +x_147 = lean_ctor_get(x_6, 4); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_nat_dec_lt(x_138, x_143); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + x_150 = x_5; +} else { + lean_dec_ref(x_5); + x_150 = lean_box(0); +} +x_151 = l_Std_DTreeMap_Internal_Impl_maxView___redArg(x_139, x_140, x_141, x_142); +x_152 = lean_ctor_get(x_151, 2); +lean_inc(x_152); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_153 = lean_ctor_get(x_151, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); +lean_dec_ref(x_151); +x_155 = lean_ctor_get(x_152, 0); +x_156 = lean_unsigned_to_nat(3u); +x_157 = lean_nat_mul(x_156, x_155); +x_158 = lean_nat_dec_lt(x_157, x_143); +lean_dec(x_157); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_146); +x_159 = lean_nat_add(x_148, x_155); +x_160 = lean_nat_add(x_159, x_143); +lean_dec(x_159); +if (lean_is_scalar(x_150)) { + x_161 = lean_alloc_ctor(0, 5, 0); +} else { + x_161 = x_150; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_153); +lean_ctor_set(x_161, 2, x_154); +lean_ctor_set(x_161, 3, x_152); +lean_ctor_set(x_161, 4, x_6); +return x_161; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_162 = x_6; +} else { + lean_dec_ref(x_6); + x_162 = lean_box(0); +} +x_163 = lean_ctor_get(x_146, 0); +x_164 = lean_ctor_get(x_146, 1); +x_165 = lean_ctor_get(x_146, 2); +x_166 = lean_ctor_get(x_146, 3); +x_167 = lean_ctor_get(x_146, 4); +x_168 = lean_ctor_get(x_147, 0); +x_169 = lean_unsigned_to_nat(2u); +x_170 = lean_nat_mul(x_169, x_168); +x_171 = lean_nat_dec_lt(x_163, x_170); +lean_dec(x_170); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_182; +lean_inc(x_167); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + x_172 = x_146; +} else { + lean_dec_ref(x_146); + x_172 = lean_box(0); +} +x_173 = lean_nat_add(x_148, x_155); +x_174 = lean_nat_add(x_173, x_143); +lean_dec(x_143); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_189; +x_189 = lean_ctor_get(x_166, 0); +lean_inc(x_189); +x_182 = x_189; +goto block_188; +} +else +{ +lean_object* x_190; +x_190 = lean_unsigned_to_nat(0u); +x_182 = x_190; +goto block_188; +} +block_181: +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_178 = lean_nat_add(x_175, x_177); +lean_dec(x_177); +lean_dec(x_175); +if (lean_is_scalar(x_172)) { + x_179 = lean_alloc_ctor(0, 5, 0); +} else { + x_179 = x_172; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_144); +lean_ctor_set(x_179, 2, x_145); +lean_ctor_set(x_179, 3, x_167); +lean_ctor_set(x_179, 4, x_147); +if (lean_is_scalar(x_162)) { + x_180 = lean_alloc_ctor(0, 5, 0); +} else { + x_180 = x_162; +} +lean_ctor_set(x_180, 0, x_174); +lean_ctor_set(x_180, 1, x_164); +lean_ctor_set(x_180, 2, x_165); +lean_ctor_set(x_180, 3, x_176); +lean_ctor_set(x_180, 4, x_179); +return x_180; +} +block_188: +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_nat_add(x_173, x_182); +lean_dec(x_182); +lean_dec(x_173); +if (lean_is_scalar(x_150)) { + x_184 = lean_alloc_ctor(0, 5, 0); +} else { + x_184 = x_150; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_153); +lean_ctor_set(x_184, 2, x_154); +lean_ctor_set(x_184, 3, x_152); +lean_ctor_set(x_184, 4, x_166); +x_185 = lean_nat_add(x_148, x_168); +if (lean_obj_tag(x_167) == 0) +{ +lean_object* x_186; +x_186 = lean_ctor_get(x_167, 0); +lean_inc(x_186); +x_175 = x_185; +x_176 = x_184; +x_177 = x_186; +goto block_181; +} +else +{ +lean_object* x_187; +x_187 = lean_unsigned_to_nat(0u); +x_175 = x_185; +x_176 = x_184; +x_177 = x_187; +goto block_181; +} +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_191 = lean_nat_add(x_148, x_155); +x_192 = lean_nat_add(x_191, x_143); +lean_dec(x_143); +x_193 = lean_nat_add(x_191, x_163); +lean_dec(x_191); +if (lean_is_scalar(x_162)) { + x_194 = lean_alloc_ctor(0, 5, 0); +} else { + x_194 = x_162; +} +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_153); +lean_ctor_set(x_194, 2, x_154); +lean_ctor_set(x_194, 3, x_152); +lean_ctor_set(x_194, 4, x_146); +if (lean_is_scalar(x_150)) { + x_195 = lean_alloc_ctor(0, 5, 0); +} else { + x_195 = x_150; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_144); +lean_ctor_set(x_195, 2, x_145); +lean_ctor_set(x_195, 3, x_194); +lean_ctor_set(x_195, 4, x_147); +return x_195; +} +} +} +else +{ +uint8_t x_196; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +x_196 = !lean_is_exclusive(x_6); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_197 = lean_ctor_get(x_6, 4); +lean_dec(x_197); +x_198 = lean_ctor_get(x_6, 3); +lean_dec(x_198); +x_199 = lean_ctor_get(x_6, 2); +lean_dec(x_199); +x_200 = lean_ctor_get(x_6, 1); +lean_dec(x_200); +x_201 = lean_ctor_get(x_6, 0); +lean_dec(x_201); +if (lean_obj_tag(x_146) == 0) +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_202 = lean_ctor_get(x_151, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_151, 1); +lean_inc(x_203); +lean_dec_ref(x_151); +x_204 = lean_ctor_get(x_146, 0); +x_205 = lean_nat_add(x_148, x_143); +lean_dec(x_143); +x_206 = lean_nat_add(x_148, x_204); +lean_ctor_set(x_6, 4, x_146); +lean_ctor_set(x_6, 3, x_152); +lean_ctor_set(x_6, 2, x_203); +lean_ctor_set(x_6, 1, x_202); +lean_ctor_set(x_6, 0, x_206); +if (lean_is_scalar(x_150)) { + x_207 = lean_alloc_ctor(0, 5, 0); +} else { + x_207 = x_150; +} +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_144); +lean_ctor_set(x_207, 2, x_145); +lean_ctor_set(x_207, 3, x_6); +lean_ctor_set(x_207, 4, x_147); +return x_207; +} +else +{ +lean_object* x_208; lean_object* x_209; uint8_t x_210; +lean_dec(x_143); +x_208 = lean_ctor_get(x_151, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_151, 1); +lean_inc(x_209); +lean_dec_ref(x_151); +x_210 = !lean_is_exclusive(x_146); +if (x_210 == 0) +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_211 = lean_ctor_get(x_146, 1); +x_212 = lean_ctor_get(x_146, 2); +x_213 = lean_ctor_get(x_146, 4); +lean_dec(x_213); +x_214 = lean_ctor_get(x_146, 3); +lean_dec(x_214); +x_215 = lean_ctor_get(x_146, 0); +lean_dec(x_215); +x_216 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_146, 4, x_147); +lean_ctor_set(x_146, 3, x_147); +lean_ctor_set(x_146, 2, x_209); +lean_ctor_set(x_146, 1, x_208); +lean_ctor_set(x_146, 0, x_148); +lean_ctor_set(x_6, 3, x_147); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_217 = lean_alloc_ctor(0, 5, 0); +} else { + x_217 = x_150; +} +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_211); +lean_ctor_set(x_217, 2, x_212); +lean_ctor_set(x_217, 3, x_146); +lean_ctor_set(x_217, 4, x_6); +return x_217; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_218 = lean_ctor_get(x_146, 1); +x_219 = lean_ctor_get(x_146, 2); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_146); +x_220 = lean_unsigned_to_nat(3u); +x_221 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_221, 0, x_148); +lean_ctor_set(x_221, 1, x_208); +lean_ctor_set(x_221, 2, x_209); +lean_ctor_set(x_221, 3, x_147); +lean_ctor_set(x_221, 4, x_147); +lean_ctor_set(x_6, 3, x_147); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_222 = lean_alloc_ctor(0, 5, 0); +} else { + x_222 = x_150; +} +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_218); +lean_ctor_set(x_222, 2, x_219); +lean_ctor_set(x_222, 3, x_221); +lean_ctor_set(x_222, 4, x_6); +return x_222; +} +} +} +else +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +lean_dec(x_143); +x_223 = lean_ctor_get(x_151, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_151, 1); +lean_inc(x_224); +lean_dec_ref(x_151); +x_225 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_6, 4, x_146); +lean_ctor_set(x_6, 2, x_224); +lean_ctor_set(x_6, 1, x_223); +lean_ctor_set(x_6, 0, x_148); +if (lean_is_scalar(x_150)) { + x_226 = lean_alloc_ctor(0, 5, 0); +} else { + x_226 = x_150; +} +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_144); +lean_ctor_set(x_226, 2, x_145); +lean_ctor_set(x_226, 3, x_6); +lean_ctor_set(x_226, 4, x_147); +return x_226; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_227 = lean_ctor_get(x_151, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_151, 1); +lean_inc(x_228); +lean_dec_ref(x_151); +lean_ctor_set(x_6, 3, x_147); +x_229 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_150)) { + x_230 = lean_alloc_ctor(0, 5, 0); +} else { + x_230 = x_150; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_227); +lean_ctor_set(x_230, 2, x_228); +lean_ctor_set(x_230, 3, x_147); +lean_ctor_set(x_230, 4, x_6); +return x_230; +} +} +} +else +{ +lean_dec(x_6); +if (lean_obj_tag(x_146) == 0) +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_231 = lean_ctor_get(x_151, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_151, 1); +lean_inc(x_232); +lean_dec_ref(x_151); +x_233 = lean_ctor_get(x_146, 0); +x_234 = lean_nat_add(x_148, x_143); +lean_dec(x_143); +x_235 = lean_nat_add(x_148, x_233); +x_236 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_231); +lean_ctor_set(x_236, 2, x_232); +lean_ctor_set(x_236, 3, x_152); +lean_ctor_set(x_236, 4, x_146); +if (lean_is_scalar(x_150)) { + x_237 = lean_alloc_ctor(0, 5, 0); +} else { + x_237 = x_150; +} +lean_ctor_set(x_237, 0, x_234); +lean_ctor_set(x_237, 1, x_144); +lean_ctor_set(x_237, 2, x_145); +lean_ctor_set(x_237, 3, x_236); +lean_ctor_set(x_237, 4, x_147); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_143); +x_238 = lean_ctor_get(x_151, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_151, 1); +lean_inc(x_239); +lean_dec_ref(x_151); +x_240 = lean_ctor_get(x_146, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_146, 2); +lean_inc(x_241); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + x_242 = x_146; +} else { + lean_dec_ref(x_146); + x_242 = lean_box(0); +} +x_243 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_242)) { + x_244 = lean_alloc_ctor(0, 5, 0); +} else { + x_244 = x_242; +} +lean_ctor_set(x_244, 0, x_148); +lean_ctor_set(x_244, 1, x_238); +lean_ctor_set(x_244, 2, x_239); +lean_ctor_set(x_244, 3, x_147); +lean_ctor_set(x_244, 4, x_147); +x_245 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_245, 0, x_148); +lean_ctor_set(x_245, 1, x_144); +lean_ctor_set(x_245, 2, x_145); +lean_ctor_set(x_245, 3, x_147); +lean_ctor_set(x_245, 4, x_147); +if (lean_is_scalar(x_150)) { + x_246 = lean_alloc_ctor(0, 5, 0); +} else { + x_246 = x_150; +} +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_240); +lean_ctor_set(x_246, 2, x_241); +lean_ctor_set(x_246, 3, x_244); +lean_ctor_set(x_246, 4, x_245); +return x_246; +} +} +else +{ +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_143); +x_247 = lean_ctor_get(x_151, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_151, 1); +lean_inc(x_248); +lean_dec_ref(x_151); +x_249 = lean_unsigned_to_nat(3u); +x_250 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_250, 0, x_148); +lean_ctor_set(x_250, 1, x_247); +lean_ctor_set(x_250, 2, x_248); +lean_ctor_set(x_250, 3, x_146); +lean_ctor_set(x_250, 4, x_146); +if (lean_is_scalar(x_150)) { + x_251 = lean_alloc_ctor(0, 5, 0); +} else { + x_251 = x_150; +} +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_144); +lean_ctor_set(x_251, 2, x_145); +lean_ctor_set(x_251, 3, x_250); +lean_ctor_set(x_251, 4, x_147); +return x_251; +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_252 = lean_ctor_get(x_151, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_151, 1); +lean_inc(x_253); +lean_dec_ref(x_151); +x_254 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_254, 0, x_143); +lean_ctor_set(x_254, 1, x_144); +lean_ctor_set(x_254, 2, x_145); +lean_ctor_set(x_254, 3, x_147); +lean_ctor_set(x_254, 4, x_147); +x_255 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_150)) { + x_256 = lean_alloc_ctor(0, 5, 0); +} else { + x_256 = x_150; +} +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_252); +lean_ctor_set(x_256, 2, x_253); +lean_ctor_set(x_256, 3, x_147); +lean_ctor_set(x_256, 4, x_254); +return x_256; +} +} +} +} +} +else +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_inc(x_147); +lean_inc(x_145); +lean_inc(x_144); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + lean_ctor_release(x_6, 3); + lean_ctor_release(x_6, 4); + x_257 = x_6; +} else { + lean_dec_ref(x_6); + x_257 = lean_box(0); +} +x_258 = l_Std_DTreeMap_Internal_Impl_minView___redArg(x_144, x_145, x_146, x_147); +x_259 = lean_ctor_get(x_258, 2); +lean_inc(x_259); +if (lean_obj_tag(x_259) == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +lean_dec_ref(x_258); +x_262 = lean_ctor_get(x_259, 0); +x_263 = lean_unsigned_to_nat(3u); +x_264 = lean_nat_mul(x_263, x_262); +x_265 = lean_nat_dec_lt(x_264, x_138); +lean_dec(x_264); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_142); +x_266 = lean_nat_add(x_148, x_138); +x_267 = lean_nat_add(x_266, x_262); +lean_dec(x_266); +if (lean_is_scalar(x_257)) { + x_268 = lean_alloc_ctor(0, 5, 0); +} else { + x_268 = x_257; +} +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_260); +lean_ctor_set(x_268, 2, x_261); +lean_ctor_set(x_268, 3, x_5); +lean_ctor_set(x_268, 4, x_259); +return x_268; +} +else +{ +uint8_t x_269; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +x_269 = !lean_is_exclusive(x_5); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; +x_270 = lean_ctor_get(x_5, 4); +lean_dec(x_270); +x_271 = lean_ctor_get(x_5, 3); +lean_dec(x_271); +x_272 = lean_ctor_get(x_5, 2); +lean_dec(x_272); +x_273 = lean_ctor_get(x_5, 1); +lean_dec(x_273); +x_274 = lean_ctor_get(x_5, 0); +lean_dec(x_274); +x_275 = lean_ctor_get(x_141, 0); +x_276 = lean_ctor_get(x_142, 0); +x_277 = lean_ctor_get(x_142, 1); +x_278 = lean_ctor_get(x_142, 2); +x_279 = lean_ctor_get(x_142, 3); +x_280 = lean_ctor_get(x_142, 4); +x_281 = lean_unsigned_to_nat(2u); +x_282 = lean_nat_mul(x_281, x_275); +x_283 = lean_nat_dec_lt(x_276, x_282); +lean_dec(x_282); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_300; lean_object* x_301; +lean_inc(x_280); +lean_inc(x_279); +lean_inc(x_278); +lean_inc(x_277); +lean_free_object(x_5); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_284 = x_142; +} else { + lean_dec_ref(x_142); + x_284 = lean_box(0); +} +x_285 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_286 = lean_nat_add(x_285, x_262); +lean_dec(x_285); +x_300 = lean_nat_add(x_148, x_275); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_308; +x_308 = lean_ctor_get(x_279, 0); +lean_inc(x_308); +x_301 = x_308; +goto block_307; +} +else +{ +lean_object* x_309; +x_309 = lean_unsigned_to_nat(0u); +x_301 = x_309; +goto block_307; +} +block_299: +{ +lean_object* x_290; lean_object* x_291; uint8_t x_292; +x_290 = lean_nat_add(x_287, x_289); +lean_dec(x_289); +lean_dec(x_287); +lean_inc_ref(x_259); +if (lean_is_scalar(x_284)) { + x_291 = lean_alloc_ctor(0, 5, 0); +} else { + x_291 = x_284; +} +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_260); +lean_ctor_set(x_291, 2, x_261); +lean_ctor_set(x_291, 3, x_280); +lean_ctor_set(x_291, 4, x_259); +x_292 = !lean_is_exclusive(x_259); +if (x_292 == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_293 = lean_ctor_get(x_259, 4); +lean_dec(x_293); +x_294 = lean_ctor_get(x_259, 3); +lean_dec(x_294); +x_295 = lean_ctor_get(x_259, 2); +lean_dec(x_295); +x_296 = lean_ctor_get(x_259, 1); +lean_dec(x_296); +x_297 = lean_ctor_get(x_259, 0); +lean_dec(x_297); +lean_ctor_set(x_259, 4, x_291); +lean_ctor_set(x_259, 3, x_288); +lean_ctor_set(x_259, 2, x_278); +lean_ctor_set(x_259, 1, x_277); +lean_ctor_set(x_259, 0, x_286); +return x_259; +} +else +{ +lean_object* x_298; +lean_dec(x_259); +x_298 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_298, 0, x_286); +lean_ctor_set(x_298, 1, x_277); +lean_ctor_set(x_298, 2, x_278); +lean_ctor_set(x_298, 3, x_288); +lean_ctor_set(x_298, 4, x_291); +return x_298; +} +} +block_307: +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_302 = lean_nat_add(x_300, x_301); +lean_dec(x_301); +lean_dec(x_300); +if (lean_is_scalar(x_257)) { + x_303 = lean_alloc_ctor(0, 5, 0); +} else { + x_303 = x_257; +} +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_139); +lean_ctor_set(x_303, 2, x_140); +lean_ctor_set(x_303, 3, x_141); +lean_ctor_set(x_303, 4, x_279); +x_304 = lean_nat_add(x_148, x_262); +if (lean_obj_tag(x_280) == 0) +{ +lean_object* x_305; +x_305 = lean_ctor_get(x_280, 0); +lean_inc(x_305); +x_287 = x_304; +x_288 = x_303; +x_289 = x_305; +goto block_299; +} +else +{ +lean_object* x_306; +x_306 = lean_unsigned_to_nat(0u); +x_287 = x_304; +x_288 = x_303; +x_289 = x_306; +goto block_299; +} +} +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_310 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_311 = lean_nat_add(x_310, x_262); +lean_dec(x_310); +x_312 = lean_nat_add(x_148, x_262); +x_313 = lean_nat_add(x_312, x_276); +lean_dec(x_312); +if (lean_is_scalar(x_257)) { + x_314 = lean_alloc_ctor(0, 5, 0); +} else { + x_314 = x_257; +} +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_260); +lean_ctor_set(x_314, 2, x_261); +lean_ctor_set(x_314, 3, x_142); +lean_ctor_set(x_314, 4, x_259); +lean_ctor_set(x_5, 4, x_314); +lean_ctor_set(x_5, 0, x_311); +return x_5; +} +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; +lean_dec(x_5); +x_315 = lean_ctor_get(x_141, 0); +x_316 = lean_ctor_get(x_142, 0); +x_317 = lean_ctor_get(x_142, 1); +x_318 = lean_ctor_get(x_142, 2); +x_319 = lean_ctor_get(x_142, 3); +x_320 = lean_ctor_get(x_142, 4); +x_321 = lean_unsigned_to_nat(2u); +x_322 = lean_nat_mul(x_321, x_315); +x_323 = lean_nat_dec_lt(x_316, x_322); +lean_dec(x_322); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_335; lean_object* x_336; +lean_inc(x_320); +lean_inc(x_319); +lean_inc(x_318); +lean_inc(x_317); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_324 = x_142; +} else { + lean_dec_ref(x_142); + x_324 = lean_box(0); +} +x_325 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_326 = lean_nat_add(x_325, x_262); +lean_dec(x_325); +x_335 = lean_nat_add(x_148, x_315); +if (lean_obj_tag(x_319) == 0) +{ +lean_object* x_343; +x_343 = lean_ctor_get(x_319, 0); +lean_inc(x_343); +x_336 = x_343; +goto block_342; +} +else +{ +lean_object* x_344; +x_344 = lean_unsigned_to_nat(0u); +x_336 = x_344; +goto block_342; +} +block_334: +{ +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_330 = lean_nat_add(x_327, x_329); +lean_dec(x_329); +lean_dec(x_327); +lean_inc_ref(x_259); +if (lean_is_scalar(x_324)) { + x_331 = lean_alloc_ctor(0, 5, 0); +} else { + x_331 = x_324; +} +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_260); +lean_ctor_set(x_331, 2, x_261); +lean_ctor_set(x_331, 3, x_320); +lean_ctor_set(x_331, 4, x_259); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + lean_ctor_release(x_259, 2); + lean_ctor_release(x_259, 3); + lean_ctor_release(x_259, 4); + x_332 = x_259; +} else { + lean_dec_ref(x_259); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(0, 5, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_326); +lean_ctor_set(x_333, 1, x_317); +lean_ctor_set(x_333, 2, x_318); +lean_ctor_set(x_333, 3, x_328); +lean_ctor_set(x_333, 4, x_331); +return x_333; +} +block_342: +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = lean_nat_add(x_335, x_336); +lean_dec(x_336); +lean_dec(x_335); +if (lean_is_scalar(x_257)) { + x_338 = lean_alloc_ctor(0, 5, 0); +} else { + x_338 = x_257; +} +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_139); +lean_ctor_set(x_338, 2, x_140); +lean_ctor_set(x_338, 3, x_141); +lean_ctor_set(x_338, 4, x_319); +x_339 = lean_nat_add(x_148, x_262); +if (lean_obj_tag(x_320) == 0) +{ +lean_object* x_340; +x_340 = lean_ctor_get(x_320, 0); +lean_inc(x_340); +x_327 = x_339; +x_328 = x_338; +x_329 = x_340; +goto block_334; +} +else +{ +lean_object* x_341; +x_341 = lean_unsigned_to_nat(0u); +x_327 = x_339; +x_328 = x_338; +x_329 = x_341; +goto block_334; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_345 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_346 = lean_nat_add(x_345, x_262); +lean_dec(x_345); +x_347 = lean_nat_add(x_148, x_262); +x_348 = lean_nat_add(x_347, x_316); +lean_dec(x_347); +if (lean_is_scalar(x_257)) { + x_349 = lean_alloc_ctor(0, 5, 0); +} else { + x_349 = x_257; +} +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_260); +lean_ctor_set(x_349, 2, x_261); +lean_ctor_set(x_349, 3, x_142); +lean_ctor_set(x_349, 4, x_259); +x_350 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_350, 0, x_346); +lean_ctor_set(x_350, 1, x_139); +lean_ctor_set(x_350, 2, x_140); +lean_ctor_set(x_350, 3, x_141); +lean_ctor_set(x_350, 4, x_349); +return x_350; +} +} +} +} +else +{ +if (lean_obj_tag(x_141) == 0) +{ +uint8_t x_351; +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +x_351 = !lean_is_exclusive(x_5); +if (x_351 == 0) +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_352 = lean_ctor_get(x_5, 4); +lean_dec(x_352); +x_353 = lean_ctor_get(x_5, 3); +lean_dec(x_353); +x_354 = lean_ctor_get(x_5, 2); +lean_dec(x_354); +x_355 = lean_ctor_get(x_5, 1); +lean_dec(x_355); +x_356 = lean_ctor_get(x_5, 0); +lean_dec(x_356); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_357 = lean_ctor_get(x_258, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_258, 1); +lean_inc(x_358); +lean_dec_ref(x_258); +x_359 = lean_ctor_get(x_142, 0); +x_360 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_361 = lean_nat_add(x_148, x_359); +if (lean_is_scalar(x_257)) { + x_362 = lean_alloc_ctor(0, 5, 0); +} else { + x_362 = x_257; +} +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_357); +lean_ctor_set(x_362, 2, x_358); +lean_ctor_set(x_362, 3, x_142); +lean_ctor_set(x_362, 4, x_259); +lean_ctor_set(x_5, 4, x_362); +lean_ctor_set(x_5, 0, x_360); +return x_5; +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_138); +x_363 = lean_ctor_get(x_258, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_258, 1); +lean_inc(x_364); +lean_dec_ref(x_258); +x_365 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_257)) { + x_366 = lean_alloc_ctor(0, 5, 0); +} else { + x_366 = x_257; +} +lean_ctor_set(x_366, 0, x_148); +lean_ctor_set(x_366, 1, x_363); +lean_ctor_set(x_366, 2, x_364); +lean_ctor_set(x_366, 3, x_142); +lean_ctor_set(x_366, 4, x_142); +lean_ctor_set(x_5, 4, x_366); +lean_ctor_set(x_5, 0, x_365); +return x_5; +} +} +else +{ +lean_dec(x_5); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; +x_367 = lean_ctor_get(x_258, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_258, 1); +lean_inc(x_368); +lean_dec_ref(x_258); +x_369 = lean_ctor_get(x_142, 0); +x_370 = lean_nat_add(x_148, x_138); +lean_dec(x_138); +x_371 = lean_nat_add(x_148, x_369); +if (lean_is_scalar(x_257)) { + x_372 = lean_alloc_ctor(0, 5, 0); +} else { + x_372 = x_257; +} +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_367); +lean_ctor_set(x_372, 2, x_368); +lean_ctor_set(x_372, 3, x_142); +lean_ctor_set(x_372, 4, x_259); +x_373 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_373, 0, x_370); +lean_ctor_set(x_373, 1, x_139); +lean_ctor_set(x_373, 2, x_140); +lean_ctor_set(x_373, 3, x_141); +lean_ctor_set(x_373, 4, x_372); +return x_373; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; +lean_dec(x_138); +x_374 = lean_ctor_get(x_258, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_258, 1); +lean_inc(x_375); +lean_dec_ref(x_258); +x_376 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_257)) { + x_377 = lean_alloc_ctor(0, 5, 0); +} else { + x_377 = x_257; +} +lean_ctor_set(x_377, 0, x_148); +lean_ctor_set(x_377, 1, x_374); +lean_ctor_set(x_377, 2, x_375); +lean_ctor_set(x_377, 3, x_142); +lean_ctor_set(x_377, 4, x_142); +x_378 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_378, 0, x_376); +lean_ctor_set(x_378, 1, x_139); +lean_ctor_set(x_378, 2, x_140); +lean_ctor_set(x_378, 3, x_141); +lean_ctor_set(x_378, 4, x_377); +return x_378; +} +} +} +else +{ +if (lean_obj_tag(x_142) == 0) +{ +uint8_t x_379; +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +x_379 = !lean_is_exclusive(x_5); +if (x_379 == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; +x_380 = lean_ctor_get(x_5, 4); +lean_dec(x_380); +x_381 = lean_ctor_get(x_5, 3); +lean_dec(x_381); +x_382 = lean_ctor_get(x_5, 2); +lean_dec(x_382); +x_383 = lean_ctor_get(x_5, 1); +lean_dec(x_383); +x_384 = lean_ctor_get(x_5, 0); +lean_dec(x_384); +x_385 = lean_ctor_get(x_258, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_258, 1); +lean_inc(x_386); +lean_dec_ref(x_258); +x_387 = !lean_is_exclusive(x_142); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_388 = lean_ctor_get(x_142, 1); +x_389 = lean_ctor_get(x_142, 2); +x_390 = lean_ctor_get(x_142, 4); +lean_dec(x_390); +x_391 = lean_ctor_get(x_142, 3); +lean_dec(x_391); +x_392 = lean_ctor_get(x_142, 0); +lean_dec(x_392); +x_393 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_142, 4, x_141); +lean_ctor_set(x_142, 3, x_141); +lean_ctor_set(x_142, 2, x_140); +lean_ctor_set(x_142, 1, x_139); +lean_ctor_set(x_142, 0, x_148); +if (lean_is_scalar(x_257)) { + x_394 = lean_alloc_ctor(0, 5, 0); +} else { + x_394 = x_257; +} +lean_ctor_set(x_394, 0, x_148); +lean_ctor_set(x_394, 1, x_385); +lean_ctor_set(x_394, 2, x_386); +lean_ctor_set(x_394, 3, x_141); +lean_ctor_set(x_394, 4, x_141); +lean_ctor_set(x_5, 4, x_394); +lean_ctor_set(x_5, 3, x_142); +lean_ctor_set(x_5, 2, x_389); +lean_ctor_set(x_5, 1, x_388); +lean_ctor_set(x_5, 0, x_393); +return x_5; +} +else +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_395 = lean_ctor_get(x_142, 1); +x_396 = lean_ctor_get(x_142, 2); +lean_inc(x_396); +lean_inc(x_395); +lean_dec(x_142); +x_397 = lean_unsigned_to_nat(3u); +x_398 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_398, 0, x_148); +lean_ctor_set(x_398, 1, x_139); +lean_ctor_set(x_398, 2, x_140); +lean_ctor_set(x_398, 3, x_141); +lean_ctor_set(x_398, 4, x_141); +if (lean_is_scalar(x_257)) { + x_399 = lean_alloc_ctor(0, 5, 0); +} else { + x_399 = x_257; +} +lean_ctor_set(x_399, 0, x_148); +lean_ctor_set(x_399, 1, x_385); +lean_ctor_set(x_399, 2, x_386); +lean_ctor_set(x_399, 3, x_141); +lean_ctor_set(x_399, 4, x_141); +lean_ctor_set(x_5, 4, x_399); +lean_ctor_set(x_5, 3, x_398); +lean_ctor_set(x_5, 2, x_396); +lean_ctor_set(x_5, 1, x_395); +lean_ctor_set(x_5, 0, x_397); +return x_5; +} +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +lean_dec(x_5); +x_400 = lean_ctor_get(x_258, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_258, 1); +lean_inc(x_401); +lean_dec_ref(x_258); +x_402 = lean_ctor_get(x_142, 1); +lean_inc(x_402); +x_403 = lean_ctor_get(x_142, 2); +lean_inc(x_403); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + x_404 = x_142; +} else { + lean_dec_ref(x_142); + x_404 = lean_box(0); +} +x_405 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_404)) { + x_406 = lean_alloc_ctor(0, 5, 0); +} else { + x_406 = x_404; +} +lean_ctor_set(x_406, 0, x_148); +lean_ctor_set(x_406, 1, x_139); +lean_ctor_set(x_406, 2, x_140); +lean_ctor_set(x_406, 3, x_141); +lean_ctor_set(x_406, 4, x_141); +if (lean_is_scalar(x_257)) { + x_407 = lean_alloc_ctor(0, 5, 0); +} else { + x_407 = x_257; +} +lean_ctor_set(x_407, 0, x_148); +lean_ctor_set(x_407, 1, x_400); +lean_ctor_set(x_407, 2, x_401); +lean_ctor_set(x_407, 3, x_141); +lean_ctor_set(x_407, 4, x_141); +x_408 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_402); +lean_ctor_set(x_408, 2, x_403); +lean_ctor_set(x_408, 3, x_406); +lean_ctor_set(x_408, 4, x_407); +return x_408; +} +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_409 = lean_ctor_get(x_258, 0); +lean_inc(x_409); +x_410 = lean_ctor_get(x_258, 1); +lean_inc(x_410); +lean_dec_ref(x_258); +x_411 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_257)) { + x_412 = lean_alloc_ctor(0, 5, 0); +} else { + x_412 = x_257; +} +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_409); +lean_ctor_set(x_412, 2, x_410); +lean_ctor_set(x_412, 3, x_5); +lean_ctor_set(x_412, 4, x_142); +return x_412; +} +} +} +} +} +else +{ +return x_5; +} +} +else +{ +return x_6; +} +} +default: +{ +lean_object* x_413; lean_object* x_414; +x_413 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(x_1, x_6); +x_414 = lean_unsigned_to_nat(1u); +if (lean_obj_tag(x_413) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; +x_415 = lean_ctor_get(x_413, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_5, 0); +x_417 = lean_ctor_get(x_5, 1); +x_418 = lean_ctor_get(x_5, 2); +x_419 = lean_ctor_get(x_5, 3); +x_420 = lean_ctor_get(x_5, 4); +lean_inc(x_420); +x_421 = lean_unsigned_to_nat(3u); +x_422 = lean_nat_mul(x_421, x_415); +x_423 = lean_nat_dec_lt(x_422, x_416); +lean_dec(x_422); +if (x_423 == 0) +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_420); +x_424 = lean_nat_add(x_414, x_416); +x_425 = lean_nat_add(x_424, x_415); +lean_dec(x_415); +lean_dec(x_424); +if (lean_is_scalar(x_7)) { + x_426 = lean_alloc_ctor(0, 5, 0); +} else { + x_426 = x_7; +} +lean_ctor_set(x_426, 0, x_425); +lean_ctor_set(x_426, 1, x_3); +lean_ctor_set(x_426, 2, x_4); +lean_ctor_set(x_426, 3, x_5); +lean_ctor_set(x_426, 4, x_413); +return x_426; +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +lean_inc(x_419); +lean_inc(x_418); +lean_inc(x_417); +lean_inc(x_416); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + x_427 = x_5; +} else { + lean_dec_ref(x_5); + x_427 = lean_box(0); +} +x_428 = lean_ctor_get(x_419, 0); +x_429 = lean_ctor_get(x_420, 0); +x_430 = lean_ctor_get(x_420, 1); +x_431 = lean_ctor_get(x_420, 2); +x_432 = lean_ctor_get(x_420, 3); +x_433 = lean_ctor_get(x_420, 4); +x_434 = lean_unsigned_to_nat(2u); +x_435 = lean_nat_mul(x_434, x_428); +x_436 = lean_nat_dec_lt(x_429, x_435); +lean_dec(x_435); +if (x_436 == 0) +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_447; lean_object* x_448; +lean_inc(x_433); +lean_inc(x_432); +lean_inc(x_431); +lean_inc(x_430); +if (lean_is_exclusive(x_420)) { + lean_ctor_release(x_420, 0); + lean_ctor_release(x_420, 1); + lean_ctor_release(x_420, 2); + lean_ctor_release(x_420, 3); + lean_ctor_release(x_420, 4); + x_437 = x_420; +} else { + lean_dec_ref(x_420); + x_437 = lean_box(0); +} +x_438 = lean_nat_add(x_414, x_416); +lean_dec(x_416); +x_439 = lean_nat_add(x_438, x_415); +lean_dec(x_438); +x_447 = lean_nat_add(x_414, x_428); +if (lean_obj_tag(x_432) == 0) +{ +lean_object* x_455; +x_455 = lean_ctor_get(x_432, 0); +lean_inc(x_455); +x_448 = x_455; +goto block_454; +} +else +{ +lean_object* x_456; +x_456 = lean_unsigned_to_nat(0u); +x_448 = x_456; +goto block_454; +} +block_446: +{ +lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_443 = lean_nat_add(x_441, x_442); +lean_dec(x_442); +lean_dec(x_441); +if (lean_is_scalar(x_437)) { + x_444 = lean_alloc_ctor(0, 5, 0); +} else { + x_444 = x_437; +} +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_3); +lean_ctor_set(x_444, 2, x_4); +lean_ctor_set(x_444, 3, x_433); +lean_ctor_set(x_444, 4, x_413); +if (lean_is_scalar(x_427)) { + x_445 = lean_alloc_ctor(0, 5, 0); +} else { + x_445 = x_427; +} +lean_ctor_set(x_445, 0, x_439); +lean_ctor_set(x_445, 1, x_430); +lean_ctor_set(x_445, 2, x_431); +lean_ctor_set(x_445, 3, x_440); +lean_ctor_set(x_445, 4, x_444); +return x_445; +} +block_454: +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; +x_449 = lean_nat_add(x_447, x_448); +lean_dec(x_448); +lean_dec(x_447); +if (lean_is_scalar(x_7)) { + x_450 = lean_alloc_ctor(0, 5, 0); +} else { + x_450 = x_7; +} +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_417); +lean_ctor_set(x_450, 2, x_418); +lean_ctor_set(x_450, 3, x_419); +lean_ctor_set(x_450, 4, x_432); +x_451 = lean_nat_add(x_414, x_415); +lean_dec(x_415); +if (lean_obj_tag(x_433) == 0) +{ +lean_object* x_452; +x_452 = lean_ctor_get(x_433, 0); +lean_inc(x_452); +x_440 = x_450; +x_441 = x_451; +x_442 = x_452; +goto block_446; +} +else +{ +lean_object* x_453; +x_453 = lean_unsigned_to_nat(0u); +x_440 = x_450; +x_441 = x_451; +x_442 = x_453; +goto block_446; +} +} +} +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; +lean_dec(x_7); +x_457 = lean_nat_add(x_414, x_416); +lean_dec(x_416); +x_458 = lean_nat_add(x_457, x_415); +lean_dec(x_457); +x_459 = lean_nat_add(x_414, x_415); +lean_dec(x_415); +x_460 = lean_nat_add(x_459, x_429); +lean_dec(x_459); +lean_inc_ref(x_413); +if (lean_is_scalar(x_427)) { + x_461 = lean_alloc_ctor(0, 5, 0); +} else { + x_461 = x_427; +} +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_3); +lean_ctor_set(x_461, 2, x_4); +lean_ctor_set(x_461, 3, x_420); +lean_ctor_set(x_461, 4, x_413); +x_462 = !lean_is_exclusive(x_413); +if (x_462 == 0) +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_463 = lean_ctor_get(x_413, 4); +lean_dec(x_463); +x_464 = lean_ctor_get(x_413, 3); +lean_dec(x_464); +x_465 = lean_ctor_get(x_413, 2); +lean_dec(x_465); +x_466 = lean_ctor_get(x_413, 1); +lean_dec(x_466); +x_467 = lean_ctor_get(x_413, 0); +lean_dec(x_467); +lean_ctor_set(x_413, 4, x_461); +lean_ctor_set(x_413, 3, x_419); +lean_ctor_set(x_413, 2, x_418); +lean_ctor_set(x_413, 1, x_417); +lean_ctor_set(x_413, 0, x_458); +return x_413; +} +else +{ +lean_object* x_468; +lean_dec(x_413); +x_468 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_468, 0, x_458); +lean_ctor_set(x_468, 1, x_417); +lean_ctor_set(x_468, 2, x_418); +lean_ctor_set(x_468, 3, x_419); +lean_ctor_set(x_468, 4, x_461); +return x_468; +} +} +} +} +else +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; +x_469 = lean_ctor_get(x_413, 0); +lean_inc(x_469); +x_470 = lean_nat_add(x_414, x_469); +lean_dec(x_469); +if (lean_is_scalar(x_7)) { + x_471 = lean_alloc_ctor(0, 5, 0); +} else { + x_471 = x_7; +} +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_3); +lean_ctor_set(x_471, 2, x_4); +lean_ctor_set(x_471, 3, x_5); +lean_ctor_set(x_471, 4, x_413); +return x_471; +} +} +else +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_472; +x_472 = lean_ctor_get(x_5, 3); +if (lean_obj_tag(x_472) == 0) +{ +lean_object* x_473; +lean_inc_ref(x_472); +x_473 = lean_ctor_get(x_5, 4); +lean_inc(x_473); +if (lean_obj_tag(x_473) == 0) +{ +uint8_t x_474; +x_474 = !lean_is_exclusive(x_5); +if (x_474 == 0) +{ +lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_475 = lean_ctor_get(x_5, 0); +x_476 = lean_ctor_get(x_5, 1); +x_477 = lean_ctor_get(x_5, 2); +x_478 = lean_ctor_get(x_5, 4); +lean_dec(x_478); +x_479 = lean_ctor_get(x_5, 3); +lean_dec(x_479); +x_480 = lean_ctor_get(x_473, 0); +x_481 = lean_nat_add(x_414, x_475); +lean_dec(x_475); +x_482 = lean_nat_add(x_414, x_480); +lean_ctor_set(x_5, 4, x_413); +lean_ctor_set(x_5, 3, x_473); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_482); +if (lean_is_scalar(x_7)) { + x_483 = lean_alloc_ctor(0, 5, 0); +} else { + x_483 = x_7; +} +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_476); +lean_ctor_set(x_483, 2, x_477); +lean_ctor_set(x_483, 3, x_472); +lean_ctor_set(x_483, 4, x_5); +return x_483; +} +else +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_484 = lean_ctor_get(x_5, 0); +x_485 = lean_ctor_get(x_5, 1); +x_486 = lean_ctor_get(x_5, 2); +lean_inc(x_486); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_5); +x_487 = lean_ctor_get(x_473, 0); +x_488 = lean_nat_add(x_414, x_484); +lean_dec(x_484); +x_489 = lean_nat_add(x_414, x_487); +x_490 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_3); +lean_ctor_set(x_490, 2, x_4); +lean_ctor_set(x_490, 3, x_473); +lean_ctor_set(x_490, 4, x_413); +if (lean_is_scalar(x_7)) { + x_491 = lean_alloc_ctor(0, 5, 0); +} else { + x_491 = x_7; +} +lean_ctor_set(x_491, 0, x_488); +lean_ctor_set(x_491, 1, x_485); +lean_ctor_set(x_491, 2, x_486); +lean_ctor_set(x_491, 3, x_472); +lean_ctor_set(x_491, 4, x_490); +return x_491; +} +} +else +{ +uint8_t x_492; +x_492 = !lean_is_exclusive(x_5); +if (x_492 == 0) +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_493 = lean_ctor_get(x_5, 1); +x_494 = lean_ctor_get(x_5, 2); +x_495 = lean_ctor_get(x_5, 4); +lean_dec(x_495); +x_496 = lean_ctor_get(x_5, 3); +lean_dec(x_496); +x_497 = lean_ctor_get(x_5, 0); +lean_dec(x_497); +x_498 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_5, 3, x_473); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_499 = lean_alloc_ctor(0, 5, 0); +} else { + x_499 = x_7; +} +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_493); +lean_ctor_set(x_499, 2, x_494); +lean_ctor_set(x_499, 3, x_472); +lean_ctor_set(x_499, 4, x_5); +return x_499; +} +else +{ +lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_500 = lean_ctor_get(x_5, 1); +x_501 = lean_ctor_get(x_5, 2); +lean_inc(x_501); +lean_inc(x_500); +lean_dec(x_5); +x_502 = lean_unsigned_to_nat(3u); +x_503 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_503, 0, x_414); +lean_ctor_set(x_503, 1, x_3); +lean_ctor_set(x_503, 2, x_4); +lean_ctor_set(x_503, 3, x_473); +lean_ctor_set(x_503, 4, x_473); +if (lean_is_scalar(x_7)) { + x_504 = lean_alloc_ctor(0, 5, 0); +} else { + x_504 = x_7; +} +lean_ctor_set(x_504, 0, x_502); +lean_ctor_set(x_504, 1, x_500); +lean_ctor_set(x_504, 2, x_501); +lean_ctor_set(x_504, 3, x_472); +lean_ctor_set(x_504, 4, x_503); +return x_504; +} +} +} +else +{ +lean_object* x_505; +x_505 = lean_ctor_get(x_5, 4); +lean_inc(x_505); +if (lean_obj_tag(x_505) == 0) +{ +uint8_t x_506; +lean_inc(x_472); +x_506 = !lean_is_exclusive(x_5); +if (x_506 == 0) +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; +x_507 = lean_ctor_get(x_5, 1); +x_508 = lean_ctor_get(x_5, 2); +x_509 = lean_ctor_get(x_5, 4); +lean_dec(x_509); +x_510 = lean_ctor_get(x_5, 3); +lean_dec(x_510); +x_511 = lean_ctor_get(x_5, 0); +lean_dec(x_511); +x_512 = !lean_is_exclusive(x_505); +if (x_512 == 0) +{ +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_513 = lean_ctor_get(x_505, 1); +x_514 = lean_ctor_get(x_505, 2); +x_515 = lean_ctor_get(x_505, 4); +lean_dec(x_515); +x_516 = lean_ctor_get(x_505, 3); +lean_dec(x_516); +x_517 = lean_ctor_get(x_505, 0); +lean_dec(x_517); +x_518 = lean_unsigned_to_nat(3u); +lean_ctor_set(x_505, 4, x_472); +lean_ctor_set(x_505, 3, x_472); +lean_ctor_set(x_505, 2, x_508); +lean_ctor_set(x_505, 1, x_507); +lean_ctor_set(x_505, 0, x_414); +lean_ctor_set(x_5, 4, x_472); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_519 = lean_alloc_ctor(0, 5, 0); +} else { + x_519 = x_7; +} +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_513); +lean_ctor_set(x_519, 2, x_514); +lean_ctor_set(x_519, 3, x_505); +lean_ctor_set(x_519, 4, x_5); +return x_519; +} +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_520 = lean_ctor_get(x_505, 1); +x_521 = lean_ctor_get(x_505, 2); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_505); +x_522 = lean_unsigned_to_nat(3u); +x_523 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_523, 0, x_414); +lean_ctor_set(x_523, 1, x_507); +lean_ctor_set(x_523, 2, x_508); +lean_ctor_set(x_523, 3, x_472); +lean_ctor_set(x_523, 4, x_472); +lean_ctor_set(x_5, 4, x_472); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_414); +if (lean_is_scalar(x_7)) { + x_524 = lean_alloc_ctor(0, 5, 0); +} else { + x_524 = x_7; +} +lean_ctor_set(x_524, 0, x_522); +lean_ctor_set(x_524, 1, x_520); +lean_ctor_set(x_524, 2, x_521); +lean_ctor_set(x_524, 3, x_523); +lean_ctor_set(x_524, 4, x_5); +return x_524; +} +} +else +{ +lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_525 = lean_ctor_get(x_5, 1); +x_526 = lean_ctor_get(x_5, 2); +lean_inc(x_526); +lean_inc(x_525); +lean_dec(x_5); +x_527 = lean_ctor_get(x_505, 1); +lean_inc(x_527); +x_528 = lean_ctor_get(x_505, 2); +lean_inc(x_528); +if (lean_is_exclusive(x_505)) { + lean_ctor_release(x_505, 0); + lean_ctor_release(x_505, 1); + lean_ctor_release(x_505, 2); + lean_ctor_release(x_505, 3); + lean_ctor_release(x_505, 4); + x_529 = x_505; +} else { + lean_dec_ref(x_505); + x_529 = lean_box(0); +} +x_530 = lean_unsigned_to_nat(3u); +if (lean_is_scalar(x_529)) { + x_531 = lean_alloc_ctor(0, 5, 0); +} else { + x_531 = x_529; +} +lean_ctor_set(x_531, 0, x_414); +lean_ctor_set(x_531, 1, x_525); +lean_ctor_set(x_531, 2, x_526); +lean_ctor_set(x_531, 3, x_472); +lean_ctor_set(x_531, 4, x_472); +x_532 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_532, 0, x_414); +lean_ctor_set(x_532, 1, x_3); +lean_ctor_set(x_532, 2, x_4); +lean_ctor_set(x_532, 3, x_472); +lean_ctor_set(x_532, 4, x_472); +if (lean_is_scalar(x_7)) { + x_533 = lean_alloc_ctor(0, 5, 0); +} else { + x_533 = x_7; +} +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_527); +lean_ctor_set(x_533, 2, x_528); +lean_ctor_set(x_533, 3, x_531); +lean_ctor_set(x_533, 4, x_532); +return x_533; +} +} +else +{ +lean_object* x_534; lean_object* x_535; +x_534 = lean_unsigned_to_nat(2u); +if (lean_is_scalar(x_7)) { + x_535 = lean_alloc_ctor(0, 5, 0); +} else { + x_535 = x_7; +} +lean_ctor_set(x_535, 0, x_534); +lean_ctor_set(x_535, 1, x_3); +lean_ctor_set(x_535, 2, x_4); +lean_ctor_set(x_535, 3, x_5); +lean_ctor_set(x_535, 4, x_505); +return x_535; +} +} +} +else +{ +lean_object* x_536; +if (lean_is_scalar(x_7)) { + x_536 = lean_alloc_ctor(0, 5, 0); +} else { + x_536 = x_7; +} +lean_ctor_set(x_536, 0, x_414); +lean_ctor_set(x_536, 1, x_3); +lean_ctor_set(x_536, 2, x_4); +lean_ctor_set(x_536, 3, x_5); +lean_ctor_set(x_536, 4, x_5); +return x_536; +} +} +} +} +} +else +{ +return x_2; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_removeBuiltinDocString(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_3 = l_Lean_addBuiltinDocString___closed__0; +x_4 = lean_st_ref_take(x_3, x_2); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec_ref(x_4); +x_7 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(x_1, x_5); +x_8 = lean_st_ref_set(x_3, x_7, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___redArg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_erase___at___Lean_removeBuiltinDocString_spec__0(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_removeBuiltinDocString___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_removeBuiltinDocString(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_getBuiltinVersoDocStrings___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_DocString_Extension_0__Lean_builtinVersoDocStrings; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_getBuiltinVersoDocStrings(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_getBuiltinVersoDocStrings___closed__0; +x_3 = lean_st_ref_get(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} static lean_object* _init_l_Lean_addDocStringCore___redArg___lam__0___closed__0() { _start: { @@ -1682,6 +4651,154 @@ lean_dec(x_5); return x_8; } } +static lean_object* _init_l_Lean_removeDocStringCore___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Name_quickCmp___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_removeDocStringCore___redArg___lam__0___closed__0; +x_4 = l_Std_DTreeMap_Internal_Impl_erase___redArg(x_3, x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_Lean_addDocStringCore___redArg___lam__0___closed__0; +x_4 = lean_box(2); +x_5 = lean_box(0); +x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_1, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_removeDocStringCore___redArg___lam__4___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid doc string removal, declaration `", 41, 41); +return x_1; +} +} +static lean_object* _init_l_Lean_removeDocStringCore___redArg___lam__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_removeDocStringCore___redArg___lam__4___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Environment_getModuleIdxFor_x3f(x_8, x_1); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_dec_ref(x_2); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +x_13 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_12, x_4); +return x_13; +} +else +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec_ref(x_9); +lean_dec(x_4); +lean_dec_ref(x_2); +x_14 = 0; +x_15 = l_Lean_removeDocStringCore___redArg___lam__4___closed__1; +x_16 = l_Lean_MessageData_ofConstName(x_1, x_14); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_addDocStringCore___redArg___lam__3___closed__3; +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_throwError___redArg(x_5, x_6, x_19); +x_21 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_20, x_7); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_dec_ref(x_3); +lean_inc(x_4); +x_9 = lean_alloc_closure((void*)(l_Lean_removeDocStringCore___redArg___lam__0), 2, 1); +lean_closure_set(x_9, 0, x_4); +x_10 = lean_alloc_closure((void*)(l_Lean_removeDocStringCore___redArg___lam__1), 2, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___redArg___lam__1), 3, 2); +lean_closure_set(x_11, 0, x_8); +lean_closure_set(x_11, 1, x_10); +lean_inc_ref(x_11); +lean_inc(x_6); +x_12 = lean_alloc_closure((void*)(l_Lean_removeDocStringCore___redArg___lam__4___boxed), 8, 7); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_5); +lean_closure_set(x_12, 2, x_6); +lean_closure_set(x_12, 3, x_11); +lean_closure_set(x_12, 4, x_1); +lean_closure_set(x_12, 5, x_2); +lean_closure_set(x_12, 6, x_11); +x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_removeDocStringCore___redArg(x_2, x_3, x_4, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___redArg___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_removeDocStringCore___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_removeDocStringCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_removeDocStringCore(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2062,14 +5179,6 @@ x_1 = l_Lean_versoDocStringExt; return x_1; } } -static lean_object* _init_l_Lean_findInternalDocString_x3f___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = l___private_Lean_DocString_Extension_0__Lean_builtinVersoDocStrings; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_findInternalDocString_x3f(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { _start: { @@ -2138,7 +5247,7 @@ if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_free_object(x_26); -x_31 = l_Lean_findInternalDocString_x3f___closed__2; +x_31 = l_Lean_getBuiltinVersoDocStrings___closed__0; x_32 = lean_st_ref_get(x_31, x_29); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) @@ -2270,7 +5379,7 @@ lean_dec(x_57); if (lean_obj_tag(x_59) == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_60 = l_Lean_findInternalDocString_x3f___closed__2; +x_60 = l_Lean_getBuiltinVersoDocStrings___closed__0; x_61 = lean_st_ref_get(x_60, x_58); x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); @@ -2782,524 +5891,520 @@ return x_26; } case 2: { -lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; uint8_t x_59; +lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; uint8_t x_58; x_38 = lean_ctor_get(x_1, 0); lean_inc_ref(x_38); lean_dec_ref(x_1); -x_59 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -if (x_59 == 0) +x_58 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 1); +if (x_58 == 0) { -uint8_t x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_60 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 1); -x_61 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -x_62 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_62); -x_63 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1; -x_64 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_63, x_2, x_3); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec_ref(x_64); +uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_59 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +x_60 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_60); +x_61 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1; +x_62 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_61, x_2, x_3); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec_ref(x_62); x_39 = x_2; -x_40 = x_59; -x_41 = x_60; -x_42 = x_61; -x_43 = x_62; -x_44 = x_65; -goto block_58; +x_40 = x_58; +x_41 = x_59; +x_42 = x_60; +x_43 = x_63; +goto block_57; } else { -uint8_t x_66; uint8_t x_67; lean_object* x_68; -x_66 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 1); -x_67 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -x_68 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_68); +uint8_t x_64; lean_object* x_65; +x_64 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +x_65 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_65); x_39 = x_2; -x_40 = x_59; -x_41 = x_66; -x_42 = x_67; -x_43 = x_68; -x_44 = x_3; -goto block_58; +x_40 = x_58; +x_41 = x_64; +x_42 = x_65; +x_43 = x_3; +goto block_57; } -block_58: +block_57: { -lean_object* x_45; size_t x_46; size_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_box(0); -x_46 = lean_array_size(x_38); -x_47 = 0; -x_48 = 1; -x_49 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_48); -lean_ctor_set_uint8(x_49, sizeof(void*)*1 + 1, x_41); -lean_ctor_set_uint8(x_49, sizeof(void*)*1 + 2, x_42); -x_50 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_45, x_38, x_46, x_47, x_45, x_49, x_44); +lean_object* x_44; size_t x_45; size_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_box(0); +x_45 = lean_array_size(x_38); +x_46 = 0; +x_47 = 1; +x_48 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set_uint8(x_48, sizeof(void*)*1, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*1 + 1, x_40); +lean_ctor_set_uint8(x_48, sizeof(void*)*1 + 2, x_41); +x_49 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_44, x_38, x_45, x_46, x_44, x_48, x_43); lean_dec_ref(x_38); if (x_40 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec_ref(x_50); -x_52 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1; -x_53 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_52, x_39, x_51); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec_ref(x_49); +x_51 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1; +x_52 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_51, x_39, x_50); lean_dec_ref(x_39); -return x_53; +return x_52; } else { -uint8_t x_54; +uint8_t x_53; lean_dec_ref(x_39); -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) { -lean_object* x_55; -x_55 = lean_ctor_get(x_50, 0); -lean_dec(x_55); -lean_ctor_set(x_50, 0, x_45); -return x_50; +lean_object* x_54; +x_54 = lean_ctor_get(x_49, 0); +lean_dec(x_54); +lean_ctor_set(x_49, 0, x_44); +return x_49; } else { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_dec(x_50); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_45); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_49, 1); +lean_inc(x_55); +lean_dec(x_49); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } } case 3: { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_69); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_66); lean_dec_ref(x_1); -x_70 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_69); -x_71 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_70, x_2, x_3); +x_67 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_66); +x_68 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_67, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_70); -return x_71; +lean_dec_ref(x_67); +return x_68; } case 4: { -uint8_t x_72; -x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); -if (x_72 == 0) +uint8_t x_69; +x_69 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +if (x_69 == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_73 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_73); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_70 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_70); lean_dec_ref(x_1); -x_74 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__2; -x_75 = lean_string_append(x_74, x_73); -lean_dec_ref(x_73); -x_76 = lean_string_append(x_75, x_74); -x_77 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_76, x_2, x_3); +x_71 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__2; +x_72 = lean_string_append(x_71, x_70); +lean_dec_ref(x_70); +x_73 = lean_string_append(x_72, x_71); +x_74 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_73, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_76); -return x_77; +lean_dec_ref(x_73); +return x_74; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_78 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_78); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_75); lean_dec_ref(x_1); -x_79 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__3; -x_80 = lean_string_append(x_79, x_78); -lean_dec_ref(x_78); -x_81 = lean_string_append(x_80, x_79); -x_82 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_81, x_2, x_3); +x_76 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__3; +x_77 = lean_string_append(x_76, x_75); +lean_dec_ref(x_75); +x_78 = lean_string_append(x_77, x_76); +x_79 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_78, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_81); -return x_82; +lean_dec_ref(x_78); +return x_79; } } case 5: { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_83 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_83); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_80); lean_dec_ref(x_1); -x_84 = lean_ctor_get(x_2, 0); -x_85 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__4; -x_86 = lean_string_append(x_85, x_84); -x_87 = l_String_replace(x_83, x_85, x_86); -lean_dec_ref(x_86); +x_81 = lean_ctor_get(x_2, 0); +x_82 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__4; +x_83 = lean_string_append(x_82, x_81); +x_84 = l_String_replace(x_80, x_82, x_83); lean_dec_ref(x_83); -x_88 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_87, x_2, x_3); +lean_dec_ref(x_80); +x_85 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_84, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_87); -return x_88; +lean_dec_ref(x_84); +return x_85; } case 6: { -uint8_t x_89; -x_89 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -if (x_89 == 0) +uint8_t x_86; +x_86 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +if (x_86 == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; size_t x_96; size_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_90 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_90); -x_91 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_91); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; size_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_87 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_87); +x_88 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_88); lean_dec_ref(x_1); -x_92 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__5; -x_93 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_92, x_2, x_3); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec_ref(x_93); -x_95 = lean_box(0); -x_96 = lean_array_size(x_90); -x_97 = 0; -lean_inc_ref(x_2); -x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_95, x_90, x_96, x_97, x_95, x_2, x_94); +x_89 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__5; +x_90 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_89, x_2, x_3); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); lean_dec_ref(x_90); +x_92 = lean_box(0); +x_93 = lean_array_size(x_87); +x_94 = 0; +lean_inc_ref(x_2); +x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_92, x_87, x_93, x_94, x_92, x_2, x_91); +lean_dec_ref(x_87); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec_ref(x_95); +x_97 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__6; +x_98 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_97, x_2, x_96); x_99 = lean_ctor_get(x_98, 1); lean_inc(x_99); lean_dec_ref(x_98); -x_100 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__6; -x_101 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_100, x_2, x_99); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec_ref(x_101); -x_103 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_91, x_2, x_102); -lean_dec_ref(x_91); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec_ref(x_103); -x_105 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__7; -x_106 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_105, x_2, x_104); +x_100 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_88, x_2, x_99); +lean_dec_ref(x_88); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec_ref(x_100); +x_102 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__7; +x_103 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_102, x_2, x_101); lean_dec_ref(x_2); -return x_106; +return x_103; } else { -lean_object* x_107; lean_object* x_108; size_t x_109; size_t x_110; lean_object* x_111; uint8_t x_112; -x_107 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_107); +lean_object* x_104; lean_object* x_105; size_t x_106; size_t x_107; lean_object* x_108; uint8_t x_109; +x_104 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_104); lean_dec_ref(x_1); -x_108 = lean_box(0); -x_109 = lean_array_size(x_107); -x_110 = 0; -x_111 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_108, x_107, x_109, x_110, x_108, x_2, x_3); -lean_dec_ref(x_107); -x_112 = !lean_is_exclusive(x_111); -if (x_112 == 0) +x_105 = lean_box(0); +x_106 = lean_array_size(x_104); +x_107 = 0; +x_108 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_105, x_104, x_106, x_107, x_105, x_2, x_3); +lean_dec_ref(x_104); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { -lean_object* x_113; -x_113 = lean_ctor_get(x_111, 0); -lean_dec(x_113); -lean_ctor_set(x_111, 0, x_108); -return x_111; +lean_object* x_110; +x_110 = lean_ctor_get(x_108, 0); +lean_dec(x_110); +lean_ctor_set(x_108, 0, x_105); +return x_108; } else { -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_111, 1); -lean_inc(x_114); -lean_dec(x_111); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_108); -lean_ctor_set(x_115, 1, x_114); -return x_115; +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_105); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } case 7: { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_116 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_116); -x_117 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_117); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_113 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_113); +x_114 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_114); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_118 = x_1; + x_115 = x_1; } else { lean_dec_ref(x_1); - x_118 = lean_box(0); + x_115 = lean_box(0); } -x_119 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__8; -x_120 = lean_string_append(x_119, x_116); -x_121 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__9; -x_122 = lean_string_append(x_120, x_121); -x_123 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_122, x_2, x_3); +x_116 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__8; +x_117 = lean_string_append(x_116, x_113); +x_118 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__9; +x_119 = lean_string_append(x_117, x_118); +x_120 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_119, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_122); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_125 = x_123; +lean_dec_ref(x_119); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; } else { - lean_dec_ref(x_123); - x_125 = lean_box(0); + lean_dec_ref(x_120); + x_122 = lean_box(0); } -x_144 = lean_unsigned_to_nat(0u); -x_145 = lean_array_get_size(x_117); -x_146 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__11; -x_147 = lean_nat_dec_lt(x_144, x_145); -if (x_147 == 0) +x_141 = lean_unsigned_to_nat(0u); +x_142 = lean_array_get_size(x_114); +x_143 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__11; +x_144 = lean_nat_dec_lt(x_141, x_142); +if (x_144 == 0) { -lean_dec(x_145); -lean_dec_ref(x_117); -x_126 = x_146; -goto block_143; +lean_dec(x_142); +lean_dec_ref(x_114); +x_123 = x_143; +goto block_140; } else { -uint8_t x_148; -x_148 = lean_nat_dec_le(x_145, x_145); -if (x_148 == 0) +uint8_t x_145; +x_145 = lean_nat_dec_le(x_142, x_142); +if (x_145 == 0) { -lean_dec(x_145); -lean_dec_ref(x_117); -x_126 = x_146; -goto block_143; +lean_dec(x_142); +lean_dec_ref(x_114); +x_123 = x_143; +goto block_140; } else { -lean_object* x_149; lean_object* x_150; size_t x_151; size_t x_152; lean_object* x_153; lean_object* x_154; -x_149 = lean_box(0); -x_150 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__12; -x_151 = 0; -x_152 = lean_usize_of_nat(x_145); -lean_dec(x_145); -x_153 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_117, x_151, x_152, x_149, x_150, x_146); -lean_dec_ref(x_117); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec_ref(x_153); -x_126 = x_154; -goto block_143; +lean_object* x_146; lean_object* x_147; size_t x_148; size_t x_149; lean_object* x_150; lean_object* x_151; +x_146 = lean_box(0); +x_147 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__12; +x_148 = 0; +x_149 = lean_usize_of_nat(x_142); +lean_dec(x_142); +x_150 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_114, x_148, x_149, x_146, x_147, x_143); +lean_dec_ref(x_114); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec_ref(x_150); +x_123 = x_151; +goto block_140; } } -block_143: +block_140: { -uint8_t x_127; -x_127 = !lean_is_exclusive(x_124); -if (x_127 == 0) +uint8_t x_124; +x_124 = !lean_is_exclusive(x_121); +if (x_124 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_128 = lean_ctor_get(x_124, 2); -x_129 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_126); -x_130 = lean_box(0); -if (lean_is_scalar(x_125)) { - x_131 = lean_alloc_ctor(0, 2, 0); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_125 = lean_ctor_get(x_121, 2); +x_126 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_123); +x_127 = lean_box(0); +if (lean_is_scalar(x_122)) { + x_128 = lean_alloc_ctor(0, 2, 0); } else { - x_131 = x_125; + x_128 = x_122; } -lean_ctor_set(x_131, 0, x_116); -lean_ctor_set(x_131, 1, x_129); -x_132 = lean_array_push(x_128, x_131); -lean_ctor_set(x_124, 2, x_132); -if (lean_is_scalar(x_118)) { - x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_113); +lean_ctor_set(x_128, 1, x_126); +x_129 = lean_array_push(x_125, x_128); +lean_ctor_set(x_121, 2, x_129); +if (lean_is_scalar(x_115)) { + x_130 = lean_alloc_ctor(0, 2, 0); } else { - x_133 = x_118; - lean_ctor_set_tag(x_133, 0); + x_130 = x_115; + lean_ctor_set_tag(x_130, 0); } -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_124); -return x_133; +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_121); +return x_130; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_134 = lean_ctor_get(x_124, 0); -x_135 = lean_ctor_get(x_124, 1); -x_136 = lean_ctor_get(x_124, 2); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_124); -x_137 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_126); -x_138 = lean_box(0); -if (lean_is_scalar(x_125)) { +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_131 = lean_ctor_get(x_121, 0); +x_132 = lean_ctor_get(x_121, 1); +x_133 = lean_ctor_get(x_121, 2); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_121); +x_134 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_123); +x_135 = lean_box(0); +if (lean_is_scalar(x_122)) { + x_136 = lean_alloc_ctor(0, 2, 0); +} else { + x_136 = x_122; +} +lean_ctor_set(x_136, 0, x_113); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_133, x_136); +x_138 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_138, 0, x_131); +lean_ctor_set(x_138, 1, x_132); +lean_ctor_set(x_138, 2, x_137); +if (lean_is_scalar(x_115)) { x_139 = lean_alloc_ctor(0, 2, 0); } else { - x_139 = x_125; + x_139 = x_115; + lean_ctor_set_tag(x_139, 0); } -lean_ctor_set(x_139, 0, x_116); -lean_ctor_set(x_139, 1, x_137); -x_140 = lean_array_push(x_136, x_139); -x_141 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_141, 0, x_134); -lean_ctor_set(x_141, 1, x_135); -lean_ctor_set(x_141, 2, x_140); -if (lean_is_scalar(x_118)) { - x_142 = lean_alloc_ctor(0, 2, 0); -} else { - x_142 = x_118; - lean_ctor_set_tag(x_142, 0); -} -lean_ctor_set(x_142, 0, x_138); -lean_ctor_set(x_142, 1, x_141); -return x_142; +lean_ctor_set(x_139, 0, x_135); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } } case 8: { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_155 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_155); -x_156 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_156); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_152 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_152); +x_153 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_153); lean_dec_ref(x_1); -x_157 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__13; -x_158 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_155); -x_159 = lean_string_append(x_157, x_158); -lean_dec_ref(x_158); -x_160 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__6; +x_154 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__13; +x_155 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_152); +x_156 = lean_string_append(x_154, x_155); +lean_dec_ref(x_155); +x_157 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__6; +x_158 = lean_string_append(x_156, x_157); +x_159 = lean_string_append(x_158, x_153); +lean_dec_ref(x_153); +x_160 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__7; x_161 = lean_string_append(x_159, x_160); -x_162 = lean_string_append(x_161, x_156); -lean_dec_ref(x_156); -x_163 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__7; -x_164 = lean_string_append(x_162, x_163); -x_165 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_164, x_2, x_3); +x_162 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push(x_161, x_2, x_3); lean_dec_ref(x_2); -lean_dec_ref(x_164); -return x_165; +lean_dec_ref(x_161); +return x_162; } case 9: { -lean_object* x_166; lean_object* x_167; size_t x_168; size_t x_169; lean_object* x_170; uint8_t x_171; -x_166 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_166); +lean_object* x_163; lean_object* x_164; size_t x_165; size_t x_166; lean_object* x_167; uint8_t x_168; +x_163 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_163); lean_dec_ref(x_1); -x_167 = lean_box(0); -x_168 = lean_array_size(x_166); -x_169 = 0; -x_170 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_167, x_166, x_168, x_169, x_167, x_2, x_3); -lean_dec_ref(x_166); -x_171 = !lean_is_exclusive(x_170); -if (x_171 == 0) +x_164 = lean_box(0); +x_165 = lean_array_size(x_163); +x_166 = 0; +x_167 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__1(x_164, x_163, x_165, x_166, x_164, x_2, x_3); +lean_dec_ref(x_163); +x_168 = !lean_is_exclusive(x_167); +if (x_168 == 0) { -lean_object* x_172; -x_172 = lean_ctor_get(x_170, 0); -lean_dec(x_172); -lean_ctor_set(x_170, 0, x_167); -return x_170; +lean_object* x_169; +x_169 = lean_ctor_get(x_167, 0); +lean_dec(x_169); +lean_ctor_set(x_167, 0, x_164); +return x_167; } else { -lean_object* x_173; lean_object* x_174; -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -lean_dec(x_170); -x_174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_174, 0, x_167); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_object* x_170; lean_object* x_171; +x_170 = lean_ctor_get(x_167, 1); +lean_inc(x_170); +lean_dec(x_167); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_164); +lean_ctor_set(x_171, 1, x_170); +return x_171; } } default: { -uint8_t x_175; -x_175 = !lean_is_exclusive(x_1); -if (x_175 == 0) +uint8_t x_172; +x_172 = !lean_is_exclusive(x_1); +if (x_172 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; -x_176 = lean_ctor_get(x_1, 1); -x_177 = lean_ctor_get(x_1, 0); -lean_dec(x_177); -x_178 = lean_unsigned_to_nat(0u); -x_179 = lean_array_get_size(x_176); -x_180 = lean_box(0); -x_181 = lean_nat_dec_lt(x_178, x_179); -if (x_181 == 0) +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_1, 1); +x_174 = lean_ctor_get(x_1, 0); +lean_dec(x_174); +x_175 = lean_unsigned_to_nat(0u); +x_176 = lean_array_get_size(x_173); +x_177 = lean_box(0); +x_178 = lean_nat_dec_lt(x_175, x_176); +if (x_178 == 0) { -lean_dec(x_179); -lean_dec_ref(x_176); +lean_dec(x_176); +lean_dec_ref(x_173); lean_dec_ref(x_2); lean_ctor_set_tag(x_1, 0); lean_ctor_set(x_1, 1, x_3); -lean_ctor_set(x_1, 0, x_180); +lean_ctor_set(x_1, 0, x_177); return x_1; } else { -uint8_t x_182; -x_182 = lean_nat_dec_le(x_179, x_179); -if (x_182 == 0) +uint8_t x_179; +x_179 = lean_nat_dec_le(x_176, x_176); +if (x_179 == 0) { -lean_dec(x_179); -lean_dec_ref(x_176); +lean_dec(x_176); +lean_dec_ref(x_173); lean_dec_ref(x_2); lean_ctor_set_tag(x_1, 0); lean_ctor_set(x_1, 1, x_3); -lean_ctor_set(x_1, 0, x_180); +lean_ctor_set(x_1, 0, x_177); return x_1; } else { -size_t x_183; size_t x_184; lean_object* x_185; +size_t x_180; size_t x_181; lean_object* x_182; lean_free_object(x_1); -x_183 = 0; -x_184 = lean_usize_of_nat(x_179); -lean_dec(x_179); -x_185 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_176, x_183, x_184, x_180, x_2, x_3); -lean_dec_ref(x_176); -return x_185; +x_180 = 0; +x_181 = lean_usize_of_nat(x_176); +lean_dec(x_176); +x_182 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_173, x_180, x_181, x_177, x_2, x_3); +lean_dec_ref(x_173); +return x_182; } } } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; -x_186 = lean_ctor_get(x_1, 1); -lean_inc(x_186); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; +x_183 = lean_ctor_get(x_1, 1); +lean_inc(x_183); lean_dec(x_1); -x_187 = lean_unsigned_to_nat(0u); -x_188 = lean_array_get_size(x_186); -x_189 = lean_box(0); -x_190 = lean_nat_dec_lt(x_187, x_188); -if (x_190 == 0) +x_184 = lean_unsigned_to_nat(0u); +x_185 = lean_array_get_size(x_183); +x_186 = lean_box(0); +x_187 = lean_nat_dec_lt(x_184, x_185); +if (x_187 == 0) { -lean_object* x_191; -lean_dec(x_188); -lean_dec_ref(x_186); +lean_object* x_188; +lean_dec(x_185); +lean_dec_ref(x_183); lean_dec_ref(x_2); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_3); -return x_191; +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_3); +return x_188; } else { -uint8_t x_192; -x_192 = lean_nat_dec_le(x_188, x_188); -if (x_192 == 0) +uint8_t x_189; +x_189 = lean_nat_dec_le(x_185, x_185); +if (x_189 == 0) { -lean_object* x_193; -lean_dec(x_188); -lean_dec_ref(x_186); +lean_object* x_190; +lean_dec(x_185); +lean_dec_ref(x_183); lean_dec_ref(x_2); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_189); -lean_ctor_set(x_193, 1, x_3); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_186); +lean_ctor_set(x_190, 1, x_3); +return x_190; +} +else +{ +size_t x_191; size_t x_192; lean_object* x_193; +x_191 = 0; +x_192 = lean_usize_of_nat(x_185); +lean_dec(x_185); +x_193 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_183, x_191, x_192, x_186, x_2, x_3); +lean_dec_ref(x_183); return x_193; } -else -{ -size_t x_194; size_t x_195; lean_object* x_196; -x_194 = 0; -x_195 = lean_usize_of_nat(x_188); -lean_dec(x_188); -x_196 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1_spec__2(x_186, x_194, x_195, x_189, x_2, x_3); -lean_dec_ref(x_186); -return x_196; -} } } } @@ -4717,7 +7822,7 @@ lean_dec_ref(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; @@ -4726,7 +7831,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { _start: { uint8_t x_5; uint8_t x_6; @@ -4736,7 +7841,7 @@ if (x_6 == 0) { lean_object* x_7; lean_dec(x_3); -x_7 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +x_7 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; return x_7; } else @@ -4747,7 +7852,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; @@ -4755,7 +7860,7 @@ x_2 = lean_array_mk(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4763,7 +7868,7 @@ x_3 = l_Lean_PersistentArray_push___redArg(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; @@ -4772,22 +7877,22 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +x_1 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; size_t x_5; lean_object* x_6; -x_3 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; -x_4 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +x_3 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; +x_4 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; x_5 = 5; lean_inc(x_1); x_6 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); @@ -4799,7 +7904,7 @@ lean_ctor_set_usize(x_6, 4, x_5); return x_6; } } -static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -4807,27 +7912,27 @@ x_1 = lean_mk_string_unchecked("moduleDocExt", 12, 12); return x_1; } } -static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +x_1 = l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; x_2 = l___private_Lean_DocString_Extension_0__Lean_initFn___closed__8____x40_Lean_DocString_Extension_177922276____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_2 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed), 4, 0); -x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_), 1, 0); -x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed), 4, 0); +x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_), 1, 0); +x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__2____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_), 2, 0); x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed), 2, 1); +x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed), 2, 1); lean_closure_set(x_6, 0, x_5); -x_7 = l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_; +x_7 = l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_; x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_2); x_9 = lean_box(2); @@ -4844,22 +7949,22 @@ x_12 = l_Lean_registerSimplePersistentEnvExtension___redArg(x_11, x_1); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_4); -x_6 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(x_1, x_2, x_3, x_5); +x_6 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(x_1, x_2, x_3, x_5); lean_dec_ref(x_2); lean_dec_ref(x_1); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(x_1, x_2); +x_3 = l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(x_1, x_2); lean_dec_ref(x_2); return x_3; } @@ -5080,6 +8185,30 @@ lean_dec_ref(res); res = initialize_Lean_DocString_Markdown(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_instReprElabInline___lam__0___closed__0 = _init_l_Lean_instReprElabInline___lam__0___closed__0(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__0); +l_Lean_instReprElabInline___lam__0___closed__1 = _init_l_Lean_instReprElabInline___lam__0___closed__1(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__1); +l_Lean_instReprElabInline___lam__0___closed__2 = _init_l_Lean_instReprElabInline___lam__0___closed__2(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__2); +l_Lean_instReprElabInline___lam__0___closed__3 = _init_l_Lean_instReprElabInline___lam__0___closed__3(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__3); +l_Lean_instReprElabInline___lam__0___closed__4 = _init_l_Lean_instReprElabInline___lam__0___closed__4(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__4); +l_Lean_instReprElabInline___lam__0___closed__5 = _init_l_Lean_instReprElabInline___lam__0___closed__5(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__5); +l_Lean_instReprElabInline___lam__0___closed__6 = _init_l_Lean_instReprElabInline___lam__0___closed__6(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__6); +l_Lean_instReprElabInline___lam__0___closed__7 = _init_l_Lean_instReprElabInline___lam__0___closed__7(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__7); +l_Lean_instReprElabInline___lam__0___closed__8 = _init_l_Lean_instReprElabInline___lam__0___closed__8(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__8); +l_Lean_instReprElabInline___lam__0___closed__9 = _init_l_Lean_instReprElabInline___lam__0___closed__9(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__9); +l_Lean_instReprElabInline___lam__0___closed__10 = _init_l_Lean_instReprElabInline___lam__0___closed__10(); +lean_mark_persistent(l_Lean_instReprElabInline___lam__0___closed__10); +l_Lean_instReprElabInline = _init_l_Lean_instReprElabInline(); +lean_mark_persistent(l_Lean_instReprElabInline); l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__0 = _init_l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__0(); lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__0); l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__1 = _init_l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__1(); @@ -5124,6 +8253,8 @@ l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___clos lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline___closed__20); l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline = _init_l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline(); lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_instMarkdownInlineElabInline); +l_Lean_instReprElabBlock = _init_l_Lean_instReprElabBlock(); +lean_mark_persistent(l_Lean_instReprElabBlock); l___private_Lean_DocString_Extension_0__Lean_instMarkdownBlockElabInlineElabBlock = _init_l___private_Lean_DocString_Extension_0__Lean_instMarkdownBlockElabInlineElabBlock(); lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_instMarkdownBlockElabInlineElabBlock); l_Lean_instInhabitedVersoDocString_default___closed__0 = _init_l_Lean_instInhabitedVersoDocString_default___closed__0(); @@ -5220,6 +8351,8 @@ lean_mark_persistent(l_Lean_versoDocStringExt); lean_dec_ref(res); }l_Lean_addBuiltinDocString___closed__0 = _init_l_Lean_addBuiltinDocString___closed__0(); lean_mark_persistent(l_Lean_addBuiltinDocString___closed__0); +l_Lean_getBuiltinVersoDocStrings___closed__0 = _init_l_Lean_getBuiltinVersoDocStrings___closed__0(); +lean_mark_persistent(l_Lean_getBuiltinVersoDocStrings___closed__0); l_Lean_addDocStringCore___redArg___lam__0___closed__0 = _init_l_Lean_addDocStringCore___redArg___lam__0___closed__0(); lean_mark_persistent(l_Lean_addDocStringCore___redArg___lam__0___closed__0); l_Lean_addDocStringCore___redArg___lam__3___closed__0 = _init_l_Lean_addDocStringCore___redArg___lam__3___closed__0(); @@ -5230,6 +8363,12 @@ l_Lean_addDocStringCore___redArg___lam__3___closed__2 = _init_l_Lean_addDocStrin lean_mark_persistent(l_Lean_addDocStringCore___redArg___lam__3___closed__2); l_Lean_addDocStringCore___redArg___lam__3___closed__3 = _init_l_Lean_addDocStringCore___redArg___lam__3___closed__3(); lean_mark_persistent(l_Lean_addDocStringCore___redArg___lam__3___closed__3); +l_Lean_removeDocStringCore___redArg___lam__0___closed__0 = _init_l_Lean_removeDocStringCore___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_removeDocStringCore___redArg___lam__0___closed__0); +l_Lean_removeDocStringCore___redArg___lam__4___closed__0 = _init_l_Lean_removeDocStringCore___redArg___lam__4___closed__0(); +lean_mark_persistent(l_Lean_removeDocStringCore___redArg___lam__4___closed__0); +l_Lean_removeDocStringCore___redArg___lam__4___closed__1 = _init_l_Lean_removeDocStringCore___redArg___lam__4___closed__1(); +lean_mark_persistent(l_Lean_removeDocStringCore___redArg___lam__4___closed__1); l_Lean_addInheritedDocString___redArg___lam__0___closed__0 = _init_l_Lean_addInheritedDocString___redArg___lam__0___closed__0(); lean_mark_persistent(l_Lean_addInheritedDocString___redArg___lam__0___closed__0); l_Lean_addInheritedDocString___redArg___lam__3___closed__0 = _init_l_Lean_addInheritedDocString___redArg___lam__3___closed__0(); @@ -5250,8 +8389,6 @@ l_Lean_findInternalDocString_x3f___closed__0 = _init_l_Lean_findInternalDocStrin lean_mark_persistent(l_Lean_findInternalDocString_x3f___closed__0); l_Lean_findInternalDocString_x3f___closed__1 = _init_l_Lean_findInternalDocString_x3f___closed__1(); lean_mark_persistent(l_Lean_findInternalDocString_x3f___closed__1); -l_Lean_findInternalDocString_x3f___closed__2 = _init_l_Lean_findInternalDocString_x3f___closed__2(); -lean_mark_persistent(l_Lean_findInternalDocString_x3f___closed__2); l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__0 = _init_l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__0(); lean_mark_persistent(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__0); l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1 = _init_l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at_____private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__1(); @@ -5300,17 +8437,17 @@ l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_ins lean_mark_persistent(l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at_____private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0___redArg___closed__0); l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown___boxed__const__1 = _init_l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown___boxed__const__1(); lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown___boxed__const__1); -l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_); -l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_); -l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_); -l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_); -l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_733393053____hygCtx___hyg_2_(lean_io_mk_world()); +l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__0___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_); +l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_); +l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___lam__3___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_); +l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___closed__0____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_); +l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_ = _init_l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_initFn___closed__1____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension_3367263305____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_DocString_Extension_0__Lean_moduleDocExt = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_moduleDocExt); diff --git a/stage0/stdlib/Lean/DocString/Markdown.c b/stage0/stdlib/Lean/DocString/Markdown.c index 9bba725a0f..32f0906aaf 100644 --- a/stage0/stdlib/Lean/DocString/Markdown.c +++ b/stage0/stdlib/Lean/DocString/Markdown.c @@ -1991,457 +1991,453 @@ return x_29; } case 2: { -lean_object* x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; uint8_t x_63; +lean_object* x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; uint8_t x_62; x_41 = lean_ctor_get(x_2, 0); lean_inc_ref(x_41); lean_dec_ref(x_2); -x_63 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -if (x_63 == 0) +x_62 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1); +if (x_62 == 0) { -uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1); -x_65 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); -x_66 = lean_ctor_get(x_3, 0); -lean_inc_ref(x_66); +uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); +x_64 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_64); lean_dec_ref(x_3); -x_67 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22; -x_68 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_67, x_4); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec_ref(x_68); -x_42 = x_63; -x_43 = x_64; -x_44 = x_65; -x_45 = x_66; -x_46 = x_69; -goto block_62; +x_65 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22; +x_66 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_65, x_4); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec_ref(x_66); +x_42 = x_62; +x_43 = x_63; +x_44 = x_64; +x_45 = x_67; +goto block_61; } else { -uint8_t x_70; uint8_t x_71; lean_object* x_72; -x_70 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1); -x_71 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); -x_72 = lean_ctor_get(x_3, 0); -lean_inc_ref(x_72); +uint8_t x_68; lean_object* x_69; +x_68 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); +x_69 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_69); lean_dec_ref(x_3); -x_42 = x_63; -x_43 = x_70; -x_44 = x_71; -x_45 = x_72; -x_46 = x_4; -goto block_62; +x_42 = x_62; +x_43 = x_68; +x_44 = x_69; +x_45 = x_4; +goto block_61; } -block_62: +block_61: { -lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_47 = lean_box(0); -x_48 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); -lean_closure_set(x_48, 0, x_1); -lean_closure_set(x_48, 1, x_47); -x_49 = lean_array_size(x_41); -x_50 = 0; -x_51 = 1; -x_52 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_52, 0, x_45); -lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51); -lean_ctor_set_uint8(x_52, sizeof(void*)*1 + 1, x_43); -lean_ctor_set_uint8(x_52, sizeof(void*)*1 + 2, x_44); -x_53 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_41, x_48, x_49, x_50, x_47); -x_54 = lean_apply_2(x_53, x_52, x_46); +lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_box(0); +x_47 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); +lean_closure_set(x_47, 0, x_1); +lean_closure_set(x_47, 1, x_46); +x_48 = lean_array_size(x_41); +x_49 = 0; +x_50 = 1; +x_51 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*1 + 1, x_42); +lean_ctor_set_uint8(x_51, sizeof(void*)*1 + 2, x_43); +x_52 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_41, x_47, x_48, x_49, x_46); +x_53 = lean_apply_2(x_52, x_51, x_45); if (x_42 == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec_ref(x_54); -x_56 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22; -x_57 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_56, x_55); -return x_57; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec_ref(x_53); +x_55 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22; +x_56 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_55, x_54); +return x_56; } else { -uint8_t x_58; -x_58 = !lean_is_exclusive(x_54); -if (x_58 == 0) +uint8_t x_57; +x_57 = !lean_is_exclusive(x_53); +if (x_57 == 0) { -lean_object* x_59; -x_59 = lean_ctor_get(x_54, 0); -lean_dec(x_59); -lean_ctor_set(x_54, 0, x_47); -return x_54; +lean_object* x_58; +x_58 = lean_ctor_get(x_53, 0); +lean_dec(x_58); +lean_ctor_set(x_53, 0, x_46); +return x_53; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_54, 1); -lean_inc(x_60); -lean_dec(x_54); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_47); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); +lean_dec(x_53); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_46); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } case 3: { -lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_dec_ref(x_3); lean_dec_ref(x_1); -x_73 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_73); +x_70 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_70); lean_dec_ref(x_2); -x_74 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_73); -x_75 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_74, x_4); -lean_dec_ref(x_74); -return x_75; +x_71 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_70); +x_72 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_71, x_4); +lean_dec_ref(x_71); +return x_72; } case 4: { -uint8_t x_76; +uint8_t x_73; lean_dec_ref(x_3); lean_dec_ref(x_1); -x_76 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -if (x_76 == 0) +x_73 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +if (x_73 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_77 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_77); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_74 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_74); lean_dec_ref(x_2); -x_78 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__23; -x_79 = lean_string_append(x_78, x_77); +x_75 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__23; +x_76 = lean_string_append(x_75, x_74); +lean_dec_ref(x_74); +x_77 = lean_string_append(x_76, x_75); +x_78 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_77, x_4); lean_dec_ref(x_77); -x_80 = lean_string_append(x_79, x_78); -x_81 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_80, x_4); -lean_dec_ref(x_80); -return x_81; +return x_78; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_82 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_82); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_79); lean_dec_ref(x_2); -x_83 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__24; -x_84 = lean_string_append(x_83, x_82); +x_80 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__24; +x_81 = lean_string_append(x_80, x_79); +lean_dec_ref(x_79); +x_82 = lean_string_append(x_81, x_80); +x_83 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_82, x_4); lean_dec_ref(x_82); -x_85 = lean_string_append(x_84, x_83); -x_86 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_85, x_4); -lean_dec_ref(x_85); -return x_86; +return x_83; } } case 5: { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_dec_ref(x_1); -x_87 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_87); +x_84 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_84); lean_dec_ref(x_2); -x_88 = lean_ctor_get(x_3, 0); -lean_inc_ref(x_88); +x_85 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_85); lean_dec_ref(x_3); -x_89 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___closed__3; -x_90 = lean_string_append(x_89, x_88); -lean_dec_ref(x_88); -x_91 = l_String_replace(x_87, x_89, x_90); -lean_dec_ref(x_90); +x_86 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___closed__3; +x_87 = lean_string_append(x_86, x_85); +lean_dec_ref(x_85); +x_88 = l_String_replace(x_84, x_86, x_87); lean_dec_ref(x_87); -x_92 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_91, x_4); -lean_dec_ref(x_91); -return x_92; +lean_dec_ref(x_84); +x_89 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_88, x_4); +lean_dec_ref(x_88); +return x_89; } case 6: { -uint8_t x_93; -x_93 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); -if (x_93 == 0) +uint8_t x_90; +x_90 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); +if (x_90 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_94 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_94); -x_95 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_95); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; size_t x_98; size_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_91 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_91); +x_92 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_92); lean_dec_ref(x_2); -x_96 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__25; -x_97 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_96, x_4); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec_ref(x_97); -x_99 = lean_box(0); -x_100 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); -lean_closure_set(x_100, 0, x_1); -lean_closure_set(x_100, 1, x_99); -x_101 = lean_array_size(x_94); -x_102 = 0; -x_103 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_94, x_100, x_101, x_102, x_99); -x_104 = lean_apply_2(x_103, x_3, x_98); +x_93 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__25; +x_94 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_93, x_4); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec_ref(x_94); +x_96 = lean_box(0); +x_97 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); +lean_closure_set(x_97, 0, x_1); +lean_closure_set(x_97, 1, x_96); +x_98 = lean_array_size(x_91); +x_99 = 0; +x_100 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_91, x_97, x_98, x_99, x_96); +x_101 = lean_apply_2(x_100, x_3, x_95); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec_ref(x_101); +x_103 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26; +x_104 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_103, x_102); x_105 = lean_ctor_get(x_104, 1); lean_inc(x_105); lean_dec_ref(x_104); -x_106 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26; -x_107 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_106, x_105); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec_ref(x_107); -x_109 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_95, x_108); -lean_dec_ref(x_95); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec_ref(x_109); -x_111 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27; -x_112 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_111, x_110); -return x_112; +x_106 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_92, x_105); +lean_dec_ref(x_92); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec_ref(x_106); +x_108 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27; +x_109 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_108, x_107); +return x_109; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; size_t x_116; size_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_113 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_113); +lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; size_t x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_110 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_110); lean_dec_ref(x_2); -x_114 = lean_box(0); -x_115 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); -lean_closure_set(x_115, 0, x_1); -lean_closure_set(x_115, 1, x_114); -x_116 = lean_array_size(x_113); -x_117 = 0; -x_118 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_113, x_115, x_116, x_117, x_114); -x_119 = lean_apply_2(x_118, x_3, x_4); -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) +x_111 = lean_box(0); +x_112 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); +lean_closure_set(x_112, 0, x_1); +lean_closure_set(x_112, 1, x_111); +x_113 = lean_array_size(x_110); +x_114 = 0; +x_115 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_110, x_112, x_113, x_114, x_111); +x_116 = lean_apply_2(x_115, x_3, x_4); +x_117 = !lean_is_exclusive(x_116); +if (x_117 == 0) { -lean_object* x_121; -x_121 = lean_ctor_get(x_119, 0); -lean_dec(x_121); -lean_ctor_set(x_119, 0, x_114); -return x_119; +lean_object* x_118; +x_118 = lean_ctor_get(x_116, 0); +lean_dec(x_118); +lean_ctor_set(x_116, 0, x_111); +return x_116; } else { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_dec(x_119); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_114); -lean_ctor_set(x_123, 1, x_122); -return x_123; +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +lean_dec(x_116); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_111); +lean_ctor_set(x_120, 1, x_119); +return x_120; } } } case 7: { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_dec_ref(x_3); -x_124 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_124); -x_125 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_125); +x_121 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_121); +x_122 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_122); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_126 = x_2; + x_123 = x_2; } else { lean_dec_ref(x_2); - x_126 = lean_box(0); + x_123 = lean_box(0); } -x_127 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__28; -x_128 = lean_string_append(x_127, x_124); -x_129 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__29; -x_130 = lean_string_append(x_128, x_129); -x_131 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_130, x_4); -lean_dec_ref(x_130); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_133 = x_131; +x_124 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__28; +x_125 = lean_string_append(x_124, x_121); +x_126 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__29; +x_127 = lean_string_append(x_125, x_126); +x_128 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_127, x_4); +lean_dec_ref(x_127); +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; } else { - lean_dec_ref(x_131); - x_133 = lean_box(0); + lean_dec_ref(x_128); + x_130 = lean_box(0); } -x_152 = lean_unsigned_to_nat(0u); -x_153 = lean_array_get_size(x_125); -x_154 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__30; -x_155 = lean_nat_dec_lt(x_152, x_153); -if (x_155 == 0) +x_149 = lean_unsigned_to_nat(0u); +x_150 = lean_array_get_size(x_122); +x_151 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__30; +x_152 = lean_nat_dec_lt(x_149, x_150); +if (x_152 == 0) { -lean_dec(x_153); -lean_dec_ref(x_125); +lean_dec(x_150); +lean_dec_ref(x_122); lean_dec_ref(x_1); -x_134 = x_154; -goto block_151; +x_131 = x_151; +goto block_148; } else { -uint8_t x_156; -x_156 = lean_nat_dec_le(x_153, x_153); -if (x_156 == 0) +uint8_t x_153; +x_153 = lean_nat_dec_le(x_150, x_150); +if (x_153 == 0) { -lean_dec(x_153); -lean_dec_ref(x_125); +lean_dec(x_150); +lean_dec_ref(x_122); lean_dec_ref(x_1); -x_134 = x_154; -goto block_151; +x_131 = x_151; +goto block_148; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; size_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_157 = lean_box(0); -x_158 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__4), 5, 1); -lean_closure_set(x_158, 0, x_1); -x_159 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__31; -x_160 = 0; -x_161 = lean_usize_of_nat(x_153); -lean_dec(x_153); -x_162 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_5, x_158, x_125, x_160, x_161, x_157); -x_163 = lean_apply_2(x_162, x_159, x_154); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec_ref(x_163); -x_134 = x_164; -goto block_151; +lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_154 = lean_box(0); +x_155 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__4), 5, 1); +lean_closure_set(x_155, 0, x_1); +x_156 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__31; +x_157 = 0; +x_158 = lean_usize_of_nat(x_150); +lean_dec(x_150); +x_159 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_5, x_155, x_122, x_157, x_158, x_154); +x_160 = lean_apply_2(x_159, x_156, x_151); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +lean_dec_ref(x_160); +x_131 = x_161; +goto block_148; } } -block_151: +block_148: { -uint8_t x_135; -x_135 = !lean_is_exclusive(x_132); -if (x_135 == 0) +uint8_t x_132; +x_132 = !lean_is_exclusive(x_129); +if (x_132 == 0) { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_136 = lean_ctor_get(x_132, 2); -x_137 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_134); -x_138 = lean_box(0); -if (lean_is_scalar(x_133)) { - x_139 = lean_alloc_ctor(0, 2, 0); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_133 = lean_ctor_get(x_129, 2); +x_134 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_131); +x_135 = lean_box(0); +if (lean_is_scalar(x_130)) { + x_136 = lean_alloc_ctor(0, 2, 0); } else { - x_139 = x_133; + x_136 = x_130; } -lean_ctor_set(x_139, 0, x_124); -lean_ctor_set(x_139, 1, x_137); -x_140 = lean_array_push(x_136, x_139); -lean_ctor_set(x_132, 2, x_140); -if (lean_is_scalar(x_126)) { - x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_121); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_133, x_136); +lean_ctor_set(x_129, 2, x_137); +if (lean_is_scalar(x_123)) { + x_138 = lean_alloc_ctor(0, 2, 0); } else { - x_141 = x_126; - lean_ctor_set_tag(x_141, 0); + x_138 = x_123; + lean_ctor_set_tag(x_138, 0); } -lean_ctor_set(x_141, 0, x_138); -lean_ctor_set(x_141, 1, x_132); -return x_141; +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_129); +return x_138; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_142 = lean_ctor_get(x_132, 0); -x_143 = lean_ctor_get(x_132, 1); -x_144 = lean_ctor_get(x_132, 2); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_132); -x_145 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_134); -x_146 = lean_box(0); -if (lean_is_scalar(x_133)) { +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_139 = lean_ctor_get(x_129, 0); +x_140 = lean_ctor_get(x_129, 1); +x_141 = lean_ctor_get(x_129, 2); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_129); +x_142 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_131); +x_143 = lean_box(0); +if (lean_is_scalar(x_130)) { + x_144 = lean_alloc_ctor(0, 2, 0); +} else { + x_144 = x_130; +} +lean_ctor_set(x_144, 0, x_121); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_array_push(x_141, x_144); +x_146 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_146, 0, x_139); +lean_ctor_set(x_146, 1, x_140); +lean_ctor_set(x_146, 2, x_145); +if (lean_is_scalar(x_123)) { x_147 = lean_alloc_ctor(0, 2, 0); } else { - x_147 = x_133; + x_147 = x_123; + lean_ctor_set_tag(x_147, 0); } -lean_ctor_set(x_147, 0, x_124); -lean_ctor_set(x_147, 1, x_145); -x_148 = lean_array_push(x_144, x_147); -x_149 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_149, 0, x_142); -lean_ctor_set(x_149, 1, x_143); -lean_ctor_set(x_149, 2, x_148); -if (lean_is_scalar(x_126)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_126; - lean_ctor_set_tag(x_150, 0); -} -lean_ctor_set(x_150, 0, x_146); -lean_ctor_set(x_150, 1, x_149); -return x_150; +lean_ctor_set(x_147, 0, x_143); +lean_ctor_set(x_147, 1, x_146); +return x_147; } } } case 8: { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_dec_ref(x_3); lean_dec_ref(x_1); -x_165 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_165); -x_166 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_166); +x_162 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_162); +x_163 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_163); lean_dec_ref(x_2); -x_167 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__32; -x_168 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_165); -x_169 = lean_string_append(x_167, x_168); -lean_dec_ref(x_168); -x_170 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26; +x_164 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__32; +x_165 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_162); +x_166 = lean_string_append(x_164, x_165); +lean_dec_ref(x_165); +x_167 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26; +x_168 = lean_string_append(x_166, x_167); +x_169 = lean_string_append(x_168, x_163); +lean_dec_ref(x_163); +x_170 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27; x_171 = lean_string_append(x_169, x_170); -x_172 = lean_string_append(x_171, x_166); -lean_dec_ref(x_166); -x_173 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27; -x_174 = lean_string_append(x_172, x_173); -x_175 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_174, x_4); -lean_dec_ref(x_174); -return x_175; +x_172 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_171, x_4); +lean_dec_ref(x_171); +return x_172; } case 9: { -lean_object* x_176; lean_object* x_177; lean_object* x_178; size_t x_179; size_t x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_176 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_176); +lean_object* x_173; lean_object* x_174; lean_object* x_175; size_t x_176; size_t x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_173 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_173); lean_dec_ref(x_2); -x_177 = lean_box(0); -x_178 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); -lean_closure_set(x_178, 0, x_1); -lean_closure_set(x_178, 1, x_177); -x_179 = lean_array_size(x_176); -x_180 = 0; -x_181 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_176, x_178, x_179, x_180, x_177); -x_182 = lean_apply_2(x_181, x_3, x_4); -x_183 = !lean_is_exclusive(x_182); -if (x_183 == 0) +x_174 = lean_box(0); +x_175 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2); +lean_closure_set(x_175, 0, x_1); +lean_closure_set(x_175, 1, x_174); +x_176 = lean_array_size(x_173); +x_177 = 0; +x_178 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_173, x_175, x_176, x_177, x_174); +x_179 = lean_apply_2(x_178, x_3, x_4); +x_180 = !lean_is_exclusive(x_179); +if (x_180 == 0) { -lean_object* x_184; -x_184 = lean_ctor_get(x_182, 0); -lean_dec(x_184); -lean_ctor_set(x_182, 0, x_177); -return x_182; +lean_object* x_181; +x_181 = lean_ctor_get(x_179, 0); +lean_dec(x_181); +lean_ctor_set(x_179, 0, x_174); +return x_179; } else { -lean_object* x_185; lean_object* x_186; -x_185 = lean_ctor_get(x_182, 1); -lean_inc(x_185); -lean_dec(x_182); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_177); -lean_ctor_set(x_186, 1, x_185); -return x_186; +lean_object* x_182; lean_object* x_183; +x_182 = lean_ctor_get(x_179, 1); +lean_inc(x_182); +lean_dec(x_179); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_174); +lean_ctor_set(x_183, 1, x_182); +return x_183; } } default: { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_187 = lean_ctor_get(x_2, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_188); +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_184 = lean_ctor_get(x_2, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_185); lean_dec_ref(x_2); lean_inc_ref(x_1); -x_189 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg), 4, 1); -lean_closure_set(x_189, 0, x_1); -x_190 = lean_apply_5(x_1, x_189, x_187, x_188, x_3, x_4); -return x_190; +x_186 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg), 4, 1); +lean_closure_set(x_186, 0, x_1); +x_187 = lean_apply_5(x_1, x_186, x_184, x_185, x_3, x_4); +return x_187; } } } diff --git a/stage0/stdlib/Lean/DocString/Parser.c b/stage0/stdlib/Lean/DocString/Parser.c index 002e148a4d..cff95b1a3b 100644 --- a/stage0/stdlib/Lean/DocString/Parser.c +++ b/stage0/stdlib/Lean/DocString/Parser.c @@ -45,6 +45,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_code___lam__3(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Doc_Parser_blockOpener___lam__0___boxed__const__1; static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence___closed__2; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_textLine(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instReprUnorderedListType_repr___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkTarget_notRefEnd___lam__0___closed__0; @@ -204,7 +205,7 @@ LEAN_EXPORT lean_object* l_Option_repr___at___Lean_Doc_Parser_instReprBlockCtxt_ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence___closed__0; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_recoverBlockWith(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instBEqUnorderedListType_beq___boxed(lean_object*, lean_object*); lean_object* l_instDecidableEqChar___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock(lean_object*, lean_object*); @@ -315,7 +316,7 @@ lean_object* lean_string_length(lean_object*); static lean_object* l_Lean_Doc_Parser_text___closed__4; static lean_object* l_Lean_Doc_Parser_val___closed__9; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_codeBlock___lam__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnote(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__10(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_BlockCtxt_ctorIdx(lean_object*); @@ -329,7 +330,6 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_nu static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_closer___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_document___lam__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_stackSize(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_definitionList___lam__6(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__0___closed__2; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -386,7 +386,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnote___lam__1(lean_object*, lean_ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_descItem_colonFn___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_plus_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__8(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_Parser_blocks1___closed__0; lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_takeWhileEscFn___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -401,7 +400,6 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_re static lean_object* l_Lean_Doc_Parser_text___closed__2; static lean_object* l_Lean_Doc_Parser_header___lam__2___closed__0; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_Parser_blocks1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike_opener(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_delimitedInline___lam__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_BlockCtxt_ctorIdx___boxed(lean_object*); @@ -653,7 +651,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_toCtorIdx___boxed(l LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_codeFrom___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_normFn___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_ofNat___boxed(lean_object*); -static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_closeFence___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__4(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_errorFn___redArg(lean_object*, lean_object*); @@ -662,7 +659,7 @@ static lean_object* l_List_repr___at___Lean_Doc_Parser_instReprBlockCtxt_repr_sp LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkAnon___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_header___lam__10___closed__0; static lean_object* l_Lean_Doc_Parser_header___lam__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__0; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_instReprUnorderedListType_repr___closed__1; @@ -859,7 +856,6 @@ static lean_object* l_Lean_Doc_Parser_link___lam__0___closed__1; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_linkRef___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_instReprInList_repr___redArg___closed__12; -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_String_anyAux___at_____private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_descItem(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__2(lean_object*, lean_object*); @@ -922,6 +918,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_li LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instInhabitedInlineCtxt; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine___lam__1(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_nameAndArgs___lam__2(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_skip; lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*, lean_object*); @@ -941,7 +938,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_directive___lam__1___boxed(lean_objec LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkAnon(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_takeContentsFn___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ctorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ofNat___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_recoverEol(lean_object*, lean_object*, lean_object*); @@ -982,6 +979,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_InList_ctorIdx(lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_normFn___redArg___closed__4; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_role_bracketed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine(lean_object*, lean_object*); static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipRestOfLine___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_noConfusion___redArg___lam__0(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkTarget_url___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -991,6 +989,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_recoverBlock(lean_object*, lean_objec uint8_t l_List_elem___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_para___lam__2___closed__0; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_Parser_directive___lam__6___closed__0; LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_DocString_Parser_0__Lean_Doc_Parser_onlyBlockOpeners_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_metadataBlock___lam__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -1001,6 +1000,7 @@ LEAN_EXPORT lean_object* l_Sum_repr___at___Lean_Doc_Parser_instReprInList_repr_s static lean_object* l_Lean_Doc_Parser_blockOpener___lam__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_withCurrentStackSize(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine___lam__0(uint32_t); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkIdent___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__4(lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_lookaheadUnorderedListIndicator___closed__1; @@ -1154,6 +1154,7 @@ LEAN_EXPORT uint8_t l_Option_instBEq_beq___at_____private_Lean_DocString_Parser_ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Parser_directive___closed__0; static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_pushColumn___closed__1; +static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0; static lean_object* l_Lean_Doc_Parser_math___lam__3___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1163,6 +1164,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_sk LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bolThen(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_orderedList___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___Lean_Doc_Parser_instReprBlockCtxt_repr_spec__1___redArg___closed__4; static lean_object* l_Lean_Doc_Parser_math___lam__3___closed__0; @@ -1224,6 +1226,7 @@ static lean_object* l_Lean_Doc_Parser_linkRef___closed__4; static lean_object* l_Lean_Doc_Parser_directive___lam__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instBEqOrderedListType; LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_withParens___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_guardOpenerSize___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -5136,6 +5139,45 @@ lean_dec_ref(x_1); return x_3; } } +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parser_eoiFn(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0; +x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed), 2, 0); +x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine___closed__3; +x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2); +lean_closure_set(x_6, 0, x_5); +lean_closure_set(x_6, 1, x_4); +x_7 = 0; +x_8 = lean_box(x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_asStringFn___boxed), 5, 3); +lean_closure_set(x_9, 0, x_6); +lean_closure_set(x_9, 1, x_8); +lean_closure_set(x_9, 2, x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Parser_atomicFn), 3, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = l_Lean_Doc_Parser_ignoreFn(x_10, x_1, x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(x_1, x_2); +lean_dec_ref(x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bullet_go___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -10239,14 +10281,6 @@ x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_pushMissing___redArg( return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Parser_eoiFn(x_1, x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -10261,7 +10295,7 @@ x_8 = l_Lean_Parser_andthenFn(x_7, x_2, x_3, x_4); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -10284,7 +10318,7 @@ x_13 = l_Lean_Parser_atomicFn(x_12, x_4, x_5); return x_13; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -10298,32 +10332,40 @@ lean_dec(x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed), 3, 1); +x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 3, 1); lean_closure_set(x_5, 0, x_2); x_6 = l_Lean_Parser_andthenFn(x_5, x_1, x_3, x_4); return x_6; } } +static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed), 2, 0); +return x_1; +} +} LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__0___boxed), 1, 0); x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__1___boxed), 2, 0); -x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 2, 0); +x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__4), 4, 2); lean_closure_set(x_7, 0, x_6); lean_closure_set(x_7, 1, x_5); x_8 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0; -x_9 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6), 5, 3); +x_9 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5), 5, 3); lean_closure_set(x_9, 0, x_4); lean_closure_set(x_9, 1, x_8); lean_closure_set(x_9, 2, x_7); -x_10 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5), 4, 1); +x_10 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3), 4, 1); lean_closure_set(x_10, 0, x_9); x_11 = l_Lean_Parser_recoverFn(x_1, x_10, x_2, x_3); return x_11; @@ -10349,20 +10391,11 @@ lean_dec_ref(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(x_1, x_2); -lean_dec_ref(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(x_1, x_2, x_3); +x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(x_1, x_2, x_3); lean_dec_ref(x_2); return x_4; } @@ -12377,14 +12410,6 @@ return x_1; static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__0; x_2 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed), 2, 0); @@ -12394,12 +12419,12 @@ lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3() { +static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_opener___closed__0; -x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2; +x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bolThen), 4, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -12410,14 +12435,14 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_me _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; +x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___lam__3), 3, 1); lean_closure_set(x_4, 0, x_3); x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed), 2, 0); x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2); lean_closure_set(x_6, 0, x_5); lean_closure_set(x_6, 1, x_4); -x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3; +x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2; x_8 = l_Lean_Parser_andthenFn(x_7, x_6, x_1, x_2); return x_8; } @@ -15205,6 +15230,38 @@ lean_dec_ref(x_3); return x_6; } } +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine), 2, 0); +x_4 = l_Lean_Parser_optionalFn(x_3, x_1, x_2); +return x_4; +} +} +static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0), 2, 0); +x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0; +x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2); +lean_closure_set(x_5, 0, x_4); +lean_closure_set(x_5, 1, x_3); +x_6 = l_Lean_Doc_Parser_ignoreFn(x_5, x_1, x_2); +return x_6; +} +} LEAN_EXPORT uint8_t l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___lam__0(uint32_t x_1) { _start: { @@ -15892,7 +15949,7 @@ _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0; -x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; +x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_closeFence___lam__3), 4, 2); lean_closure_set(x_7, 0, x_5); lean_closure_set(x_7, 1, x_6); @@ -16660,7 +16717,7 @@ _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0; -x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; +x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_closeFence___lam__2), 4, 2); lean_closure_set(x_7, 0, x_5); lean_closure_set(x_7, 1, x_6); @@ -17539,7 +17596,7 @@ lean_closure_set(x_10, 2, x_7); x_11 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__0), 3, 1); lean_closure_set(x_11, 0, x_10); x_12 = l_Lean_Doc_Parser_linkRef___closed__2; -x_13 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; +x_13 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_14 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0; x_15 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__8), 4, 2); lean_closure_set(x_15, 0, x_14); @@ -18175,7 +18232,7 @@ static lean_object* _init_l_Lean_Doc_Parser_block__command___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1; +x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0; x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0; x_3 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__8), 4, 2); lean_closure_set(x_3, 0, x_2); @@ -18436,26 +18493,6 @@ x_9 = l_Lean_Parser_nodeFn(x_6, x_8, x_2, x_3); return x_9; } } -static lean_object* _init_l_Lean_Doc_Parser_blocks1___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine), 2, 0); -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Doc_Parser_blocks1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_Parser_blocks1___closed__0; -x_2 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_ignoreFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Doc_Parser_blocks1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -18463,7 +18500,7 @@ uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = 1; x_5 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_block), 3, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Doc_Parser_blocks1___closed__1; +x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep), 2, 0); x_7 = l_Lean_Parser_sepBy1Fn(x_4, x_5, x_6, x_2, x_3); return x_7; } @@ -18766,7 +18803,7 @@ uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = 1; x_5 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_block), 3, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Doc_Parser_blocks1___closed__1; +x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep), 2, 0); x_7 = l_Lean_Parser_sepByFn(x_4, x_5, x_6, x_2, x_3); return x_7; } @@ -19012,11 +19049,21 @@ x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFencePo return x_6; } } +static lean_object* _init_l_Lean_Doc_Parser_directive___lam__6___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0; +x_2 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_ignoreFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_Parser_directive___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Doc_Parser_blocks1___closed__1; +x_4 = l_Lean_Doc_Parser_directive___lam__6___closed__0; x_5 = l_Lean_Parser_andthenFn(x_4, x_1, x_2, x_3); return x_5; } @@ -19536,7 +19583,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_descItem___lam__1(lean_object* x_1, l _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_7 = l_Lean_Doc_Parser_blocks1___closed__0; +x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0; x_8 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__0), 3, 1); lean_closure_set(x_8, 0, x_7); x_9 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__3), 6, 4); @@ -19549,7 +19596,7 @@ lean_closure_set(x_10, 0, x_4); lean_closure_set(x_10, 1, x_9); x_11 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__4), 3, 1); lean_closure_set(x_11, 0, x_10); -x_12 = l_Lean_Doc_Parser_blocks1___closed__1; +x_12 = l_Lean_Doc_Parser_directive___lam__6___closed__0; x_13 = l_Lean_Parser_andthenFn(x_12, x_11, x_5, x_6); return x_13; } @@ -20113,7 +20160,7 @@ _start: lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_document___lam__0), 3, 1); lean_closure_set(x_4, 0, x_1); -x_5 = l_Lean_Doc_Parser_blocks1___closed__1; +x_5 = l_Lean_Doc_Parser_directive___lam__6___closed__0; x_6 = l_Lean_Parser_andthenFn(x_5, x_4, x_2, x_3); return x_6; } @@ -20511,6 +20558,8 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__ lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__3___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0(); lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0); +l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0(); +lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0(); lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__1 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__1(); @@ -20621,8 +20670,6 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___clos lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2(); lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2); -l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3(); -lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3); l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0 = _init_l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0(); lean_mark_persistent(l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0); l_Lean_Doc_Parser_metadataBlock___closed__0 = _init_l_Lean_Doc_Parser_metadataBlock___closed__0(); @@ -20769,6 +20816,8 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___ lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1(); lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1); +l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0(); +lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0(); lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0); l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_block__command_intro___lam__2___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_block__command_intro___lam__2___closed__0(); @@ -20920,10 +20969,6 @@ l_Lean_Doc_Parser_listItem___closed__0 = _init_l_Lean_Doc_Parser_listItem___clos lean_mark_persistent(l_Lean_Doc_Parser_listItem___closed__0); l_Lean_Doc_Parser_listItem___closed__1 = _init_l_Lean_Doc_Parser_listItem___closed__1(); lean_mark_persistent(l_Lean_Doc_Parser_listItem___closed__1); -l_Lean_Doc_Parser_blocks1___closed__0 = _init_l_Lean_Doc_Parser_blocks1___closed__0(); -lean_mark_persistent(l_Lean_Doc_Parser_blocks1___closed__0); -l_Lean_Doc_Parser_blocks1___closed__1 = _init_l_Lean_Doc_Parser_blocks1___closed__1(); -lean_mark_persistent(l_Lean_Doc_Parser_blocks1___closed__1); l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1 = _init_l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1(); lean_mark_persistent(l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1); l_Lean_Doc_Parser_blockquote___lam__3___closed__0 = _init_l_Lean_Doc_Parser_blockquote___lam__3___closed__0(); @@ -20942,6 +20987,8 @@ l_Lean_Doc_Parser_directive___lam__1___boxed__const__1 = _init_l_Lean_Doc_Parser lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__1___boxed__const__1); l_Lean_Doc_Parser_directive___lam__3___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__3___closed__0(); lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__3___closed__0); +l_Lean_Doc_Parser_directive___lam__6___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__6___closed__0(); +lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__6___closed__0); l_Lean_Doc_Parser_directive___lam__7___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__7___closed__0(); lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__7___closed__0); l_Lean_Doc_Parser_directive___lam__11___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__11___closed__0(); diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 0de075135d..9bc8fb8b8a 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -24,9 +24,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf_ LEAN_EXPORT lean_object* l_Lean_withEnv___at___Lean_Elab_Command_elabCheckCore_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSetOption___closed__0; static lean_object* l_Lean_Elab_Command_elabOmit___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__3_spec__3___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Elab_Command_elabOmit_spec__12___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__12; LEAN_EXPORT lean_object* l_Lean_setDelimitsLocal___at___Lean_Elab_Command_elabEndLocalScope_spec__0___boxed(lean_object*, lean_object*, lean_object*); @@ -37,6 +36,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___lam__1(lean_object*, le static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20___redArg___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScopeName_x3f___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___lam__0___closed__1; +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExport(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__22(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSynth___lam__1___closed__1; @@ -47,7 +47,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___Lean_Elab_addDeclarationRangesFromSyntax___at___Lean_Elab_Command_elabAddDeclDoc_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__6; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__13; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEnd___regBuiltin_Lean_Elab_Command_elabEnd_declRange__3___closed__6; @@ -105,6 +104,7 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_el LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Elab_Command_elabSynth_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__30_spec__30___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,15 +142,16 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4_spec__4_spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_header(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEoi___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_Command_elabCheckCore_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDumpAsyncEnvState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes_go___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse_declRange__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__3___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDocsToVerso___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__17_spec__17___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_containsId_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -160,6 +161,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEoi___regBuiltin_Lean_Elab_Command_elabEoi_declRange__3(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabWhere(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__28_spec__28(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -213,8 +215,10 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_el LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitQuot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_Command_elabCheckCore_spec__7_spec__7___boxed(lean_object**); extern uint8_t l_System_Platform_isOSX; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabExport___regBuiltin_Lean_Elab_Command_elabExport__1___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Elab_Command_elabOmit_spec__15_spec__15___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabReduce___closed__1; @@ -228,10 +232,8 @@ static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionV LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__13_spec__13___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_Elab_Command_elabWithExporting_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck__1___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabOmit_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEndLocalScope___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__3___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,21 +252,19 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_el LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__26_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__0(lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; lean_object* l_Lean_MessageData_hint_x27(lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___Lean_Elab_Command_elabModuleDoc_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addCompletionInfo___at___Lean_Elab_Command_elabCheckCore_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Elab_Command_elabSynth_spec__0_spec__0___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__30___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDumpAsyncEnvState___regBuiltin_Lean_Elab_Command_elabDumpAsyncEnvState__1___closed__0; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12; -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Elab_Command_elabCheckCore_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Elab_Command_elabWhere_spec__2(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -287,6 +287,7 @@ LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Elab_Command_elabExit_spe static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEoi___regBuiltin_Lean_Elab_Command_elabEoi_declRange__3___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at___Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4_spec__6___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_pushScope___redArg(lean_object*, lean_object*); @@ -343,7 +344,6 @@ static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionV static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__3; extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__7_spec__7___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*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce_go___lam__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -351,7 +351,6 @@ lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_findSuffixWithPrefix___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_pushScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEnd(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInclude___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__1; @@ -359,7 +358,7 @@ uint8_t l_List_isEmpty___redArg(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd_declRange__3___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabOmit_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_note(lean_object*); @@ -423,9 +422,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore(uint8_t, lean_object* lean_object* l_Lean_Environment_registerNamespace(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4___closed__1; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabInclude_spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6_spec__7_spec__7_spec__7___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -443,6 +444,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDec LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__13_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___Lean_Elab_Command_elabCheckCore_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse__1___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Syntax_foldArgsM___at___Lean_Syntax_forArgsM___at___Lean_Elab_Command_elabUniverse_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -466,7 +468,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT uint8_t l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_containsId(lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen_declRange__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_reprFast(lean_object*); @@ -474,9 +475,10 @@ LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___Lean_Elab_addDeclarationRangesFromSyntax___at___Lean_Elab_Command_elabAddDeclDoc_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSection___regBuiltin_Lean_Elab_Command_elabSection_declRange__3___closed__4; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_signature(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd__1___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_setDelimitsLocal___at___Lean_Elab_Command_elabEndLocalScope_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -514,8 +516,10 @@ LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_logExc static lean_object* l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__3; extern lean_object* l_Lean_Elab_Command_instInhabitedScope_default; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption_declRange__3___closed__3; +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen__1___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabInclude_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck_declRange__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_popScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes_spec__0___boxed(lean_object*, lean_object*, lean_object*); @@ -526,15 +530,18 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__3; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabInclude_spec__0_spec__0___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwUnnecessaryScopeName___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__4; +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen_declRange__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEndLocalScope(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at___Lean_Elab_Command_elabInclude_spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Command_elabOmit_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__3(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__3___closed__6; @@ -543,12 +550,14 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierA static lean_object* l_List_foldl___at___List_toString___at___Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4_spec__6_spec__6___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3(lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__5; +lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__4; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10; static lean_object* l_Lean_Elab_Command_elabSection___closed__2; -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__12; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; static lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__12; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___closed__0; @@ -570,8 +579,6 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_th LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___lam__0___closed__0; static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__0; -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2; lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Array_empty(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -581,17 +588,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInCmd(lean_object*, lean_obje LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDumpAsyncEnvState___regBuiltin_Lean_Elab_Command_elabDumpAsyncEnvState__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSection(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_logException___at___Lean_Elab_Command_failIfSucceeds_spec__0_spec__2_spec__2(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__5; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__3___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheckFailure___regBuiltin_Lean_Elab_Command_elabCheckFailure__1___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at___Lean_Elab_Command_elabInclude_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEoi___regBuiltin_Lean_Elab_Command_elabEoi__1___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEnd___regBuiltin_Lean_Elab_Command_elabEnd_declRange__3___closed__1; +LEAN_EXPORT uint8_t l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___Lean_Elab_Command_elabModuleDoc_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__3___closed__0; @@ -616,8 +623,8 @@ static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___L LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabExport___regBuiltin_Lean_Elab_Command_elabExport__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6___redArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_versionString; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_pushScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__19_spec__19___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -631,6 +638,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEndLocalScope___redArg___boxed( LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__13_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3___closed__5; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_pushScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEnd___regBuiltin_Lean_Elab_Command_elabEnd__1___closed__1; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -644,23 +652,27 @@ LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_logException___at___Le lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabVersion___regBuiltin_Lean_Elab_Command_elabVersion__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_failIfSucceeds___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__1___redArg___closed__2; lean_object* l_Lean_addMainModuleDoc(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__9; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice__1___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__7; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__17_spec__17___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce_declRange__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withFreshMacroScope___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___Lean_Elab_Command_elabModuleDoc_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -674,7 +686,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__20_spec__20___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkSingleScopeReplacementHint_x3f___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__1___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth_declRange__3___closed__5; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabExport___regBuiltin_Lean_Elab_Command_elabExport_declRange__3___closed__4; @@ -693,6 +704,7 @@ static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_th LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__3_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Elab_Command_elabOmit_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce_go___lam__2___closed__0; +lean_object* l_Lean_makeDocStringVerso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd_declRange__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at___List_filterTR_loop___at___Lean_Elab_Command_elabInclude_spec__4_spec__4(lean_object*, uint8_t, lean_object*, lean_object*); @@ -708,9 +720,7 @@ lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabVariable___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2; lean_object* l_Lean_getOptionDecls(lean_object*); lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -757,7 +767,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEndLocalScope___regBuiltin_Lean_Elab_Command_elabEndLocalScope__1___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__10_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption_declRange__3___closed__1; LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___Lean_Elab_addDeclarationRangesFromSyntax___at___Lean_Elab_Command_elabAddDeclDoc_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__7; @@ -776,7 +785,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_get_stderr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce__1___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__26_spec__26___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -809,10 +817,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l_Lean_Elab_Command_elabCheckCore___lam__1___closed__0; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce__1___closed__0; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6; lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadLiftBaseIOEIO___lam__0(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11; LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Elab_Command_elabOmit_spec__6_spec__6___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckCore___lam__3___closed__1; static lean_object* l_List_toString___at___Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4_spec__6___closed__1; @@ -858,9 +865,9 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_Elab_Builti LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__0___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__4; -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabWhere_spec__0(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabExit___regBuiltin_Lean_Elab_Command_elabExit__1___closed__0; @@ -868,7 +875,6 @@ static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__0; LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_Command_elabVersion_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l_System_Platform_isEmscripten; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_hint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse_declRange__3(lean_object*); @@ -903,22 +909,25 @@ static lean_object* l_Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOp LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabAddDeclDoc___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__3(lean_object*); lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2; lean_object* l_Array_mkArray2___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__7; static lean_object* l_Lean_Elab_Command_elabExport___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__18; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__15; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__1___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption_declRange__3___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__9_spec__9(uint8_t, uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___lam__0___closed__7; lean_object* l_Lean_Elab_realizeGlobalConstWithInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDocsToVerso(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__10; lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); lean_object* lean_add_alias(lean_object*, lean_object*, lean_object*); @@ -954,7 +963,6 @@ lean_object* l_StateRefT_x27_lift___boxed(lean_object*, lean_object*, lean_objec uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck_declRange__3___closed__5; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___lam__0___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce_declRange__3___closed__4; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__1___redArg___closed__1; @@ -966,6 +974,7 @@ LEAN_EXPORT lean_object* l_Lean_pushScope___at_____private_Lean_Elab_BuiltinComm LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__20_spec__20___redArg(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___closed__0; lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Command_elabOmit_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__17_spec__17___closed__1; @@ -978,7 +987,6 @@ lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lea LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_nameOfScopes___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabOmit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__0; static uint8_t l_Lean_Elab_Command_elabVersion___redArg___closed__14; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__20_spec__20___closed__3; @@ -1007,11 +1015,11 @@ static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_ static lean_object* l_Lean_Elab_Command_elabSection___closed__6; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkSingleScopeReplacementHint_x3f___closed__2; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__1(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3___closed__2; lean_object* l_Array_eraseIdx___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen_declRange__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__17; static lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Elab_Command_elabCheckCore_spec__7_spec__7___redArg___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabAddDeclDoc___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__3___closed__2; @@ -1027,7 +1035,6 @@ static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionV static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth__1___closed__0; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__4; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__21___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__10; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__16_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1036,7 +1043,6 @@ static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEndLocalScope___regBuiltin_Lean_Elab_Command_elabEndLocalScope__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwNoScope___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScopeName_x3f___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__14___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot__1___closed__0; @@ -1047,9 +1053,11 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___lam__0___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabAddDeclDoc___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__3___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__17_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___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_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabImport___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -1085,6 +1093,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__19___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere___regBuiltin_Lean_Elab_Command_elabWhere__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce_go___lam__1(lean_object*, lean_object*, uint8_t, 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_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwNoScope___closed__5; @@ -1098,6 +1107,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_eprint___at___IO_eprintln___at___Lean_Elab_Command_elabDumpAsyncEnvState_spec__0_spec__0(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce_declRange__3___closed__2; +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__3___closed__2; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__5_spec__5___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1126,9 +1136,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice_declRange__3___closed__2; -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1; LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheckFailure___regBuiltin_Lean_Elab_Command_elabCheckFailure__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_findFinIdx_x3f_loop(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1160,10 +1170,10 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_forArgsM___at___Lean_Elab_Command_elabUni static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEoi___regBuiltin_Lean_Elab_Command_elabEoi__1___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0; static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__6; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice_declRange__3___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1189,8 +1199,8 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSection___regBuiltin_Lean_Elab_Command_elabSection__1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instBEqBinderInfo_beq(uint8_t, uint8_t); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot__1___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabExit___regBuiltin_Lean_Elab_Command_elabExit_declRange__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__21___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); @@ -1214,7 +1224,8 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_th uint64_t l_Lean_instHashableFVarId_hash(lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce___regBuiltin_Lean_Elab_Command_elabReduce_declRange__3___closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck_declRange__3___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck_declRange__3(lean_object*); @@ -1245,10 +1256,8 @@ static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__3; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Elab_Command_elabSynth_spec__0_spec__0___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_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5; static lean_object* l_Lean_Elab_Command_elabVariable___closed__1; lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___redArg(lean_object*, lean_object*); @@ -1260,14 +1269,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude___lam__0(lean_object*, lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Elab_Command_elabOmit_spec__15_spec__15(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__17; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4; lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDumpAsyncEnvState___regBuiltin_Lean_Elab_Command_elabDumpAsyncEnvState__1___closed__3; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__2; uint64_t lean_uint64_shift_left(uint64_t, uint64_t); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabNamespace___regBuiltin_Lean_Elab_Command_elabNamespace_declRange__3___closed__3; -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0; uint8_t l_Lean_isPrivateName(lean_object*); static lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls_spec__2_spec__2___redArg___closed__3; uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); @@ -1278,6 +1286,7 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_el static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabVariable___regBuiltin_Lean_Elab_Command_elabVariable_declRange__3___closed__1; LEAN_EXPORT lean_object* l_Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__10; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabImport___regBuiltin_Lean_Elab_Command_elabImport_declRange__3___closed__6; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__16; @@ -1302,6 +1311,7 @@ lean_object* l_Lean_Name_getString_x21(lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at___Lean_Elab_Command_elabInclude_spec__2_spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1(lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckCore___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth_declRange__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__16_spec__16___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1314,7 +1324,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l_Lean_Elab_Command_elabInclude___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls_spec__2_spec__2___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Elab_Command_elabCheckCore_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_forArgsM___at___Lean_Elab_Command_elabUniverse_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabWhere___redArg___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen__1(lean_object*); @@ -1322,7 +1334,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lam__1___boxed(lean static lean_object* l_Lean_Elab_Command_elabOpen___closed__1; uint8_t l_Lean_instBEqInternalExceptionId_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabModuleDoc(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheckFailure___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange__3___closed__6; static lean_object* l_Lean_Elab_Command_elabVariable___closed__0; lean_object* l_instMonadLiftT___lam__0___boxed(lean_object*, lean_object*); @@ -1338,7 +1349,6 @@ size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Elab_Command_elabOmit_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkSingleScopeReplacementHint_x3f___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen_declRange__3___closed__4; static lean_object* l_Lean_Elab_Command_elabSection___closed__8; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___closed__0; @@ -1365,6 +1375,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l_Lean_Elab_Command_elabWhere___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Elab_Command_elabOmit_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabExit___redArg___closed__1; lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); @@ -1378,6 +1389,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Com LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Elab_Command_elabCheckCore_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabAddDeclDoc___regBuiltin_Lean_Elab_Command_elabAddDeclDoc__1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__32_spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1394,7 +1406,6 @@ static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__18; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice_declRange__3___closed__5; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabOmit_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1407,7 +1418,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe LEAN_EXPORT lean_object* l_Lean_Syntax_foldArgsM___at___Lean_Syntax_forArgsM___at___Lean_Elab_Command_elabUniverse_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse_declRange__3___closed__3; lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_popScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1428,9 +1438,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Elab_Command_elabVersion_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabNamespace___regBuiltin_Lean_Elab_Command_elabNamespace__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__2; static lean_object* l_Lean_Elab_Command_elabSection___closed__12; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheck___regBuiltin_Lean_Elab_Command_elabCheck_declRange__3___closed__6; @@ -1439,10 +1449,10 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Elab_lo LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__0___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__5_spec__5___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd__1___closed__0; lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabAddDeclDoc___regBuiltin_Lean_Elab_Command_elabAddDeclDoc__1___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_setDelimitsLocal___at___Lean_Elab_Command_elabEndLocalScope_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1452,6 +1462,8 @@ static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabOmit___lam__1(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Environment_dbgFormatAsyncState(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Elab_Command_elabSynth_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabOpen___regBuiltin_Lean_Elab_Command_elabOpen_declRange__3___closed__5; static lean_object* l_Lean_Elab_Command_elabWhere___redArg___closed__1; @@ -1480,17 +1492,19 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Elab_Command_elabModule LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_Elab_Command_elabWithExporting_spec__0___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSynth___regBuiltin_Lean_Elab_Command_elabSynth_declRange__3(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_logException___at___Lean_Elab_Command_failIfSucceeds_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_nameOfScopes(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSection___regBuiltin_Lean_Elab_Command_elabSection_declRange__3___closed__0; static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__0; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__8; +LEAN_EXPORT lean_object* l_List_beq___at___Lean_Elab_Command_elabExport_spec__29___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope(uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabNamespace___regBuiltin_Lean_Elab_Command_elabNamespace_declRange__3___closed__4; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSection___regBuiltin_Lean_Elab_Command_elabSection_declRange__3___closed__1; uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabOmit___lam__0___closed__0; static lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___closed__6; @@ -1510,14 +1524,13 @@ lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_popScope___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__10_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_System_Platform_target; lean_object* l_Lean_Elab_Term_elabBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_expandInCmd___regBuiltin_Lean_Elab_Command_expandInCmd_declRange__3(lean_object*); static lean_object* l_Lean_Elab_Command_elabWhere___redArg___closed__5; -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__5; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabCheckFailure___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange__3___closed__1; LEAN_EXPORT lean_object* l_Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1530,6 +1543,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_resolveUniqueNamesp lean_object* l_String_toSubstring_x27(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEnd___regBuiltin_Lean_Elab_Command_elabEnd_declRange__3___closed__5; static lean_object* l_Lean_Elab_Command_elabVersion___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwUnnecessaryScopeName___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabVariable_spec__2_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -1542,13 +1556,13 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__14(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1___redArg___lam__0___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabVariable_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_drop___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__4; +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwScopeNameMismatch___closed__3; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwUnnecessaryScopeName___closed__7; uint8_t l_Lean_Expr_isSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabOmit_spec__14___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1564,9 +1578,10 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l_Lean_Elab_Command_elabExit___redArg___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__6; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabReduce_go(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_beq___at___Lean_Elab_Command_elabExport_spec__39___boxed(lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Command_failIfSucceeds___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOpenDecls___closed__3; @@ -1578,14 +1593,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma lean_object* l_IO_instMonadLiftSTRealWorldBaseIO___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabEoi___regBuiltin_Lean_Elab_Command_elabEoi_declRange__3___closed__3; LEAN_EXPORT lean_object* l_List_filterTR_loop___at___Lean_Elab_Command_elabInclude_spec__4(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__24_spec__24___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoice___regBuiltin_Lean_Elab_Command_elabChoice_declRange__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSection___regBuiltin_Lean_Elab_Command_elabSection_declRange__3___closed__6; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabNamespace___regBuiltin_Lean_Elab_Command_elabNamespace_declRange__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwTooManyScopeComponents___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveUniqueNamespace___at___Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0_spec__4___closed__0; uint8_t l_Lean_MessageLog_hasErrors(lean_object*); static uint8_t l_Lean_Elab_Command_elabVersion___redArg___closed__11; @@ -9430,6 +9446,1786 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_unknownIdentifierMessageTag; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0; +x_7 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`.", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from `", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_18; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_ctor_get(x_8, 0); +lean_inc_ref(x_10); +lean_dec(x_8); +x_18 = l_Lean_Name_isAnonymous(x_2); +if (x_18 == 0) +{ +uint8_t x_19; +x_19 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); +if (x_19 == 0) +{ +lean_dec_ref(x_10); +lean_free_object(x_6); +lean_dec(x_2); +goto block_17; +} +else +{ +lean_object* x_20; uint8_t x_21; +lean_inc_ref(x_10); +x_20 = l_Lean_Environment_setExporting(x_10, x_18); +lean_inc(x_2); +lean_inc_ref(x_20); +x_21 = l_Lean_Environment_contains(x_20, x_2, x_19); +if (x_21 == 0) +{ +lean_dec_ref(x_20); +lean_dec_ref(x_10); +lean_free_object(x_6); +lean_dec(x_2); +goto block_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__3; +x_23 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__7; +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_25, 3, x_24); +lean_inc(x_2); +x_26 = l_Lean_MessageData_ofConstName(x_2, x_18); +lean_ctor_set_tag(x_6, 3); +lean_ctor_set(x_6, 1, x_26); +lean_ctor_set(x_6, 0, x_25); +x_27 = l_Lean_Environment_getModuleIdxFor_x3f(x_10, x_2); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec_ref(x_10); +lean_dec(x_2); +x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_6); +x_30 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_MessageData_note(x_31); +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_32); +x_11 = x_33; +goto block_14; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec_ref(x_27); +x_35 = lean_box(0); +x_36 = l_Lean_Environment_header(x_10); +lean_dec_ref(x_10); +x_37 = l_Lean_EnvironmentHeader_moduleNames(x_36); +x_38 = lean_array_get(x_35, x_37, x_34); +lean_dec(x_34); +lean_dec_ref(x_37); +x_39 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_40 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_6); +x_42 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_MessageData_ofName(x_38); +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_MessageData_note(x_47); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set(x_49, 1, x_48); +x_11 = x_49; +goto block_14; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_50 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_6); +x_52 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_MessageData_ofName(x_38); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_MessageData_note(x_57); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_1); +lean_ctor_set(x_59, 1, x_58); +x_11 = x_59; +goto block_14; +} +} +} +} +} +else +{ +lean_dec_ref(x_10); +lean_free_object(x_6); +lean_dec(x_2); +goto block_17; +} +block_14: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(x_11, x_12, x_3, x_4, x_9); +return x_13; +} +block_17: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(x_1, x_15, x_3, x_4, x_9); +return x_16; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_70; +x_60 = lean_ctor_get(x_6, 0); +x_61 = lean_ctor_get(x_6, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_6); +x_62 = lean_ctor_get(x_60, 0); +lean_inc_ref(x_62); +lean_dec(x_60); +x_70 = l_Lean_Name_isAnonymous(x_2); +if (x_70 == 0) +{ +uint8_t x_71; +x_71 = lean_ctor_get_uint8(x_62, sizeof(void*)*8); +if (x_71 == 0) +{ +lean_dec_ref(x_62); +lean_dec(x_2); +goto block_69; +} +else +{ +lean_object* x_72; uint8_t x_73; +lean_inc_ref(x_62); +x_72 = l_Lean_Environment_setExporting(x_62, x_70); +lean_inc(x_2); +lean_inc_ref(x_72); +x_73 = l_Lean_Environment_contains(x_72, x_2, x_71); +if (x_73 == 0) +{ +lean_dec_ref(x_72); +lean_dec_ref(x_62); +lean_dec(x_2); +goto block_69; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_74 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__3; +x_75 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__7; +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_74); +lean_ctor_set(x_77, 2, x_75); +lean_ctor_set(x_77, 3, x_76); +lean_inc(x_2); +x_78 = l_Lean_MessageData_ofConstName(x_2, x_70); +x_79 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Environment_getModuleIdxFor_x3f(x_62, x_2); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec_ref(x_62); +lean_dec(x_2); +x_81 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; +x_82 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_79); +x_83 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; +x_84 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_MessageData_note(x_84); +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_1); +lean_ctor_set(x_86, 1, x_85); +x_63 = x_86; +goto block_66; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_80, 0); +lean_inc(x_87); +lean_dec_ref(x_80); +x_88 = lean_box(0); +x_89 = l_Lean_Environment_header(x_62); +lean_dec_ref(x_62); +x_90 = l_Lean_EnvironmentHeader_moduleNames(x_89); +x_91 = lean_array_get(x_88, x_90, x_87); +lean_dec(x_87); +lean_dec_ref(x_90); +x_92 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_93 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_79); +x_95 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7; +x_96 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_MessageData_ofName(x_91); +x_98 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9; +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_MessageData_note(x_100); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_1); +lean_ctor_set(x_102, 1, x_101); +x_63 = x_102; +goto block_66; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_103 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_79); +x_105 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11; +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_MessageData_ofName(x_91); +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13; +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_MessageData_note(x_110); +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_1); +lean_ctor_set(x_112, 1, x_111); +x_63 = x_112; +goto block_66; +} +} +} +} +} +else +{ +lean_dec_ref(x_62); +lean_dec(x_2); +goto block_69; +} +block_66: +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_box(0); +x_65 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(x_63, x_64, x_3, x_4, x_61); +return x_65; +} +block_69: +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +x_68 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(x_1, x_67, x_3, x_4, x_61); +return x_68; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec_ref(x_7); +x_10 = l_Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1___redArg(x_1, x_8, x_4, x_5, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_6 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1; +x_7 = 0; +lean_inc(x_2); +x_8 = l_Lean_MessageData_ofConstName(x_2, x_7); +x_9 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_10 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__14; +x_11 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_11, x_2, x_3, x_4, x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_getRef___redArg(x_2, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec_ref(x_5); +x_8 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_6, x_1, x_2, x_3, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec_ref(x_2); +lean_dec(x_1); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_5); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc_ref(x_9); +lean_dec(x_7); +x_10 = 0; +lean_inc(x_1); +x_11 = l_Lean_Environment_findConstVal_x3f(x_9, x_1, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_free_object(x_5); +x_12 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_8); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec_ref(x_2); +lean_dec(x_1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec_ref(x_11); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_5, 0); +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_5); +x_16 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_16); +lean_dec(x_14); +x_17 = 0; +lean_inc(x_1); +x_18 = l_Lean_Environment_findConstVal_x3f(x_16, x_1, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_15); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec_ref(x_2); +lean_dec(x_1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec_ref(x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___redArg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_mkLevelParam(x_5); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_7); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Lean_mkLevelParam(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_2); +x_1 = x_10; +x_2 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +lean_inc(x_1); +x_5 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_box(0); +x_10 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(x_8, x_9); +x_11 = l_Lean_mkConst(x_1, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_5); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(x_14, x_15); +x_17 = l_Lean_mkConst(x_1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_5); +if (x_19 == 0) +{ +return x_5; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_5, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_5); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_st_ref_get(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 8); +lean_inc_ref(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*3); +lean_dec_ref(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec_ref(x_1); +x_8 = !lean_is_exclusive(x_4); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 0); +lean_dec(x_9); +x_10 = lean_box(0); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec_ref(x_4); +x_15 = lean_st_ref_take(x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 8); +lean_inc_ref(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec_ref(x_15); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_16, 8); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_17, 2); +x_23 = l_Lean_PersistentArray_push___redArg(x_22, x_1); +lean_ctor_set(x_17, 2, x_23); +x_24 = lean_st_ref_set(x_2, x_16, x_18); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +x_27 = lean_box(0); +lean_ctor_set(x_24, 0, x_27); +return x_24; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +x_32 = lean_ctor_get(x_17, 0); +x_33 = lean_ctor_get(x_17, 1); +x_34 = lean_ctor_get(x_17, 2); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_17); +x_35 = l_Lean_PersistentArray_push___redArg(x_34, x_1); +x_36 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_35); +lean_ctor_set_uint8(x_36, sizeof(void*)*3, x_31); +lean_ctor_set(x_16, 8, x_36); +x_37 = lean_st_ref_set(x_2, x_16, x_18); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_42 = lean_ctor_get(x_16, 0); +x_43 = lean_ctor_get(x_16, 1); +x_44 = lean_ctor_get(x_16, 2); +x_45 = lean_ctor_get(x_16, 3); +x_46 = lean_ctor_get(x_16, 4); +x_47 = lean_ctor_get(x_16, 5); +x_48 = lean_ctor_get(x_16, 6); +x_49 = lean_ctor_get(x_16, 7); +x_50 = lean_ctor_get(x_16, 9); +x_51 = lean_ctor_get(x_16, 10); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_16); +x_52 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +x_53 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_53); +x_54 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_54); +x_55 = lean_ctor_get(x_17, 2); +lean_inc_ref(x_55); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + x_56 = x_17; +} else { + lean_dec_ref(x_17); + x_56 = lean_box(0); +} +x_57 = l_Lean_PersistentArray_push___redArg(x_55, x_1); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 3, 1); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_54); +lean_ctor_set(x_58, 2, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*3, x_52); +x_59 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_59, 0, x_42); +lean_ctor_set(x_59, 1, x_43); +lean_ctor_set(x_59, 2, x_44); +lean_ctor_set(x_59, 3, x_45); +lean_ctor_set(x_59, 4, x_46); +lean_ctor_set(x_59, 5, x_47); +lean_ctor_set(x_59, 6, x_48); +lean_ctor_set(x_59, 7, x_49); +lean_ctor_set(x_59, 8, x_58); +lean_ctor_set(x_59, 9, x_50); +lean_ctor_set(x_59, 10, x_51); +x_60 = lean_st_ref_set(x_2, x_59, x_18); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; +} else { + lean_dec_ref(x_60); + x_62 = lean_box(0); +} +x_63 = lean_box(0); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(0, 2, 0); +} else { + x_64 = x_62; +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg(x_1, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0; +x_4 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_6, 8); +lean_inc_ref(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*3); +lean_dec_ref(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec_ref(x_1); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_dec(x_10); +x_11 = lean_box(0); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_dec_ref(x_5); +x_16 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg(x_17, x_3, x_15); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_empty; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc_ref(x_4); +x_7 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0(x_2, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec_ref(x_7); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0; +x_13 = 0; +x_14 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_12); +lean_ctor_set(x_14, 2, x_3); +lean_ctor_set(x_14, 3, x_8); +lean_ctor_set_uint8(x_14, sizeof(void*)*4, x_13); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(x_15, x_4, x_5, x_9); +lean_dec_ref(x_4); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_7, 0); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_7); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 5); +x_13 = l_Lean_replaceRef(x_1, x_12); +lean_dec(x_12); +lean_ctor_set(x_8, 5, x_13); +x_14 = l_Lean_makeDocStringVerso(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +x_18 = lean_ctor_get(x_8, 3); +x_19 = lean_ctor_get(x_8, 4); +x_20 = lean_ctor_get(x_8, 5); +x_21 = lean_ctor_get(x_8, 6); +x_22 = lean_ctor_get(x_8, 7); +x_23 = lean_ctor_get(x_8, 8); +x_24 = lean_ctor_get(x_8, 9); +x_25 = lean_ctor_get(x_8, 10); +x_26 = lean_ctor_get(x_8, 11); +x_27 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); +x_28 = lean_ctor_get(x_8, 12); +x_29 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); +x_30 = lean_ctor_get(x_8, 13); +lean_inc(x_30); +lean_inc(x_28); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_8); +x_31 = l_Lean_replaceRef(x_1, x_20); +lean_dec(x_20); +x_32 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_32, 0, x_15); +lean_ctor_set(x_32, 1, x_16); +lean_ctor_set(x_32, 2, x_17); +lean_ctor_set(x_32, 3, x_18); +lean_ctor_set(x_32, 4, x_19); +lean_ctor_set(x_32, 5, x_31); +lean_ctor_set(x_32, 6, x_21); +lean_ctor_set(x_32, 7, x_22); +lean_ctor_set(x_32, 8, x_23); +lean_ctor_set(x_32, 9, x_24); +lean_ctor_set(x_32, 10, x_25); +lean_ctor_set(x_32, 11, x_26); +lean_ctor_set(x_32, 12, x_28); +lean_ctor_set(x_32, 13, x_30); +lean_ctor_set_uint8(x_32, sizeof(void*)*14, x_27); +lean_ctor_set_uint8(x_32, sizeof(void*)*14 + 1, x_29); +x_33 = l_Lean_makeDocStringVerso(x_2, x_4, x_5, x_6, x_7, x_32, x_9, x_10); +return x_33; +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ident", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_15; +x_15 = lean_usize_dec_lt(x_4, x_3); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec_ref(x_6); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_array_uget(x_2, x_4); +lean_inc(x_17); +x_18 = l_Lean_Syntax_getKind(x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; +x_20 = lean_name_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_dec(x_17); +x_9 = x_1; +x_10 = x_8; +goto block_14; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_inc(x_17); +x_21 = lean_alloc_closure((void*)(l_Lean_realizeGlobalConstNoOverload), 4, 1); +lean_closure_set(x_21, 0, x_17); +lean_inc_ref(x_6); +x_22 = l_Lean_Elab_Command_liftCoreM___redArg(x_21, x_6, x_7, x_8); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +lean_inc(x_23); +lean_inc(x_17); +x_25 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0___boxed), 10, 2); +lean_closure_set(x_25, 0, x_17); +lean_closure_set(x_25, 1, x_23); +lean_inc_ref(x_6); +x_26 = l_Lean_Elab_Command_runTermElabM___redArg(x_25, x_6, x_7, x_24); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec_ref(x_26); +x_28 = lean_box(0); +lean_inc_ref(x_6); +x_29 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(x_17, x_23, x_28, x_6, x_7, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec_ref(x_29); +x_9 = x_1; +x_10 = x_30; +goto block_14; +} +else +{ +lean_dec_ref(x_6); +return x_29; +} +} +else +{ +lean_dec(x_23); +lean_dec(x_17); +lean_dec_ref(x_6); +return x_26; +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec_ref(x_6); +x_31 = !lean_is_exclusive(x_22); +if (x_31 == 0) +{ +return x_22; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_22, 0); +x_33 = lean_ctor_get(x_22, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_22); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +block_14: +{ +size_t x_11; size_t x_12; +x_11 = 1; +x_12 = lean_usize_add(x_4, x_11); +x_4 = x_12; +x_5 = x_9; +x_8 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_15; +x_15 = lean_usize_dec_lt(x_4, x_3); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec_ref(x_6); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_array_uget(x_2, x_4); +lean_inc(x_17); +x_18 = l_Lean_Syntax_getKind(x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; +x_20 = lean_name_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_dec(x_17); +x_9 = x_1; +x_10 = x_8; +goto block_14; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_inc(x_17); +x_21 = lean_alloc_closure((void*)(l_Lean_realizeGlobalConstNoOverload), 4, 1); +lean_closure_set(x_21, 0, x_17); +lean_inc_ref(x_6); +x_22 = l_Lean_Elab_Command_liftCoreM___redArg(x_21, x_6, x_7, x_8); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +lean_inc(x_23); +lean_inc(x_17); +x_25 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0___boxed), 10, 2); +lean_closure_set(x_25, 0, x_17); +lean_closure_set(x_25, 1, x_23); +lean_inc_ref(x_6); +x_26 = l_Lean_Elab_Command_runTermElabM___redArg(x_25, x_6, x_7, x_24); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec_ref(x_26); +x_28 = lean_box(0); +lean_inc_ref(x_6); +x_29 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(x_17, x_23, x_28, x_6, x_7, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec_ref(x_29); +x_9 = x_1; +x_10 = x_30; +goto block_14; +} +else +{ +lean_dec_ref(x_6); +return x_29; +} +} +else +{ +lean_dec(x_23); +lean_dec(x_17); +lean_dec_ref(x_6); +return x_26; +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec_ref(x_6); +x_31 = !lean_is_exclusive(x_22); +if (x_31 == 0) +{ +return x_22; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_22, 0); +x_33 = lean_ctor_get(x_22, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_22); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +block_14: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = 1; +x_12 = lean_usize_add(x_4, x_11); +x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10(x_1, x_2, x_3, x_12, x_9, x_6, x_7, x_10); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDocsToVerso(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_unsigned_to_nat(1u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Syntax_getArgs(x_6); +lean_dec(x_6); +x_8 = lean_box(0); +x_9 = lean_array_size(x_7); +x_10 = 0; +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10(x_8, x_7, x_9, x_10, x_8, x_2, x_3, x_4); +lean_dec_ref(x_7); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_8); +return x_11; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___redArg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7_spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDocsToVerso___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_elabDocsToVerso(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docs_to_verso", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0; +x_2 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__3; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__2; +x_4 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("elabDocsToVerso", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2; +x_2 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__3; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__6; +x_4 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabModuleDoc___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__0; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1; +x_4 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3; +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabDocsToVerso___boxed), 4, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { _start: { @@ -10051,19 +11847,11 @@ goto _start; } } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_unknownIdentifierMessageTag; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0; +x_7 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0; x_8 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_1); @@ -10073,125 +11861,6 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`.", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from `", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -10256,11 +11925,11 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec_ref(x_11); lean_dec(x_2); -x_29 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; +x_29 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; x_30 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_7); -x_31 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3; +x_31 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; x_32 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -10289,11 +11958,11 @@ lean_dec(x_2); if (x_40 == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_41 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5; +x_41 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; x_42 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_7); -x_43 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7; +x_43 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7; x_44 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); @@ -10301,7 +11970,7 @@ x_45 = l_Lean_MessageData_ofName(x_39); x_46 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9; +x_47 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9; x_48 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); @@ -10315,11 +11984,11 @@ goto block_15; else { lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_51 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; +x_51 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_7); -x_53 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11; +x_53 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11; x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -10327,7 +11996,7 @@ x_55 = l_Lean_MessageData_ofName(x_39); x_56 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13; +x_57 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13; x_58 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); @@ -10423,11 +12092,11 @@ if (lean_obj_tag(x_81) == 0) lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec_ref(x_63); lean_dec(x_2); -x_82 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; +x_82 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; x_83 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_80); -x_84 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3; +x_84 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; x_85 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -10456,11 +12125,11 @@ lean_dec(x_2); if (x_93 == 0) { lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_94 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5; +x_94 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; x_95 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_80); -x_96 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7; +x_96 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7; x_97 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_97, 0, x_95); lean_ctor_set(x_97, 1, x_96); @@ -10468,7 +12137,7 @@ x_98 = l_Lean_MessageData_ofName(x_92); x_99 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_99, 0, x_97); lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9; +x_100 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9; x_101 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_101, 0, x_99); lean_ctor_set(x_101, 1, x_100); @@ -10482,11 +12151,11 @@ goto block_67; else { lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_104 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; +x_104 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1; x_105 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_80); -x_106 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11; +x_106 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11; x_107 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_107, 0, x_105); lean_ctor_set(x_107, 1, x_106); @@ -10494,7 +12163,7 @@ x_108 = l_Lean_MessageData_ofName(x_92); x_109 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_109, 0, x_107); lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13; +x_110 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13; x_111 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_111, 0, x_109); lean_ctor_set(x_111, 1, x_110); @@ -10732,28 +12401,11 @@ x_9 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___ return x_9; } } -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); -return x_1; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_7 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1; +x_7 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1; x_8 = 0; lean_inc(x_2); x_9 = l_Lean_MessageData_ofConstName(x_2, x_8); @@ -12770,1030 +14422,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0; -x_7 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_1); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_st_ref_get(x_4, x_5); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_18; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_ctor_get(x_6, 1); -x_10 = lean_ctor_get(x_8, 0); -lean_inc_ref(x_10); -lean_dec(x_8); -x_18 = l_Lean_Name_isAnonymous(x_2); -if (x_18 == 0) -{ -uint8_t x_19; -x_19 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); -if (x_19 == 0) -{ -lean_dec_ref(x_10); -lean_free_object(x_6); -lean_dec(x_2); -goto block_17; -} -else -{ -lean_object* x_20; uint8_t x_21; -lean_inc_ref(x_10); -x_20 = l_Lean_Environment_setExporting(x_10, x_18); -lean_inc(x_2); -lean_inc_ref(x_20); -x_21 = l_Lean_Environment_contains(x_20, x_2, x_19); -if (x_21 == 0) -{ -lean_dec_ref(x_20); -lean_dec_ref(x_10); -lean_free_object(x_6); -lean_dec(x_2); -goto block_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_22 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__3; -x_23 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__7; -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_20); -lean_ctor_set(x_25, 1, x_22); -lean_ctor_set(x_25, 2, x_23); -lean_ctor_set(x_25, 3, x_24); -lean_inc(x_2); -x_26 = l_Lean_MessageData_ofConstName(x_2, x_18); -lean_ctor_set_tag(x_6, 3); -lean_ctor_set(x_6, 1, x_26); -lean_ctor_set(x_6, 0, x_25); -x_27 = l_Lean_Environment_getModuleIdxFor_x3f(x_10, x_2); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec_ref(x_10); -lean_dec(x_2); -x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_6); -x_30 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3; -x_31 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_MessageData_note(x_31); -x_33 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_33, 0, x_1); -lean_ctor_set(x_33, 1, x_32); -x_11 = x_33; -goto block_14; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_34 = lean_ctor_get(x_27, 0); -lean_inc(x_34); -lean_dec_ref(x_27); -x_35 = lean_box(0); -x_36 = l_Lean_Environment_header(x_10); -lean_dec_ref(x_10); -x_37 = l_Lean_EnvironmentHeader_moduleNames(x_36); -x_38 = lean_array_get(x_35, x_37, x_34); -lean_dec(x_34); -lean_dec_ref(x_37); -x_39 = l_Lean_isPrivateName(x_2); -lean_dec(x_2); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_40 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_6); -x_42 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7; -x_43 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_MessageData_ofName(x_38); -x_45 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_MessageData_note(x_47); -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_1); -lean_ctor_set(x_49, 1, x_48); -x_11 = x_49; -goto block_14; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_50 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_6); -x_52 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11; -x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_MessageData_ofName(x_38); -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13; -x_57 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_MessageData_note(x_57); -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_58); -x_11 = x_59; -goto block_14; -} -} -} -} -} -else -{ -lean_dec_ref(x_10); -lean_free_object(x_6); -lean_dec(x_2); -goto block_17; -} -block_14: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(x_11, x_12, x_3, x_4, x_9); -return x_13; -} -block_17: -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(x_1, x_15, x_3, x_4, x_9); -return x_16; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_70; -x_60 = lean_ctor_get(x_6, 0); -x_61 = lean_ctor_get(x_6, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_6); -x_62 = lean_ctor_get(x_60, 0); -lean_inc_ref(x_62); -lean_dec(x_60); -x_70 = l_Lean_Name_isAnonymous(x_2); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = lean_ctor_get_uint8(x_62, sizeof(void*)*8); -if (x_71 == 0) -{ -lean_dec_ref(x_62); -lean_dec(x_2); -goto block_69; -} -else -{ -lean_object* x_72; uint8_t x_73; -lean_inc_ref(x_62); -x_72 = l_Lean_Environment_setExporting(x_62, x_70); -lean_inc(x_2); -lean_inc_ref(x_72); -x_73 = l_Lean_Environment_contains(x_72, x_2, x_71); -if (x_73 == 0) -{ -lean_dec_ref(x_72); -lean_dec_ref(x_62); -lean_dec(x_2); -goto block_69; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_74 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__3; -x_75 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg___closed__7; -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_74); -lean_ctor_set(x_77, 2, x_75); -lean_ctor_set(x_77, 3, x_76); -lean_inc(x_2); -x_78 = l_Lean_MessageData_ofConstName(x_2, x_70); -x_79 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Environment_getModuleIdxFor_x3f(x_62, x_2); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec_ref(x_62); -lean_dec(x_2); -x_81 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; -x_82 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -x_83 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3; -x_84 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_MessageData_note(x_84); -x_86 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_86, 0, x_1); -lean_ctor_set(x_86, 1, x_85); -x_63 = x_86; -goto block_66; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_80, 0); -lean_inc(x_87); -lean_dec_ref(x_80); -x_88 = lean_box(0); -x_89 = l_Lean_Environment_header(x_62); -lean_dec_ref(x_62); -x_90 = l_Lean_EnvironmentHeader_moduleNames(x_89); -x_91 = lean_array_get(x_88, x_90, x_87); -lean_dec(x_87); -lean_dec_ref(x_90); -x_92 = l_Lean_isPrivateName(x_2); -lean_dec(x_2); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_93 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5; -x_94 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_79); -x_95 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7; -x_96 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_MessageData_ofName(x_91); -x_98 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9; -x_100 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_MessageData_note(x_100); -x_102 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_102, 0, x_1); -lean_ctor_set(x_102, 1, x_101); -x_63 = x_102; -goto block_66; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_103 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1; -x_104 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_79); -x_105 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11; -x_106 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_MessageData_ofName(x_91); -x_108 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13; -x_110 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_MessageData_note(x_110); -x_112 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_112, 0, x_1); -lean_ctor_set(x_112, 1, x_111); -x_63 = x_112; -goto block_66; -} -} -} -} -} -else -{ -lean_dec_ref(x_62); -lean_dec(x_2); -goto block_69; -} -block_66: -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_box(0); -x_65 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(x_63, x_64, x_3, x_4, x_61); -return x_65; -} -block_69: -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_box(0); -x_68 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(x_1, x_67, x_3, x_4, x_61); -return x_68; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec_ref(x_7); -x_10 = l_Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1___redArg(x_1, x_8, x_4, x_5, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_2, x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_6 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1; -x_7 = 0; -lean_inc(x_2); -x_8 = l_Lean_MessageData_ofConstName(x_2, x_7); -x_9 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_9, 0, x_6); -lean_ctor_set(x_9, 1, x_8); -x_10 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_throwMissingName___closed__14; -x_11 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_11, x_2, x_3, x_4, x_5); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_Command_getRef___redArg(x_2, x_4); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec_ref(x_5); -x_8 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_6, x_1, x_2, x_3, x_7); -lean_dec(x_6); -return x_8; -} -else -{ -uint8_t x_9; -lean_dec_ref(x_2); -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -return x_5; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_ctor_get(x_5, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_5); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc_ref(x_9); -lean_dec(x_7); -x_10 = 0; -lean_inc(x_1); -x_11 = l_Lean_Environment_findConstVal_x3f(x_9, x_1, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -lean_free_object(x_5); -x_12 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_2, x_3, x_8); -return x_12; -} -else -{ -lean_object* x_13; -lean_dec_ref(x_2); -lean_dec(x_1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec_ref(x_11); -lean_ctor_set(x_5, 0, x_13); -return x_5; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_5, 0); -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_5); -x_16 = lean_ctor_get(x_14, 0); -lean_inc_ref(x_16); -lean_dec(x_14); -x_17 = 0; -lean_inc(x_1); -x_18 = l_Lean_Environment_findConstVal_x3f(x_16, x_1, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_2, x_3, x_15); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec_ref(x_2); -lean_dec(x_1); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_15); -return x_21; -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -x_3 = l_List_reverse___redArg(x_2); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_Lean_mkLevelParam(x_5); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_7); -{ -lean_object* _tmp_0 = x_6; -lean_object* _tmp_1 = x_1; -x_1 = _tmp_0; -x_2 = _tmp_1; -} -goto _start; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = l_Lean_mkLevelParam(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_2); -x_1 = x_10; -x_2 = x_12; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -lean_inc(x_1); -x_5 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_box(0); -x_10 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(x_8, x_9); -x_11 = l_Lean_mkConst(x_1, x_10); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_ctor_get(x_5, 0); -x_13 = lean_ctor_get(x_5, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_5); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_box(0); -x_16 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(x_14, x_15); -x_17 = l_Lean_mkConst(x_1, x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_13); -return x_18; -} -} -else -{ -uint8_t x_19; -lean_dec(x_1); -x_19 = !lean_is_exclusive(x_5); -if (x_19 == 0) -{ -return x_5; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_5, 0); -x_21 = lean_ctor_get(x_5, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_5); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_st_ref_get(x_2, x_3); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_5, 8); -lean_inc_ref(x_6); -lean_dec(x_5); -x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*3); -lean_dec_ref(x_6); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec_ref(x_1); -x_8 = !lean_is_exclusive(x_4); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_4, 0); -lean_dec(x_9); -x_10 = lean_box(0); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_14 = lean_ctor_get(x_4, 1); -lean_inc(x_14); -lean_dec_ref(x_4); -x_15 = lean_st_ref_take(x_2, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 8); -lean_inc_ref(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec_ref(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 8); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_17, 2); -x_23 = l_Lean_PersistentArray_push___redArg(x_22, x_1); -lean_ctor_set(x_17, 2, x_23); -x_24 = lean_st_ref_set(x_2, x_16, x_18); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_31 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); -x_32 = lean_ctor_get(x_17, 0); -x_33 = lean_ctor_get(x_17, 1); -x_34 = lean_ctor_get(x_17, 2); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_17); -x_35 = l_Lean_PersistentArray_push___redArg(x_34, x_1); -x_36 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -lean_ctor_set(x_36, 2, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*3, x_31); -lean_ctor_set(x_16, 8, x_36); -x_37 = lean_st_ref_set(x_2, x_16, x_18); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; -} else { - lean_dec_ref(x_37); - x_39 = lean_box(0); -} -x_40 = lean_box(0); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_39; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_42 = lean_ctor_get(x_16, 0); -x_43 = lean_ctor_get(x_16, 1); -x_44 = lean_ctor_get(x_16, 2); -x_45 = lean_ctor_get(x_16, 3); -x_46 = lean_ctor_get(x_16, 4); -x_47 = lean_ctor_get(x_16, 5); -x_48 = lean_ctor_get(x_16, 6); -x_49 = lean_ctor_get(x_16, 7); -x_50 = lean_ctor_get(x_16, 9); -x_51 = lean_ctor_get(x_16, 10); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_16); -x_52 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); -x_53 = lean_ctor_get(x_17, 0); -lean_inc_ref(x_53); -x_54 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_54); -x_55 = lean_ctor_get(x_17, 2); -lean_inc_ref(x_55); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - x_56 = x_17; -} else { - lean_dec_ref(x_17); - x_56 = lean_box(0); -} -x_57 = l_Lean_PersistentArray_push___redArg(x_55, x_1); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 3, 1); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_54); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set_uint8(x_58, sizeof(void*)*3, x_52); -x_59 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_59, 0, x_42); -lean_ctor_set(x_59, 1, x_43); -lean_ctor_set(x_59, 2, x_44); -lean_ctor_set(x_59, 3, x_45); -lean_ctor_set(x_59, 4, x_46); -lean_ctor_set(x_59, 5, x_47); -lean_ctor_set(x_59, 6, x_48); -lean_ctor_set(x_59, 7, x_49); -lean_ctor_set(x_59, 8, x_58); -lean_ctor_set(x_59, 9, x_50); -lean_ctor_set(x_59, 10, x_51); -x_60 = lean_st_ref_set(x_2, x_59, x_18); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; -} else { - lean_dec_ref(x_60); - x_62 = lean_box(0); -} -x_63 = lean_box(0); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_62; -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg(x_1, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0; -x_4 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1; -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 8); -lean_inc_ref(x_7); -lean_dec(x_6); -x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*3); -lean_dec_ref(x_7); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec_ref(x_1); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 1); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec_ref(x_5); -x_16 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg(x_17, x_3, x_15); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_LocalContext_empty; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -lean_inc_ref(x_4); -x_7 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26(x_2, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec_ref(x_7); -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_1); -x_12 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0; -x_13 = 0; -x_14 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_14, 0, x_11); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_14, 2, x_3); -lean_ctor_set(x_14, 3, x_8); -lean_ctor_set_uint8(x_14, sizeof(void*)*4, x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(x_15, x_4, x_5, x_9); -lean_dec_ref(x_4); -return x_16; -} -else -{ -uint8_t x_17; -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_7); -if (x_17 == 0) -{ -return x_7; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_7, 0); -x_19 = lean_ctor_get(x_7, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_7); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -13858,7 +14487,7 @@ lean_object* x_32; lean_object* x_33; x_32 = lean_box(0); lean_inc_ref(x_7); lean_inc(x_14); -x_33 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26(x_12, x_14, x_32, x_7, x_8, x_19); +x_33 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(x_12, x_14, x_32, x_7, x_8, x_19); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; @@ -13952,7 +14581,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -14017,7 +14646,7 @@ lean_object* x_32; lean_object* x_33; x_32 = lean_box(0); lean_inc_ref(x_7); lean_inc(x_14); -x_33 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26(x_12, x_14, x_32, x_7, x_8, x_19); +x_33 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0(x_12, x_14, x_32, x_7, x_8, x_19); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; @@ -14074,7 +14703,7 @@ lean_ctor_set(x_26, 1, x_14); x_27 = lean_array_push(x_23, x_26); x_28 = 1; x_29 = lean_usize_add(x_5, x_28); -x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36(x_1, x_2, x_3, x_4, x_29, x_27, x_7, x_8, x_24); +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26(x_1, x_2, x_3, x_4, x_29, x_27, x_7, x_8, x_24); return x_30; } } @@ -14109,7 +14738,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -14136,7 +14765,7 @@ return x_4; } } } -LEAN_EXPORT uint8_t l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -14284,7 +14913,7 @@ lean_inc(x_37); x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_37); lean_ctor_set(x_43, 1, x_38); -x_44 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(x_32, x_43); +x_44 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(x_32, x_43); lean_dec_ref(x_43); if (x_44 == 0) { @@ -14293,7 +14922,7 @@ x_45 = l_Lean_Elab_Command_elabExport___closed__2; x_46 = lean_array_size(x_42); x_47 = 0; lean_inc(x_3); -x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36(x_32, x_37, x_42, x_46, x_47, x_45, x_2, x_3, x_36); +x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26(x_32, x_37, x_42, x_46, x_47, x_45, x_2, x_3, x_36); lean_dec_ref(x_42); if (lean_obj_tag(x_48) == 0) { @@ -14339,19 +14968,19 @@ if (x_67 == 0) { lean_dec(x_66); lean_dec(x_49); -x_5 = x_65; -x_6 = x_3; -x_7 = x_55; -x_8 = x_56; -x_9 = x_57; -x_10 = x_58; -x_11 = x_59; -x_12 = x_60; -x_13 = x_61; -x_14 = x_62; -x_15 = x_63; -x_16 = x_64; -x_17 = x_53; +x_5 = x_53; +x_6 = x_65; +x_7 = x_3; +x_8 = x_55; +x_9 = x_56; +x_10 = x_57; +x_11 = x_58; +x_12 = x_59; +x_13 = x_60; +x_14 = x_61; +x_15 = x_62; +x_16 = x_63; +x_17 = x_64; x_18 = x_54; goto block_25; } @@ -14363,19 +14992,19 @@ if (x_68 == 0) { lean_dec(x_66); lean_dec(x_49); -x_5 = x_65; -x_6 = x_3; -x_7 = x_55; -x_8 = x_56; -x_9 = x_57; -x_10 = x_58; -x_11 = x_59; -x_12 = x_60; -x_13 = x_61; -x_14 = x_62; -x_15 = x_63; -x_16 = x_64; -x_17 = x_53; +x_5 = x_53; +x_6 = x_65; +x_7 = x_3; +x_8 = x_55; +x_9 = x_56; +x_10 = x_57; +x_11 = x_58; +x_12 = x_59; +x_13 = x_60; +x_14 = x_61; +x_15 = x_62; +x_16 = x_63; +x_17 = x_64; x_18 = x_54; goto block_25; } @@ -14384,21 +15013,21 @@ else size_t x_69; lean_object* x_70; x_69 = lean_usize_of_nat(x_66); lean_dec(x_66); -x_70 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38(x_49, x_47, x_69, x_54); +x_70 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28(x_49, x_47, x_69, x_54); lean_dec(x_49); -x_5 = x_65; -x_6 = x_3; -x_7 = x_55; -x_8 = x_56; -x_9 = x_57; -x_10 = x_58; -x_11 = x_59; -x_12 = x_60; -x_13 = x_61; -x_14 = x_62; -x_15 = x_63; -x_16 = x_64; -x_17 = x_53; +x_5 = x_53; +x_6 = x_65; +x_7 = x_3; +x_8 = x_55; +x_9 = x_56; +x_10 = x_57; +x_11 = x_58; +x_12 = x_59; +x_13 = x_60; +x_14 = x_61; +x_15 = x_62; +x_16 = x_63; +x_17 = x_64; x_18 = x_70; goto block_25; } @@ -14498,25 +15127,25 @@ block_25: lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = lean_alloc_ctor(0, 11, 0); lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_7); -lean_ctor_set(x_19, 2, x_8); -lean_ctor_set(x_19, 3, x_9); -lean_ctor_set(x_19, 4, x_10); -lean_ctor_set(x_19, 5, x_11); -lean_ctor_set(x_19, 6, x_12); -lean_ctor_set(x_19, 7, x_13); -lean_ctor_set(x_19, 8, x_14); -lean_ctor_set(x_19, 9, x_15); -lean_ctor_set(x_19, 10, x_16); -x_20 = lean_st_ref_set(x_6, x_19, x_17); -lean_dec(x_6); +lean_ctor_set(x_19, 1, x_8); +lean_ctor_set(x_19, 2, x_9); +lean_ctor_set(x_19, 3, x_10); +lean_ctor_set(x_19, 4, x_11); +lean_ctor_set(x_19, 5, x_12); +lean_ctor_set(x_19, 6, x_13); +lean_ctor_set(x_19, 7, x_14); +lean_ctor_set(x_19, 8, x_15); +lean_ctor_set(x_19, 9, x_16); +lean_ctor_set(x_19, 10, x_17); +x_20 = lean_st_ref_set(x_7, x_19, x_5); +lean_dec(x_7); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { lean_object* x_22; x_22 = lean_ctor_get(x_20, 0); lean_dec(x_22); -lean_ctor_set(x_20, 0, x_5); +lean_ctor_set(x_20, 0, x_6); return x_20; } else @@ -14526,7 +15155,7 @@ x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); lean_dec(x_20); x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_5); +lean_ctor_set(x_24, 0, x_6); lean_ctor_set(x_24, 1, x_23); return x_24; } @@ -14885,141 +15514,7 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___lam__0(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_2); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___redArg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__26(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___redArg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33_spec__33(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -15027,12 +15522,12 @@ x_10 = lean_unbox_usize(x_4); lean_dec(x_4); x_11 = lean_unbox_usize(x_5); lean_dec(x_5); -x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36_spec__36(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26_spec__26(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); lean_dec_ref(x_3); return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -15040,12 +15535,12 @@ x_10 = lean_unbox_usize(x_4); lean_dec(x_4); x_11 = lean_unbox_usize(x_5); lean_dec(x_5); -x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__36(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabExport_spec__26(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); lean_dec_ref(x_3); return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -15053,16 +15548,16 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__38(x_1, x_5, x_6, x_4); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Elab_Command_elabExport_spec__28(x_1, x_5, x_6, x_4); lean_dec_ref(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_List_beq___at___Lean_Elab_Command_elabExport_spec__39___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_beq___at___Lean_Elab_Command_elabExport_spec__29___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(x_1, x_2); +x_3 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -16195,7 +16690,7 @@ x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); x_10 = lean_box(0); -x_11 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(x_9, x_10); +x_11 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(x_9, x_10); x_12 = l_Lean_mkConst(x_1, x_11); lean_ctor_set(x_6, 0, x_12); return x_6; @@ -16212,7 +16707,7 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = lean_box(0); -x_17 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__26_spec__31(x_15, x_16); +x_17 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__5(x_15, x_16); x_18 = l_Lean_mkConst(x_1, x_17); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); @@ -16514,7 +17009,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_16 = lean_ctor_get(x_6, 1); lean_inc(x_16); lean_dec_ref(x_6); -x_17 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2; +x_17 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_1); lean_ctor_set(x_18, 1, x_17); @@ -16541,7 +17036,7 @@ x_11 = lean_box(0); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_1); -x_13 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0; +x_13 = l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0; x_14 = 0; x_15 = lean_alloc_ctor(0, 4, 1); lean_ctor_set(x_15, 0, x_12); @@ -20948,23 +21443,6 @@ return x_5; static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ident", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(1u); x_2 = lean_mk_empty_array_with_capacity(x_1); @@ -21023,7 +21501,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_16 = lean_unsigned_to_nat(2u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9; +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; lean_inc(x_17); x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); if (x_19 == 0) @@ -21036,7 +21514,7 @@ return x_20; else { lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_21 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_22 = lean_array_push(x_21, x_17); x_23 = 3; x_24 = lean_box(x_23); @@ -21454,14 +21932,14 @@ lean_inc(x_16); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Syntax_node5(x_16, x_21, x_18, x_20, x_25, x_26, x_28); +x_29 = l_Lean_Syntax_node5(x_16, x_21, x_17, x_20, x_25, x_26, x_28); if (lean_is_scalar(x_14)) { x_30 = lean_alloc_ctor(0, 2, 0); } else { x_30 = x_14; } lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_17); +lean_ctor_set(x_30, 1, x_18); return x_30; } block_44: @@ -21481,8 +21959,8 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_39; x_39 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_17 = x_32; -x_18 = x_35; +x_17 = x_35; +x_18 = x_32; x_19 = x_38; x_20 = x_37; x_21 = x_33; @@ -21502,8 +21980,8 @@ x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_16); lean_ctor_set(x_42, 1, x_41); x_43 = l_Array_mkArray2___redArg(x_42, x_40); -x_17 = x_32; -x_18 = x_35; +x_17 = x_35; +x_18 = x_32; x_19 = x_38; x_20 = x_37; x_21 = x_33; @@ -21616,26 +22094,26 @@ goto block_89; block_76: { lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = l_Array_append___redArg(x_68, x_69); +x_70 = l_Array_append___redArg(x_66, x_69); lean_dec_ref(x_69); lean_inc(x_62); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_62); -lean_ctor_set(x_71, 1, x_67); +lean_ctor_set(x_71, 1, x_64); lean_ctor_set(x_71, 2, x_70); x_72 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__2; lean_inc(x_62); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_62); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Syntax_node4(x_62, x_66, x_63, x_65, x_71, x_73); +x_74 = l_Lean_Syntax_node4(x_62, x_63, x_65, x_68, x_71, x_73); if (lean_is_scalar(x_60)) { x_75 = lean_alloc_ctor(0, 2, 0); } else { x_75 = x_60; } lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_64); +lean_ctor_set(x_75, 1, x_67); return x_75; } block_89: @@ -21655,12 +22133,12 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_84; x_84 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_63 = x_80; -x_64 = x_77; -x_65 = x_82; -x_66 = x_78; -x_67 = x_81; -x_68 = x_83; +x_63 = x_78; +x_64 = x_81; +x_65 = x_80; +x_66 = x_83; +x_67 = x_77; +x_68 = x_82; x_69 = x_84; goto block_76; } @@ -21676,12 +22154,12 @@ x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_62); lean_ctor_set(x_87, 1, x_86); x_88 = l_Array_mkArray2___redArg(x_87, x_85); -x_63 = x_80; -x_64 = x_77; -x_65 = x_82; -x_66 = x_78; -x_67 = x_81; -x_68 = x_83; +x_63 = x_78; +x_64 = x_81; +x_65 = x_80; +x_66 = x_83; +x_67 = x_77; +x_68 = x_82; x_69 = x_88; goto block_76; } @@ -21790,12 +22268,12 @@ goto block_138; block_123: { lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_116 = l_Array_append___redArg(x_111, x_115); +x_116 = l_Array_append___redArg(x_114, x_115); lean_dec_ref(x_115); lean_inc(x_107); x_117 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_117, 0, x_107); -lean_ctor_set(x_117, 1, x_112); +lean_ctor_set(x_117, 1, x_110); lean_ctor_set(x_117, 2, x_116); x_118 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__2; lean_inc(x_107); @@ -21804,15 +22282,15 @@ lean_ctor_set(x_119, 0, x_107); lean_ctor_set(x_119, 1, x_118); lean_inc_ref(x_119); lean_inc(x_107); -x_120 = l_Lean_Syntax_node2(x_107, x_109, x_119, x_119); -x_121 = l_Lean_Syntax_node4(x_107, x_113, x_110, x_108, x_117, x_120); +x_120 = l_Lean_Syntax_node2(x_107, x_111, x_119, x_119); +x_121 = l_Lean_Syntax_node4(x_107, x_109, x_108, x_113, x_117, x_120); if (lean_is_scalar(x_105)) { x_122 = lean_alloc_ctor(0, 2, 0); } else { x_122 = x_105; } lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_114); +lean_ctor_set(x_122, 1, x_112); return x_122; } block_138: @@ -21836,13 +22314,13 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_133; x_133 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_108 = x_131; -x_109 = x_126; -x_110 = x_129; -x_111 = x_132; -x_112 = x_130; -x_113 = x_125; -x_114 = x_124; +x_108 = x_129; +x_109 = x_125; +x_110 = x_130; +x_111 = x_126; +x_112 = x_124; +x_113 = x_131; +x_114 = x_132; x_115 = x_133; goto block_123; } @@ -21858,13 +22336,13 @@ x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_107); lean_ctor_set(x_136, 1, x_135); x_137 = l_Array_mkArray2___redArg(x_136, x_134); -x_108 = x_131; -x_109 = x_126; -x_110 = x_129; -x_111 = x_132; -x_112 = x_130; -x_113 = x_125; -x_114 = x_124; +x_108 = x_129; +x_109 = x_125; +x_110 = x_130; +x_111 = x_126; +x_112 = x_124; +x_113 = x_131; +x_114 = x_132; x_115 = x_137; goto block_123; } @@ -22580,33 +23058,33 @@ goto block_44; block_31: { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_inc_ref(x_21); -x_24 = l_Array_append___redArg(x_21, x_23); +lean_inc_ref(x_17); +x_24 = l_Array_append___redArg(x_17, x_23); lean_dec_ref(x_23); -lean_inc(x_20); +lean_inc(x_19); lean_inc(x_16); x_25 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_25, 0, x_16); -lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_25, 1, x_19); lean_ctor_set(x_25, 2, x_24); lean_inc(x_16); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_16); -lean_ctor_set(x_26, 1, x_20); -lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 1, x_19); +lean_ctor_set(x_26, 2, x_17); x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__0; lean_inc(x_16); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Syntax_node5(x_16, x_19, x_18, x_17, x_25, x_26, x_28); +x_29 = l_Lean_Syntax_node5(x_16, x_22, x_21, x_20, x_25, x_26, x_28); if (lean_is_scalar(x_14)) { x_30 = lean_alloc_ctor(0, 2, 0); } else { x_30 = x_14; } lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_22); +lean_ctor_set(x_30, 1, x_18); return x_30; } block_44: @@ -22626,12 +23104,12 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_39; x_39 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_17 = x_37; -x_18 = x_35; -x_19 = x_33; -x_20 = x_36; -x_21 = x_38; -x_22 = x_32; +x_17 = x_38; +x_18 = x_32; +x_19 = x_36; +x_20 = x_37; +x_21 = x_35; +x_22 = x_33; x_23 = x_39; goto block_31; } @@ -22647,12 +23125,12 @@ x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_16); lean_ctor_set(x_42, 1, x_41); x_43 = l_Array_mkArray2___redArg(x_42, x_40); -x_17 = x_37; -x_18 = x_35; -x_19 = x_33; -x_20 = x_36; -x_21 = x_38; -x_22 = x_32; +x_17 = x_38; +x_18 = x_32; +x_19 = x_36; +x_20 = x_37; +x_21 = x_35; +x_22 = x_33; x_23 = x_43; goto block_31; } @@ -22761,26 +23239,26 @@ goto block_89; block_76: { lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = l_Array_append___redArg(x_66, x_69); +x_70 = l_Array_append___redArg(x_67, x_69); lean_dec_ref(x_69); lean_inc(x_62); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_62); -lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 1, x_66); lean_ctor_set(x_71, 2, x_70); x_72 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__2; lean_inc(x_62); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_62); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Syntax_node4(x_62, x_63, x_65, x_64, x_71, x_73); +x_74 = l_Lean_Syntax_node4(x_62, x_65, x_68, x_64, x_71, x_73); if (lean_is_scalar(x_60)) { x_75 = lean_alloc_ctor(0, 2, 0); } else { x_75 = x_60; } lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_67); +lean_ctor_set(x_75, 1, x_63); return x_75; } block_89: @@ -22800,12 +23278,12 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_84; x_84 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_63 = x_78; +x_63 = x_77; x_64 = x_82; -x_65 = x_80; -x_66 = x_83; -x_67 = x_77; -x_68 = x_81; +x_65 = x_78; +x_66 = x_81; +x_67 = x_83; +x_68 = x_80; x_69 = x_84; goto block_76; } @@ -22821,12 +23299,12 @@ x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_62); lean_ctor_set(x_87, 1, x_86); x_88 = l_Array_mkArray2___redArg(x_87, x_85); -x_63 = x_78; +x_63 = x_77; x_64 = x_82; -x_65 = x_80; -x_66 = x_83; -x_67 = x_77; -x_68 = x_81; +x_65 = x_78; +x_66 = x_81; +x_67 = x_83; +x_68 = x_80; x_69 = x_88; goto block_76; } @@ -22935,7 +23413,7 @@ goto block_138; block_123: { lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_116 = l_Array_append___redArg(x_112, x_115); +x_116 = l_Array_append___redArg(x_110, x_115); lean_dec_ref(x_115); lean_inc(x_107); x_117 = lean_alloc_ctor(1, 3, 0); @@ -22949,15 +23427,15 @@ lean_ctor_set(x_119, 0, x_107); lean_ctor_set(x_119, 1, x_118); lean_inc_ref(x_119); lean_inc(x_107); -x_120 = l_Lean_Syntax_node2(x_107, x_113, x_119, x_119); -x_121 = l_Lean_Syntax_node4(x_107, x_109, x_114, x_110, x_117, x_120); +x_120 = l_Lean_Syntax_node2(x_107, x_112, x_119, x_119); +x_121 = l_Lean_Syntax_node4(x_107, x_114, x_109, x_108, x_117, x_120); if (lean_is_scalar(x_105)) { x_122 = lean_alloc_ctor(0, 2, 0); } else { x_122 = x_105; } lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_108); +lean_ctor_set(x_122, 1, x_113); return x_122; } block_138: @@ -22981,13 +23459,13 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_133; x_133 = l_Lean_Elab_OpenDecl_elabOpenDecl___at___Lean_Elab_Command_elabOpen_spec__0___closed__19; -x_108 = x_124; -x_109 = x_125; -x_110 = x_131; +x_108 = x_131; +x_109 = x_129; +x_110 = x_132; x_111 = x_130; -x_112 = x_132; -x_113 = x_126; -x_114 = x_129; +x_112 = x_126; +x_113 = x_124; +x_114 = x_125; x_115 = x_133; goto block_123; } @@ -23003,13 +23481,13 @@ x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_107); lean_ctor_set(x_136, 1, x_135); x_137 = l_Array_mkArray2___redArg(x_136, x_134); -x_108 = x_124; -x_109 = x_125; -x_110 = x_131; +x_108 = x_131; +x_109 = x_129; +x_110 = x_132; x_111 = x_130; -x_112 = x_132; -x_113 = x_126; -x_114 = x_129; +x_112 = x_126; +x_113 = x_124; +x_114 = x_125; x_115 = x_137; goto block_123; } @@ -24591,7 +25069,7 @@ x_67 = lean_unsigned_to_nat(0u); x_68 = l_Lean_Syntax_getArg(x_63, x_67); lean_dec(x_63); x_69 = l_Lean_Syntax_getArg(x_40, x_64); -x_70 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_70 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_71 = lean_array_push(x_70, x_68); x_72 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_72, 0, x_69); @@ -24831,8 +25309,8 @@ if (lean_obj_tag(x_131) == 0) lean_object* x_132; x_132 = l_Lean_Syntax_getArgs(x_124); lean_dec(x_124); -x_41 = x_125; -x_42 = x_132; +x_41 = x_132; +x_42 = x_125; x_43 = x_126; x_44 = x_127; x_45 = x_128; @@ -24846,8 +25324,8 @@ x_133 = l_Lean_Syntax_getArgs(x_124); lean_dec(x_124); if (x_54 == 0) { -x_41 = x_125; -x_42 = x_133; +x_41 = x_133; +x_42 = x_125; x_43 = x_126; x_44 = x_127; x_45 = x_128; @@ -24867,8 +25345,8 @@ lean_object* x_138; x_138 = lean_ctor_get(x_137, 1); lean_inc(x_138); lean_dec_ref(x_137); -x_41 = x_125; -x_42 = x_133; +x_41 = x_133; +x_42 = x_125; x_43 = x_126; x_44 = x_127; x_45 = x_138; @@ -24914,10 +25392,10 @@ uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x x_46 = 0; x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 0, x_42); lean_ctor_set(x_48, 1, x_47); x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_42); +lean_ctor_set(x_49, 0, x_41); lean_ctor_set(x_49, 1, x_48); x_50 = lean_unbox(x_38); lean_dec(x_38); @@ -24998,7 +25476,7 @@ x_184 = lean_unsigned_to_nat(0u); x_185 = l_Lean_Syntax_getArg(x_179, x_184); lean_dec(x_179); x_186 = l_Lean_Syntax_getArg(x_155, x_180); -x_187 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_187 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_188 = lean_array_push(x_187, x_185); x_189 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_189, 0, x_186); @@ -25241,8 +25719,8 @@ if (lean_obj_tag(x_250) == 0) lean_object* x_251; x_251 = l_Lean_Syntax_getArgs(x_243); lean_dec(x_243); -x_156 = x_244; -x_157 = x_251; +x_156 = x_251; +x_157 = x_244; x_158 = x_245; x_159 = x_246; x_160 = x_247; @@ -25256,8 +25734,8 @@ x_252 = l_Lean_Syntax_getArgs(x_243); lean_dec(x_243); if (x_169 == 0) { -x_156 = x_244; -x_157 = x_252; +x_156 = x_252; +x_157 = x_244; x_158 = x_245; x_159 = x_246; x_160 = x_247; @@ -25277,8 +25755,8 @@ lean_object* x_257; x_257 = lean_ctor_get(x_256, 1); lean_inc(x_257); lean_dec_ref(x_256); -x_156 = x_244; -x_157 = x_252; +x_156 = x_252; +x_157 = x_244; x_158 = x_245; x_159 = x_246; x_160 = x_257; @@ -25326,10 +25804,10 @@ uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8 x_161 = 0; x_162 = lean_box(x_161); x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_156); +lean_ctor_set(x_163, 0, x_157); lean_ctor_set(x_163, 1, x_162); x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_157); +lean_ctor_set(x_164, 0, x_156); lean_ctor_set(x_164, 1, x_163); x_165 = lean_unbox(x_153); lean_dec(x_153); @@ -25434,7 +25912,7 @@ x_308 = lean_unsigned_to_nat(0u); x_309 = l_Lean_Syntax_getArg(x_302, x_308); lean_dec(x_302); x_310 = l_Lean_Syntax_getArg(x_277, x_303); -x_311 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_311 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_312 = lean_array_push(x_311, x_309); x_313 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_313, 0, x_310); @@ -25695,8 +26173,8 @@ if (lean_obj_tag(x_376) == 0) lean_object* x_377; x_377 = l_Lean_Syntax_getArgs(x_369); lean_dec(x_369); -x_278 = x_370; -x_279 = x_377; +x_278 = x_377; +x_279 = x_370; x_280 = x_371; x_281 = x_372; x_282 = x_373; @@ -25710,8 +26188,8 @@ x_378 = l_Lean_Syntax_getArgs(x_369); lean_dec(x_369); if (x_291 == 0) { -x_278 = x_370; -x_279 = x_378; +x_278 = x_378; +x_279 = x_370; x_280 = x_371; x_281 = x_372; x_282 = x_373; @@ -25731,8 +26209,8 @@ lean_object* x_383; x_383 = lean_ctor_get(x_382, 1); lean_inc(x_383); lean_dec_ref(x_382); -x_278 = x_370; -x_279 = x_378; +x_278 = x_378; +x_279 = x_370; x_280 = x_371; x_281 = x_372; x_282 = x_383; @@ -25780,10 +26258,10 @@ uint8_t x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8 x_283 = 0; x_284 = lean_box(x_283); x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_278); +lean_ctor_set(x_285, 0, x_279); lean_ctor_set(x_285, 1, x_284); x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_279); +lean_ctor_set(x_286, 0, x_278); lean_ctor_set(x_286, 1, x_285); x_287 = lean_unbox(x_274); lean_dec(x_274); @@ -25968,7 +26446,7 @@ x_67 = lean_unsigned_to_nat(0u); x_68 = l_Lean_Syntax_getArg(x_63, x_67); lean_dec(x_63); x_69 = l_Lean_Syntax_getArg(x_40, x_64); -x_70 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_70 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_71 = lean_array_push(x_70, x_68); x_72 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_72, 0, x_69); @@ -26375,7 +26853,7 @@ x_184 = lean_unsigned_to_nat(0u); x_185 = l_Lean_Syntax_getArg(x_179, x_184); lean_dec(x_179); x_186 = l_Lean_Syntax_getArg(x_155, x_180); -x_187 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_187 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_188 = lean_array_push(x_187, x_185); x_189 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_189, 0, x_186); @@ -26811,7 +27289,7 @@ x_308 = lean_unsigned_to_nat(0u); x_309 = l_Lean_Syntax_getArg(x_302, x_308); lean_dec(x_302); x_310 = l_Lean_Syntax_getArg(x_277, x_303); -x_311 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_311 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_312 = lean_array_push(x_311, x_309); x_313 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_313, 0, x_310); @@ -28180,7 +28658,7 @@ if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_dec_ref(x_2); -x_6 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_6 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_7 = lean_array_push(x_6, x_1); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); @@ -28330,7 +28808,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_dec_ref(x_32); lean_dec(x_28); lean_dec(x_12); -x_40 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_40 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_41 = lean_array_push(x_40, x_1); if (lean_is_scalar(x_27)) { x_42 = lean_alloc_ctor(0, 2, 0); @@ -28541,7 +29019,7 @@ lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec_ref(x_82); lean_dec(x_78); lean_dec(x_61); -x_90 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10; +x_90 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8; x_91 = lean_array_push(x_90, x_1); if (lean_is_scalar(x_77)) { x_92 = lean_alloc_ctor(0, 2, 0); @@ -30329,7 +30807,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; uint8_t x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; uint8_t x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; +lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; lean_object* x_111; uint8_t x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; x_133 = 2; x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); if (x_158 == 0) @@ -30369,14 +30847,14 @@ lean_ctor_set(x_20, 1, x_25); lean_ctor_set(x_20, 0, x_24); x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_20); -lean_ctor_set(x_28, 1, x_15); +lean_ctor_set(x_28, 1, x_16); x_29 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_29, 0, x_13); -lean_ctor_set(x_29, 1, x_14); -lean_ctor_set(x_29, 2, x_16); -lean_ctor_set(x_29, 3, x_10); +lean_ctor_set(x_29, 0, x_15); +lean_ctor_set(x_29, 1, x_11); +lean_ctor_set(x_29, 2, x_10); +lean_ctor_set(x_29, 3, x_14); lean_ctor_set(x_29, 4, x_28); -lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_11); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_13); lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_12); lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); x_30 = l_Lean_MessageLog_add(x_29, x_27); @@ -30431,14 +30909,14 @@ lean_ctor_set(x_20, 1, x_25); lean_ctor_set(x_20, 0, x_24); x_47 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_47, 0, x_20); -lean_ctor_set(x_47, 1, x_15); +lean_ctor_set(x_47, 1, x_16); x_48 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_48, 0, x_13); -lean_ctor_set(x_48, 1, x_14); -lean_ctor_set(x_48, 2, x_16); -lean_ctor_set(x_48, 3, x_10); +lean_ctor_set(x_48, 0, x_15); +lean_ctor_set(x_48, 1, x_11); +lean_ctor_set(x_48, 2, x_10); +lean_ctor_set(x_48, 3, x_14); lean_ctor_set(x_48, 4, x_47); -lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_11); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_13); lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_12); lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); x_49 = l_Lean_MessageLog_add(x_48, x_44); @@ -30525,14 +31003,14 @@ lean_ctor_set(x_70, 0, x_58); lean_ctor_set(x_70, 1, x_59); x_71 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_15); +lean_ctor_set(x_71, 1, x_16); x_72 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_72, 0, x_13); -lean_ctor_set(x_72, 1, x_14); -lean_ctor_set(x_72, 2, x_16); -lean_ctor_set(x_72, 3, x_10); +lean_ctor_set(x_72, 0, x_15); +lean_ctor_set(x_72, 1, x_11); +lean_ctor_set(x_72, 2, x_10); +lean_ctor_set(x_72, 3, x_14); lean_ctor_set(x_72, 4, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_11); +lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_13); lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_12); lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); x_73 = l_Lean_MessageLog_add(x_72, x_66); @@ -30583,25 +31061,25 @@ if (x_91 == 0) lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; x_92 = lean_ctor_get(x_90, 0); x_93 = lean_ctor_get(x_90, 1); -lean_inc_ref(x_86); -x_94 = l_Lean_FileMap_toPosition(x_86, x_87); -lean_dec(x_87); -x_95 = l_Lean_FileMap_toPosition(x_86, x_88); +lean_inc_ref(x_85); +x_94 = l_Lean_FileMap_toPosition(x_85, x_82); +lean_dec(x_82); +x_95 = l_Lean_FileMap_toPosition(x_85, x_88); lean_dec(x_88); x_96 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_96, 0, x_95); x_97 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScopeName_x3f___closed__1; -if (x_83 == 0) +if (x_86 == 0) { lean_free_object(x_90); lean_dec_ref(x_81); -x_10 = x_97; -x_11 = x_82; -x_12 = x_85; +x_10 = x_96; +x_11 = x_94; +x_12 = x_83; x_13 = x_84; -x_14 = x_94; -x_15 = x_92; -x_16 = x_96; +x_14 = x_97; +x_15 = x_87; +x_16 = x_92; x_17 = x_7; x_18 = x_8; x_19 = x_93; @@ -30618,7 +31096,7 @@ lean_object* x_99; lean_dec_ref(x_96); lean_dec_ref(x_94); lean_dec(x_92); -lean_dec_ref(x_84); +lean_dec_ref(x_87); lean_dec_ref(x_7); x_99 = lean_box(0); lean_ctor_set(x_90, 0, x_99); @@ -30627,13 +31105,13 @@ return x_90; else { lean_free_object(x_90); -x_10 = x_97; -x_11 = x_82; -x_12 = x_85; +x_10 = x_96; +x_11 = x_94; +x_12 = x_83; x_13 = x_84; -x_14 = x_94; -x_15 = x_92; -x_16 = x_96; +x_14 = x_97; +x_15 = x_87; +x_16 = x_92; x_17 = x_7; x_18 = x_8; x_19 = x_93; @@ -30649,24 +31127,24 @@ x_101 = lean_ctor_get(x_90, 1); lean_inc(x_101); lean_inc(x_100); lean_dec(x_90); -lean_inc_ref(x_86); -x_102 = l_Lean_FileMap_toPosition(x_86, x_87); -lean_dec(x_87); -x_103 = l_Lean_FileMap_toPosition(x_86, x_88); +lean_inc_ref(x_85); +x_102 = l_Lean_FileMap_toPosition(x_85, x_82); +lean_dec(x_82); +x_103 = l_Lean_FileMap_toPosition(x_85, x_88); lean_dec(x_88); x_104 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_104, 0, x_103); x_105 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScopeName_x3f___closed__1; -if (x_83 == 0) +if (x_86 == 0) { lean_dec_ref(x_81); -x_10 = x_105; -x_11 = x_82; -x_12 = x_85; +x_10 = x_104; +x_11 = x_102; +x_12 = x_83; x_13 = x_84; -x_14 = x_102; -x_15 = x_100; -x_16 = x_104; +x_14 = x_105; +x_15 = x_87; +x_16 = x_100; x_17 = x_7; x_18 = x_8; x_19 = x_101; @@ -30683,7 +31161,7 @@ lean_object* x_107; lean_object* x_108; lean_dec_ref(x_104); lean_dec_ref(x_102); lean_dec(x_100); -lean_dec_ref(x_84); +lean_dec_ref(x_87); lean_dec_ref(x_7); x_107 = lean_box(0); x_108 = lean_alloc_ctor(0, 2, 0); @@ -30693,13 +31171,13 @@ return x_108; } else { -x_10 = x_105; -x_11 = x_82; -x_12 = x_85; +x_10 = x_104; +x_11 = x_102; +x_12 = x_83; x_13 = x_84; -x_14 = x_102; -x_15 = x_100; -x_16 = x_104; +x_14 = x_105; +x_15 = x_87; +x_16 = x_100; x_17 = x_7; x_18 = x_8; x_19 = x_101; @@ -30711,18 +31189,18 @@ goto block_80; block_120: { lean_object* x_118; -x_118 = l_Lean_Syntax_getTailPos_x3f(x_116, x_111); -lean_dec(x_116); +x_118 = l_Lean_Syntax_getTailPos_x3f(x_111, x_113); +lean_dec(x_111); if (lean_obj_tag(x_118) == 0) { lean_inc(x_117); x_81 = x_110; -x_82 = x_111; -x_83 = x_114; +x_82 = x_117; +x_83 = x_112; x_84 = x_113; -x_85 = x_112; -x_86 = x_115; -x_87 = x_117; +x_85 = x_114; +x_86 = x_116; +x_87 = x_115; x_88 = x_117; goto block_109; } @@ -30733,12 +31211,12 @@ x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); lean_dec_ref(x_118); x_81 = x_110; -x_82 = x_111; -x_83 = x_114; +x_82 = x_117; +x_83 = x_112; x_84 = x_113; -x_85 = x_112; -x_86 = x_115; -x_87 = x_117; +x_85 = x_114; +x_86 = x_116; +x_87 = x_115; x_88 = x_119; goto block_109; } @@ -30746,20 +31224,20 @@ goto block_109; block_132: { lean_object* x_128; lean_object* x_129; -x_128 = l_Lean_replaceRef(x_1, x_126); -lean_dec(x_126); +x_128 = l_Lean_replaceRef(x_1, x_123); +lean_dec(x_123); x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_122); if (lean_obj_tag(x_129) == 0) { lean_object* x_130; x_130 = lean_unsigned_to_nat(0u); x_110 = x_121; -x_111 = x_122; +x_111 = x_128; x_112 = x_127; -x_113 = x_124; -x_114 = x_123; -x_115 = x_125; -x_116 = x_128; +x_113 = x_122; +x_114 = x_124; +x_115 = x_126; +x_116 = x_125; x_117 = x_130; goto block_120; } @@ -30770,12 +31248,12 @@ x_131 = lean_ctor_get(x_129, 0); lean_inc(x_131); lean_dec_ref(x_129); x_110 = x_121; -x_111 = x_122; +x_111 = x_128; x_112 = x_127; -x_113 = x_124; -x_114 = x_123; -x_115 = x_125; -x_116 = x_128; +x_113 = x_122; +x_114 = x_124; +x_115 = x_126; +x_116 = x_125; x_117 = x_131; goto block_120; } @@ -30786,10 +31264,10 @@ if (x_140 == 0) { x_121 = x_134; x_122 = x_139; -x_123 = x_136; -x_124 = x_135; -x_125 = x_137; -x_126 = x_138; +x_123 = x_135; +x_124 = x_136; +x_125 = x_138; +x_126 = x_137; x_127 = x_3; goto block_132; } @@ -30797,10 +31275,10 @@ else { x_121 = x_134; x_122 = x_139; -x_123 = x_136; -x_124 = x_135; -x_125 = x_137; -x_126 = x_138; +x_123 = x_135; +x_124 = x_136; +x_125 = x_138; +x_126 = x_137; x_127 = x_133; goto block_132; } @@ -30824,14 +31302,14 @@ x_151 = 1; x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); if (x_152 == 0) { -lean_inc(x_146); -lean_inc_ref(x_144); lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); x_134 = x_150; -x_135 = x_143; -x_136 = x_147; -x_137 = x_144; -x_138 = x_146; +x_135 = x_146; +x_136 = x_144; +x_137 = x_143; +x_138 = x_147; x_139 = x_142; x_140 = x_152; goto block_141; @@ -30841,14 +31319,14 @@ else lean_object* x_153; uint8_t x_154; x_153 = l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCore_spec__1_spec__1___redArg___closed__0; x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__2_spec__2(x_145, x_153); -lean_inc(x_146); -lean_inc_ref(x_144); lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); x_134 = x_150; -x_135 = x_143; -x_136 = x_147; -x_137 = x_144; -x_138 = x_146; +x_135 = x_146; +x_136 = x_144; +x_137 = x_143; +x_138 = x_147; x_139 = x_142; x_140 = x_154; goto block_141; @@ -31149,7 +31627,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_9, 1); lean_inc(x_19); lean_dec_ref(x_9); -x_20 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2; +x_20 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2; x_21 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_21, 0, x_1); lean_ctor_set(x_21, 1, x_20); @@ -32546,7 +33024,7 @@ _start: { lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_13 = l_Lean_Elab_Command_elabCheckCore___lam__3___closed__1; -x_14 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9; +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; lean_inc(x_1); x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); x_16 = lean_box(x_15); @@ -34502,7 +34980,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Elab_logException___at___Lean_Elab_Command_failIfSucceeds_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; uint8_t x_132; lean_object* x_133; uint8_t x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; uint8_t x_141; uint8_t x_142; lean_object* x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; uint8_t x_159; lean_object* x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; uint8_t x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; lean_object* x_159; uint8_t x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; x_157 = 2; x_178 = l_Lean_instBEqMessageSeverity_beq(x_3, x_157); if (x_178 == 0) @@ -34561,15 +35039,15 @@ lean_ctor_set(x_23, 1, x_28); lean_ctor_set(x_23, 0, x_27); x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_9); +lean_ctor_set(x_31, 1, x_13); x_32 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_32, 0, x_13); +lean_ctor_set(x_32, 0, x_8); lean_ctor_set(x_32, 1, x_10); -lean_ctor_set(x_32, 2, x_8); -lean_ctor_set(x_32, 3, x_11); +lean_ctor_set(x_32, 2, x_12); +lean_ctor_set(x_32, 3, x_9); lean_ctor_set(x_32, 4, x_31); lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_14); -lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_12); +lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 2, x_4); x_33 = l_Lean_MessageLog_add(x_32, x_30); lean_ctor_set(x_25, 1, x_33); @@ -34627,15 +35105,15 @@ lean_ctor_set(x_23, 1, x_28); lean_ctor_set(x_23, 0, x_27); x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_9); +lean_ctor_set(x_52, 1, x_13); x_53 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_53, 0, x_13); +lean_ctor_set(x_53, 0, x_8); lean_ctor_set(x_53, 1, x_10); -lean_ctor_set(x_53, 2, x_8); -lean_ctor_set(x_53, 3, x_11); +lean_ctor_set(x_53, 2, x_12); +lean_ctor_set(x_53, 3, x_9); lean_ctor_set(x_53, 4, x_52); lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_14); -lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 1, x_12); +lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 2, x_4); x_54 = l_Lean_MessageLog_add(x_53, x_42); x_55 = lean_alloc_ctor(0, 11, 0); @@ -34730,15 +35208,15 @@ lean_ctor_set(x_77, 0, x_63); lean_ctor_set(x_77, 1, x_64); x_78 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_9); +lean_ctor_set(x_78, 1, x_13); x_79 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_79, 0, x_13); +lean_ctor_set(x_79, 0, x_8); lean_ctor_set(x_79, 1, x_10); -lean_ctor_set(x_79, 2, x_8); -lean_ctor_set(x_79, 3, x_11); +lean_ctor_set(x_79, 2, x_12); +lean_ctor_set(x_79, 3, x_9); lean_ctor_set(x_79, 4, x_78); lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_14); -lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 1, x_12); +lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 2, x_4); x_80 = l_Lean_MessageLog_add(x_79, x_66); if (lean_is_scalar(x_76)) { @@ -34784,10 +35262,10 @@ else uint8_t x_87; lean_dec(x_18); lean_dec_ref(x_13); -lean_dec_ref(x_11); +lean_dec(x_12); lean_dec_ref(x_10); lean_dec_ref(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); x_87 = !lean_is_exclusive(x_20); if (x_87 == 0) { @@ -34812,10 +35290,10 @@ else { uint8_t x_91; lean_dec_ref(x_13); -lean_dec_ref(x_11); +lean_dec(x_12); lean_dec_ref(x_10); lean_dec_ref(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); x_91 = !lean_is_exclusive(x_17); if (x_91 == 0) { @@ -34846,7 +35324,7 @@ lean_inc_ref(x_103); x_104 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); lean_dec_ref(x_5); x_105 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_106 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg(x_105, x_6, x_100); +x_106 = l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__1___redArg(x_105, x_6, x_99); x_107 = !lean_is_exclusive(x_106); if (x_107 == 0) { @@ -34854,8 +35332,8 @@ lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; x_108 = lean_ctor_get(x_106, 0); x_109 = lean_ctor_get(x_106, 1); lean_inc_ref(x_103); -x_110 = l_Lean_FileMap_toPosition(x_103, x_98); -lean_dec(x_98); +x_110 = l_Lean_FileMap_toPosition(x_103, x_97); +lean_dec(x_97); x_111 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_112 = lean_alloc_ctor(1, 1, 0); @@ -34864,13 +35342,13 @@ x_113 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScope if (x_104 == 0) { lean_free_object(x_106); -x_8 = x_112; -x_9 = x_108; +x_8 = x_102; +x_9 = x_113; x_10 = x_110; -x_11 = x_113; -x_12 = x_97; -x_13 = x_102; -x_14 = x_99; +x_11 = x_98; +x_12 = x_112; +x_13 = x_108; +x_14 = x_100; x_15 = x_6; x_16 = x_109; goto block_95; @@ -34899,13 +35377,13 @@ return x_106; else { lean_free_object(x_106); -x_8 = x_112; -x_9 = x_108; +x_8 = x_102; +x_9 = x_113; x_10 = x_110; -x_11 = x_113; -x_12 = x_97; -x_13 = x_102; -x_14 = x_99; +x_11 = x_98; +x_12 = x_112; +x_13 = x_108; +x_14 = x_100; x_15 = x_6; x_16 = x_109; goto block_95; @@ -34921,8 +35399,8 @@ lean_inc(x_120); lean_inc(x_119); lean_dec(x_106); lean_inc_ref(x_103); -x_121 = l_Lean_FileMap_toPosition(x_103, x_98); -lean_dec(x_98); +x_121 = l_Lean_FileMap_toPosition(x_103, x_97); +lean_dec(x_97); x_122 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_123 = lean_alloc_ctor(1, 1, 0); @@ -34930,13 +35408,13 @@ lean_ctor_set(x_123, 0, x_122); x_124 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_innermostScopeName_x3f___closed__1; if (x_104 == 0) { -x_8 = x_123; -x_9 = x_119; +x_8 = x_102; +x_9 = x_124; x_10 = x_121; -x_11 = x_124; -x_12 = x_97; -x_13 = x_102; -x_14 = x_99; +x_11 = x_98; +x_12 = x_123; +x_13 = x_119; +x_14 = x_100; x_15 = x_6; x_16 = x_120; goto block_95; @@ -34966,13 +35444,13 @@ return x_130; } else { -x_8 = x_123; -x_9 = x_119; +x_8 = x_102; +x_9 = x_124; x_10 = x_121; -x_11 = x_124; -x_12 = x_97; -x_13 = x_102; -x_14 = x_99; +x_11 = x_98; +x_12 = x_123; +x_13 = x_119; +x_14 = x_100; x_15 = x_6; x_16 = x_120; goto block_95; @@ -34983,14 +35461,14 @@ goto block_95; block_140: { lean_object* x_138; -x_138 = l_Lean_Syntax_getTailPos_x3f(x_133, x_135); -lean_dec(x_133); +x_138 = l_Lean_Syntax_getTailPos_x3f(x_134, x_136); +lean_dec(x_134); if (lean_obj_tag(x_138) == 0) { lean_inc(x_137); x_96 = x_132; -x_97 = x_134; -x_98 = x_137; +x_97 = x_137; +x_98 = x_133; x_99 = x_135; x_100 = x_136; x_101 = x_137; @@ -35003,8 +35481,8 @@ x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); lean_dec_ref(x_138); x_96 = x_132; -x_97 = x_134; -x_98 = x_137; +x_97 = x_137; +x_98 = x_133; x_99 = x_135; x_100 = x_136; x_101 = x_139; @@ -35014,7 +35492,7 @@ goto block_131; block_156: { lean_object* x_145; -x_145 = l_Lean_Elab_Command_getRef___redArg(x_5, x_143); +x_145 = l_Lean_Elab_Command_getRef___redArg(x_5, x_142); if (lean_obj_tag(x_145) == 0) { lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; @@ -35025,16 +35503,16 @@ lean_inc(x_147); lean_dec_ref(x_145); x_148 = l_Lean_replaceRef(x_1, x_146); lean_dec(x_146); -x_149 = l_Lean_Syntax_getPos_x3f(x_148, x_142); +x_149 = l_Lean_Syntax_getPos_x3f(x_148, x_143); if (lean_obj_tag(x_149) == 0) { lean_object* x_150; x_150 = lean_unsigned_to_nat(0u); x_132 = x_141; -x_133 = x_148; -x_134 = x_144; -x_135 = x_142; -x_136 = x_147; +x_133 = x_144; +x_134 = x_148; +x_135 = x_147; +x_136 = x_143; x_137 = x_150; goto block_140; } @@ -35045,10 +35523,10 @@ x_151 = lean_ctor_get(x_149, 0); lean_inc(x_151); lean_dec_ref(x_149); x_132 = x_141; -x_133 = x_148; -x_134 = x_144; -x_135 = x_142; -x_136 = x_147; +x_133 = x_144; +x_134 = x_148; +x_135 = x_147; +x_136 = x_143; x_137 = x_151; goto block_140; } @@ -35123,8 +35601,8 @@ if (x_172 == 0) { lean_dec(x_170); x_158 = x_163; -x_159 = x_163; -x_160 = x_166; +x_159 = x_166; +x_160 = x_163; x_161 = x_172; goto block_162; } @@ -35135,8 +35613,8 @@ x_173 = l_Lean_logAt___at___Lean_logInfoAt___at___Lean_Elab_Command_elabCheckCor x_174 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Elab_Command_elabModuleDoc_spec__1_spec__1_spec__2_spec__2(x_170, x_173); lean_dec(x_170); x_158 = x_163; -x_159 = x_163; -x_160 = x_166; +x_159 = x_166; +x_160 = x_163; x_161 = x_174; goto block_162; } @@ -36932,7 +37410,7 @@ _start: lean_object* x_5; lean_object* x_6; x_5 = lean_alloc_ctor(8, 1, 0); lean_ctor_set(x_5, 0, x_1); -x_6 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(x_5, x_2, x_3, x_4); +x_6 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(x_5, x_2, x_3, x_4); return x_6; } } @@ -37214,13 +37692,13 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean x_13 = l_Lean_MessageData_ofFormat(x_12); x_14 = l_Lean_indentD(x_13); x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 0, x_10); lean_ctor_set(x_15, 1, x_14); x_16 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__1; x_17 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_MessageData_ofExpr(x_10); +x_18 = l_Lean_MessageData_ofExpr(x_11); x_19 = l_Lean_indentD(x_18); x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_17); @@ -37260,8 +37738,8 @@ x_34 = lean_ctor_get(x_2, 0); x_35 = l_String_quote(x_34); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_35); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_2; goto block_30; } @@ -37274,8 +37752,8 @@ lean_dec(x_2); x_37 = l_String_quote(x_36); x_38 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_38, 0, x_37); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_38; goto block_30; } @@ -37289,8 +37767,8 @@ if (x_39 == 0) { lean_object* x_40; x_40 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__9; -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_40; goto block_30; } @@ -37298,8 +37776,8 @@ else { lean_object* x_41; x_41 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__11; -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_41; goto block_30; } @@ -37320,8 +37798,8 @@ lean_ctor_set(x_2, 0, x_46); x_47 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_47, 0, x_44); lean_ctor_set(x_47, 1, x_2); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_47; goto block_30; } @@ -37339,8 +37817,8 @@ lean_ctor_set(x_52, 0, x_51); x_53 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_53, 0, x_49); lean_ctor_set(x_53, 1, x_52); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_53; goto block_30; } @@ -37355,8 +37833,8 @@ lean_object* x_55; lean_object* x_56; x_55 = lean_ctor_get(x_2, 0); x_56 = l_Nat_reprFast(x_55); lean_ctor_set(x_2, 0, x_56); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_2; goto block_30; } @@ -37369,8 +37847,8 @@ lean_dec(x_2); x_58 = l_Nat_reprFast(x_57); x_59 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_59, 0, x_58); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_59; goto block_30; } @@ -37393,8 +37871,8 @@ lean_dec(x_61); x_65 = l_Nat_reprFast(x_64); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_65); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_2; goto block_30; } @@ -37414,8 +37892,8 @@ x_72 = lean_string_append(x_69, x_71); lean_dec_ref(x_71); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_72); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_2; goto block_30; } @@ -37436,8 +37914,8 @@ lean_dec(x_73); x_77 = l_Nat_reprFast(x_76); x_78 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_78, 0, x_77); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_78; goto block_30; } @@ -37457,8 +37935,8 @@ x_85 = lean_string_append(x_82, x_84); lean_dec_ref(x_84); x_86 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_86, 0, x_85); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_86; goto block_30; } @@ -37473,8 +37951,8 @@ lean_dec_ref(x_2); x_88 = lean_box(0); x_89 = 0; x_90 = l_Lean_Syntax_formatStx(x_87, x_88, x_89); -x_10 = x_31; -x_11 = x_32; +x_10 = x_32; +x_11 = x_31; x_12 = x_90; goto block_30; } @@ -37698,7 +38176,7 @@ lean_ctor_set(x_44, 1, x_38); lean_ctor_set(x_44, 2, x_42); x_45 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(x_45, x_3, x_4, x_41); +x_46 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(x_45, x_3, x_4, x_41); x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); lean_dec_ref(x_46); @@ -37886,7 +38364,7 @@ lean_ctor_set(x_88, 1, x_82); lean_ctor_set(x_88, 2, x_86); x_89 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_89, 0, x_88); -x_90 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33(x_89, x_3, x_4, x_85); +x_90 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7(x_89, x_3, x_4, x_85); x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec_ref(x_90); @@ -43462,7 +43940,7 @@ x_8 = lean_unsigned_to_nat(0u); x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); lean_dec(x_1); -x_11 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9; +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1; x_12 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__7; x_13 = lean_box(0); x_14 = l_Lean_Syntax_getArgs(x_10); @@ -44138,8 +44616,8 @@ block_19: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_10 = l_List_appendTR___redArg(x_8, x_9); x_11 = l_Lean_Elab_Command_elabVersion___redArg___closed__7; -x_12 = l_Lean_stringToMessageData(x_5); -lean_dec_ref(x_5); +x_12 = l_Lean_stringToMessageData(x_7); +lean_dec_ref(x_7); x_13 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -44151,22 +44629,22 @@ lean_dec_ref(x_15); x_17 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_17, 0, x_13); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_logInfo___at___Lean_Elab_Command_elabVersion_spec__1(x_17, x_6, x_7, x_4); +x_18 = l_Lean_logInfo___at___Lean_Elab_Command_elabVersion_spec__1(x_17, x_5, x_6, x_4); return x_18; } block_30: { lean_object* x_26; uint8_t x_27; -x_26 = l_List_appendTR___redArg(x_24, x_25); +x_26 = l_List_appendTR___redArg(x_22, x_25); x_27 = l_Lean_Elab_Command_elabVersion___redArg___closed__8; if (x_27 == 0) { lean_object* x_28; x_28 = lean_box(0); -x_4 = x_21; -x_5 = x_20; -x_6 = x_22; -x_7 = x_23; +x_4 = x_20; +x_5 = x_21; +x_6 = x_23; +x_7 = x_24; x_8 = x_26; x_9 = x_28; goto block_19; @@ -44175,10 +44653,10 @@ else { lean_object* x_29; x_29 = l_Lean_Elab_Command_elabVersion___redArg___closed__10; -x_4 = x_21; -x_5 = x_20; -x_6 = x_22; -x_7 = x_23; +x_4 = x_20; +x_5 = x_21; +x_6 = x_23; +x_7 = x_24; x_8 = x_26; x_9 = x_29; goto block_19; @@ -44192,11 +44670,11 @@ if (x_36 == 0) { lean_object* x_37; x_37 = lean_box(0); -x_20 = x_32; -x_21 = x_31; -x_22 = x_33; -x_23 = x_34; -x_24 = x_35; +x_20 = x_31; +x_21 = x_32; +x_22 = x_35; +x_23 = x_33; +x_24 = x_34; x_25 = x_37; goto block_30; } @@ -44204,11 +44682,11 @@ else { lean_object* x_38; x_38 = l_Lean_Elab_Command_elabVersion___redArg___closed__13; -x_20 = x_32; -x_21 = x_31; -x_22 = x_33; -x_23 = x_34; -x_24 = x_35; +x_20 = x_31; +x_21 = x_32; +x_22 = x_35; +x_23 = x_33; +x_24 = x_34; x_25 = x_38; goto block_30; } @@ -44222,9 +44700,9 @@ if (x_44 == 0) lean_object* x_45; x_45 = lean_box(0); x_31 = x_43; -x_32 = x_40; -x_33 = x_41; -x_34 = x_42; +x_32 = x_41; +x_33 = x_42; +x_34 = x_40; x_35 = x_45; goto block_39; } @@ -44233,9 +44711,9 @@ else lean_object* x_46; x_46 = l_Lean_Elab_Command_elabVersion___redArg___closed__16; x_31 = x_43; -x_32 = x_40; -x_33 = x_41; -x_34 = x_42; +x_32 = x_41; +x_33 = x_42; +x_34 = x_40; x_35 = x_46; goto block_39; } @@ -45254,7 +45732,7 @@ if (lean_is_exclusive(x_9)) { lean_dec_ref(x_9); x_16 = lean_box(0); } -x_17 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(x_15, x_1); +x_17 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(x_15, x_1); if (x_17 == 0) { lean_object* x_18; @@ -45801,7 +46279,7 @@ if (lean_is_exclusive(x_10)) { lean_dec_ref(x_10); x_17 = lean_box(0); } -x_18 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__39(x_16, x_1); +x_18 = l_List_beq___at___Lean_Elab_Command_elabExport_spec__29(x_16, x_1); if (x_18 == 0) { lean_object* x_19; @@ -46743,7 +47221,7 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_58; uint8_t x_59; lean_object* x_60; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_103; uint8_t x_104; uint8_t x_105; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_58; uint8_t x_59; lean_object* x_60; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_103; uint8_t x_104; uint8_t x_105; x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_2, 1); @@ -46956,21 +47434,21 @@ block_86: lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; x_76 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_77 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_74); +lean_inc(x_73); x_78 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_78, 0, x_74); +lean_ctor_set(x_78, 0, x_73); lean_ctor_set(x_78, 1, x_76); x_79 = lean_mk_syntax_ident(x_26); x_80 = l_Lean_Elab_Command_elabSection___closed__10; x_81 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_74); +lean_inc(x_73); x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_74); +lean_ctor_set(x_82, 0, x_73); lean_ctor_set(x_82, 1, x_80); lean_ctor_set(x_82, 2, x_81); x_83 = lean_box(2); -x_84 = l_Lean_Syntax_mkNatLit(x_73, x_83); -x_85 = l_Lean_Syntax_node4(x_74, x_77, x_78, x_79, x_82, x_84); +x_84 = l_Lean_Syntax_mkNatLit(x_74, x_83); +x_85 = l_Lean_Syntax_node4(x_73, x_77, x_78, x_79, x_82, x_84); x_11 = x_72; x_12 = x_3; x_13 = x_85; @@ -46982,28 +47460,28 @@ block_102: lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; x_90 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_91 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_87); +lean_inc(x_88); x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_87); +lean_ctor_set(x_92, 0, x_88); lean_ctor_set(x_92, 1, x_90); x_93 = lean_mk_syntax_ident(x_26); x_94 = l_Lean_Elab_Command_elabSection___closed__10; x_95 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_87); +lean_inc(x_88); x_96 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_96, 0, x_87); +lean_ctor_set(x_96, 0, x_88); lean_ctor_set(x_96, 1, x_94); lean_ctor_set(x_96, 2, x_95); x_97 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___closed__5; x_98 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___closed__6; -lean_inc(x_87); +lean_inc(x_88); x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_87); +lean_ctor_set(x_99, 0, x_88); lean_ctor_set(x_99, 1, x_98); -lean_inc(x_87); -x_100 = l_Lean_Syntax_node1(x_87, x_97, x_99); -x_101 = l_Lean_Syntax_node4(x_87, x_91, x_92, x_93, x_96, x_100); -x_11 = x_88; +lean_inc(x_88); +x_100 = l_Lean_Syntax_node1(x_88, x_97, x_99); +x_101 = l_Lean_Syntax_node4(x_88, x_91, x_92, x_93, x_96, x_100); +x_11 = x_87; x_12 = x_3; x_13 = x_101; x_14 = x_89; @@ -47353,16 +47831,16 @@ x_168 = lean_ctor_get(x_167, 1); lean_inc(x_168); lean_dec_ref(x_167); x_72 = x_105; -x_73 = x_159; -x_74 = x_166; +x_73 = x_166; +x_74 = x_159; x_75 = x_168; goto block_86; } else { x_72 = x_105; -x_73 = x_159; -x_74 = x_166; +x_73 = x_166; +x_74 = x_159; x_75 = x_164; goto block_86; } @@ -47455,15 +47933,15 @@ x_184 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_185 = lean_ctor_get(x_184, 1); lean_inc(x_185); lean_dec_ref(x_184); -x_87 = x_183; -x_88 = x_105; +x_87 = x_105; +x_88 = x_183; x_89 = x_185; goto block_102; } else { -x_87 = x_183; -x_88 = x_105; +x_87 = x_105; +x_88 = x_183; x_89 = x_181; goto block_102; } @@ -47549,7 +48027,7 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_104; uint8_t x_105; uint8_t x_106; +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_45; lean_object* x_46; lean_object* x_47; uint8_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_104; uint8_t x_105; uint8_t x_106; x_9 = lean_ctor_get(x_3, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_3, 1); @@ -47671,27 +48149,27 @@ block_44: lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_34 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_35 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_31); +lean_inc(x_32); if (lean_is_scalar(x_29)) { x_36 = lean_alloc_ctor(2, 2, 0); } else { x_36 = x_29; lean_ctor_set_tag(x_36, 2); } -lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 0, x_32); lean_ctor_set(x_36, 1, x_34); x_37 = lean_mk_syntax_ident(x_27); x_38 = l_Lean_Elab_Command_elabSection___closed__10; x_39 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_31); +lean_inc(x_32); x_40 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_38); lean_ctor_set(x_40, 2, x_39); x_41 = lean_box(2); -x_42 = l_Lean_Syntax_mkStrLit(x_30, x_41); -x_43 = l_Lean_Syntax_node4(x_31, x_35, x_36, x_37, x_40, x_42); -x_12 = x_32; +x_42 = l_Lean_Syntax_mkStrLit(x_31, x_41); +x_43 = l_Lean_Syntax_node4(x_32, x_35, x_36, x_37, x_40, x_42); +x_12 = x_30; x_13 = x_4; x_14 = x_43; x_15 = x_33; @@ -47702,25 +48180,25 @@ block_58: lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_48 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_49 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_45); +lean_inc(x_46); x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_45); +lean_ctor_set(x_50, 0, x_46); lean_ctor_set(x_50, 1, x_48); x_51 = lean_mk_syntax_ident(x_27); x_52 = l_Lean_Elab_Command_elabSection___closed__10; x_53 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_45); +lean_inc(x_46); x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_45); +lean_ctor_set(x_54, 0, x_46); lean_ctor_set(x_54, 1, x_52); lean_ctor_set(x_54, 2, x_53); x_55 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__8; -lean_inc(x_45); +lean_inc(x_46); x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_45); +lean_ctor_set(x_56, 0, x_46); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Syntax_node4(x_45, x_49, x_50, x_51, x_54, x_56); -x_12 = x_46; +x_57 = l_Lean_Syntax_node4(x_46, x_49, x_50, x_51, x_54, x_56); +x_12 = x_45; x_13 = x_4; x_14 = x_57; x_15 = x_47; @@ -47731,25 +48209,25 @@ block_72: lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_62 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_63 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_59); +lean_inc(x_60); x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 0, x_60); lean_ctor_set(x_64, 1, x_62); x_65 = lean_mk_syntax_ident(x_27); x_66 = l_Lean_Elab_Command_elabSection___closed__10; x_67 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_59); +lean_inc(x_60); x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_59); +lean_ctor_set(x_68, 0, x_60); lean_ctor_set(x_68, 1, x_66); lean_ctor_set(x_68, 2, x_67); x_69 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at_____private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___at___Lean_Elab_elabSetOption___at___Lean_Elab_Command_elabSetOption_spec__0_spec__2_spec__2_spec__2___closed__10; -lean_inc(x_59); +lean_inc(x_60); x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_59); +lean_ctor_set(x_70, 0, x_60); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Syntax_node4(x_59, x_63, x_64, x_65, x_68, x_70); -x_12 = x_60; +x_71 = l_Lean_Syntax_node4(x_60, x_63, x_64, x_65, x_68, x_70); +x_12 = x_59; x_13 = x_4; x_14 = x_71; x_15 = x_61; @@ -47773,9 +48251,9 @@ lean_ctor_set(x_83, 0, x_74); lean_ctor_set(x_83, 1, x_81); lean_ctor_set(x_83, 2, x_82); x_84 = lean_box(2); -x_85 = l_Lean_Syntax_mkNatLit(x_73, x_84); +x_85 = l_Lean_Syntax_mkNatLit(x_75, x_84); x_86 = l_Lean_Syntax_node4(x_74, x_78, x_79, x_80, x_83, x_85); -x_12 = x_75; +x_12 = x_73; x_13 = x_4; x_14 = x_86; x_15 = x_76; @@ -47786,28 +48264,28 @@ block_103: lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; x_91 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__0; x_92 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabSetOption___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__1; -lean_inc(x_88); +lean_inc(x_89); x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_88); +lean_ctor_set(x_93, 0, x_89); lean_ctor_set(x_93, 1, x_91); x_94 = lean_mk_syntax_ident(x_27); x_95 = l_Lean_Elab_Command_elabSection___closed__10; x_96 = l_Lean_Elab_Command_elabSection___closed__11; -lean_inc(x_88); +lean_inc(x_89); x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_88); +lean_ctor_set(x_97, 0, x_89); lean_ctor_set(x_97, 1, x_95); lean_ctor_set(x_97, 2, x_96); x_98 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___closed__5; x_99 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabWhere_describeOptions_spec__0_spec__0___redArg___closed__6; -lean_inc(x_88); +lean_inc(x_89); x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_88); +lean_ctor_set(x_100, 0, x_89); lean_ctor_set(x_100, 1, x_99); -lean_inc(x_88); -x_101 = l_Lean_Syntax_node1(x_88, x_98, x_100); -x_102 = l_Lean_Syntax_node4(x_88, x_92, x_93, x_94, x_97, x_101); -x_12 = x_89; +lean_inc(x_89); +x_101 = l_Lean_Syntax_node1(x_89, x_98, x_100); +x_102 = l_Lean_Syntax_node4(x_89, x_92, x_93, x_94, x_97, x_101); +x_12 = x_88; x_13 = x_4; x_14 = x_102; x_15 = x_90; @@ -47848,17 +48326,17 @@ x_115 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_116 = lean_ctor_get(x_115, 1); lean_inc(x_116); lean_dec_ref(x_115); -x_30 = x_107; -x_31 = x_114; -x_32 = x_106; +x_30 = x_106; +x_31 = x_107; +x_32 = x_114; x_33 = x_116; goto block_44; } else { -x_30 = x_107; -x_31 = x_114; -x_32 = x_106; +x_30 = x_106; +x_31 = x_107; +x_32 = x_114; x_33 = x_112; goto block_44; } @@ -47957,15 +48435,15 @@ x_133 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_134 = lean_ctor_get(x_133, 1); lean_inc(x_134); lean_dec_ref(x_133); -x_45 = x_132; -x_46 = x_106; +x_45 = x_106; +x_46 = x_132; x_47 = x_134; goto block_58; } else { -x_45 = x_132; -x_46 = x_106; +x_45 = x_106; +x_46 = x_132; x_47 = x_130; goto block_58; } @@ -48054,15 +48532,15 @@ x_150 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_151 = lean_ctor_get(x_150, 1); lean_inc(x_151); lean_dec_ref(x_150); -x_59 = x_149; -x_60 = x_106; +x_59 = x_106; +x_60 = x_149; x_61 = x_151; goto block_72; } else { -x_59 = x_149; -x_60 = x_106; +x_59 = x_106; +x_60 = x_149; x_61 = x_147; goto block_72; } @@ -48156,17 +48634,17 @@ x_168 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_169 = lean_ctor_get(x_168, 1); lean_inc(x_169); lean_dec_ref(x_168); -x_73 = x_160; +x_73 = x_106; x_74 = x_167; -x_75 = x_106; +x_75 = x_160; x_76 = x_169; goto block_87; } else { -x_73 = x_160; +x_73 = x_106; x_74 = x_167; -x_75 = x_106; +x_75 = x_160; x_76 = x_165; goto block_87; } @@ -48259,15 +48737,15 @@ x_185 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_186 = lean_ctor_get(x_185, 1); lean_inc(x_186); lean_dec_ref(x_185); -x_88 = x_184; -x_89 = x_106; +x_88 = x_106; +x_89 = x_184; x_90 = x_186; goto block_103; } else { -x_88 = x_184; -x_89 = x_106; +x_88 = x_106; +x_89 = x_184; x_90 = x_182; goto block_103; } @@ -48938,28 +49416,28 @@ block_61: lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; x_47 = l_Lean_Elab_Command_elabInclude___closed__0; x_48 = l_Lean_Elab_Command_elabInclude___closed__1; -lean_inc(x_44); +lean_inc(x_45); x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 0, x_45); lean_ctor_set(x_49, 1, x_47); x_50 = l_Lean_Elab_Command_elabSection___closed__10; x_51 = l_Lean_Elab_Command_elabSection___closed__11; -x_52 = lean_array_mk(x_43); +x_52 = lean_array_mk(x_44); x_53 = lean_array_size(x_52); x_54 = 0; x_55 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Command_elabWhere_spec__0(x_53, x_54, x_52); x_56 = l_Array_append___redArg(x_51, x_55); lean_dec_ref(x_55); -lean_inc(x_44); +lean_inc(x_45); x_57 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_57, 0, x_44); +lean_ctor_set(x_57, 0, x_45); lean_ctor_set(x_57, 1, x_50); lean_ctor_set(x_57, 2, x_56); -x_58 = l_Lean_Syntax_node2(x_44, x_48, x_49, x_57); +x_58 = l_Lean_Syntax_node2(x_45, x_48, x_49, x_57); x_59 = l_Lean_MessageData_ofSyntax(x_58); x_60 = lean_array_push(x_42, x_59); x_26 = x_60; -x_27 = x_45; +x_27 = x_43; x_28 = x_41; x_29 = x_46; goto block_40; @@ -48999,9 +49477,9 @@ lean_inc(x_75); lean_dec_ref(x_74); x_41 = x_64; x_42 = x_62; -x_43 = x_24; -x_44 = x_73; -x_45 = x_63; +x_43 = x_63; +x_44 = x_24; +x_45 = x_73; x_46 = x_75; goto block_61; } @@ -49009,9 +49487,9 @@ else { x_41 = x_64; x_42 = x_62; -x_43 = x_24; -x_44 = x_73; -x_45 = x_63; +x_43 = x_63; +x_44 = x_24; +x_45 = x_73; x_46 = x_71; goto block_61; } @@ -49086,24 +49564,24 @@ block_101: lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; x_91 = l_Lean_Elab_Command_elabVariable___closed__0; x_92 = l_Lean_Elab_Command_elabVariable___closed__1; -lean_inc(x_88); +lean_inc(x_86); x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_88); +lean_ctor_set(x_93, 0, x_86); lean_ctor_set(x_93, 1, x_91); x_94 = l_Lean_Elab_Command_elabSection___closed__10; x_95 = l_Lean_Elab_Command_elabSection___closed__11; -x_96 = l_Array_append___redArg(x_95, x_85); -lean_dec_ref(x_85); -lean_inc(x_88); +x_96 = l_Array_append___redArg(x_95, x_89); +lean_dec_ref(x_89); +lean_inc(x_86); x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_88); +lean_ctor_set(x_97, 0, x_86); lean_ctor_set(x_97, 1, x_94); lean_ctor_set(x_97, 2, x_96); -x_98 = l_Lean_Syntax_node2(x_88, x_92, x_93, x_97); +x_98 = l_Lean_Syntax_node2(x_86, x_92, x_93, x_97); x_99 = l_Lean_MessageData_ofSyntax(x_98); -x_100 = lean_array_push(x_89, x_99); +x_100 = lean_array_push(x_88, x_99); x_62 = x_100; -x_63 = x_86; +x_63 = x_85; x_64 = x_87; x_65 = x_90; goto block_84; @@ -49144,21 +49622,21 @@ x_117 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_118 = lean_ctor_get(x_117, 1); lean_inc(x_118); lean_dec_ref(x_117); -x_85 = x_115; -x_86 = x_103; +x_85 = x_103; +x_86 = x_116; x_87 = x_104; -x_88 = x_116; -x_89 = x_102; +x_88 = x_102; +x_89 = x_115; x_90 = x_118; goto block_101; } else { -x_85 = x_115; -x_86 = x_103; +x_85 = x_103; +x_86 = x_116; x_87 = x_104; -x_88 = x_116; -x_89 = x_102; +x_88 = x_102; +x_89 = x_115; x_90 = x_111; goto block_101; } @@ -49235,26 +49713,26 @@ block_145: lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; x_134 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse__1___closed__0; x_135 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabUniverse___regBuiltin_Lean_Elab_Command_elabUniverse__1___closed__1; -lean_inc(x_130); +lean_inc(x_129); x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_130); +lean_ctor_set(x_136, 0, x_129); lean_ctor_set(x_136, 1, x_134); x_137 = l_Lean_Elab_Command_elabSection___closed__10; x_138 = l_Lean_Elab_Command_elabSection___closed__11; -x_139 = lean_array_mk(x_131); +x_139 = lean_array_mk(x_128); x_140 = l_Array_append___redArg(x_138, x_139); lean_dec_ref(x_139); -lean_inc(x_130); +lean_inc(x_129); x_141 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_141, 0, x_130); +lean_ctor_set(x_141, 0, x_129); lean_ctor_set(x_141, 1, x_137); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Syntax_node2(x_130, x_135, x_136, x_141); +x_142 = l_Lean_Syntax_node2(x_129, x_135, x_136, x_141); x_143 = l_Lean_MessageData_ofSyntax(x_142); -x_144 = lean_array_push(x_129, x_143); +x_144 = lean_array_push(x_131, x_143); x_102 = x_144; -x_103 = x_128; -x_104 = x_132; +x_103 = x_132; +x_104 = x_130; x_105 = x_133; goto block_127; } @@ -49294,21 +49772,21 @@ x_161 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_162 = lean_ctor_get(x_161, 1); lean_inc(x_162); lean_dec_ref(x_161); -x_128 = x_147; -x_129 = x_146; -x_130 = x_160; -x_131 = x_159; -x_132 = x_148; +x_128 = x_159; +x_129 = x_160; +x_130 = x_148; +x_131 = x_146; +x_132 = x_147; x_133 = x_162; goto block_145; } else { -x_128 = x_147; -x_129 = x_146; -x_130 = x_160; -x_131 = x_159; -x_132 = x_148; +x_128 = x_159; +x_129 = x_160; +x_130 = x_148; +x_131 = x_146; +x_132 = x_147; x_133 = x_155; goto block_145; } @@ -49455,17 +49933,17 @@ block_201: lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; x_194 = l_Lean_Elab_Command_elabNamespace___closed__0; x_195 = l_Lean_Elab_Command_elabNamespace___closed__1; -lean_inc(x_188); +lean_inc(x_189); x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_188); +lean_ctor_set(x_196, 0, x_189); lean_ctor_set(x_196, 1, x_194); -x_197 = lean_mk_syntax_ident(x_192); -x_198 = l_Lean_Syntax_node2(x_188, x_195, x_196, x_197); +x_197 = lean_mk_syntax_ident(x_191); +x_198 = l_Lean_Syntax_node2(x_189, x_195, x_196, x_197); x_199 = l_Lean_MessageData_ofSyntax(x_198); x_200 = lean_array_push(x_190, x_199); x_172 = x_200; -x_173 = x_191; -x_174 = x_189; +x_173 = x_188; +x_174 = x_192; x_175 = x_193; goto block_187; } @@ -49502,21 +49980,21 @@ x_214 = l_Lean_getMainModule___at___Lean_Elab_Command_elabSection_spec__0___redA x_215 = lean_ctor_get(x_214, 1); lean_inc(x_215); lean_dec_ref(x_214); -x_188 = x_213; -x_189 = x_204; +x_188 = x_203; +x_189 = x_213; x_190 = x_202; -x_191 = x_203; -x_192 = x_20; +x_191 = x_20; +x_192 = x_204; x_193 = x_215; goto block_201; } else { -x_188 = x_213; -x_189 = x_204; +x_188 = x_203; +x_189 = x_213; x_190 = x_202; -x_191 = x_203; -x_192 = x_20; +x_191 = x_20; +x_192 = x_204; x_193 = x_211; goto block_201; } @@ -50912,6 +51390,63 @@ lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_e if (builtin) {res = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabInitQuot___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__3(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___lam__0___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__2); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__4); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__6); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__7); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__9); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__10); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__11); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__13); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__0); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__1); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0_spec__7___closed__2); +l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0 = _init_l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabDocsToVerso_spec__0___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Elab_Command_elabDocsToVerso_spec__10_spec__10___closed__1); +l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__0); +l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__1); +l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__2); +l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1___closed__3); +if (builtin) {res = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabDocsToVerso___regBuiltin_Lean_Elab_Command_elabDocsToVerso__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__1___closed__0 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__1___closed__0(); lean_mark_persistent(l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0_spec__1___closed__0); l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__0 = _init_l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__0(); @@ -50922,40 +51457,6 @@ l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__2 lean_mark_persistent(l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__2); l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__3 = _init_l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__3(); lean_mark_persistent(l_Lean_resolveNamespace___at___Lean_Elab_Command_elabExport_spec__0___closed__3); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___lam__0___closed__0); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__0); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__1); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__2); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__3); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__4); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__5); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__6); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__7); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__8); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__9); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__10); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__11); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__12); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6_spec__6_spec__6___closed__13); -l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__0); -l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__6___redArg___closed__1); l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13___closed__0 = _init_l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13___closed__0(); lean_mark_persistent(l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13___closed__0); l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13___closed__1 = _init_l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3_spec__3_spec__3_spec__13___closed__1(); @@ -50994,14 +51495,6 @@ l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_re lean_mark_persistent(l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__3); l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__4 = _init_l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__4(); lean_mark_persistent(l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at___Lean_Elab_Command_elabExport_spec__3_spec__3___closed__4); -l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__0); -l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__1); -l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26_spec__33___closed__2); -l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0 = _init_l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0(); -lean_mark_persistent(l_Lean_Elab_addConstInfo___at___Lean_Elab_Command_elabExport_spec__26___closed__0); l_Lean_Elab_Command_elabExport___closed__0 = _init_l_Lean_Elab_Command_elabExport___closed__0(); lean_mark_persistent(l_Lean_Elab_Command_elabExport___closed__0); l_Lean_Elab_Command_elabExport___closed__1 = _init_l_Lean_Elab_Command_elabExport___closed__1(); @@ -51136,10 +51629,6 @@ l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___c lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__7); l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8(); lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__8); -l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__9); -l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__10); l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__0(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__0); l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation_spec__1_spec__1___lam__0___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DocString.c b/stage0/stdlib/Lean/Elab/DocString.c index d5088e14e7..873f66eb65 100644 --- a/stage0/stdlib/Lean/Elab/DocString.c +++ b/stage0/stdlib/Lean/Elab/DocString.c @@ -16,55 +16,60 @@ extern "C" { LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__38; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNat___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocDirectives; static lean_object* l_Lean_Doc_elabInline___closed__26; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocRoles; +LEAN_EXPORT lean_object* l___private_Lean_Util_Diff_0__Lean_Diff_matchPrefix_go___at___Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5_spec__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__34; static lean_object* l_Lean_Doc_elabInline___closed__11; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___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_string_utf8_extract(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__9; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_done(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_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__2; lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ofSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___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*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(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_Doc_getMany___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__28; static lean_object* l_Lean_Doc_elabInline___closed__24; LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__5; -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_Context_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgIdent; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNat___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__0; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19_spec__19(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_severityHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_elabInline___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_elabInline___closed__17; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; extern lean_object* l_Lean_instMonadExceptOfExceptionCoreM; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage___closed__0; -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5(lean_object*, lean_object*); +uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__36; lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__1; @@ -74,12 +79,15 @@ LEAN_EXPORT lean_object* l_Lean_Doc_instToMessageDataDocArg; uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__2___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__4; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__3; -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0(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_Doc_instMonadLiftTermElabMDocM___lam__0(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_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3___boxed(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_builtinDocCodeBlocks; lean_object* l_Lean_Environment_evalConst___redArg(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_67909867____hygCtx___hyg_2_(lean_object*); size_t lean_usize_shift_right(size_t, size_t); static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__0; static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; @@ -87,52 +95,60 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed_ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_positional_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__9; uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__6; lean_object* l_Lean_TSyntax_getId(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__6; -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__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_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCommands; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_CodeSuggestion_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__1; static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__0; lean_object* l_Lean_Environment_constants(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(lean_object*); lean_object* lean_private_to_user_name(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__28; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; lean_object* l_instMonadStateOfOfMonadLift___redArg___lam__0(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__13____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; extern lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; lean_object* l_StateT_instMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__1; static lean_object* l_Lean_Doc_elabInline___closed__13; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__0___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3(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_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_toCtorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__23; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__33; +LEAN_EXPORT lean_object* l_Lean_Doc_builtinDocRoles; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__8; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_many_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -141,93 +157,123 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binder LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__2(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_Doc_instFromDocArgString___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; lean_object* l_Lean_indentD(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__3; +static lean_object* l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2; uint8_t l_Array_isEmpty___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__2; static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2; lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__15; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0___boxed(lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_docCodeBlockExt; static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_positional_elim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__0___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_severityHint_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; lean_object* l_Lean_TSyntax_getString(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___lam__0___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__2; size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__0; static lean_object* l_Lean_Doc_elabInline___closed__34; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__30; LEAN_EXPORT lean_object* l_Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__1; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__4; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(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_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__5; static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__2___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instInhabitedConfigWithKey___private__1; +lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__13____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_object* l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12; +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__22; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__10; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__0___closed__3; static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__6; -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_addBuiltinDocCommand___closed__0; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__5; lean_object* l_Std_DTreeMap_Internal_Impl_balance___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNumLit___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_docCommandExt; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(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_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Doc_instFromDocArgMessageSeverity___private__1_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNumLit___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonadExceptOf___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__19; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___closed__2; LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__32; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__2; -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__10; static lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1___closed__2; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgStrLit___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1___closed__0; @@ -237,12 +283,13 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1(size_t, size_t, lean_object*); lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +static lean_object* l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__0___closed__0; static lean_object* l_Lean_Doc_elabBlock___closed__26; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; static lean_object* l_Lean_Doc_instMonadStateOfStateDocM___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__6; @@ -252,78 +299,99 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withS lean_object* l_instMonadStateOfOfMonadLift___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___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_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13(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_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_codeSuggestionExt; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__2; static lean_object* l_Lean_Doc_elabInline___closed__37; -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__15; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgIdent___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__2; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__4____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__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*); +static lean_object* l_Lean_Doc_addBuiltinDocDirective___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__5____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__8; -LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(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_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(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_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__12; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Doc_instMonadStateOfStateDocM; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(lean_object*); uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_docDirectiveExt; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_doc_verso_suggestions; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__9; static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__16____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; static lean_object* l_Lean_Doc_elabBlock___closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNat___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_flag_elim___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__7; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__33; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__3; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_; static size_t l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabImage_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__3___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_string_hash(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__2; @@ -331,180 +399,207 @@ LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4042854543 static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__5; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg___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_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__25; lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__6; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__26; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1692624857____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__2; lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__3; static lean_object* l_Lean_Doc_elabBlock___closed__18; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_syntax(lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; uint8_t l_List_isEmpty___redArg(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_builtinCodeSuggestions; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_Ref_ctorIdx___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__2; static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +static lean_object* l_Lean_Doc_getPositional___redArg___closed__40; static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___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_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__7; lean_object* l_StateRefT_x27_instMonadExceptOf___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___boxed(lean_object**); +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__24; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_toCtorIdx(uint8_t); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__11; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_hint(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__6; static lean_object* l_Lean_Doc_elabInline___closed__1; static lean_object* l_Lean_Doc_elabInline___closed__21; -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1271404620____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg___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___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(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_DocString_0__Lean_Doc_delayLink(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5; uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_(uint8_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__9; lean_object* lean_string_push(lean_object*, uint32_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionExt; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___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_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___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 lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; lean_object* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgString; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__2; static lean_object* l_Lean_Doc_getPositional___redArg___closed__32; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__5; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__4; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__20; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(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_Doc_SuggestionMode_interactive_elim___redArg(lean_object*); +static lean_object* l_Lean_Doc_getPositional___redArg___closed__38; LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0___boxed(lean_object**); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg(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_Doc_getPositional___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__31; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4__spec__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__27; static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(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_DocString_0__Lean_Doc_mkArg(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Doc_instBEqSuggestionMode_beq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(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_DocString_0__Lean_Doc_mkArg(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_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9___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_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__8; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Util_Diff_0__Lean_Diff_matchSuffix_go___at___Lean_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7_spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__23; static lean_object* l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeBlockSuggestions; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_docCommandExt; uint8_t l_Lean_Expr_isAppOfArity_x27(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__3; uint8_t lean_string_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Environment_unlockAsync(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__10; static lean_object* l_Lean_Doc_elabInline___closed__30; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeSuggestions; -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19___redArg___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_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1; static lean_object* l_Lean_Doc_getPositional___redArg___closed__27; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13_spec__13___redArg(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_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg(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_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg(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_DocString_0__Lean_Doc_ElabImage_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__12; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___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_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___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*); +static lean_object* l_Lean_Doc_instReprSuggestionMode___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNumLit___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP___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___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP___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_Doc_instFromDocArgNumLit; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -512,20 +607,24 @@ LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_ lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorIdx(lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__9; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_elabInline___closed__10; lean_object* l_Lean_Core_withFreshMacroScope___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_InternalState_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; static lean_object* l_Lean_Doc_getPositional___redArg___closed__22; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__10; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_docRoleExt; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3_spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__11; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__2____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed(lean_object*); lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_CodeSuggestion_ctorIdx___boxed(lean_object*); @@ -535,16 +634,19 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___la static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__7; static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__10; static lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1___closed__1; +static lean_object* l_Lean_Doc_instBEqSuggestionMode___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_num_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgBool___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(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_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__28; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getFlag(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getFlag(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__14____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__11; static lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__0; static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___closed__3; @@ -553,21 +655,27 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6___boxed(lean_object**); lean_object* lean_nat_to_int(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDataValue___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20___boxed(lean_object*, lean_object*); +lean_object* l_Array_empty(lean_object*); static lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__3; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__12; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__5; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(uint32_t, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; @@ -580,7 +688,6 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag__ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__28; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -589,102 +696,116 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI LEAN_EXPORT lean_object* l_Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorElim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_num_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_State_ctorIdx(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__2; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__12; -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadEIO(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax(lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__2___closed__2; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__30; static lean_object* l_Lean_Doc_elabInline___closed__33; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__9____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instToMessageDataDocArg___lam__0(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__11; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__36; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__1___redArg___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___private_Lean_Elab_DocString_0__Lean_Doc_docRoleExt; static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__7; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__17; static lean_object* l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgBool___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Term_instMonadTermElabM___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDataValue; lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__31; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__15____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -static lean_object* l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote(lean_object*); -lean_object* l_Lean_NameSet_append(lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__0; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ident_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(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_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(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 uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__3; static lean_object* l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__22; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__35; static size_t l_Lean_Doc_instFromDocArgDataValue___private__1___closed__8; +lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__35; static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_str_elim(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__11; static lean_object* l_Lean_Doc_elabBlock___closed__24; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -692,53 +813,55 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lea static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1___lam__0(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_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__30; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__23; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB___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_logWarning___at___Lean_Doc_elabInline_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__12____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* l_Array_ofSubarray___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3663701764____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonad___redArg___lam__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgIdent___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__0___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___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__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_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__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*); uint8_t l_Lean_Syntax_isMissing(lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___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*); static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__13; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__12; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instToExprName___private__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Subarray_get___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_privateToUserName(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__13; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadTermElabM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_851129842____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__22; LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___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_object* l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getFlag___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__7; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__9____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; @@ -747,116 +870,134 @@ lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__10; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__2___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_elabBlocks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_elabBlocks(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_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgString___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Subarray_drop___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__1; lean_object* l_Lean_registerSimpleScopedEnvExtension___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__17; static lean_object* l_Lean_Doc_elabBlock___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks___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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_MessageData_orList(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgStrLit; -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__25; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__13; lean_object* l_Lean_Name_componentsRev(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_instMonadLiftBaseIOEIO___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__25; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; static lean_object* l_Lean_Doc_getPositional___redArg___closed__31; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgIdent___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__2; +lean_object* l_Subarray_take___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_rootNamespace; -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Diff_Action_linePrefix(uint8_t); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2___boxed(lean_object**); lean_object* l_ReaderT_instMonadExceptOf___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_CodeBlockSuggestion_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Subarray_split___redArg(lean_object*, lean_object*); extern lean_object* l_Lean_warningAsError; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_pp_macroStack; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); lean_object* l_StateT_instMonad___redArg___lam__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__15; static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instReprSuggestionMode; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___boxed(lean_object**); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__36; +LEAN_EXPORT lean_object* l_Lean_Doc_builtinDocDirectives; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgIdent___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg___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_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__14; static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___redArg___closed__1; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___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___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__2; -LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0(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_Functor_mapRev___at___Lean_Doc_elabInline_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instTypeNameElabImage; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgBool___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__3; -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1; static lean_object* l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_WithSyntax_ctorIdx___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object*); lean_object* l_Array_extract___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__12; -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__7; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__0; lean_object* l_StateT_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__32; static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__6; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scopedEnvExtensionsRef; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNat___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1___boxed(lean_object*); static lean_object* l_Lean_Doc_getMany___redArg___closed__0; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; @@ -864,11 +1005,10 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____pri static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__2; static lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__0; static lean_object* l_Lean_Doc_addBuiltinCodeSuggestion___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__14; -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg(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_Doc_DocM_exec___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__12; lean_object* l_Lean_instAddMessageContextOfMonadLift___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__16; @@ -878,246 +1018,295 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___c uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___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_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__1___closed__0; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgNat___private__1___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__10; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; lean_object* l_ReaderT_instMonadExceptOf___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_NameSet_insert(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; +uint8_t l_Lean_Diff_instBEqAction_beq(uint8_t, uint8_t); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* l_Lean_MacroScopesView_review(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_syntax___boxed(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +static lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCodeBlocks; LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ofSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3_spec__3___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__21(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_2508461323____hygCtx___hyg_2_(lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8___boxed(lean_object**); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__19; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__8; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_mkFreshUserName(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_docCodeBlockExt; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(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_logErrorAt___at___Lean_Doc_done_spec__0(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_logErrorAt___at___Lean_Doc_done_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__16; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(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_DocString_0__Lean_Doc_fixupBlocks_fixB(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_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_elabBlock_spec__17(lean_object*); lean_object* l_StateRefT_x27_lift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_instBEqSuggestionMode_beq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___boxed(lean_object**); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__1; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocDirective(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocDirective(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_elabBlock_spec__20(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorIdx(uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Doc_Inline_empty(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg___closed__4; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__5; lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_288960067____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instTypeNameElabLink; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgStrLit___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgs(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3___boxed(lean_object**); lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_severityHint_spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__11; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprSuggestionMode_repr(uint8_t, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__27; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0(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_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__7; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgBool; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__2; static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__9; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getMany___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__7; static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19___redArg(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0; +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1; +LEAN_EXPORT lean_object* l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___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 lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__14; static lean_object* l_Lean_Doc_elabInline___closed__18; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg(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_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__36; static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__2___redArg___closed__0; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ident_elim(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__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_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__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_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__21; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build(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_DocString_0__Lean_Doc_mkAppStx(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_DocString_0__Lean_Doc_mkAppStx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1; lean_object* l_Lean_Name_appendCore(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabLink_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__7; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__7; static lean_object* l_Lean_Doc_elabInline___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabFootnote_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_getPositional___redArg___closed__24; lean_object* l_Lean_Meta_instMonadMetaM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_WithSyntax_ctorIdx(lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim___redArg___boxed(lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_Ref_ctorIdx(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__13; LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline(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_Doc_SuggestionMode_ctorElim___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TSyntax_getNat(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10___redArg(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg___closed__1; static lean_object* l_Lean_Doc_getPositional___redArg___closed__13; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_addBuiltinDocRole___closed__0; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(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_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__18; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__21___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__12; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__4; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__8____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9___boxed(lean_object**); lean_object* l_ReaderT_instMonadFunctor___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__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_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(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_logWarning___at___Lean_Doc_elabInline_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__3; static lean_object* l_Lean_Doc_elabInline___closed__20; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__1___redArg___lam__0(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_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabFootnote_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgStrLit___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_elabBlock(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_Doc_elabBlock(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___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_Doc_initFn____x40_Lean_Elab_DocString_966400761____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__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*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__3; static lean_object* l_Lean_Doc_elabBlock___closed__17; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__7; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__12; -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; @@ -1126,21 +1315,24 @@ static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_lift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__4; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__17; uint8_t l_Lean_instBEqBinderInfo_beq(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; lean_object* l_StateRefT_x27_instMonadExceptOf___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlock_withSpace(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_many_elim___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonadFunctor___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); @@ -1148,180 +1340,204 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instTypeNam LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage(lean_object*, lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__1___redArg___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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__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_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__5; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_elabInline___closed__29; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_FromDocArg_ctorIdx___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__21; static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_codeBlockSuggestionExt; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; lean_object* l_List_reverse___redArg(lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__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*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__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*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__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_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__3; lean_object* l_Bool_repr___redArg(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_builtinDocCommands; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +uint8_t l_instDecidableNot___redArg(uint8_t); lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___lam__0(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_instMonadStateOfOfMonadLiftTST___redArg(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__9; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*); +uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_builtinCodeBlockSuggestions; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonadExceptOf___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_str_elim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__20; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0(lean_object*); lean_object* l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; static lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__0; static lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__4; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; lean_object* l_Nat_nextPowerOfTwo(lean_object*); static lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs___boxed(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_DocString_0__Lean_Doc_warnUnusedRefs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabBlock___closed__3; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__5; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_docDirectiveExt; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__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_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2_spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__10; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___closed__0; static lean_object* l_Lean_Doc_elabInline___closed__16; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgString___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgMessageSeverity; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0; static lean_object* l_Lean_Doc_elabBlock___closed__25; +lean_object* l_Subarray_size___redArg(lean_object*); +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__9; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__15; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__6; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgNumLit___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instBEqInternalExceptionId_beq(lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__5; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(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_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(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_Doc_SuggestionMode_batch_elim___redArg(lean_object*); static lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__4; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__37; lean_object* l_instMonadLiftT___lam__0___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk___redArg(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_DocString_0__Lean_Doc_DocM_mk___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__26; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___closed__1; -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___redArg___lam__0(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_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgBool___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0(uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_elabBlock___closed__31; lean_object* l_Lean_Core_liftIOCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__13; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__1; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31(size_t, size_t, lean_object*); uint8_t l_Substring_beq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___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_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___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_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; lean_object* l_Lean_FVarId_getDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__1___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__4; static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__2___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__35; static lean_object* l_Lean_Doc_elabInline___closed__4; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__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*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__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_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_FromDocArg_ctorIdx(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); static lean_object* l_Lean_Doc_instFromDocArgIdent___private__1___closed__1; size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_State_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; lean_object* l_Lean_instReprExpr_repr(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__11; LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13___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___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1331,119 +1547,133 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32(size_t, size_t, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__0; lean_object* l_Lean_Name_mkStr1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__8; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__8; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_Context_ctorIdx(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadCoreM___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__19(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10; static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object*); lean_object* l_Lean_Doc_Block_empty(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_CodeBlockSuggestion_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__1; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__7____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(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_DocString_0__Lean_Doc_DocM_exec_buildContext(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_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_(lean_object*); static lean_object* l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__27; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5(uint8_t, uint8_t, lean_object*); lean_object* l_Lean_ScopedEnvExtension_addCore___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec(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_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___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*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__11____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +static lean_object* l_Lean_Doc_instReprSuggestionMode_repr___closed__2; static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_flag_elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__9; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__7; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__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_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgStrLit___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionExt; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__10(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__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*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAddMessageContextMetaM; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg(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_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1; static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__7; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__0; static lean_object* l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; lean_object* l_Lean_addAndCompile(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__3; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_done___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___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_done___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_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__4; @@ -1451,40 +1681,45 @@ uint8_t l_Lean_Exception_isRuntime(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__4; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(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_DocString_0__Lean_Doc_fixupBlocks(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_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getFlag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_getFlag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocArg_ofSyntax___closed__0; -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3731110313____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorElim___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(uint8_t, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__13; +LEAN_EXPORT lean_object* l_Lean_Doc_instBEqSuggestionMode; +static lean_object* l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___boxed(lean_object**); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3866164309____hygCtx___hyg_2_(lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__18; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4; static lean_object* l_Lean_Doc_elabBlock___closed__19; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0___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_Doc_instMonadStateOfInternalStateDocM; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__0; static lean_object* l_Lean_Doc_getPositional___redArg___closed__20; lean_object* l_instMonadLiftTOfMonadLift___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__6; -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional(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_Doc_getPositional(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprSuggestionMode_repr___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___redArg___closed__34; lean_object* l_String_toSubstring_x27(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__2; +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabLink_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__1; static lean_object* l_Lean_Doc_getPositional___redArg___closed__29; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; @@ -1500,784 +1735,69 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_named_elim(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMetaM___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instFromDocArgBool___private__1___closed__3; +static lean_object* l_Lean_Doc_elabBlock___closed__29; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__4____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_elabInline___closed__23; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +static lean_object* l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___lam__0___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; static lean_object* l_Lean_Doc_instFromDocArgIdent___private__1___closed__0; static lean_object* l_Lean_Doc_elabBlock___closed__4; +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeBlockSuggestion(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_InternalState_ctorIdx(lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgString___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__7____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getPositional___redArg___closed__39; +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_elabInline___closed__32; static lean_object* l_Lean_Doc_elabBlock___closed__9; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0; static lean_object* l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__2; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_object* l_Lean_Expr_getRevArg_x21_x27(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_pure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__34; static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__1; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__0; static lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0; static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__7____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; lean_object* l_IO_instMonadLiftSTRealWorldBaseIO___lam__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__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*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___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*); static lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; static lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__2; static lean_object* l_Lean_Doc_getPositional___redArg___closed__21; static lean_object* l_Lean_Doc_getPositional___redArg___closed__37; -static lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___closed__7; -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_NameSet_insert(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(uint8_t x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_3, 0, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Doc", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("codeSuggestionExt", 17, 17); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_NameSet_empty; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_), 2, 0); -x_3 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 2, 0); -x_4 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 1, 0); -x_5 = l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_7 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_2); -lean_ctor_set(x_7, 2, x_6); -lean_ctor_set(x_7, 3, x_4); -lean_ctor_set(x_7, 4, x_3); -x_8 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_7, x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -x_4 = l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(x_3, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3731110313____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("codeBlockSuggestionExt", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_2); -lean_ctor_set(x_6, 4, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1271404620____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_7; -x_7 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0; -x_3 = x_7; -goto block_6; -} -else -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -lean_dec_ref(x_2); -x_3 = x_8; -goto block_6; -} -block_6: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_array_push(x_3, x_1); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 2); -x_8 = lean_ctor_get(x_3, 3); -x_9 = lean_ctor_get(x_3, 4); -x_10 = l_Lean_Name_quickCmp(x_2, x_6); -switch (x_10) { -case 0: -{ -lean_object* x_11; lean_object* x_12; -lean_free_object(x_3); -lean_dec(x_5); -x_11 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_8); -x_12 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_6, x_7, x_11, x_9); -return x_12; -} -case 1: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_7); -x_14 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -lean_ctor_set(x_3, 2, x_15); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -default: -{ -lean_object* x_16; lean_object* x_17; -lean_free_object(x_3); -lean_dec(x_5); -x_16 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_9); -x_17 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_6, x_7, x_8, x_16); -return x_17; -} -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_3, 0); -x_19 = lean_ctor_get(x_3, 1); -x_20 = lean_ctor_get(x_3, 2); -x_21 = lean_ctor_get(x_3, 3); -x_22 = lean_ctor_get(x_3, 4); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_3); -x_23 = l_Lean_Name_quickCmp(x_2, x_19); -switch (x_23) { -case 0: -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_18); -x_24 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_21); -x_25 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_19, x_20, x_24, x_22); -return x_25; -} -case 1: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_20); -x_27 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_29, 0, x_18); -lean_ctor_set(x_29, 1, x_2); -lean_ctor_set(x_29, 2, x_28); -lean_ctor_set(x_29, 3, x_21); -lean_ctor_set(x_29, 4, x_22); -return x_29; -} -default: -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_18); -x_30 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_22); -x_31 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_19, x_20, x_21, x_30); -return x_31; -} -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_box(0); -x_33 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_2); -lean_ctor_set(x_36, 2, x_34); -lean_ctor_set(x_36, 3, x_3); -lean_ctor_set(x_36, 4, x_3); -return x_36; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_2, 1); -lean_inc(x_4); -lean_dec_ref(x_2); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_4, x_3, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(uint8_t x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_3, 0, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docRoleExt", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_), 2, 0); -x_3 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed), 2, 0); -x_4 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_2); -lean_ctor_set(x_7, 2, x_6); -lean_ctor_set(x_7, 3, x_4); -lean_ctor_set(x_7, 4, x_3); -x_8 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_7, x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -x_4 = l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(x_3, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_67909867____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_box(1); -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docCodeBlockExt", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_3 = lean_box(1); -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_2); -lean_ctor_set(x_6, 4, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_851129842____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_box(1); -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docDirectiveExt", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_3 = lean_box(1); -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_2); -lean_ctor_set(x_6, 4, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; -x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3663701764____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_box(1); -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docCommandExt", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; -x_3 = lean_box(1); -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_2); -lean_ctor_set(x_6, 4, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; -x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_2508461323____hygCtx___hyg_2_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_box(1); -x_3 = lean_st_mk_ref(x_2, x_1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ElabLink_ctorIdx(lean_object* x_1) { _start: { @@ -2316,14 +1836,22 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { lean_object* x_1; @@ -2331,17 +1859,17 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { lean_object* x_1; @@ -2349,23 +1877,13 @@ x_1 = lean_mk_string_unchecked("DocString", 9, 9); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_3 = l_Lean_Name_str___override(x_2, x_1); -return x_3; -} -} static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__7____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_3 = l_Lean_Name_num___override(x_2, x_1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } @@ -2373,9 +1891,9 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_1 = lean_unsigned_to_nat(0u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__7____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_3 = l_Lean_Name_str___override(x_2, x_1); +x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } @@ -2383,7 +1901,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__8____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; @@ -2393,7 +1911,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl__ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ElabLink", 8, 8); +x_1 = lean_mk_string_unchecked("Doc", 3, 3); return x_1; } } @@ -2407,11 +1925,29 @@ x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ElabLink", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; return x_1; } } @@ -2436,7 +1972,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink___closed__0; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -2486,7 +2022,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -2520,7 +2056,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage___closed__0; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -2573,7 +2109,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -2607,7 +2143,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -2678,22 +2214,427 @@ lean_dec_ref(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorIdx(uint8_t x_1) { _start: { -lean_object* x_11; -x_11 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +x_3 = l_Lean_Doc_SuggestionMode_ctorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_toCtorIdx(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_SuggestionMode_ctorIdx(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_toCtorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +x_3 = l_Lean_Doc_SuggestionMode_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim___redArg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_inc(x_5); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim___redArg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_SuggestionMode_ctorElim___redArg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_ctorElim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_3); +x_7 = l_Lean_Doc_SuggestionMode_ctorElim(x_1, x_2, x_6, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim___redArg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_inc(x_4); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim___redArg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_SuggestionMode_interactive_elim___redArg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_interactive_elim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +x_6 = l_Lean_Doc_SuggestionMode_interactive_elim(x_1, x_5, x_3, x_4); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim___redArg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_inc(x_4); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim___redArg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_SuggestionMode_batch_elim___redArg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_batch_elim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +x_6 = l_Lean_Doc_SuggestionMode_batch_elim(x_1, x_5, x_3, x_4); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0___boxed), 1, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Doc_SuggestionMode_noConfusion___redArg(x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_SuggestionMode_noConfusion___redArg___lam__0(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox(x_1); +x_4 = lean_unbox(x_2); +x_5 = l_Lean_Doc_SuggestionMode_noConfusion___redArg(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_SuggestionMode_noConfusion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_unbox(x_2); +x_6 = lean_unbox(x_3); +x_7 = l_Lean_Doc_SuggestionMode_noConfusion(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT uint8_t l_Lean_Doc_instBEqSuggestionMode_beq(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Doc_SuggestionMode_ctorIdx(x_1); +x_4 = l_Lean_Doc_SuggestionMode_ctorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instBEqSuggestionMode_beq___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +x_4 = lean_unbox(x_2); +x_5 = l_Lean_Doc_instBEqSuggestionMode_beq(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Doc_instBEqSuggestionMode___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instBEqSuggestionMode_beq___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instBEqSuggestionMode() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instBEqSuggestionMode___closed__0; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Doc.SuggestionMode.interactive", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprSuggestionMode_repr___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Doc.SuggestionMode.batch", 29, 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprSuggestionMode_repr___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprSuggestionMode_repr(uint8_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_10; +if (x_1 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(1024u); +x_18 = lean_nat_dec_le(x_17, x_2); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; +x_3 = x_19; +goto block_9; +} +else +{ +lean_object* x_20; +x_20 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; +x_3 = x_20; +goto block_9; +} +} +else +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_unsigned_to_nat(1024u); +x_22 = lean_nat_dec_le(x_21, x_2); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; +x_10 = x_23; +goto block_16; +} +else +{ +lean_object* x_24; +x_24 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; +x_10 = x_24; +goto block_16; +} +} +block_9: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_4 = l_Lean_Doc_instReprSuggestionMode_repr___closed__1; +x_5 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = 0; +x_7 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_6); +x_8 = l_Repr_addAppParen(x_7, x_2); +return x_8; +} +block_16: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_11 = l_Lean_Doc_instReprSuggestionMode_repr___closed__3; +x_12 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +x_15 = l_Repr_addAppParen(x_14, x_2); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprSuggestionMode_repr___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +x_4 = l_Lean_Doc_instReprSuggestionMode_repr(x_3, x_2); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instReprSuggestionMode_repr___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprSuggestionMode() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instReprSuggestionMode___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_Context_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_Context_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_Context_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = lean_apply_10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_12; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_mk(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = lean_apply_10(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} static lean_object* _init_l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0() { _start: { @@ -2853,26 +2794,9 @@ return x_2; static lean_object* _init_l_Lean_Doc_instMonadStateOfInternalStateDocM() { _start: { -lean_object* x_1; -x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__14; -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_instMonadStateOfStateDocM___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__12; -x_2 = l_StateRefT_x27_instMonadStateOfOfMonadLiftTST___redArg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Doc_instMonadStateOfStateDocM() { -_start: -{ lean_object* x_1; lean_object* x_2; uint8_t x_3; -x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_2 = l_Lean_Doc_instMonadStateOfStateDocM___closed__0; +x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_2 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__14; x_3 = !lean_is_exclusive(x_2); if (x_3 == 0) { @@ -2886,12 +2810,9 @@ lean_closure_set(x_7, 1, x_1); x_8 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); lean_closure_set(x_8, 0, x_6); lean_closure_set(x_8, 1, x_1); -x_9 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___boxed), 6, 5); +x_9 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift___lam__0___boxed), 3, 2); lean_closure_set(x_9, 0, lean_box(0)); -lean_closure_set(x_9, 1, lean_box(0)); -lean_closure_set(x_9, 2, lean_box(0)); -lean_closure_set(x_9, 3, lean_box(0)); -lean_closure_set(x_9, 4, x_4); +lean_closure_set(x_9, 1, x_4); lean_ctor_set(x_2, 2, x_8); lean_ctor_set(x_2, 1, x_7); lean_ctor_set(x_2, 0, x_9); @@ -2913,12 +2834,9 @@ lean_closure_set(x_13, 1, x_1); x_14 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_1); -x_15 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___boxed), 6, 5); +x_15 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift___lam__0___boxed), 3, 2); lean_closure_set(x_15, 0, lean_box(0)); -lean_closure_set(x_15, 1, lean_box(0)); -lean_closure_set(x_15, 2, lean_box(0)); -lean_closure_set(x_15, 3, lean_box(0)); -lean_closure_set(x_15, 4, x_10); +lean_closure_set(x_15, 1, x_10); x_16 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_13); @@ -2927,6 +2845,94 @@ return x_16; } } } +static lean_object* _init_l_Lean_Doc_instMonadStateOfStateDocM___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__12; +x_2 = l_StateRefT_x27_instMonadStateOfOfMonadLiftTST___redArg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instMonadStateOfStateDocM() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_1 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_2 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_3 = l_Lean_Doc_instMonadStateOfStateDocM___closed__0; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__0), 3, 2); +lean_closure_set(x_8, 0, x_6); +lean_closure_set(x_8, 1, x_2); +x_9 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); +lean_closure_set(x_9, 0, x_7); +lean_closure_set(x_9, 1, x_2); +x_10 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___boxed), 6, 5); +lean_closure_set(x_10, 0, lean_box(0)); +lean_closure_set(x_10, 1, lean_box(0)); +lean_closure_set(x_10, 2, lean_box(0)); +lean_closure_set(x_10, 3, lean_box(0)); +lean_closure_set(x_10, 4, x_5); +x_11 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__0), 3, 2); +lean_closure_set(x_11, 0, x_8); +lean_closure_set(x_11, 1, x_1); +x_12 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); +lean_closure_set(x_12, 0, x_9); +lean_closure_set(x_12, 1, x_1); +x_13 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift___lam__0___boxed), 3, 2); +lean_closure_set(x_13, 0, lean_box(0)); +lean_closure_set(x_13, 1, x_10); +lean_ctor_set(x_3, 2, x_12); +lean_ctor_set(x_3, 1, x_11); +lean_ctor_set(x_3, 0, x_13); +return x_3; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_3, 2); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_3); +x_17 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__0), 3, 2); +lean_closure_set(x_17, 0, x_15); +lean_closure_set(x_17, 1, x_2); +x_18 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_2); +x_19 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___boxed), 6, 5); +lean_closure_set(x_19, 0, lean_box(0)); +lean_closure_set(x_19, 1, lean_box(0)); +lean_closure_set(x_19, 2, lean_box(0)); +lean_closure_set(x_19, 3, lean_box(0)); +lean_closure_set(x_19, 4, x_14); +x_20 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__0), 3, 2); +lean_closure_set(x_20, 0, x_17); +lean_closure_set(x_20, 1, x_1); +x_21 = lean_alloc_closure((void*)(l_instMonadStateOfOfMonadLift___redArg___lam__1), 4, 2); +lean_closure_set(x_21, 0, x_18); +lean_closure_set(x_21, 1, x_1); +x_22 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift___lam__0___boxed), 3, 2); +lean_closure_set(x_22, 0, lean_box(0)); +lean_closure_set(x_22, 1, x_19); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +lean_ctor_set(x_23, 2, x_21); +return x_23; +} +} +} LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -3095,12 +3101,12 @@ return x_59; } } } -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -3112,40 +3118,42 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_12; +lean_dec_ref(x_3); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } static lean_object* _init_l_Lean_Doc_instMonadLiftTermElabMDocM() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed), 11, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed), 12, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_12; +lean_dec_ref(x_3); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -3817,7 +3825,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__6; x_2 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__5; x_3 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -4266,7 +4274,7 @@ lean_dec_ref(x_34); x_40 = lean_ctor_get(x_35, 1); lean_inc_ref(x_40); lean_dec_ref(x_35); -x_41 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_41 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_42 = lean_string_dec_eq(x_40, x_41); lean_dec_ref(x_40); if (x_42 == 0) @@ -4540,7 +4548,60 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg___lam__0), 8, 3); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_4); +lean_closure_set(x_11, 2, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_box(0), x_1, x_2, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +return x_12; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -4744,19 +4805,19 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg(x_6, x_7); +x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg(x_6, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg(x_6, x_7); +x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg(x_6, x_7); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -4777,1321 +4838,1480 @@ return x_12; } } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_12 = x_2; -} else { - lean_dec_ref(x_2); - x_12 = lean_box(0); +lean_object* x_9; +x_9 = lean_whnf(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; } -x_13 = lean_ctor_get(x_10, 0); +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_isClass_x3f(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = 0; +x_19 = 0; +lean_inc(x_1); +x_20 = l_Lean_LocalContext_mkLocalDecl(x_7, x_1, x_2, x_3, x_18, x_19); +x_21 = l_Lean_Expr_fvar___override(x_1); +x_22 = lean_expr_instantiate1(x_4, x_21); +lean_dec_ref(x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_5); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_6); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_17); +return x_28; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_220; +x_134 = lean_ctor_get(x_3, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +x_137 = lean_ctor_get(x_3, 0); +lean_inc(x_137); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_138 = x_3; +} else { + lean_dec_ref(x_3); + x_138 = lean_box(0); +} +x_139 = lean_ctor_get(x_134, 0); +lean_inc(x_139); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_140 = x_134; +} else { + lean_dec_ref(x_134); + x_140 = lean_box(0); +} +x_141 = lean_ctor_get(x_135, 0); +lean_inc(x_141); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_142 = x_135; +} else { + lean_dec_ref(x_135); + x_142 = lean_box(0); +} +x_143 = lean_ctor_get(x_136, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_136, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_145 = x_136; +} else { + lean_dec_ref(x_136); + x_145 = lean_box(0); +} +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_224; uint8_t x_225; +x_224 = lean_array_get_size(x_2); +x_225 = lean_nat_dec_lt(x_137, x_224); +lean_dec(x_224); +if (x_225 == 0) +{ +x_220 = x_144; +goto block_223; +} +else +{ +lean_object* x_226; lean_object* x_227; +x_226 = lean_array_fget_borrowed(x_2, x_137); +lean_inc(x_226); +x_227 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_227, 0, x_226); +x_220 = x_227; +goto block_223; +} +} +else +{ +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_146 = x_137; +x_147 = x_139; +x_148 = x_141; +x_149 = x_144; +x_150 = x_4; +x_151 = x_5; +x_152 = x_6; +x_153 = x_7; +x_154 = x_8; +x_155 = x_9; +x_156 = x_10; +goto block_219; +} +block_16: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_10, 1); +lean_dec_ref(x_11); +x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - x_15 = x_10; -} else { - lean_dec_ref(x_10); - x_15 = lean_box(0); +lean_dec(x_12); +x_3 = x_14; +x_10 = x_13; +goto _start; } -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_16 = lean_whnf(x_14, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) +block_133: { -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -switch (lean_obj_tag(x_17)) { -case 7: +if (lean_obj_tag(x_32) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_39; -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_20); -x_21 = lean_ctor_get(x_17, 2); -lean_inc_ref(x_21); -x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*3 + 8); -lean_dec_ref(x_17); -x_23 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_18); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_26 = x_23; -} else { - lean_dec_ref(x_23); - x_26 = lean_box(0); +lean_object* x_39; lean_object* x_40; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec_ref(x_25); +lean_dec_ref(x_23); +x_39 = lean_box(0); +x_40 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(x_21, x_19, x_17, x_18, x_30, x_22, x_29, x_31, x_32, x_39, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_33); +lean_dec_ref(x_31); +lean_dec_ref(x_18); +x_11 = x_40; +goto block_16; } -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc_ref(x_20); -x_39 = l_Lean_Meta_isClass_x3f(x_20, x_5, x_6, x_7, x_8, x_25); -if (lean_obj_tag(x_39) == 0) +else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +lean_object* x_41; +x_41 = lean_ctor_get(x_32, 0); lean_inc(x_41); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_42 = x_39; -} else { - lean_dec_ref(x_39); - x_42 = lean_box(0); -} -if (lean_obj_tag(x_40) == 0) +if (lean_obj_tag(x_41) == 0) { -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_43 = x_11; -x_44 = x_13; -x_45 = x_3; -x_46 = x_4; -x_47 = x_5; -x_48 = x_6; -x_49 = x_7; -x_50 = x_8; -goto block_107; -} -else +uint8_t x_42; uint8_t x_43; +x_42 = 3; +x_43 = l_Lean_instBEqBinderInfo_beq(x_24, x_42); +if (x_43 == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_40, 0); -lean_inc(x_108); -lean_dec_ref(x_40); -lean_inc(x_24); -x_109 = l_Lean_Expr_fvar___override(x_24); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_13, x_110); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_43 = x_11; -x_44 = x_111; -x_45 = x_3; -x_46 = x_4; -x_47 = x_5; -x_48 = x_6; -x_49 = x_7; -x_50 = x_8; -goto block_107; -} -block_107: -{ -if (lean_obj_tag(x_1) == 0) -{ -uint8_t x_51; uint8_t x_52; -lean_dec(x_50); -lean_dec_ref(x_49); -lean_dec(x_48); -lean_dec_ref(x_47); -lean_dec(x_46); -lean_dec_ref(x_45); -x_51 = 3; -x_52 = l_Lean_instBEqBinderInfo_beq(x_22, x_51); -if (x_52 == 0) -{ -lean_dec(x_42); +lean_object* x_44; lean_object* x_45; +lean_dec(x_28); +lean_dec(x_27); lean_dec(x_26); -x_27 = x_44; -x_28 = x_43; -x_29 = x_41; -goto block_38; +lean_dec_ref(x_25); +lean_dec_ref(x_23); +x_44 = lean_box(0); +x_45 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(x_21, x_19, x_17, x_18, x_30, x_22, x_29, x_31, x_32, x_44, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_33); +lean_dec_ref(x_31); +lean_dec_ref(x_18); +x_11 = x_45; +goto block_16; } else { -uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_53 = 0; -x_54 = 0; -lean_inc(x_24); -x_55 = l_Lean_LocalContext_mkLocalDecl(x_43, x_24, x_19, x_20, x_53, x_54); -x_56 = l_Lean_Expr_fvar___override(x_24); -x_57 = lean_expr_instantiate1(x_21, x_56); -lean_dec_ref(x_56); -lean_dec_ref(x_21); -if (lean_is_scalar(x_26)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_26; -} -lean_ctor_set(x_58, 0, x_44); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_55); -lean_ctor_set(x_59, 1, x_58); -if (lean_is_scalar(x_42)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_42; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_41); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; uint8_t x_63; -lean_dec(x_42); -x_61 = lean_ctor_get(x_1, 0); -x_62 = l_Lean_Syntax_getId(x_61); -x_63 = lean_name_eq(x_62, x_19); -lean_dec(x_62); -if (x_63 == 0) -{ -lean_dec(x_50); +uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_33); +lean_dec_ref(x_32); +lean_dec_ref(x_31); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec_ref(x_17); +x_46 = 0; +x_47 = 0; +lean_inc(x_27); +x_48 = l_Lean_LocalContext_mkLocalDecl(x_29, x_27, x_26, x_23, x_46, x_47); +x_49 = l_Lean_Expr_fvar___override(x_27); +x_50 = lean_expr_instantiate1(x_25, x_49); lean_dec_ref(x_49); -lean_dec(x_48); -lean_dec_ref(x_47); -lean_dec(x_46); -lean_dec_ref(x_45); -lean_dec(x_26); -x_27 = x_44; -x_28 = x_43; -x_29 = x_41; -goto block_38; +lean_dec_ref(x_25); +lean_inc(x_1); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_1); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_30); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_28); +lean_ctor_set(x_54, 1, x_53); +x_3 = x_54; +x_10 = x_20; +goto _start; +} } else { -uint8_t x_64; -lean_inc(x_61); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_64 = !lean_is_exclusive(x_1); -if (x_64 == 0) +uint8_t x_56; +x_56 = !lean_is_exclusive(x_41); +if (x_56 == 0) { -lean_object* x_65; uint8_t x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; -x_65 = lean_ctor_get(x_1, 0); -lean_dec(x_65); -x_66 = 0; -x_67 = 0; -lean_inc_ref(x_20); -lean_inc(x_24); -x_68 = l_Lean_LocalContext_mkLocalDecl(x_43, x_24, x_19, x_20, x_66, x_67); -x_69 = l_Lean_Expr_fvar___override(x_24); -lean_ctor_set(x_1, 0, x_20); -lean_inc_ref(x_68); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_68); -x_71 = lean_box(0); -x_72 = 0; -lean_inc_ref(x_69); -x_73 = l_Lean_Elab_Term_addTermInfo_x27(x_61, x_69, x_1, x_70, x_71, x_72, x_45, x_46, x_47, x_48, x_49, x_50, x_41); -if (lean_obj_tag(x_73) == 0) +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_41, 0); +x_58 = l_Lean_Syntax_getId(x_57); +x_59 = lean_name_eq(x_58, x_26); +lean_dec(x_58); +if (x_59 == 0) { -uint8_t x_74; -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -x_76 = lean_expr_instantiate1(x_21, x_69); -lean_dec_ref(x_69); -lean_dec_ref(x_21); -if (lean_is_scalar(x_26)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_26; +lean_object* x_60; lean_object* x_61; +lean_free_object(x_41); +lean_dec(x_57); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec_ref(x_25); +lean_dec_ref(x_23); +x_60 = lean_box(0); +x_61 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(x_21, x_19, x_17, x_18, x_30, x_22, x_29, x_31, x_32, x_60, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_33); +lean_dec_ref(x_31); +lean_dec_ref(x_18); +x_11 = x_61; +goto block_16; } -lean_ctor_set(x_77, 0, x_44); +else +{ +uint8_t x_62; +lean_dec_ref(x_31); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec_ref(x_17); +x_62 = !lean_is_exclusive(x_32); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_63 = lean_ctor_get(x_32, 0); +lean_dec(x_63); +x_64 = 0; +x_65 = 0; +lean_inc_ref(x_23); +lean_inc(x_27); +x_66 = l_Lean_LocalContext_mkLocalDecl(x_29, x_27, x_26, x_23, x_64, x_65); +x_67 = l_Lean_Expr_fvar___override(x_27); +lean_ctor_set(x_41, 0, x_23); +lean_inc_ref(x_66); +lean_ctor_set(x_32, 0, x_66); +x_68 = lean_box(0); +x_69 = 0; +x_70 = lean_box(x_69); +lean_inc_ref(x_67); +x_71 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_71, 0, x_57); +lean_closure_set(x_71, 1, x_67); +lean_closure_set(x_71, 2, x_41); +lean_closure_set(x_71, 3, x_32); +lean_closure_set(x_71, 4, x_68); +lean_closure_set(x_71, 5, x_70); +lean_inc_ref(x_30); +lean_inc_ref(x_66); +x_72 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_66, x_30, x_71, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec_ref(x_72); +x_74 = lean_expr_instantiate1(x_25, x_67); +lean_dec_ref(x_67); +lean_dec_ref(x_25); +lean_inc(x_1); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_1); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_30); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_66); lean_ctor_set(x_77, 1, x_76); x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_68); +lean_ctor_set(x_78, 0, x_28); lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_73, 0, x_78); -return x_73; +x_3 = x_78; +x_10 = x_73; +goto _start; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_79 = lean_ctor_get(x_73, 1); -lean_inc(x_79); -lean_dec(x_73); -x_80 = lean_expr_instantiate1(x_21, x_69); -lean_dec_ref(x_69); -lean_dec_ref(x_21); -if (lean_is_scalar(x_26)) { - x_81 = lean_alloc_ctor(0, 2, 0); -} else { - x_81 = x_26; +uint8_t x_80; +lean_dec_ref(x_67); +lean_dec_ref(x_66); +lean_dec_ref(x_30); +lean_dec(x_28); +lean_dec_ref(x_25); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_80 = !lean_is_exclusive(x_72); +if (x_80 == 0) +{ +return x_72; } -lean_ctor_set(x_81, 0, x_44); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_68); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_79); +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_72, 0); +x_82 = lean_ctor_get(x_72, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_72); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); return x_83; } } -else -{ -uint8_t x_84; -lean_dec_ref(x_69); -lean_dec_ref(x_68); -lean_dec_ref(x_44); -lean_dec(x_26); -lean_dec_ref(x_21); -x_84 = !lean_is_exclusive(x_73); -if (x_84 == 0) -{ -return x_73; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_73, 0); -x_86 = lean_ctor_get(x_73, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_73); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; -} -} +uint8_t x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_32); +x_84 = 0; +x_85 = 0; +lean_inc_ref(x_23); +lean_inc(x_27); +x_86 = l_Lean_LocalContext_mkLocalDecl(x_29, x_27, x_26, x_23, x_84, x_85); +x_87 = l_Lean_Expr_fvar___override(x_27); +lean_ctor_set(x_41, 0, x_23); +lean_inc_ref(x_86); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_86); +x_89 = lean_box(0); +x_90 = 0; +x_91 = lean_box(x_90); +lean_inc_ref(x_87); +x_92 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_92, 0, x_57); +lean_closure_set(x_92, 1, x_87); +lean_closure_set(x_92, 2, x_41); +lean_closure_set(x_92, 3, x_88); +lean_closure_set(x_92, 4, x_89); +lean_closure_set(x_92, 5, x_91); +lean_inc_ref(x_30); +lean_inc_ref(x_86); +x_93 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_86, x_30, x_92, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec_ref(x_93); +x_95 = lean_expr_instantiate1(x_25, x_87); +lean_dec_ref(x_87); +lean_dec_ref(x_25); +lean_inc(x_1); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_1); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_30); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_86); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_28); +lean_ctor_set(x_99, 1, x_98); +x_3 = x_99; +x_10 = x_94; +goto _start; } else { -uint8_t x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec_ref(x_87); +lean_dec_ref(x_86); +lean_dec_ref(x_30); +lean_dec(x_28); +lean_dec_ref(x_25); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_1); -x_88 = 0; -x_89 = 0; -lean_inc_ref(x_20); -lean_inc(x_24); -x_90 = l_Lean_LocalContext_mkLocalDecl(x_43, x_24, x_19, x_20, x_88, x_89); -x_91 = l_Lean_Expr_fvar___override(x_24); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_20); -lean_inc_ref(x_90); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_90); -x_94 = lean_box(0); -x_95 = 0; -lean_inc_ref(x_91); -x_96 = l_Lean_Elab_Term_addTermInfo_x27(x_61, x_91, x_92, x_93, x_94, x_95, x_45, x_46, x_47, x_48, x_49, x_50, x_41); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_98 = x_96; +x_101 = lean_ctor_get(x_93, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_93, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_103 = x_93; } else { - lean_dec_ref(x_96); - x_98 = lean_box(0); + lean_dec_ref(x_93); + x_103 = lean_box(0); } -x_99 = lean_expr_instantiate1(x_21, x_91); -lean_dec_ref(x_91); -lean_dec_ref(x_21); -if (lean_is_scalar(x_26)) { - x_100 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); } else { - x_100 = x_26; + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} } -lean_ctor_set(x_100, 0, x_44); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_90); -lean_ctor_set(x_101, 1, x_100); -if (lean_is_scalar(x_98)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_98; } -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_97); -return x_102; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec_ref(x_91); -lean_dec_ref(x_90); -lean_dec_ref(x_44); +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = lean_ctor_get(x_41, 0); +lean_inc(x_105); +lean_dec(x_41); +x_106 = l_Lean_Syntax_getId(x_105); +x_107 = lean_name_eq(x_106, x_26); +lean_dec(x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_105); +lean_dec(x_28); +lean_dec(x_27); lean_dec(x_26); -lean_dec_ref(x_21); -x_103 = lean_ctor_get(x_96, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_96, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_105 = x_96; -} else { - lean_dec_ref(x_96); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; -} -} -} -} -} -} -else -{ -uint8_t x_112; -lean_dec(x_26); -lean_dec(x_24); -lean_dec_ref(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_1); -x_112 = !lean_is_exclusive(x_39); -if (x_112 == 0) -{ -return x_39; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_39, 0); -x_114 = lean_ctor_get(x_39, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_39); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -block_38: -{ -uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = 0; -x_31 = 0; -lean_inc(x_24); -x_32 = l_Lean_LocalContext_mkLocalDecl(x_28, x_24, x_19, x_20, x_30, x_31); -x_33 = l_Lean_Expr_fvar___override(x_24); -x_34 = lean_expr_instantiate1(x_21, x_33); +lean_dec_ref(x_25); +lean_dec_ref(x_23); +x_108 = lean_box(0); +x_109 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(x_21, x_19, x_17, x_18, x_30, x_22, x_29, x_31, x_32, x_108, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); lean_dec_ref(x_33); -lean_dec_ref(x_21); -if (lean_is_scalar(x_15)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_15; +lean_dec_ref(x_31); +lean_dec_ref(x_18); +x_11 = x_109; +goto block_16; } -lean_ctor_set(x_35, 0, x_27); -lean_ctor_set(x_35, 1, x_34); -if (lean_is_scalar(x_12)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_12; -} -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_35); -x_2 = x_36; -x_9 = x_29; -goto _start; -} -} -case 10: +else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = lean_ctor_get(x_16, 1); -lean_inc(x_116); -lean_dec_ref(x_16); -x_117 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_117); +lean_object* x_110; uint8_t x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec_ref(x_31); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_19); +lean_dec_ref(x_18); lean_dec_ref(x_17); -if (lean_is_scalar(x_15)) { - x_118 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + x_110 = x_32; } else { - x_118 = x_15; + lean_dec_ref(x_32); + x_110 = lean_box(0); } -lean_ctor_set(x_118, 0, x_13); -lean_ctor_set(x_118, 1, x_117); -if (lean_is_scalar(x_12)) { - x_119 = lean_alloc_ctor(0, 2, 0); +x_111 = 0; +x_112 = 0; +lean_inc_ref(x_23); +lean_inc(x_27); +x_113 = l_Lean_LocalContext_mkLocalDecl(x_29, x_27, x_26, x_23, x_111, x_112); +x_114 = l_Lean_Expr_fvar___override(x_27); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_23); +lean_inc_ref(x_113); +if (lean_is_scalar(x_110)) { + x_116 = lean_alloc_ctor(1, 1, 0); } else { - x_119 = x_12; + x_116 = x_110; } -lean_ctor_set(x_119, 0, x_11); -lean_ctor_set(x_119, 1, x_118); -x_2 = x_119; -x_9 = x_116; +lean_ctor_set(x_116, 0, x_113); +x_117 = lean_box(0); +x_118 = 0; +x_119 = lean_box(x_118); +lean_inc_ref(x_114); +x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_120, 0, x_105); +lean_closure_set(x_120, 1, x_114); +lean_closure_set(x_120, 2, x_115); +lean_closure_set(x_120, 3, x_116); +lean_closure_set(x_120, 4, x_117); +lean_closure_set(x_120, 5, x_119); +lean_inc_ref(x_30); +lean_inc_ref(x_113); +x_121 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_113, x_30, x_120, x_33, x_34, x_35, x_36, x_37, x_38, x_20); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +lean_dec_ref(x_121); +x_123 = lean_expr_instantiate1(x_25, x_114); +lean_dec_ref(x_114); +lean_dec_ref(x_25); +lean_inc(x_1); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_1); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_30); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_113); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_28); +lean_ctor_set(x_127, 1, x_126); +x_3 = x_127; +x_10 = x_122; goto _start; } -default: +else { -uint8_t x_121; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec_ref(x_114); +lean_dec_ref(x_113); +lean_dec_ref(x_30); +lean_dec(x_28); +lean_dec_ref(x_25); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_1); -x_121 = !lean_is_exclusive(x_16); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_16, 0); -lean_dec(x_122); -if (lean_is_scalar(x_15)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_15; -} -lean_ctor_set(x_123, 0, x_13); -lean_ctor_set(x_123, 1, x_17); -if (lean_is_scalar(x_12)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_12; -} -lean_ctor_set(x_124, 0, x_11); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set(x_16, 0, x_124); -return x_16; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = lean_ctor_get(x_16, 1); -lean_inc(x_125); -lean_dec(x_16); -if (lean_is_scalar(x_15)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_15; -} -lean_ctor_set(x_126, 0, x_13); -lean_ctor_set(x_126, 1, x_17); -if (lean_is_scalar(x_12)) { - x_127 = lean_alloc_ctor(0, 2, 0); -} else { - x_127 = x_12; -} -lean_ctor_set(x_127, 0, x_11); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_125); -return x_128; -} -} -} -} -else -{ -uint8_t x_129; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_1); -x_129 = !lean_is_exclusive(x_16); -if (x_129 == 0) -{ -return x_16; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_16, 0); -x_131 = lean_ctor_get(x_16, 1); -lean_inc(x_131); +x_129 = lean_ctor_get(x_121, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_121, 1); lean_inc(x_130); -lean_dec(x_16); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_131 = x_121; +} else { + lean_dec_ref(x_121); + x_131 = lean_box(0); +} +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); +} else { + x_132 = x_131; +} +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); return x_132; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: +} +} +block_219: { -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) +lean_object* x_157; lean_object* x_158; +x_157 = lean_alloc_closure((void*)(l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0___boxed), 8, 1); +lean_closure_set(x_157, 0, x_143); +lean_inc(x_155); +lean_inc_ref(x_154); +lean_inc(x_153); +lean_inc_ref(x_152); +lean_inc(x_151); +lean_inc_ref(x_150); +lean_inc_ref(x_148); +lean_inc_ref(x_147); +x_158 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_147, x_148, x_157, x_150, x_151, x_152, x_153, x_154, x_155, x_156); +if (lean_obj_tag(x_158) == 0) { -lean_object* x_13; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; +lean_object* x_159; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +switch (lean_obj_tag(x_159)) { +case 7: +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; uint8_t x_166; +lean_dec(x_145); +lean_dec(x_142); +lean_dec(x_140); +lean_dec(x_138); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec_ref(x_158); +x_161 = lean_ctor_get(x_159, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_159, 1); +lean_inc_ref(x_162); +x_163 = lean_ctor_get(x_159, 2); +lean_inc_ref(x_163); +x_164 = lean_ctor_get_uint8(x_159, sizeof(void*)*3 + 8); +x_165 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1(x_150, x_151, x_152, x_153, x_154, x_155, x_160); +x_166 = !lean_is_exclusive(x_165); +if (x_166 == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_167 = lean_ctor_get(x_165, 0); +x_168 = lean_ctor_get(x_165, 1); +lean_inc_ref(x_162); +x_169 = lean_alloc_closure((void*)(l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1___boxed), 8, 1); +lean_closure_set(x_169, 0, x_162); +lean_inc(x_155); +lean_inc_ref(x_154); +lean_inc(x_153); +lean_inc_ref(x_152); +lean_inc(x_151); +lean_inc_ref(x_150); +lean_inc_ref(x_148); +lean_inc_ref(x_147); +x_170 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_147, x_148, x_169, x_150, x_151, x_152, x_153, x_154, x_155, x_168); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; +lean_free_object(x_165); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec_ref(x_170); +lean_inc(x_146); +lean_inc(x_167); +lean_inc(x_161); +lean_inc_ref(x_163); +lean_inc_ref(x_162); +x_17 = x_162; +x_18 = x_163; +x_19 = x_161; +x_20 = x_172; +x_21 = x_167; +x_22 = x_146; +x_23 = x_162; +x_24 = x_164; +x_25 = x_163; +x_26 = x_161; +x_27 = x_167; +x_28 = x_146; +x_29 = x_147; +x_30 = x_148; +x_31 = x_159; +x_32 = x_149; +x_33 = x_150; +x_34 = x_151; +x_35 = x_152; +x_36 = x_153; +x_37 = x_154; +x_38 = x_155; +goto block_133; } else { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_4, 1); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_uget(x_1, x_3); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_18 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = 1; -x_22 = lean_usize_add(x_3, x_21); -x_3 = x_22; -x_4 = x_19; -x_11 = x_20; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_18; +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec_ref(x_170); +x_174 = lean_ctor_get(x_171, 0); +lean_inc(x_174); +lean_dec_ref(x_171); +lean_inc(x_167); +x_175 = l_Lean_Expr_fvar___override(x_167); +lean_ctor_set(x_165, 1, x_175); +lean_ctor_set(x_165, 0, x_174); +x_176 = lean_array_push(x_148, x_165); +lean_inc(x_146); +lean_inc(x_167); +lean_inc(x_161); +lean_inc_ref(x_163); +lean_inc_ref(x_162); +x_17 = x_162; +x_18 = x_163; +x_19 = x_161; +x_20 = x_173; +x_21 = x_167; +x_22 = x_146; +x_23 = x_162; +x_24 = x_164; +x_25 = x_163; +x_26 = x_161; +x_27 = x_167; +x_28 = x_146; +x_29 = x_147; +x_30 = x_176; +x_31 = x_159; +x_32 = x_149; +x_33 = x_150; +x_34 = x_151; +x_35 = x_152; +x_36 = x_153; +x_37 = x_154; +x_38 = x_155; +goto block_133; } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -x_26 = lean_array_uget(x_1, x_3); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_4, 1, x_27); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_28 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec_ref(x_28); -x_31 = 1; -x_32 = lean_usize_add(x_3, x_31); -x_3 = x_32; -x_4 = x_29; -x_11 = x_30; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_28; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_34 = lean_ctor_get(x_4, 1); -x_35 = lean_ctor_get(x_4, 0); -lean_inc(x_34); -lean_inc(x_35); -lean_dec(x_4); -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_38 = x_34; -} else { - lean_dec_ref(x_34); - x_38 = lean_box(0); -} -x_39 = lean_array_uget(x_1, x_3); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_36); -lean_ctor_set(x_40, 1, x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_42 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = 1; -x_46 = lean_usize_add(x_3, x_45); -x_3 = x_46; -x_4 = x_43; -x_11 = x_44; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_42; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_4, 1); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_uget(x_1, x_3); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_18 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = 1; -x_22 = lean_usize_add(x_3, x_21); -x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(x_1, x_2, x_22, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -return x_23; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_18; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -x_26 = lean_array_uget(x_1, x_3); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_4, 1, x_27); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_28 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec_ref(x_28); -x_31 = 1; -x_32 = lean_usize_add(x_3, x_31); -x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(x_1, x_2, x_32, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -return x_33; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_28; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_34 = lean_ctor_get(x_4, 1); -x_35 = lean_ctor_get(x_4, 0); -lean_inc(x_34); -lean_inc(x_35); -lean_dec(x_4); -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_38 = x_34; -} else { - lean_dec_ref(x_34); - x_38 = lean_box(0); -} -x_39 = lean_array_uget(x_1, x_3); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_36); -lean_ctor_set(x_40, 1, x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_42 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__2(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = 1; -x_46 = lean_usize_add(x_3, x_45); -x_47 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(x_1, x_2, x_46, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_44); -return x_47; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_42; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_array_uget(x_1, x_3); -lean_inc_ref(x_9); -lean_inc_ref(x_5); -x_15 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_4, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec_ref(x_15); -x_19 = !lean_is_exclusive(x_4); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_4, 1); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_array_size(x_17); -x_23 = 0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_17, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_17); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec_ref(x_24); -x_27 = 1; -x_28 = lean_usize_add(x_3, x_27); -x_3 = x_28; -x_4 = x_25; -x_11 = x_26; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_24; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_4, 1, x_32); -x_33 = lean_array_size(x_17); -x_34 = 0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_17, x_33, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_17); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec_ref(x_35); -x_38 = 1; -x_39 = lean_usize_add(x_3, x_38); -x_3 = x_39; -x_4 = x_36; -x_11 = x_37; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_35; -} -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; lean_object* x_49; -x_41 = lean_ctor_get(x_4, 0); -lean_inc(x_41); -lean_dec(x_4); -x_42 = lean_ctor_get(x_16, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_16, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_44 = x_16; -} else { - lean_dec_ref(x_16); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_array_size(x_17); -x_48 = 0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_49 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_17, x_47, x_48, x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_17); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec_ref(x_49); -x_52 = 1; -x_53 = lean_usize_add(x_3, x_52); -x_3 = x_53; -x_4 = x_50; -x_11 = x_51; -goto _start; -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_49; -} -} -} -else -{ -uint8_t x_55; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_177; +lean_free_object(x_165); +lean_dec(x_167); +lean_dec_ref(x_163); +lean_dec_ref(x_162); +lean_dec(x_161); +lean_dec_ref(x_159); +lean_dec(x_155); +lean_dec_ref(x_154); +lean_dec(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec_ref(x_150); +lean_dec(x_149); +lean_dec_ref(x_148); +lean_dec_ref(x_147); +lean_dec(x_146); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec_ref(x_4); -x_55 = !lean_is_exclusive(x_15); -if (x_55 == 0) +lean_dec(x_1); +x_177 = !lean_is_exclusive(x_170); +if (x_177 == 0) { -return x_15; +return x_170; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_15, 0); -x_57 = lean_ctor_get(x_15, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_15); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_178 = lean_ctor_get(x_170, 0); +x_179 = lean_ctor_get(x_170, 1); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_170); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +return x_180; } } } +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_181 = lean_ctor_get(x_165, 0); +x_182 = lean_ctor_get(x_165, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_165); +lean_inc_ref(x_162); +x_183 = lean_alloc_closure((void*)(l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1___boxed), 8, 1); +lean_closure_set(x_183, 0, x_162); +lean_inc(x_155); +lean_inc_ref(x_154); +lean_inc(x_153); +lean_inc_ref(x_152); +lean_inc(x_151); +lean_inc_ref(x_150); +lean_inc_ref(x_148); +lean_inc_ref(x_147); +x_184 = l_Lean_Meta_withLCtx___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___redArg(x_147, x_148, x_183, x_150, x_151, x_152, x_153, x_154, x_155, x_182); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec_ref(x_184); +lean_inc(x_146); +lean_inc(x_181); +lean_inc(x_161); +lean_inc_ref(x_163); +lean_inc_ref(x_162); +x_17 = x_162; +x_18 = x_163; +x_19 = x_161; +x_20 = x_186; +x_21 = x_181; +x_22 = x_146; +x_23 = x_162; +x_24 = x_164; +x_25 = x_163; +x_26 = x_161; +x_27 = x_181; +x_28 = x_146; +x_29 = x_147; +x_30 = x_148; +x_31 = x_159; +x_32 = x_149; +x_33 = x_150; +x_34 = x_151; +x_35 = x_152; +x_36 = x_153; +x_37 = x_154; +x_38 = x_155; +goto block_133; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_187 = lean_ctor_get(x_184, 1); +lean_inc(x_187); +lean_dec_ref(x_184); +x_188 = lean_ctor_get(x_185, 0); +lean_inc(x_188); +lean_dec_ref(x_185); +lean_inc(x_181); +x_189 = l_Lean_Expr_fvar___override(x_181); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +x_191 = lean_array_push(x_148, x_190); +lean_inc(x_146); +lean_inc(x_181); +lean_inc(x_161); +lean_inc_ref(x_163); +lean_inc_ref(x_162); +x_17 = x_162; +x_18 = x_163; +x_19 = x_161; +x_20 = x_187; +x_21 = x_181; +x_22 = x_146; +x_23 = x_162; +x_24 = x_164; +x_25 = x_163; +x_26 = x_161; +x_27 = x_181; +x_28 = x_146; +x_29 = x_147; +x_30 = x_191; +x_31 = x_159; +x_32 = x_149; +x_33 = x_150; +x_34 = x_151; +x_35 = x_152; +x_36 = x_153; +x_37 = x_154; +x_38 = x_155; +goto block_133; +} +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_181); +lean_dec_ref(x_163); +lean_dec_ref(x_162); +lean_dec(x_161); +lean_dec_ref(x_159); +lean_dec(x_155); +lean_dec_ref(x_154); +lean_dec(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec_ref(x_150); +lean_dec(x_149); +lean_dec_ref(x_148); +lean_dec_ref(x_147); +lean_dec(x_146); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_192 = lean_ctor_get(x_184, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_184, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_194 = x_184; +} else { + lean_dec_ref(x_184); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; +} +} +} +case 10: +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_155); +lean_dec_ref(x_154); +lean_dec(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec_ref(x_150); +x_196 = lean_ctor_get(x_158, 1); +lean_inc(x_196); +lean_dec_ref(x_158); +x_197 = lean_ctor_get(x_159, 1); +lean_inc_ref(x_197); +lean_dec_ref(x_159); +if (lean_is_scalar(x_145)) { + x_198 = lean_alloc_ctor(0, 2, 0); +} else { + x_198 = x_145; +} +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_149); +if (lean_is_scalar(x_142)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_142; +} +lean_ctor_set(x_199, 0, x_148); +lean_ctor_set(x_199, 1, x_198); +if (lean_is_scalar(x_140)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_140; +} +lean_ctor_set(x_200, 0, x_147); +lean_ctor_set(x_200, 1, x_199); +if (lean_is_scalar(x_138)) { + x_201 = lean_alloc_ctor(0, 2, 0); +} else { + x_201 = x_138; +} +lean_ctor_set(x_201, 0, x_146); +lean_ctor_set(x_201, 1, x_200); +x_3 = x_201; +x_10 = x_196; +goto _start; +} +default: +{ +uint8_t x_203; +lean_dec(x_155); +lean_dec_ref(x_154); +lean_dec(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec_ref(x_150); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_203 = !lean_is_exclusive(x_158); +if (x_203 == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_204 = lean_ctor_get(x_158, 0); +lean_dec(x_204); +if (lean_is_scalar(x_145)) { + x_205 = lean_alloc_ctor(0, 2, 0); +} else { + x_205 = x_145; +} +lean_ctor_set(x_205, 0, x_159); +lean_ctor_set(x_205, 1, x_149); +if (lean_is_scalar(x_142)) { + x_206 = lean_alloc_ctor(0, 2, 0); +} else { + x_206 = x_142; +} +lean_ctor_set(x_206, 0, x_148); +lean_ctor_set(x_206, 1, x_205); +if (lean_is_scalar(x_140)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_140; +} +lean_ctor_set(x_207, 0, x_147); +lean_ctor_set(x_207, 1, x_206); +if (lean_is_scalar(x_138)) { + x_208 = lean_alloc_ctor(0, 2, 0); +} else { + x_208 = x_138; +} +lean_ctor_set(x_208, 0, x_146); +lean_ctor_set(x_208, 1, x_207); +lean_ctor_set(x_158, 0, x_208); +return x_158; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_209 = lean_ctor_get(x_158, 1); +lean_inc(x_209); +lean_dec(x_158); +if (lean_is_scalar(x_145)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_145; +} +lean_ctor_set(x_210, 0, x_159); +lean_ctor_set(x_210, 1, x_149); +if (lean_is_scalar(x_142)) { + x_211 = lean_alloc_ctor(0, 2, 0); +} else { + x_211 = x_142; +} +lean_ctor_set(x_211, 0, x_148); +lean_ctor_set(x_211, 1, x_210); +if (lean_is_scalar(x_140)) { + x_212 = lean_alloc_ctor(0, 2, 0); +} else { + x_212 = x_140; +} +lean_ctor_set(x_212, 0, x_147); +lean_ctor_set(x_212, 1, x_211); +if (lean_is_scalar(x_138)) { + x_213 = lean_alloc_ctor(0, 2, 0); +} else { + x_213 = x_138; +} +lean_ctor_set(x_213, 0, x_146); +lean_ctor_set(x_213, 1, x_212); +x_214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_209); +return x_214; +} +} +} +} +else +{ +uint8_t x_215; +lean_dec(x_155); +lean_dec_ref(x_154); +lean_dec(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec_ref(x_150); +lean_dec(x_149); +lean_dec_ref(x_148); +lean_dec_ref(x_147); +lean_dec(x_146); +lean_dec(x_145); +lean_dec(x_142); +lean_dec(x_140); +lean_dec(x_138); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_215 = !lean_is_exclusive(x_158); +if (x_215 == 0) +{ +return x_158; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_158, 0); +x_217 = lean_ctor_get(x_158, 1); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_158); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +return x_218; +} +} +} +block_223: +{ +lean_object* x_221; lean_object* x_222; +x_221 = lean_unsigned_to_nat(1u); +x_222 = lean_nat_add(x_137, x_221); +lean_dec(x_137); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_146 = x_222; +x_147 = x_139; +x_148 = x_141; +x_149 = x_220; +x_150 = x_4; +x_151 = x_5; +x_152 = x_6; +x_153 = x_7; +x_154 = x_8; +x_155 = x_9; +x_156 = x_10; +goto block_219; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_18; +x_18 = lean_usize_dec_eq(x_2, x_3); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_uget(x_1, x_2); +lean_inc_ref(x_9); +lean_inc_ref(x_5); +x_20 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = l_Array_append___redArg(x_4, x_21); +lean_dec(x_21); +x_12 = x_23; +x_13 = x_22; +goto block_17; +} +else +{ +lean_dec_ref(x_4); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec_ref(x_20); +x_12 = x_24; +x_13 = x_25; +goto block_17; +} +else +{ +lean_dec_ref(x_9); +lean_dec_ref(x_5); +return x_20; +} +} +} +else +{ +lean_object* x_26; +lean_dec_ref(x_9); +lean_dec_ref(x_5); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_4); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +block_17: +{ +size_t x_14; size_t x_15; +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_2 = x_15; +x_4 = x_12; +x_11 = x_13; +goto _start; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; x_10 = lean_ctor_get(x_5, 2); x_11 = lean_ctor_get(x_5, 3); -x_12 = l_Lean_Syntax_getArgs(x_2); +x_43 = l_Lean_Syntax_getArgs(x_2); +x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0; +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_array_get_size(x_43); +x_47 = lean_nat_dec_lt(x_45, x_46); +if (x_47 == 0) +{ +lean_dec(x_46); +lean_dec_ref(x_43); +x_12 = x_44; +x_13 = x_9; +goto block_42; +} +else +{ +uint8_t x_48; +x_48 = lean_nat_dec_le(x_46, x_46); +if (x_48 == 0) +{ +lean_dec(x_46); +lean_dec_ref(x_43); +x_12 = x_44; +x_13 = x_9; +goto block_42; +} +else +{ +size_t x_49; size_t x_50; lean_object* x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_46); +lean_dec(x_46); +lean_inc_ref(x_7); +lean_inc_ref(x_3); +x_51 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4(x_43, x_49, x_50, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_43); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec_ref(x_51); +x_12 = x_52; +x_13 = x_53; +goto block_42; +} +else +{ +uint8_t x_54; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +return x_51; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_51, 0); +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_51); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +block_42: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_15); lean_inc_ref(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_16); lean_inc_ref(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_array_size(x_12); -x_16 = 0; -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5(x_12, x_15, x_16, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_15, x_12, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_13); lean_dec_ref(x_12); -if (lean_obj_tag(x_17) == 0) +if (lean_obj_tag(x_20) == 0) { -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_17, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_18, 0); +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -lean_dec(x_18); -x_23 = !lean_is_exclusive(x_19); -if (x_23 == 0) +lean_dec(x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = !lean_is_exclusive(x_20); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_19, 0); -x_25 = lean_ctor_get(x_19, 1); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_20, 0); lean_dec(x_25); -lean_ctor_set(x_19, 1, x_24); -lean_ctor_set(x_19, 0, x_22); -lean_ctor_set(x_17, 0, x_19); -return x_17; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_22, 0); lean_inc(x_26); -lean_dec(x_19); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_17, 0, x_27); -return x_17; -} +lean_dec(x_22); +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_dec(x_29); +lean_ctor_set(x_23, 1, x_28); +lean_ctor_set(x_23, 0, x_26); +lean_ctor_set(x_20, 0, x_23); +return x_20; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_28 = lean_ctor_get(x_17, 1); -lean_inc(x_28); -lean_dec(x_17); -x_29 = lean_ctor_get(x_18, 0); -lean_inc(x_29); -lean_dec(x_18); -x_30 = lean_ctor_get(x_19, 0); +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_23, 0); lean_inc(x_30); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_31 = x_19; -} else { - lean_dec_ref(x_19); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_28); -return x_33; +lean_dec(x_23); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_20, 0, x_31); +return x_20; } } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_17); -if (x_34 == 0) -{ -return x_17; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_20, 1); +lean_inc(x_32); +lean_dec(x_20); +x_33 = lean_ctor_get(x_22, 0); +lean_inc(x_33); +lean_dec(x_22); +x_34 = lean_ctor_get(x_23, 0); +lean_inc(x_34); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_35 = x_23; +} else { + lean_dec_ref(x_23); + x_35 = lean_box(0); } -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_17, 0); -x_36 = lean_ctor_get(x_17, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_17); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_34); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); return x_37; } } +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_20); +if (x_38 == 0) +{ +return x_20; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_20, 0); +x_40 = lean_ctor_get(x_20, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_20); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___redArg(x_1, x_2); +x_3 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___redArg(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); @@ -6101,11 +6321,11 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); @@ -6115,7 +6335,69 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -6123,33 +6405,11 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3_spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec_ref(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec_ref(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext_spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec_ref(x_1); return x_14; } @@ -6950,26 +7210,27 @@ return x_2; static lean_object* _init_l_Lean_Doc_DocM_exec___redArg___lam__1___closed__7() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = 0; -x_2 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__6; -x_3 = lean_box(0); +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 1; +x_2 = 0; +x_3 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__6; x_4 = lean_box(0); -x_5 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_6 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_2); -lean_ctor_set(x_6, 7, x_4); -lean_ctor_set(x_6, 8, x_4); -lean_ctor_set(x_6, 9, x_4); -lean_ctor_set_uint8(x_6, sizeof(void*)*10, x_1); -lean_ctor_set_uint8(x_6, sizeof(void*)*10 + 1, x_1); -return x_6; +x_5 = lean_box(0); +x_6 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_7 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 2, x_4); +lean_ctor_set(x_7, 3, x_5); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set(x_7, 5, x_3); +lean_ctor_set(x_7, 6, x_3); +lean_ctor_set(x_7, 7, x_5); +lean_ctor_set(x_7, 8, x_5); +lean_ctor_set(x_7, 9, x_5); +lean_ctor_set_uint8(x_7, sizeof(void*)*10, x_2); +lean_ctor_set_uint8(x_7, sizeof(void*)*10 + 1, x_1); +return x_7; } } static lean_object* _init_l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8() { @@ -7046,836 +7307,851 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +lean_object* x_12; uint8_t x_13; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc_ref(x_15); -lean_dec(x_13); -x_16 = l_Lean_Environment_constants(x_15); -x_17 = l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___redArg(x_16, x_1); -if (lean_obj_tag(x_17) == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_16); +lean_dec(x_14); +x_17 = l_Lean_Environment_constants(x_16); +x_18 = l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___redArg(x_17, x_1); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec_ref(x_3); -x_18 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__1; -x_19 = l_Lean_MessageData_ofName(x_1); -lean_ctor_set_tag(x_11, 7); -lean_ctor_set(x_11, 1, x_19); -lean_ctor_set(x_11, 0, x_18); -x_20 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__3; -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -return x_22; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec_ref(x_4); +x_19 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__1; +x_20 = l_Lean_MessageData_ofName(x_1); +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_19); +x_21 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__3; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_12); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +return x_23; } else { -uint8_t x_23; -lean_free_object(x_11); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_17); -if (x_23 == 0) +uint8_t x_24; +lean_free_object(x_12); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_17, 0); -x_25 = l_Lean_ConstantInfo_type(x_24); -lean_dec(x_24); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_26 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_25, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_26) == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = l_Lean_ConstantInfo_type(x_25); +lean_dec(x_25); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_27 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_26, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec_ref(x_26); -x_29 = lean_ctor_get(x_27, 0); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_27, 1); +lean_dec_ref(x_27); +x_30 = lean_ctor_get(x_28, 0); lean_inc(x_30); -lean_dec(x_27); -x_31 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; -x_32 = lean_st_ref_get(x_31, x_28); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; +x_33 = lean_st_ref_get(x_32, x_29); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec_ref(x_32); -x_35 = lean_ctor_get(x_8, 2); -x_36 = lean_ctor_get(x_8, 7); -x_37 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); +lean_dec_ref(x_33); +x_36 = lean_ctor_get(x_9, 2); +x_37 = lean_ctor_get(x_9, 7); +x_38 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; lean_inc(x_36); -x_38 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_29); -lean_ctor_set(x_38, 3, x_35); -x_39 = lean_st_mk_ref(x_38, x_34); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_37); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_30); +lean_ctor_set(x_39, 3, x_36); +x_40 = lean_st_mk_ref(x_39, x_35); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec_ref(x_39); -x_42 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; -x_43 = lean_st_mk_ref(x_42, x_41); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec_ref(x_40); +x_43 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; +x_44 = lean_st_mk_ref(x_43, x_42); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec_ref(x_43); -x_46 = !lean_is_exclusive(x_6); -if (x_46 == 0) +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec_ref(x_44); +x_47 = !lean_is_exclusive(x_7); +if (x_47 == 0) { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_6, 3); -lean_dec(x_47); -lean_ctor_set(x_6, 3, x_30); -lean_inc(x_40); -lean_inc(x_44); -x_48 = lean_apply_9(x_3, x_44, x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_45); -if (lean_obj_tag(x_48) == 0) +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_7, 3); +lean_dec(x_48); +x_49 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_3); +lean_ctor_set(x_7, 3, x_31); +lean_inc(x_41); +lean_inc(x_45); +x_50 = lean_apply_10(x_4, x_49, x_45, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec_ref(x_48); -x_51 = lean_st_ref_get(x_44, x_50); -lean_dec(x_44); -x_52 = lean_ctor_get(x_51, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -lean_dec_ref(x_51); -x_53 = lean_st_ref_get(x_40, x_52); -lean_dec(x_40); +lean_dec_ref(x_50); +x_53 = lean_st_ref_get(x_45, x_52); +lean_dec(x_45); x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec_ref(x_53); -lean_inc(x_49); -lean_ctor_set(x_17, 0, x_49); -x_55 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_31, x_33, x_17, x_54); -lean_dec_ref(x_17); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) +x_55 = lean_st_ref_get(x_41, x_54); +lean_dec(x_41); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec_ref(x_55); +lean_inc(x_51); +lean_ctor_set(x_18, 0, x_51); +x_57 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_32, x_34, x_18, x_56); +lean_dec_ref(x_18); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_57; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -lean_ctor_set(x_55, 0, x_49); -return x_55; +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set(x_57, 0, x_51); +return x_57; } else { -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_49); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -lean_dec(x_44); -lean_dec(x_40); -lean_free_object(x_17); -x_60 = lean_ctor_get(x_48, 0); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 1); -lean_inc(x_61); -lean_dec_ref(x_48); -x_62 = lean_box(0); -x_63 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_31, x_33, x_62, x_61); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_51); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else { -lean_object* x_65; -x_65 = lean_ctor_get(x_63, 0); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_dec(x_45); +lean_dec(x_41); +lean_free_object(x_18); +x_62 = lean_ctor_get(x_50, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_50, 1); +lean_inc(x_63); +lean_dec_ref(x_50); +x_64 = lean_box(0); +x_65 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_32, x_34, x_64, x_63); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_65, 0); +lean_dec(x_67); +lean_ctor_set_tag(x_65, 1); +lean_ctor_set(x_65, 0, x_62); +return x_65; +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); lean_dec(x_65); -lean_ctor_set_tag(x_63, 1); -lean_ctor_set(x_63, 0, x_60); -return x_63; -} -else -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_dec(x_63); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_60); -lean_ctor_set(x_67, 1, x_66); -return x_67; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_62); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; -x_68 = lean_ctor_get(x_6, 0); -x_69 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); -x_70 = lean_ctor_get(x_6, 1); -x_71 = lean_ctor_get(x_6, 2); -x_72 = lean_ctor_get(x_6, 4); -x_73 = lean_ctor_get(x_6, 5); -x_74 = lean_ctor_get(x_6, 6); -x_75 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); -x_76 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); +lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_70 = lean_ctor_get(x_7, 0); +x_71 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_72 = lean_ctor_get(x_7, 1); +x_73 = lean_ctor_get(x_7, 2); +x_74 = lean_ctor_get(x_7, 4); +x_75 = lean_ctor_get(x_7, 5); +x_76 = lean_ctor_get(x_7, 6); +x_77 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 1); +x_78 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 2); +lean_inc(x_76); +lean_inc(x_75); lean_inc(x_74); lean_inc(x_73); lean_inc(x_72); -lean_inc(x_71); lean_inc(x_70); -lean_inc(x_68); -lean_dec(x_6); -x_77 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_77, 0, x_68); -lean_ctor_set(x_77, 1, x_70); -lean_ctor_set(x_77, 2, x_71); -lean_ctor_set(x_77, 3, x_30); -lean_ctor_set(x_77, 4, x_72); -lean_ctor_set(x_77, 5, x_73); -lean_ctor_set(x_77, 6, x_74); -lean_ctor_set_uint8(x_77, sizeof(void*)*7, x_69); -lean_ctor_set_uint8(x_77, sizeof(void*)*7 + 1, x_75); -lean_ctor_set_uint8(x_77, sizeof(void*)*7 + 2, x_76); -lean_inc(x_40); -lean_inc(x_44); -x_78 = lean_apply_9(x_3, x_44, x_40, x_4, x_5, x_77, x_7, x_8, x_9, x_45); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec_ref(x_78); -x_81 = lean_st_ref_get(x_44, x_80); -lean_dec(x_44); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec_ref(x_81); -x_83 = lean_st_ref_get(x_40, x_82); -lean_dec(x_40); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec_ref(x_83); -lean_inc(x_79); -lean_ctor_set(x_17, 0, x_79); -x_85 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_31, x_33, x_17, x_84); -lean_dec_ref(x_17); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; -} else { - lean_dec_ref(x_85); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_79); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_44); -lean_dec(x_40); -lean_free_object(x_17); -x_89 = lean_ctor_get(x_78, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_78, 1); -lean_inc(x_90); -lean_dec_ref(x_78); -x_91 = lean_box(0); -x_92 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_31, x_33, x_91, x_90); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_94 = x_92; -} else { - lean_dec_ref(x_92); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); -} else { - x_95 = x_94; - lean_ctor_set_tag(x_95, 1); -} -lean_ctor_set(x_95, 0, x_89); -lean_ctor_set(x_95, 1, x_93); -return x_95; -} -} -} -else -{ -uint8_t x_96; -lean_free_object(x_17); -lean_dec(x_9); -lean_dec_ref(x_8); lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -x_96 = !lean_is_exclusive(x_26); -if (x_96 == 0) +x_79 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_79, 0, x_1); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_3); +x_80 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_80, 0, x_70); +lean_ctor_set(x_80, 1, x_72); +lean_ctor_set(x_80, 2, x_73); +lean_ctor_set(x_80, 3, x_31); +lean_ctor_set(x_80, 4, x_74); +lean_ctor_set(x_80, 5, x_75); +lean_ctor_set(x_80, 6, x_76); +lean_ctor_set_uint8(x_80, sizeof(void*)*7, x_71); +lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 1, x_77); +lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 2, x_78); +lean_inc(x_41); +lean_inc(x_45); +x_81 = lean_apply_10(x_4, x_79, x_45, x_41, x_5, x_6, x_80, x_8, x_9, x_10, x_46); +if (lean_obj_tag(x_81) == 0) { -return x_26; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec_ref(x_81); +x_84 = lean_st_ref_get(x_45, x_83); +lean_dec(x_45); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec_ref(x_84); +x_86 = lean_st_ref_get(x_41, x_85); +lean_dec(x_41); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec_ref(x_86); +lean_inc(x_82); +lean_ctor_set(x_18, 0, x_82); +x_88 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_32, x_34, x_18, x_87); +lean_dec_ref(x_18); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; +} else { + lean_dec_ref(x_88); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_82); +lean_ctor_set(x_91, 1, x_89); +return x_91; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_26, 0); -x_98 = lean_ctor_get(x_26, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_26); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_45); +lean_dec(x_41); +lean_free_object(x_18); +x_92 = lean_ctor_get(x_81, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_81, 1); +lean_inc(x_93); +lean_dec_ref(x_81); +x_94 = lean_box(0); +x_95 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_32, x_34, x_94, x_93); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(1, 2, 0); +} else { + x_98 = x_97; + lean_ctor_set_tag(x_98, 1); +} +lean_ctor_set(x_98, 0, x_92); +lean_ctor_set(x_98, 1, x_96); +return x_98; } } } else { +uint8_t x_99; +lean_free_object(x_18); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_99 = !lean_is_exclusive(x_27); +if (x_99 == 0) +{ +return x_27; +} +else +{ lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_17, 0); +x_100 = lean_ctor_get(x_27, 0); +x_101 = lean_ctor_get(x_27, 1); +lean_inc(x_101); lean_inc(x_100); -lean_dec(x_17); -x_101 = l_Lean_ConstantInfo_type(x_100); -lean_dec(x_100); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_101, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_102) == 0) +lean_dec(x_27); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_103 = lean_ctor_get(x_102, 0); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_18, 0); lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec_ref(x_102); -x_105 = lean_ctor_get(x_103, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_106); +lean_dec(x_18); +x_104 = l_Lean_ConstantInfo_type(x_103); lean_dec(x_103); -x_107 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; -x_108 = lean_st_ref_get(x_107, x_104); -x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_105 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_104, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec_ref(x_105); +x_108 = lean_ctor_get(x_106, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec_ref(x_108); -x_111 = lean_ctor_get(x_8, 2); -x_112 = lean_ctor_get(x_8, 7); -x_113 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; -lean_inc(x_111); +lean_dec(x_106); +x_110 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; +x_111 = lean_st_ref_get(x_110, x_107); +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -x_114 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_105); -lean_ctor_set(x_114, 3, x_111); -x_115 = lean_st_mk_ref(x_114, x_110); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec_ref(x_115); -x_118 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; -x_119 = lean_st_mk_ref(x_118, x_117); -x_120 = lean_ctor_get(x_119, 0); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec_ref(x_111); +x_114 = lean_ctor_get(x_9, 2); +x_115 = lean_ctor_get(x_9, 7); +x_116 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; +lean_inc(x_114); +lean_inc(x_115); +x_117 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +lean_ctor_set(x_117, 2, x_108); +lean_ctor_set(x_117, 3, x_114); +x_118 = lean_st_mk_ref(x_117, x_113); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec_ref(x_119); -x_122 = lean_ctor_get(x_6, 0); -lean_inc_ref(x_122); -x_123 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); -x_124 = lean_ctor_get(x_6, 1); +lean_dec_ref(x_118); +x_121 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; +x_122 = lean_st_mk_ref(x_121, x_120); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); lean_inc(x_124); -x_125 = lean_ctor_get(x_6, 2); +lean_dec_ref(x_122); +x_125 = lean_ctor_get(x_7, 0); lean_inc_ref(x_125); -x_126 = lean_ctor_get(x_6, 4); -lean_inc(x_126); -x_127 = lean_ctor_get(x_6, 5); +x_126 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_127 = lean_ctor_get(x_7, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_6, 6); -lean_inc(x_128); -x_129 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); -x_130 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - x_131 = x_6; +x_128 = lean_ctor_get(x_7, 2); +lean_inc_ref(x_128); +x_129 = lean_ctor_get(x_7, 4); +lean_inc(x_129); +x_130 = lean_ctor_get(x_7, 5); +lean_inc(x_130); +x_131 = lean_ctor_get(x_7, 6); +lean_inc(x_131); +x_132 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 1); +x_133 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 2); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + lean_ctor_release(x_7, 3); + lean_ctor_release(x_7, 4); + lean_ctor_release(x_7, 5); + lean_ctor_release(x_7, 6); + x_134 = x_7; } else { - lean_dec_ref(x_6); - x_131 = lean_box(0); + lean_dec_ref(x_7); + x_134 = lean_box(0); } -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(0, 7, 3); +x_135 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_135, 0, x_1); +lean_ctor_set_uint8(x_135, sizeof(void*)*1, x_3); +if (lean_is_scalar(x_134)) { + x_136 = lean_alloc_ctor(0, 7, 3); } else { - x_132 = x_131; + x_136 = x_134; } -lean_ctor_set(x_132, 0, x_122); -lean_ctor_set(x_132, 1, x_124); -lean_ctor_set(x_132, 2, x_125); -lean_ctor_set(x_132, 3, x_106); -lean_ctor_set(x_132, 4, x_126); -lean_ctor_set(x_132, 5, x_127); -lean_ctor_set(x_132, 6, x_128); -lean_ctor_set_uint8(x_132, sizeof(void*)*7, x_123); -lean_ctor_set_uint8(x_132, sizeof(void*)*7 + 1, x_129); -lean_ctor_set_uint8(x_132, sizeof(void*)*7 + 2, x_130); -lean_inc(x_116); -lean_inc(x_120); -x_133 = lean_apply_9(x_3, x_120, x_116, x_4, x_5, x_132, x_7, x_8, x_9, x_121); -if (lean_obj_tag(x_133) == 0) +lean_ctor_set(x_136, 0, x_125); +lean_ctor_set(x_136, 1, x_127); +lean_ctor_set(x_136, 2, x_128); +lean_ctor_set(x_136, 3, x_109); +lean_ctor_set(x_136, 4, x_129); +lean_ctor_set(x_136, 5, x_130); +lean_ctor_set(x_136, 6, x_131); +lean_ctor_set_uint8(x_136, sizeof(void*)*7, x_126); +lean_ctor_set_uint8(x_136, sizeof(void*)*7 + 1, x_132); +lean_ctor_set_uint8(x_136, sizeof(void*)*7 + 2, x_133); +lean_inc(x_119); +lean_inc(x_123); +x_137 = lean_apply_10(x_4, x_135, x_123, x_119, x_5, x_6, x_136, x_8, x_9, x_10, x_124); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec_ref(x_133); -x_136 = lean_st_ref_get(x_120, x_135); -lean_dec(x_120); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec_ref(x_136); -x_138 = lean_st_ref_get(x_116, x_137); -lean_dec(x_116); -x_139 = lean_ctor_get(x_138, 1); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); lean_inc(x_139); -lean_dec_ref(x_138); -lean_inc(x_134); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_134); -x_141 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_107, x_109, x_140, x_139); +lean_dec_ref(x_137); +x_140 = lean_st_ref_get(x_123, x_139); +lean_dec(x_123); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); lean_dec_ref(x_140); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_143 = x_141; -} else { - lean_dec_ref(x_141); - x_143 = lean_box(0); -} -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(0, 2, 0); -} else { - x_144 = x_143; -} -lean_ctor_set(x_144, 0, x_134); -lean_ctor_set(x_144, 1, x_142); -return x_144; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_120); -lean_dec(x_116); -x_145 = lean_ctor_get(x_133, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_133, 1); +x_142 = lean_st_ref_get(x_119, x_141); +lean_dec(x_119); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec_ref(x_142); +lean_inc(x_138); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_138); +x_145 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_110, x_112, x_144, x_143); +lean_dec_ref(x_144); +x_146 = lean_ctor_get(x_145, 1); lean_inc(x_146); -lean_dec_ref(x_133); -x_147 = lean_box(0); -x_148 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_107, x_109, x_147, x_146); -x_149 = lean_ctor_get(x_148, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_150 = x_148; +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_147 = x_145; } else { - lean_dec_ref(x_148); - x_150 = lean_box(0); + lean_dec_ref(x_145); + x_147 = lean_box(0); } -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(0, 2, 0); } else { - x_151 = x_150; - lean_ctor_set_tag(x_151, 1); -} -lean_ctor_set(x_151, 0, x_145); -lean_ctor_set(x_151, 1, x_149); -return x_151; + x_148 = x_147; } +lean_ctor_set(x_148, 0, x_138); +lean_ctor_set(x_148, 1, x_146); +return x_148; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -x_152 = lean_ctor_get(x_102, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_102, 1); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_123); +lean_dec(x_119); +x_149 = lean_ctor_get(x_137, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_137, 1); +lean_inc(x_150); +lean_dec_ref(x_137); +x_151 = lean_box(0); +x_152 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_110, x_112, x_151, x_150); +x_153 = lean_ctor_get(x_152, 1); lean_inc(x_153); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_154 = x_102; +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; } else { - lean_dec_ref(x_102); + lean_dec_ref(x_152); x_154 = lean_box(0); } if (lean_is_scalar(x_154)) { x_155 = lean_alloc_ctor(1, 2, 0); } else { x_155 = x_154; + lean_ctor_set_tag(x_155, 1); } -lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 0, x_149); lean_ctor_set(x_155, 1, x_153); return x_155; } } -} -} else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_156 = lean_ctor_get(x_11, 0); -x_157 = lean_ctor_get(x_11, 1); -lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_11); -x_158 = lean_ctor_get(x_156, 0); -lean_inc_ref(x_158); -lean_dec(x_156); -x_159 = l_Lean_Environment_constants(x_158); -x_160 = l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___redArg(x_159, x_1); -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec_ref(x_3); -x_161 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__1; -x_162 = l_Lean_MessageData_ofName(x_1); -x_163 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__3; -x_165 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg(x_165, x_4, x_5, x_6, x_7, x_8, x_9, x_157); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -return x_166; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); lean_dec(x_1); -x_167 = lean_ctor_get(x_160, 0); -lean_inc(x_167); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - x_168 = x_160; +x_156 = lean_ctor_get(x_105, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_105, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_158 = x_105; } else { - lean_dec_ref(x_160); - x_168 = lean_box(0); + lean_dec_ref(x_105); + x_158 = lean_box(0); } -x_169 = l_Lean_ConstantInfo_type(x_167); -lean_dec(x_167); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_170 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_169, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_157); -if (lean_obj_tag(x_170) == 0) +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_158; +} +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +return x_159; +} +} +} +} +else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_171 = lean_ctor_get(x_170, 0); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_160 = lean_ctor_get(x_12, 0); +x_161 = lean_ctor_get(x_12, 1); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_12); +x_162 = lean_ctor_get(x_160, 0); +lean_inc_ref(x_162); +lean_dec(x_160); +x_163 = l_Lean_Environment_constants(x_162); +x_164 = l_Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0___redArg(x_163, x_1); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec_ref(x_4); +x_165 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__1; +x_166 = l_Lean_MessageData_ofName(x_1); +x_167 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +x_168 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__3; +x_169 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0___redArg(x_169, x_5, x_6, x_7, x_8, x_9, x_10, x_161); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +return x_170; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_171 = lean_ctor_get(x_164, 0); lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec_ref(x_170); -x_173 = lean_ctor_get(x_171, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_171, 1); -lean_inc(x_174); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_172 = x_164; +} else { + lean_dec_ref(x_164); + x_172 = lean_box(0); +} +x_173 = l_Lean_ConstantInfo_type(x_171); lean_dec(x_171); -x_175 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; -x_176 = lean_st_ref_get(x_175, x_172); -x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_174 = l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext(x_173, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_161); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec_ref(x_174); +x_177 = lean_ctor_get(x_175, 0); lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); +x_178 = lean_ctor_get(x_175, 1); lean_inc(x_178); -lean_dec_ref(x_176); -x_179 = lean_ctor_get(x_8, 2); -x_180 = lean_ctor_get(x_8, 7); -x_181 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; -lean_inc(x_179); -lean_inc(x_180); -x_182 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -lean_ctor_set(x_182, 2, x_173); -lean_ctor_set(x_182, 3, x_179); -x_183 = lean_st_mk_ref(x_182, x_178); -x_184 = lean_ctor_get(x_183, 0); +lean_dec(x_175); +x_179 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__4; +x_180 = lean_st_ref_get(x_179, x_176); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec_ref(x_180); +x_183 = lean_ctor_get(x_9, 2); +x_184 = lean_ctor_get(x_9, 7); +x_185 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__8; +lean_inc(x_183); lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -lean_dec_ref(x_183); -x_186 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; -x_187 = lean_st_mk_ref(x_186, x_185); +x_186 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +lean_ctor_set(x_186, 2, x_177); +lean_ctor_set(x_186, 3, x_183); +x_187 = lean_st_mk_ref(x_186, x_182); x_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); x_189 = lean_ctor_get(x_187, 1); lean_inc(x_189); lean_dec_ref(x_187); -x_190 = lean_ctor_get(x_6, 0); -lean_inc_ref(x_190); -x_191 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); -x_192 = lean_ctor_get(x_6, 1); +x_190 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__14; +x_191 = lean_st_mk_ref(x_190, x_189); +x_192 = lean_ctor_get(x_191, 0); lean_inc(x_192); -x_193 = lean_ctor_get(x_6, 2); -lean_inc_ref(x_193); -x_194 = lean_ctor_get(x_6, 4); -lean_inc(x_194); -x_195 = lean_ctor_get(x_6, 5); -lean_inc(x_195); -x_196 = lean_ctor_get(x_6, 6); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); +lean_dec_ref(x_191); +x_194 = lean_ctor_get(x_7, 0); +lean_inc_ref(x_194); +x_195 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_196 = lean_ctor_get(x_7, 1); lean_inc(x_196); -x_197 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); -x_198 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - x_199 = x_6; +x_197 = lean_ctor_get(x_7, 2); +lean_inc_ref(x_197); +x_198 = lean_ctor_get(x_7, 4); +lean_inc(x_198); +x_199 = lean_ctor_get(x_7, 5); +lean_inc(x_199); +x_200 = lean_ctor_get(x_7, 6); +lean_inc(x_200); +x_201 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 1); +x_202 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 2); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + lean_ctor_release(x_7, 3); + lean_ctor_release(x_7, 4); + lean_ctor_release(x_7, 5); + lean_ctor_release(x_7, 6); + x_203 = x_7; } else { - lean_dec_ref(x_6); - x_199 = lean_box(0); + lean_dec_ref(x_7); + x_203 = lean_box(0); } -if (lean_is_scalar(x_199)) { - x_200 = lean_alloc_ctor(0, 7, 3); +x_204 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_204, 0, x_1); +lean_ctor_set_uint8(x_204, sizeof(void*)*1, x_3); +if (lean_is_scalar(x_203)) { + x_205 = lean_alloc_ctor(0, 7, 3); } else { - x_200 = x_199; + x_205 = x_203; } -lean_ctor_set(x_200, 0, x_190); -lean_ctor_set(x_200, 1, x_192); -lean_ctor_set(x_200, 2, x_193); -lean_ctor_set(x_200, 3, x_174); -lean_ctor_set(x_200, 4, x_194); -lean_ctor_set(x_200, 5, x_195); -lean_ctor_set(x_200, 6, x_196); -lean_ctor_set_uint8(x_200, sizeof(void*)*7, x_191); -lean_ctor_set_uint8(x_200, sizeof(void*)*7 + 1, x_197); -lean_ctor_set_uint8(x_200, sizeof(void*)*7 + 2, x_198); -lean_inc(x_184); +lean_ctor_set(x_205, 0, x_194); +lean_ctor_set(x_205, 1, x_196); +lean_ctor_set(x_205, 2, x_197); +lean_ctor_set(x_205, 3, x_178); +lean_ctor_set(x_205, 4, x_198); +lean_ctor_set(x_205, 5, x_199); +lean_ctor_set(x_205, 6, x_200); +lean_ctor_set_uint8(x_205, sizeof(void*)*7, x_195); +lean_ctor_set_uint8(x_205, sizeof(void*)*7 + 1, x_201); +lean_ctor_set_uint8(x_205, sizeof(void*)*7 + 2, x_202); lean_inc(x_188); -x_201 = lean_apply_9(x_3, x_188, x_184, x_4, x_5, x_200, x_7, x_8, x_9, x_189); -if (lean_obj_tag(x_201) == 0) +lean_inc(x_192); +x_206 = lean_apply_10(x_4, x_204, x_192, x_188, x_5, x_6, x_205, x_8, x_9, x_10, x_193); +if (lean_obj_tag(x_206) == 0) { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec_ref(x_201); -x_204 = lean_st_ref_get(x_188, x_203); -lean_dec(x_188); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec_ref(x_204); -x_206 = lean_st_ref_get(x_184, x_205); -lean_dec(x_184); -x_207 = lean_ctor_get(x_206, 1); +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); lean_dec_ref(x_206); -lean_inc(x_202); -if (lean_is_scalar(x_168)) { - x_208 = lean_alloc_ctor(1, 1, 0); -} else { - x_208 = x_168; -} -lean_ctor_set(x_208, 0, x_202); -x_209 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_175, x_177, x_208, x_207); -lean_dec_ref(x_208); +x_209 = lean_st_ref_get(x_192, x_208); +lean_dec(x_192); x_210 = lean_ctor_get(x_209, 1); lean_inc(x_210); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_211 = x_209; -} else { - lean_dec_ref(x_209); - x_211 = lean_box(0); -} -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(0, 2, 0); -} else { - x_212 = x_211; -} -lean_ctor_set(x_212, 0, x_202); -lean_ctor_set(x_212, 1, x_210); -return x_212; -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec_ref(x_209); +x_211 = lean_st_ref_get(x_188, x_210); lean_dec(x_188); -lean_dec(x_184); -lean_dec(x_168); -x_213 = lean_ctor_get(x_201, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_201, 1); -lean_inc(x_214); -lean_dec_ref(x_201); -x_215 = lean_box(0); -x_216 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_175, x_177, x_215, x_214); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -if (lean_is_exclusive(x_216)) { - lean_ctor_release(x_216, 0); - lean_ctor_release(x_216, 1); - x_218 = x_216; +x_212 = lean_ctor_get(x_211, 1); +lean_inc(x_212); +lean_dec_ref(x_211); +lean_inc(x_207); +if (lean_is_scalar(x_172)) { + x_213 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_216); - x_218 = lean_box(0); + x_213 = x_172; } -if (lean_is_scalar(x_218)) { - x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_207); +x_214 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_179, x_181, x_213, x_212); +lean_dec_ref(x_213); +x_215 = lean_ctor_get(x_214, 1); +lean_inc(x_215); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + lean_ctor_release(x_214, 1); + x_216 = x_214; } else { - x_219 = x_218; - lean_ctor_set_tag(x_219, 1); + lean_dec_ref(x_214); + x_216 = lean_box(0); } -lean_ctor_set(x_219, 0, x_213); -lean_ctor_set(x_219, 1, x_217); -return x_219; +if (lean_is_scalar(x_216)) { + x_217 = lean_alloc_ctor(0, 2, 0); +} else { + x_217 = x_216; +} +lean_ctor_set(x_217, 0, x_207); +lean_ctor_set(x_217, 1, x_215); +return x_217; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_192); +lean_dec(x_188); +lean_dec(x_172); +x_218 = lean_ctor_get(x_206, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_206, 1); +lean_inc(x_219); +lean_dec_ref(x_206); +x_220 = lean_box(0); +x_221 = l_Lean_Doc_DocM_exec___redArg___lam__0(x_179, x_181, x_220, x_219); +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_223 = x_221; +} else { + lean_dec_ref(x_221); + x_223 = lean_box(0); +} +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(1, 2, 0); +} else { + x_224 = x_223; + lean_ctor_set_tag(x_224, 1); +} +lean_ctor_set(x_224, 0, x_218); +lean_ctor_set(x_224, 1, x_222); +return x_224; } } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -lean_dec(x_168); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_172); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); lean_dec_ref(x_4); -lean_dec_ref(x_3); -x_220 = lean_ctor_get(x_170, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_170, 1); -lean_inc(x_221); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_222 = x_170; +lean_dec(x_1); +x_225 = lean_ctor_get(x_174, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_174, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_227 = x_174; } else { - lean_dec_ref(x_170); - x_222 = lean_box(0); + lean_dec_ref(x_174); + x_227 = lean_box(0); } -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); } else { - x_223 = x_222; + x_228 = x_227; } -lean_ctor_set(x_223, 0, x_220); -lean_ctor_set(x_223, 1, x_221); -return x_223; +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; } } } } } -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_14); -lean_dec(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Doc_DocM_exec___redArg___lam__1___boxed), 10, 3); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -x_16 = l_Lean_Environment_unlockAsync(x_14); -x_17 = l_Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6___redArg(x_16, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_17; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc_ref(x_15); +lean_dec(x_13); +x_16 = lean_box(x_4); +x_17 = lean_alloc_closure((void*)(l_Lean_Doc_DocM_exec___redArg___lam__1___boxed), 11, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_3); +x_18 = l_Lean_Environment_unlockAsync(x_15); +x_19 = l_Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6___redArg(x_18, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_DocM_exec___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_Doc_DocM_exec___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -8032,13 +8308,32 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_DocM_exec___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +x_13 = l_Lean_Doc_DocM_exec___redArg___lam__1(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_11; +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_4); +x_13 = l_Lean_Doc_DocM_exec___redArg(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocM_exec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l_Lean_Doc_DocM_exec(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Doc_DocArg_ctorIdx(lean_object* x_1) { @@ -8210,8 +8505,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_DocArg_ofSyntax___closed__1; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -8230,8 +8525,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_DocArg_ofSyntax___closed__3; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -8250,8 +8545,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_DocArg_ofSyntax___closed__5; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -10817,6 +11112,15 @@ return x_13; static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1() { +_start: +{ lean_object* x_1; x_1 = l_Lean_rootNamespace; return x_1; @@ -10850,7 +11154,7 @@ if (lean_obj_tag(x_73) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_dec_ref(x_35); -x_74 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_74 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1; lean_inc(x_1); x_75 = l_Lean_Name_append(x_74, x_1); x_76 = lean_alloc_ctor(1, 1, 0); @@ -10885,7 +11189,7 @@ goto block_72; else { lean_object* x_82; lean_object* x_83; -x_82 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_82 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1; lean_inc(x_78); x_83 = l_Lean_Name_append(x_82, x_78); lean_ctor_set(x_73, 0, x_83); @@ -10916,7 +11220,7 @@ goto block_72; else { lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_88 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1; lean_inc(x_84); x_89 = l_Lean_Name_append(x_88, x_84); x_90 = lean_alloc_ctor(1, 1, 0); @@ -10956,15 +11260,15 @@ lean_dec(x_38); lean_dec_ref(x_36); x_46 = lean_unsigned_to_nat(0u); x_47 = lean_array_get_size(x_45); -x_48 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0; +x_48 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; x_49 = lean_nat_dec_lt(x_46, x_47); if (x_49 == 0) { lean_dec(x_47); lean_dec_ref(x_45); lean_dec(x_37); -x_25 = x_43; -x_26 = x_41; +x_25 = x_41; +x_26 = x_43; x_27 = x_48; goto block_30; } @@ -10977,8 +11281,8 @@ if (x_50 == 0) lean_dec(x_47); lean_dec_ref(x_45); lean_dec(x_37); -x_25 = x_43; -x_26 = x_41; +x_25 = x_41; +x_26 = x_43; x_27 = x_48; goto block_30; } @@ -10991,8 +11295,8 @@ lean_dec(x_47); x_53 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__16(x_37, x_45, x_51, x_52, x_48); lean_dec_ref(x_45); lean_dec(x_37); -x_25 = x_43; -x_26 = x_41; +x_25 = x_41; +x_26 = x_43; x_27 = x_53; goto block_30; } @@ -11029,8 +11333,8 @@ if (lean_obj_tag(x_57) == 0) lean_dec(x_37); lean_dec_ref(x_4); lean_dec(x_1); -x_20 = x_59; -x_21 = x_58; +x_20 = x_58; +x_21 = x_59; goto block_24; } else @@ -11125,8 +11429,8 @@ lean_dec(x_60); lean_dec(x_37); lean_dec_ref(x_4); lean_dec(x_1); -x_20 = x_59; -x_21 = x_58; +x_20 = x_58; +x_21 = x_59; goto block_24; } } @@ -11178,14 +11482,14 @@ block_24: { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = lean_apply_8(x_20, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_23 = lean_apply_8(x_21, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_20); return x_23; } block_30: { lean_object* x_28; lean_object* x_29; x_28 = lean_box(0); -x_29 = lean_apply_9(x_25, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_29 = lean_apply_9(x_26, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_25); return x_29; } } @@ -13158,7 +13462,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__1; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__0; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -13177,7 +13481,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__3; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__0; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -13196,7 +13500,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__5; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_severityHint___closed__0; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -13742,7 +14046,7 @@ lean_dec(x_58); x_59 = lean_ctor_get(x_52, 1); x_60 = lean_ctor_get(x_53, 1); x_61 = lean_ctor_get(x_54, 1); -x_62 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_62 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_63 = lean_string_dec_eq(x_61, x_62); if (x_63 == 0) { @@ -13865,7 +14169,7 @@ lean_dec(x_51); x_79 = lean_ctor_get(x_52, 1); x_80 = lean_ctor_get(x_53, 1); x_81 = lean_ctor_get(x_54, 1); -x_82 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_82 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_83 = lean_string_dec_eq(x_81, x_82); if (x_83 == 0) { @@ -14184,196 +14488,196 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_getPositional___redArg___lam__0___closed__0; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_array_fget_borrowed(x_1, x_8); -x_22 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; -lean_inc(x_21); -x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); -if (x_23 == 0) +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_array_fget_borrowed(x_1, x_8); +x_23 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; +lean_inc(x_22); +x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_20); +lean_dec_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_1); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_2); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_11); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_2); x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -return x_26; +lean_ctor_set(x_26, 1, x_11); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_21); +return x_27; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec_ref(x_11); lean_dec_ref(x_2); -x_27 = l_Lean_Syntax_getArg(x_21, x_3); -x_28 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_28, 0, x_27); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -lean_inc(x_15); -lean_inc_ref(x_14); -x_29 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_28, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_29) == 0) +x_28 = l_Lean_Syntax_getArg(x_22, x_3); +x_29 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_29, 0, x_28); +lean_inc(x_20); +lean_inc_ref(x_19); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +x_30 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_29, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec_ref(x_29); -x_32 = lean_apply_1(x_4, x_30); -x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_32, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_31); -if (lean_obj_tag(x_33) == 0) +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec_ref(x_30); +x_33 = lean_apply_1(x_4, x_31); +x_34 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_33, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_32); +if (lean_obj_tag(x_34) == 0) { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_35 = lean_ctor_get(x_33, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_36 = lean_ctor_get(x_34, 0); lean_inc(x_8); lean_inc_ref(x_1); -x_36 = l_Array_toSubarray___redArg(x_1, x_3, x_8); -x_37 = l_Array_ofSubarray___redArg(x_36); -lean_dec_ref(x_36); -x_38 = lean_nat_add(x_8, x_5); +x_37 = l_Array_toSubarray___redArg(x_1, x_3, x_8); +x_38 = l_Array_ofSubarray___redArg(x_37); +lean_dec_ref(x_37); +x_39 = lean_nat_add(x_8, x_5); lean_dec(x_8); -x_39 = l_Array_toSubarray___redArg(x_1, x_38, x_6); -x_40 = l_Array_ofSubarray___redArg(x_39); -lean_dec_ref(x_39); -x_41 = l_Array_append___redArg(x_37, x_40); +x_40 = l_Array_toSubarray___redArg(x_1, x_39, x_6); +x_41 = l_Array_ofSubarray___redArg(x_40); lean_dec_ref(x_40); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_35); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_7); -x_44 = lean_alloc_ctor(0, 1, 0); +x_42 = l_Array_append___redArg(x_38, x_41); +lean_dec_ref(x_41); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_36); +x_44 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_44, 0, x_43); -x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 1, x_7); +x_45 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_41); -lean_ctor_set(x_33, 0, x_45); -return x_33; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_42); +lean_ctor_set(x_34, 0, x_46); +return x_34; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_46 = lean_ctor_get(x_33, 0); -x_47 = lean_ctor_get(x_33, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_47 = lean_ctor_get(x_34, 0); +x_48 = lean_ctor_get(x_34, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_33); +lean_dec(x_34); lean_inc(x_8); lean_inc_ref(x_1); -x_48 = l_Array_toSubarray___redArg(x_1, x_3, x_8); -x_49 = l_Array_ofSubarray___redArg(x_48); -lean_dec_ref(x_48); -x_50 = lean_nat_add(x_8, x_5); +x_49 = l_Array_toSubarray___redArg(x_1, x_3, x_8); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_8, x_5); lean_dec(x_8); -x_51 = l_Array_toSubarray___redArg(x_1, x_50, x_6); -x_52 = l_Array_ofSubarray___redArg(x_51); -lean_dec_ref(x_51); -x_53 = l_Array_append___redArg(x_49, x_52); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); lean_dec_ref(x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_46); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_7); -x_56 = lean_alloc_ctor(0, 1, 0); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_47); +x_56 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_56, 0, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 1, x_7); +x_57 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_53); x_58 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_47); -return x_58; +lean_ctor_set(x_58, 1, x_54); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_48); +return x_59; } } else { -uint8_t x_59; +uint8_t x_60; lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); lean_dec_ref(x_1); -x_59 = !lean_is_exclusive(x_33); -if (x_59 == 0) +x_60 = !lean_is_exclusive(x_34); +if (x_60 == 0) { -return x_33; +return x_34; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_33, 0); -x_61 = lean_ctor_get(x_33, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_34, 0); +x_62 = lean_ctor_get(x_34, 1); +lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_33); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +lean_dec(x_34); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_63; -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); +uint8_t x_64; +lean_dec(x_20); +lean_dec_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_1); -x_63 = !lean_is_exclusive(x_29); -if (x_63 == 0) +x_64 = !lean_is_exclusive(x_30); +if (x_64 == 0) { -return x_29; +return x_30; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_29, 0); -x_65 = lean_ctor_get(x_29, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_30, 0); +x_66 = lean_ctor_get(x_30, 1); +lean_inc(x_66); lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_29); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +lean_dec(x_30); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } @@ -14641,7 +14945,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Doc_getPositional___redArg___closed__25; -x_2 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__3), 5, 1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadExceptOf___redArg___lam__0___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -14649,12 +14953,44 @@ return x_2; static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__27() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_getPositional___redArg___closed__25; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadExceptOf___redArg___lam__2), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_getPositional___redArg___closed__27; +x_2 = l_Lean_Doc_getPositional___redArg___closed__26; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_getPositional___redArg___closed__28; +x_2 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__3), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__30() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_StateT_instMonadFunctor___lam__0), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__28() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__31() { _start: { lean_object* x_1; @@ -14662,15 +14998,15 @@ x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctor___lam__0), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__29() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__32() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed), 11, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instMonadLiftTermElabMDocM___lam__0___boxed), 12, 0); return x_1; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__30() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14680,27 +15016,27 @@ x_3 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__31() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_getPositional___redArg___closed__30; +x_1 = l_Lean_Doc_getPositional___redArg___closed__33; x_2 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; x_3 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__32() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_getPositional___redArg___closed__31; -x_2 = l_Lean_Doc_getPositional___redArg___closed__29; +x_1 = l_Lean_Doc_getPositional___redArg___closed__34; +x_2 = l_Lean_Doc_getPositional___redArg___closed__32; x_3 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__33() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14712,7 +15048,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__34() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__37() { _start: { lean_object* x_1; @@ -14720,16 +15056,16 @@ x_1 = lean_mk_string_unchecked("Missing positional argument `", 29, 29); return x_1; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__35() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__38() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_getPositional___redArg___closed__34; +x_1 = l_Lean_Doc_getPositional___redArg___closed__37; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__36() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__39() { _start: { lean_object* x_1; @@ -14737,3620 +15073,16 @@ x_1 = lean_mk_string_unchecked("`", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__37() { +static lean_object* _init_l_Lean_Doc_getPositional___redArg___closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_getPositional___redArg___closed__36; +x_1 = l_Lean_Doc_getPositional___redArg___closed__39; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Doc_getPositional___redArg___closed__1; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_ctor_get(x_15, 2); -x_20 = lean_ctor_get(x_15, 3); -x_21 = lean_ctor_get(x_15, 4); -x_22 = lean_ctor_get(x_15, 1); -lean_dec(x_22); -x_23 = l_Lean_Doc_getPositional___redArg___closed__2; -x_24 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_18); -x_25 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_25, 0, x_18); -x_26 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_26, 0, x_18); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_28, 0, x_21); -x_29 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_29, 0, x_20); -x_30 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_30, 0, x_19); -lean_ctor_set(x_15, 4, x_28); -lean_ctor_set(x_15, 3, x_29); -lean_ctor_set(x_15, 2, x_30); -lean_ctor_set(x_15, 1, x_23); -lean_ctor_set(x_15, 0, x_27); -lean_ctor_set(x_13, 1, x_24); -x_31 = l_ReaderT_instMonad___redArg(x_13); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_dec(x_34); -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_36 = lean_ctor_get(x_33, 0); -x_37 = lean_ctor_get(x_33, 2); -x_38 = lean_ctor_get(x_33, 3); -x_39 = lean_ctor_get(x_33, 4); -x_40 = lean_ctor_get(x_33, 1); -lean_dec(x_40); -x_41 = l_Lean_Doc_getPositional___redArg___closed__4; -x_42 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_36); -x_43 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_43, 0, x_36); -x_44 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_44, 0, x_36); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_46, 0, x_39); -x_47 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_47, 0, x_38); -x_48 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_48, 0, x_37); -lean_ctor_set(x_33, 4, x_46); -lean_ctor_set(x_33, 3, x_47); -lean_ctor_set(x_33, 2, x_48); -lean_ctor_set(x_33, 1, x_41); -lean_ctor_set(x_33, 0, x_45); -lean_ctor_set(x_31, 1, x_42); -x_49 = l_ReaderT_instMonad___redArg(x_31); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_49, 1); -lean_dec(x_52); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_54 = lean_ctor_get(x_51, 0); -x_55 = lean_ctor_get(x_51, 2); -x_56 = lean_ctor_get(x_51, 3); -x_57 = lean_ctor_get(x_51, 4); -x_58 = lean_ctor_get(x_51, 1); -lean_dec(x_58); -x_59 = l_Lean_Doc_getPositional___redArg___closed__6; -x_60 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_54); -x_61 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_61, 0, x_54); -x_62 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_62, 0, x_54); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_64, 0, x_57); -x_65 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_65, 0, x_56); -x_66 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_66, 0, x_55); -lean_ctor_set(x_51, 4, x_64); -lean_ctor_set(x_51, 3, x_65); -lean_ctor_set(x_51, 2, x_66); -lean_ctor_set(x_51, 1, x_59); -lean_ctor_set(x_51, 0, x_63); -lean_ctor_set(x_49, 1, x_60); -x_67 = l_ReaderT_instMonad___redArg(x_49); -x_68 = l_ReaderT_instMonad___redArg(x_67); -lean_inc_ref(x_68); -x_69 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_69, 0, x_68); -lean_inc_ref(x_68); -x_70 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_70, 0, x_68); -lean_inc_ref(x_68); -x_71 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_71, 0, x_68); -lean_inc_ref(x_68); -x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_72, 0, x_68); -lean_inc_ref(x_68); -x_73 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_73, 0, lean_box(0)); -lean_closure_set(x_73, 1, lean_box(0)); -lean_closure_set(x_73, 2, x_68); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_69); -lean_inc_ref(x_68); -x_75 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_75, 0, lean_box(0)); -lean_closure_set(x_75, 1, lean_box(0)); -lean_closure_set(x_75, 2, x_68); -x_76 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_70); -lean_ctor_set(x_76, 3, x_71); -lean_ctor_set(x_76, 4, x_72); -lean_inc_ref(x_68); -x_77 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_77, 0, lean_box(0)); -lean_closure_set(x_77, 1, lean_box(0)); -lean_closure_set(x_77, 2, x_68); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_68); -x_80 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_80, 0, x_79); -lean_closure_set(x_80, 1, x_68); -x_81 = l_Lean_Doc_getPositional___redArg___closed__26; -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_85 = lean_ctor_get(x_83, 0); -x_86 = lean_ctor_get(x_83, 2); -lean_dec(x_86); -x_87 = lean_ctor_get(x_83, 1); -lean_dec(x_87); -x_88 = l_Lean_Doc_getPositional___redArg___closed__27; -x_89 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_89, 0, lean_box(0)); -lean_closure_set(x_89, 1, lean_box(0)); -lean_closure_set(x_89, 2, x_68); -x_90 = l_Lean_Doc_getPositional___redArg___closed__28; -x_91 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_92 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_90, x_91, x_85); -x_93 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_90, x_91, x_92); -lean_inc_ref(x_89); -x_94 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_88, x_89, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc_ref(x_95); -lean_dec_ref(x_94); -x_96 = l_Lean_Doc_getPositional___redArg___closed__32; -x_97 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_89, x_96); -lean_inc_ref(x_78); -x_98 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_97, x_78); -lean_ctor_set(x_83, 2, x_98); -lean_ctor_set(x_83, 1, x_95); -lean_ctor_set(x_83, 0, x_82); -x_99 = lean_unsigned_to_nat(0u); -x_100 = lean_array_get_size(x_3); -x_101 = lean_unsigned_to_nat(1u); -lean_inc(x_100); -x_102 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_100); -lean_ctor_set(x_102, 2, x_101); -x_103 = lean_box(0); -x_104 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_105 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_105, 0, x_3); -lean_closure_set(x_105, 1, x_104); -lean_closure_set(x_105, 2, x_99); -lean_closure_set(x_105, 3, x_1); -lean_closure_set(x_105, 4, x_101); -lean_closure_set(x_105, 5, x_100); -lean_closure_set(x_105, 6, x_103); -lean_inc_ref(x_78); -x_106 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_78, x_102, x_105, x_104, x_99, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_107 = lean_apply_10(x_106, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_109, 0); -x_112 = lean_ctor_get(x_109, 1); -lean_dec(x_112); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_113 = lean_ctor_get(x_107, 1); -lean_inc(x_113); -lean_dec_ref(x_107); -x_114 = lean_ctor_get(x_108, 1); -lean_inc(x_114); -lean_dec(x_108); -x_115 = l_Lean_Doc_getPositional___redArg___closed__35; -x_116 = l_Lean_MessageData_ofName(x_2); -lean_ctor_set_tag(x_109, 7); -lean_ctor_set(x_109, 1, x_116); -lean_ctor_set(x_109, 0, x_115); -x_117 = l_Lean_Doc_getPositional___redArg___closed__37; -x_118 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_118, 0, x_109); -lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_throwError___redArg(x_78, x_83, x_118); -x_120 = lean_apply_10(x_119, x_114, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_113); -return x_120; -} -else -{ -uint8_t x_121; -lean_free_object(x_109); -lean_dec_ref(x_83); -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_121 = !lean_is_exclusive(x_107); -if (x_121 == 0) -{ -lean_object* x_122; uint8_t x_123; -x_122 = lean_ctor_get(x_107, 0); -lean_dec(x_122); -x_123 = !lean_is_exclusive(x_108); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_108, 0); -lean_dec(x_124); -x_125 = lean_ctor_get(x_111, 0); -lean_inc(x_125); -lean_dec_ref(x_111); -lean_ctor_set(x_108, 0, x_125); -return x_107; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_108, 1); -lean_inc(x_126); -lean_dec(x_108); -x_127 = lean_ctor_get(x_111, 0); -lean_inc(x_127); -lean_dec_ref(x_111); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -lean_ctor_set(x_107, 0, x_128); -return x_107; -} -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_129 = lean_ctor_get(x_107, 1); -lean_inc(x_129); -lean_dec(x_107); -x_130 = lean_ctor_get(x_108, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_131 = x_108; -} else { - lean_dec_ref(x_108); - x_131 = lean_box(0); -} -x_132 = lean_ctor_get(x_111, 0); -lean_inc(x_132); -lean_dec_ref(x_111); -if (lean_is_scalar(x_131)) { - x_133 = lean_alloc_ctor(0, 2, 0); -} else { - x_133 = x_131; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_130); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_129); -return x_134; -} -} -} -else -{ -lean_object* x_135; -x_135 = lean_ctor_get(x_109, 0); -lean_inc(x_135); -lean_dec(x_109); -if (lean_obj_tag(x_135) == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_136 = lean_ctor_get(x_107, 1); -lean_inc(x_136); -lean_dec_ref(x_107); -x_137 = lean_ctor_get(x_108, 1); -lean_inc(x_137); -lean_dec(x_108); -x_138 = l_Lean_Doc_getPositional___redArg___closed__35; -x_139 = l_Lean_MessageData_ofName(x_2); -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Doc_getPositional___redArg___closed__37; -x_142 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_throwError___redArg(x_78, x_83, x_142); -x_144 = lean_apply_10(x_143, x_137, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_136); -return x_144; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec_ref(x_83); -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_145 = lean_ctor_get(x_107, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_146 = x_107; -} else { - lean_dec_ref(x_107); - x_146 = lean_box(0); -} -x_147 = lean_ctor_get(x_108, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_148 = x_108; -} else { - lean_dec_ref(x_108); - x_148 = lean_box(0); -} -x_149 = lean_ctor_get(x_135, 0); -lean_inc(x_149); -lean_dec_ref(x_135); -if (lean_is_scalar(x_148)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_148; -} -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_147); -if (lean_is_scalar(x_146)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_146; -} -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_145); -return x_151; -} -} -} -else -{ -uint8_t x_152; -lean_dec_ref(x_83); -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_152 = !lean_is_exclusive(x_107); -if (x_152 == 0) -{ -return x_107; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_107, 0); -x_154 = lean_ctor_get(x_107, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_107); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -return x_155; -} -} -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_156 = lean_ctor_get(x_83, 0); -lean_inc(x_156); -lean_dec(x_83); -x_157 = l_Lean_Doc_getPositional___redArg___closed__27; -x_158 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_158, 0, lean_box(0)); -lean_closure_set(x_158, 1, lean_box(0)); -lean_closure_set(x_158, 2, x_68); -x_159 = l_Lean_Doc_getPositional___redArg___closed__28; -x_160 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_161 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_159, x_160, x_156); -x_162 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_159, x_160, x_161); -lean_inc_ref(x_158); -x_163 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_157, x_158, x_162); -x_164 = lean_ctor_get(x_163, 0); -lean_inc_ref(x_164); -lean_dec_ref(x_163); -x_165 = l_Lean_Doc_getPositional___redArg___closed__32; -x_166 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_158, x_165); -lean_inc_ref(x_78); -x_167 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_166, x_78); -x_168 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_168, 0, x_82); -lean_ctor_set(x_168, 1, x_164); -lean_ctor_set(x_168, 2, x_167); -x_169 = lean_unsigned_to_nat(0u); -x_170 = lean_array_get_size(x_3); -x_171 = lean_unsigned_to_nat(1u); -lean_inc(x_170); -x_172 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -lean_ctor_set(x_172, 2, x_171); -x_173 = lean_box(0); -x_174 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_175 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_175, 0, x_3); -lean_closure_set(x_175, 1, x_174); -lean_closure_set(x_175, 2, x_169); -lean_closure_set(x_175, 3, x_1); -lean_closure_set(x_175, 4, x_171); -lean_closure_set(x_175, 5, x_170); -lean_closure_set(x_175, 6, x_173); -lean_inc_ref(x_78); -x_176 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_78, x_172, x_175, x_174, x_169, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_177 = lean_apply_10(x_176, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_181 = x_179; -} else { - lean_dec_ref(x_179); - x_181 = lean_box(0); -} -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_182 = lean_ctor_get(x_177, 1); -lean_inc(x_182); -lean_dec_ref(x_177); -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -lean_dec(x_178); -x_184 = l_Lean_Doc_getPositional___redArg___closed__35; -x_185 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_181)) { - x_186 = lean_alloc_ctor(7, 2, 0); -} else { - x_186 = x_181; - lean_ctor_set_tag(x_186, 7); -} -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -x_187 = l_Lean_Doc_getPositional___redArg___closed__37; -x_188 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -x_189 = l_Lean_throwError___redArg(x_78, x_168, x_188); -x_190 = lean_apply_10(x_189, x_183, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_182); -return x_190; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_181); -lean_dec_ref(x_168); -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_191 = lean_ctor_get(x_177, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_192 = x_177; -} else { - lean_dec_ref(x_177); - x_192 = lean_box(0); -} -x_193 = lean_ctor_get(x_178, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_194 = x_178; -} else { - lean_dec_ref(x_178); - x_194 = lean_box(0); -} -x_195 = lean_ctor_get(x_180, 0); -lean_inc(x_195); -lean_dec_ref(x_180); -if (lean_is_scalar(x_194)) { - x_196 = lean_alloc_ctor(0, 2, 0); -} else { - x_196 = x_194; -} -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_193); -if (lean_is_scalar(x_192)) { - x_197 = lean_alloc_ctor(0, 2, 0); -} else { - x_197 = x_192; -} -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_191); -return x_197; -} -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec_ref(x_168); -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_198 = lean_ctor_get(x_177, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_177, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_200 = x_177; -} else { - lean_dec_ref(x_177); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(1, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_198); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -} -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_202 = lean_ctor_get(x_51, 0); -x_203 = lean_ctor_get(x_51, 2); -x_204 = lean_ctor_get(x_51, 3); -x_205 = lean_ctor_get(x_51, 4); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_51); -x_206 = l_Lean_Doc_getPositional___redArg___closed__6; -x_207 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_202); -x_208 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_208, 0, x_202); -x_209 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_209, 0, x_202); -x_210 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -x_211 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_211, 0, x_205); -x_212 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_212, 0, x_204); -x_213 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_213, 0, x_203); -x_214 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_214, 0, x_210); -lean_ctor_set(x_214, 1, x_206); -lean_ctor_set(x_214, 2, x_213); -lean_ctor_set(x_214, 3, x_212); -lean_ctor_set(x_214, 4, x_211); -lean_ctor_set(x_49, 1, x_207); -lean_ctor_set(x_49, 0, x_214); -x_215 = l_ReaderT_instMonad___redArg(x_49); -x_216 = l_ReaderT_instMonad___redArg(x_215); -lean_inc_ref(x_216); -x_217 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_217, 0, x_216); -lean_inc_ref(x_216); -x_218 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_218, 0, x_216); -lean_inc_ref(x_216); -x_219 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_219, 0, x_216); -lean_inc_ref(x_216); -x_220 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_220, 0, x_216); -lean_inc_ref(x_216); -x_221 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_221, 0, lean_box(0)); -lean_closure_set(x_221, 1, lean_box(0)); -lean_closure_set(x_221, 2, x_216); -x_222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_217); -lean_inc_ref(x_216); -x_223 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_223, 0, lean_box(0)); -lean_closure_set(x_223, 1, lean_box(0)); -lean_closure_set(x_223, 2, x_216); -x_224 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set(x_224, 2, x_218); -lean_ctor_set(x_224, 3, x_219); -lean_ctor_set(x_224, 4, x_220); -lean_inc_ref(x_216); -x_225 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_225, 0, lean_box(0)); -lean_closure_set(x_225, 1, lean_box(0)); -lean_closure_set(x_225, 2, x_216); -x_226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -x_227 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_216); -x_228 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_228, 0, x_227); -lean_closure_set(x_228, 1, x_216); -x_229 = l_Lean_Doc_getPositional___redArg___closed__26; -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_228); -lean_ctor_set(x_230, 1, x_229); -x_231 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_232 = lean_ctor_get(x_231, 0); -lean_inc_ref(x_232); -if (lean_is_exclusive(x_231)) { - lean_ctor_release(x_231, 0); - lean_ctor_release(x_231, 1); - lean_ctor_release(x_231, 2); - x_233 = x_231; -} else { - lean_dec_ref(x_231); - x_233 = lean_box(0); -} -x_234 = l_Lean_Doc_getPositional___redArg___closed__27; -x_235 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_235, 0, lean_box(0)); -lean_closure_set(x_235, 1, lean_box(0)); -lean_closure_set(x_235, 2, x_216); -x_236 = l_Lean_Doc_getPositional___redArg___closed__28; -x_237 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_238 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_236, x_237, x_232); -x_239 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_236, x_237, x_238); -lean_inc_ref(x_235); -x_240 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_234, x_235, x_239); -x_241 = lean_ctor_get(x_240, 0); -lean_inc_ref(x_241); -lean_dec_ref(x_240); -x_242 = l_Lean_Doc_getPositional___redArg___closed__32; -x_243 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_235, x_242); -lean_inc_ref(x_226); -x_244 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_243, x_226); -if (lean_is_scalar(x_233)) { - x_245 = lean_alloc_ctor(0, 3, 0); -} else { - x_245 = x_233; -} -lean_ctor_set(x_245, 0, x_230); -lean_ctor_set(x_245, 1, x_241); -lean_ctor_set(x_245, 2, x_244); -x_246 = lean_unsigned_to_nat(0u); -x_247 = lean_array_get_size(x_3); -x_248 = lean_unsigned_to_nat(1u); -lean_inc(x_247); -x_249 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_249, 0, x_246); -lean_ctor_set(x_249, 1, x_247); -lean_ctor_set(x_249, 2, x_248); -x_250 = lean_box(0); -x_251 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_252 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_252, 0, x_3); -lean_closure_set(x_252, 1, x_251); -lean_closure_set(x_252, 2, x_246); -lean_closure_set(x_252, 3, x_1); -lean_closure_set(x_252, 4, x_248); -lean_closure_set(x_252, 5, x_247); -lean_closure_set(x_252, 6, x_250); -lean_inc_ref(x_226); -x_253 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_226, x_249, x_252, x_251, x_246, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_254 = lean_apply_10(x_253, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_254) == 0) -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_258 = x_256; -} else { - lean_dec_ref(x_256); - x_258 = lean_box(0); -} -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_259 = lean_ctor_get(x_254, 1); -lean_inc(x_259); -lean_dec_ref(x_254); -x_260 = lean_ctor_get(x_255, 1); -lean_inc(x_260); -lean_dec(x_255); -x_261 = l_Lean_Doc_getPositional___redArg___closed__35; -x_262 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_258)) { - x_263 = lean_alloc_ctor(7, 2, 0); -} else { - x_263 = x_258; - lean_ctor_set_tag(x_263, 7); -} -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lean_Doc_getPositional___redArg___closed__37; -x_265 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -x_266 = l_Lean_throwError___redArg(x_226, x_245, x_265); -x_267 = lean_apply_10(x_266, x_260, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_259); -return x_267; -} -else -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_258); -lean_dec_ref(x_245); -lean_dec_ref(x_226); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_268 = lean_ctor_get(x_254, 1); -lean_inc(x_268); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_269 = x_254; -} else { - lean_dec_ref(x_254); - x_269 = lean_box(0); -} -x_270 = lean_ctor_get(x_255, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_271 = x_255; -} else { - lean_dec_ref(x_255); - x_271 = lean_box(0); -} -x_272 = lean_ctor_get(x_257, 0); -lean_inc(x_272); -lean_dec_ref(x_257); -if (lean_is_scalar(x_271)) { - x_273 = lean_alloc_ctor(0, 2, 0); -} else { - x_273 = x_271; -} -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_270); -if (lean_is_scalar(x_269)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_269; -} -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_268); -return x_274; -} -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -lean_dec_ref(x_245); -lean_dec_ref(x_226); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_275 = lean_ctor_get(x_254, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_254, 1); -lean_inc(x_276); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_277 = x_254; -} else { - lean_dec_ref(x_254); - x_277 = lean_box(0); -} -if (lean_is_scalar(x_277)) { - x_278 = lean_alloc_ctor(1, 2, 0); -} else { - x_278 = x_277; -} -lean_ctor_set(x_278, 0, x_275); -lean_ctor_set(x_278, 1, x_276); -return x_278; -} -} -} -else -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_279 = lean_ctor_get(x_49, 0); -lean_inc(x_279); -lean_dec(x_49); -x_280 = lean_ctor_get(x_279, 0); -lean_inc_ref(x_280); -x_281 = lean_ctor_get(x_279, 2); -lean_inc(x_281); -x_282 = lean_ctor_get(x_279, 3); -lean_inc(x_282); -x_283 = lean_ctor_get(x_279, 4); -lean_inc(x_283); -if (lean_is_exclusive(x_279)) { - lean_ctor_release(x_279, 0); - lean_ctor_release(x_279, 1); - lean_ctor_release(x_279, 2); - lean_ctor_release(x_279, 3); - lean_ctor_release(x_279, 4); - x_284 = x_279; -} else { - lean_dec_ref(x_279); - x_284 = lean_box(0); -} -x_285 = l_Lean_Doc_getPositional___redArg___closed__6; -x_286 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_280); -x_287 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_287, 0, x_280); -x_288 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_288, 0, x_280); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -x_290 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_290, 0, x_283); -x_291 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_291, 0, x_282); -x_292 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_292, 0, x_281); -if (lean_is_scalar(x_284)) { - x_293 = lean_alloc_ctor(0, 5, 0); -} else { - x_293 = x_284; -} -lean_ctor_set(x_293, 0, x_289); -lean_ctor_set(x_293, 1, x_285); -lean_ctor_set(x_293, 2, x_292); -lean_ctor_set(x_293, 3, x_291); -lean_ctor_set(x_293, 4, x_290); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_286); -x_295 = l_ReaderT_instMonad___redArg(x_294); -x_296 = l_ReaderT_instMonad___redArg(x_295); -lean_inc_ref(x_296); -x_297 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_297, 0, x_296); -lean_inc_ref(x_296); -x_298 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_298, 0, x_296); -lean_inc_ref(x_296); -x_299 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_299, 0, x_296); -lean_inc_ref(x_296); -x_300 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_300, 0, x_296); -lean_inc_ref(x_296); -x_301 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_301, 0, lean_box(0)); -lean_closure_set(x_301, 1, lean_box(0)); -lean_closure_set(x_301, 2, x_296); -x_302 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_297); -lean_inc_ref(x_296); -x_303 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_303, 0, lean_box(0)); -lean_closure_set(x_303, 1, lean_box(0)); -lean_closure_set(x_303, 2, x_296); -x_304 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_304, 0, x_302); -lean_ctor_set(x_304, 1, x_303); -lean_ctor_set(x_304, 2, x_298); -lean_ctor_set(x_304, 3, x_299); -lean_ctor_set(x_304, 4, x_300); -lean_inc_ref(x_296); -x_305 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_305, 0, lean_box(0)); -lean_closure_set(x_305, 1, lean_box(0)); -lean_closure_set(x_305, 2, x_296); -x_306 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -x_307 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_296); -x_308 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_308, 0, x_307); -lean_closure_set(x_308, 1, x_296); -x_309 = l_Lean_Doc_getPositional___redArg___closed__26; -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_308); -lean_ctor_set(x_310, 1, x_309); -x_311 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_312 = lean_ctor_get(x_311, 0); -lean_inc_ref(x_312); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - lean_ctor_release(x_311, 2); - x_313 = x_311; -} else { - lean_dec_ref(x_311); - x_313 = lean_box(0); -} -x_314 = l_Lean_Doc_getPositional___redArg___closed__27; -x_315 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_315, 0, lean_box(0)); -lean_closure_set(x_315, 1, lean_box(0)); -lean_closure_set(x_315, 2, x_296); -x_316 = l_Lean_Doc_getPositional___redArg___closed__28; -x_317 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_318 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_316, x_317, x_312); -x_319 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_316, x_317, x_318); -lean_inc_ref(x_315); -x_320 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_314, x_315, x_319); -x_321 = lean_ctor_get(x_320, 0); -lean_inc_ref(x_321); -lean_dec_ref(x_320); -x_322 = l_Lean_Doc_getPositional___redArg___closed__32; -x_323 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_315, x_322); -lean_inc_ref(x_306); -x_324 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_323, x_306); -if (lean_is_scalar(x_313)) { - x_325 = lean_alloc_ctor(0, 3, 0); -} else { - x_325 = x_313; -} -lean_ctor_set(x_325, 0, x_310); -lean_ctor_set(x_325, 1, x_321); -lean_ctor_set(x_325, 2, x_324); -x_326 = lean_unsigned_to_nat(0u); -x_327 = lean_array_get_size(x_3); -x_328 = lean_unsigned_to_nat(1u); -lean_inc(x_327); -x_329 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_329, 0, x_326); -lean_ctor_set(x_329, 1, x_327); -lean_ctor_set(x_329, 2, x_328); -x_330 = lean_box(0); -x_331 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_332 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_332, 0, x_3); -lean_closure_set(x_332, 1, x_331); -lean_closure_set(x_332, 2, x_326); -lean_closure_set(x_332, 3, x_1); -lean_closure_set(x_332, 4, x_328); -lean_closure_set(x_332, 5, x_327); -lean_closure_set(x_332, 6, x_330); -lean_inc_ref(x_306); -x_333 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_306, x_329, x_332, x_331, x_326, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_334 = lean_apply_10(x_333, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_334) == 0) -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_335, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_336, 0); -lean_inc(x_337); -if (lean_is_exclusive(x_336)) { - lean_ctor_release(x_336, 0); - lean_ctor_release(x_336, 1); - x_338 = x_336; -} else { - lean_dec_ref(x_336); - x_338 = lean_box(0); -} -if (lean_obj_tag(x_337) == 0) -{ -lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -x_339 = lean_ctor_get(x_334, 1); -lean_inc(x_339); -lean_dec_ref(x_334); -x_340 = lean_ctor_get(x_335, 1); -lean_inc(x_340); -lean_dec(x_335); -x_341 = l_Lean_Doc_getPositional___redArg___closed__35; -x_342 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_338)) { - x_343 = lean_alloc_ctor(7, 2, 0); -} else { - x_343 = x_338; - lean_ctor_set_tag(x_343, 7); -} -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_Doc_getPositional___redArg___closed__37; -x_345 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_345, 0, x_343); -lean_ctor_set(x_345, 1, x_344); -x_346 = l_Lean_throwError___redArg(x_306, x_325, x_345); -x_347 = lean_apply_10(x_346, x_340, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_339); -return x_347; -} -else -{ -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_338); -lean_dec_ref(x_325); -lean_dec_ref(x_306); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_348 = lean_ctor_get(x_334, 1); -lean_inc(x_348); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_349 = x_334; -} else { - lean_dec_ref(x_334); - x_349 = lean_box(0); -} -x_350 = lean_ctor_get(x_335, 1); -lean_inc(x_350); -if (lean_is_exclusive(x_335)) { - lean_ctor_release(x_335, 0); - lean_ctor_release(x_335, 1); - x_351 = x_335; -} else { - lean_dec_ref(x_335); - x_351 = lean_box(0); -} -x_352 = lean_ctor_get(x_337, 0); -lean_inc(x_352); -lean_dec_ref(x_337); -if (lean_is_scalar(x_351)) { - x_353 = lean_alloc_ctor(0, 2, 0); -} else { - x_353 = x_351; -} -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_350); -if (lean_is_scalar(x_349)) { - x_354 = lean_alloc_ctor(0, 2, 0); -} else { - x_354 = x_349; -} -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_348); -return x_354; -} -} -else -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec_ref(x_325); -lean_dec_ref(x_306); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_355 = lean_ctor_get(x_334, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_334, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_357 = x_334; -} else { - lean_dec_ref(x_334); - x_357 = lean_box(0); -} -if (lean_is_scalar(x_357)) { - x_358 = lean_alloc_ctor(1, 2, 0); -} else { - x_358 = x_357; -} -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -return x_358; -} -} -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_359 = lean_ctor_get(x_33, 0); -x_360 = lean_ctor_get(x_33, 2); -x_361 = lean_ctor_get(x_33, 3); -x_362 = lean_ctor_get(x_33, 4); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_inc(x_359); -lean_dec(x_33); -x_363 = l_Lean_Doc_getPositional___redArg___closed__4; -x_364 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_359); -x_365 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_365, 0, x_359); -x_366 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_366, 0, x_359); -x_367 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_367, 0, x_365); -lean_ctor_set(x_367, 1, x_366); -x_368 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_368, 0, x_362); -x_369 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_369, 0, x_361); -x_370 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_370, 0, x_360); -x_371 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_371, 0, x_367); -lean_ctor_set(x_371, 1, x_363); -lean_ctor_set(x_371, 2, x_370); -lean_ctor_set(x_371, 3, x_369); -lean_ctor_set(x_371, 4, x_368); -lean_ctor_set(x_31, 1, x_364); -lean_ctor_set(x_31, 0, x_371); -x_372 = l_ReaderT_instMonad___redArg(x_31); -x_373 = lean_ctor_get(x_372, 0); -lean_inc_ref(x_373); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_374 = x_372; -} else { - lean_dec_ref(x_372); - x_374 = lean_box(0); -} -x_375 = lean_ctor_get(x_373, 0); -lean_inc_ref(x_375); -x_376 = lean_ctor_get(x_373, 2); -lean_inc(x_376); -x_377 = lean_ctor_get(x_373, 3); -lean_inc(x_377); -x_378 = lean_ctor_get(x_373, 4); -lean_inc(x_378); -if (lean_is_exclusive(x_373)) { - lean_ctor_release(x_373, 0); - lean_ctor_release(x_373, 1); - lean_ctor_release(x_373, 2); - lean_ctor_release(x_373, 3); - lean_ctor_release(x_373, 4); - x_379 = x_373; -} else { - lean_dec_ref(x_373); - x_379 = lean_box(0); -} -x_380 = l_Lean_Doc_getPositional___redArg___closed__6; -x_381 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_375); -x_382 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_382, 0, x_375); -x_383 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_383, 0, x_375); -x_384 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_384, 0, x_382); -lean_ctor_set(x_384, 1, x_383); -x_385 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_385, 0, x_378); -x_386 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_386, 0, x_377); -x_387 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_387, 0, x_376); -if (lean_is_scalar(x_379)) { - x_388 = lean_alloc_ctor(0, 5, 0); -} else { - x_388 = x_379; -} -lean_ctor_set(x_388, 0, x_384); -lean_ctor_set(x_388, 1, x_380); -lean_ctor_set(x_388, 2, x_387); -lean_ctor_set(x_388, 3, x_386); -lean_ctor_set(x_388, 4, x_385); -if (lean_is_scalar(x_374)) { - x_389 = lean_alloc_ctor(0, 2, 0); -} else { - x_389 = x_374; -} -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_381); -x_390 = l_ReaderT_instMonad___redArg(x_389); -x_391 = l_ReaderT_instMonad___redArg(x_390); -lean_inc_ref(x_391); -x_392 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_392, 0, x_391); -lean_inc_ref(x_391); -x_393 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_393, 0, x_391); -lean_inc_ref(x_391); -x_394 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_394, 0, x_391); -lean_inc_ref(x_391); -x_395 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_395, 0, x_391); -lean_inc_ref(x_391); -x_396 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_396, 0, lean_box(0)); -lean_closure_set(x_396, 1, lean_box(0)); -lean_closure_set(x_396, 2, x_391); -x_397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_392); -lean_inc_ref(x_391); -x_398 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_398, 0, lean_box(0)); -lean_closure_set(x_398, 1, lean_box(0)); -lean_closure_set(x_398, 2, x_391); -x_399 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_399, 0, x_397); -lean_ctor_set(x_399, 1, x_398); -lean_ctor_set(x_399, 2, x_393); -lean_ctor_set(x_399, 3, x_394); -lean_ctor_set(x_399, 4, x_395); -lean_inc_ref(x_391); -x_400 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_400, 0, lean_box(0)); -lean_closure_set(x_400, 1, lean_box(0)); -lean_closure_set(x_400, 2, x_391); -x_401 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_401, 0, x_399); -lean_ctor_set(x_401, 1, x_400); -x_402 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_391); -x_403 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_403, 0, x_402); -lean_closure_set(x_403, 1, x_391); -x_404 = l_Lean_Doc_getPositional___redArg___closed__26; -x_405 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_405, 0, x_403); -lean_ctor_set(x_405, 1, x_404); -x_406 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_407 = lean_ctor_get(x_406, 0); -lean_inc_ref(x_407); -if (lean_is_exclusive(x_406)) { - lean_ctor_release(x_406, 0); - lean_ctor_release(x_406, 1); - lean_ctor_release(x_406, 2); - x_408 = x_406; -} else { - lean_dec_ref(x_406); - x_408 = lean_box(0); -} -x_409 = l_Lean_Doc_getPositional___redArg___closed__27; -x_410 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_410, 0, lean_box(0)); -lean_closure_set(x_410, 1, lean_box(0)); -lean_closure_set(x_410, 2, x_391); -x_411 = l_Lean_Doc_getPositional___redArg___closed__28; -x_412 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_413 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_411, x_412, x_407); -x_414 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_411, x_412, x_413); -lean_inc_ref(x_410); -x_415 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_409, x_410, x_414); -x_416 = lean_ctor_get(x_415, 0); -lean_inc_ref(x_416); -lean_dec_ref(x_415); -x_417 = l_Lean_Doc_getPositional___redArg___closed__32; -x_418 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_410, x_417); -lean_inc_ref(x_401); -x_419 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_418, x_401); -if (lean_is_scalar(x_408)) { - x_420 = lean_alloc_ctor(0, 3, 0); -} else { - x_420 = x_408; -} -lean_ctor_set(x_420, 0, x_405); -lean_ctor_set(x_420, 1, x_416); -lean_ctor_set(x_420, 2, x_419); -x_421 = lean_unsigned_to_nat(0u); -x_422 = lean_array_get_size(x_3); -x_423 = lean_unsigned_to_nat(1u); -lean_inc(x_422); -x_424 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_424, 0, x_421); -lean_ctor_set(x_424, 1, x_422); -lean_ctor_set(x_424, 2, x_423); -x_425 = lean_box(0); -x_426 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_427 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_427, 0, x_3); -lean_closure_set(x_427, 1, x_426); -lean_closure_set(x_427, 2, x_421); -lean_closure_set(x_427, 3, x_1); -lean_closure_set(x_427, 4, x_423); -lean_closure_set(x_427, 5, x_422); -lean_closure_set(x_427, 6, x_425); -lean_inc_ref(x_401); -x_428 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_401, x_424, x_427, x_426, x_421, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_429 = lean_apply_10(x_428, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_429) == 0) -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_430 = lean_ctor_get(x_429, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_430, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - x_433 = x_431; -} else { - lean_dec_ref(x_431); - x_433 = lean_box(0); -} -if (lean_obj_tag(x_432) == 0) -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_434 = lean_ctor_get(x_429, 1); -lean_inc(x_434); -lean_dec_ref(x_429); -x_435 = lean_ctor_get(x_430, 1); -lean_inc(x_435); -lean_dec(x_430); -x_436 = l_Lean_Doc_getPositional___redArg___closed__35; -x_437 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_433)) { - x_438 = lean_alloc_ctor(7, 2, 0); -} else { - x_438 = x_433; - lean_ctor_set_tag(x_438, 7); -} -lean_ctor_set(x_438, 0, x_436); -lean_ctor_set(x_438, 1, x_437); -x_439 = l_Lean_Doc_getPositional___redArg___closed__37; -x_440 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_440, 0, x_438); -lean_ctor_set(x_440, 1, x_439); -x_441 = l_Lean_throwError___redArg(x_401, x_420, x_440); -x_442 = lean_apply_10(x_441, x_435, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_434); -return x_442; -} -else -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; -lean_dec(x_433); -lean_dec_ref(x_420); -lean_dec_ref(x_401); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_443 = lean_ctor_get(x_429, 1); -lean_inc(x_443); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - lean_ctor_release(x_429, 1); - x_444 = x_429; -} else { - lean_dec_ref(x_429); - x_444 = lean_box(0); -} -x_445 = lean_ctor_get(x_430, 1); -lean_inc(x_445); -if (lean_is_exclusive(x_430)) { - lean_ctor_release(x_430, 0); - lean_ctor_release(x_430, 1); - x_446 = x_430; -} else { - lean_dec_ref(x_430); - x_446 = lean_box(0); -} -x_447 = lean_ctor_get(x_432, 0); -lean_inc(x_447); -lean_dec_ref(x_432); -if (lean_is_scalar(x_446)) { - x_448 = lean_alloc_ctor(0, 2, 0); -} else { - x_448 = x_446; -} -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_445); -if (lean_is_scalar(x_444)) { - x_449 = lean_alloc_ctor(0, 2, 0); -} else { - x_449 = x_444; -} -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_443); -return x_449; -} -} -else -{ -lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec_ref(x_420); -lean_dec_ref(x_401); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_450 = lean_ctor_get(x_429, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_429, 1); -lean_inc(x_451); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - lean_ctor_release(x_429, 1); - x_452 = x_429; -} else { - lean_dec_ref(x_429); - x_452 = lean_box(0); -} -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(1, 2, 0); -} else { - x_453 = x_452; -} -lean_ctor_set(x_453, 0, x_450); -lean_ctor_set(x_453, 1, x_451); -return x_453; -} -} -} -else -{ -lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_454 = lean_ctor_get(x_31, 0); -lean_inc(x_454); -lean_dec(x_31); -x_455 = lean_ctor_get(x_454, 0); -lean_inc_ref(x_455); -x_456 = lean_ctor_get(x_454, 2); -lean_inc(x_456); -x_457 = lean_ctor_get(x_454, 3); -lean_inc(x_457); -x_458 = lean_ctor_get(x_454, 4); -lean_inc(x_458); -if (lean_is_exclusive(x_454)) { - lean_ctor_release(x_454, 0); - lean_ctor_release(x_454, 1); - lean_ctor_release(x_454, 2); - lean_ctor_release(x_454, 3); - lean_ctor_release(x_454, 4); - x_459 = x_454; -} else { - lean_dec_ref(x_454); - x_459 = lean_box(0); -} -x_460 = l_Lean_Doc_getPositional___redArg___closed__4; -x_461 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_455); -x_462 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_462, 0, x_455); -x_463 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_463, 0, x_455); -x_464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_464, 0, x_462); -lean_ctor_set(x_464, 1, x_463); -x_465 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_465, 0, x_458); -x_466 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_466, 0, x_457); -x_467 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_467, 0, x_456); -if (lean_is_scalar(x_459)) { - x_468 = lean_alloc_ctor(0, 5, 0); -} else { - x_468 = x_459; -} -lean_ctor_set(x_468, 0, x_464); -lean_ctor_set(x_468, 1, x_460); -lean_ctor_set(x_468, 2, x_467); -lean_ctor_set(x_468, 3, x_466); -lean_ctor_set(x_468, 4, x_465); -x_469 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_469, 0, x_468); -lean_ctor_set(x_469, 1, x_461); -x_470 = l_ReaderT_instMonad___redArg(x_469); -x_471 = lean_ctor_get(x_470, 0); -lean_inc_ref(x_471); -if (lean_is_exclusive(x_470)) { - lean_ctor_release(x_470, 0); - lean_ctor_release(x_470, 1); - x_472 = x_470; -} else { - lean_dec_ref(x_470); - x_472 = lean_box(0); -} -x_473 = lean_ctor_get(x_471, 0); -lean_inc_ref(x_473); -x_474 = lean_ctor_get(x_471, 2); -lean_inc(x_474); -x_475 = lean_ctor_get(x_471, 3); -lean_inc(x_475); -x_476 = lean_ctor_get(x_471, 4); -lean_inc(x_476); -if (lean_is_exclusive(x_471)) { - lean_ctor_release(x_471, 0); - lean_ctor_release(x_471, 1); - lean_ctor_release(x_471, 2); - lean_ctor_release(x_471, 3); - lean_ctor_release(x_471, 4); - x_477 = x_471; -} else { - lean_dec_ref(x_471); - x_477 = lean_box(0); -} -x_478 = l_Lean_Doc_getPositional___redArg___closed__6; -x_479 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_473); -x_480 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_480, 0, x_473); -x_481 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_481, 0, x_473); -x_482 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_482, 0, x_480); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_483, 0, x_476); -x_484 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_484, 0, x_475); -x_485 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_485, 0, x_474); -if (lean_is_scalar(x_477)) { - x_486 = lean_alloc_ctor(0, 5, 0); -} else { - x_486 = x_477; -} -lean_ctor_set(x_486, 0, x_482); -lean_ctor_set(x_486, 1, x_478); -lean_ctor_set(x_486, 2, x_485); -lean_ctor_set(x_486, 3, x_484); -lean_ctor_set(x_486, 4, x_483); -if (lean_is_scalar(x_472)) { - x_487 = lean_alloc_ctor(0, 2, 0); -} else { - x_487 = x_472; -} -lean_ctor_set(x_487, 0, x_486); -lean_ctor_set(x_487, 1, x_479); -x_488 = l_ReaderT_instMonad___redArg(x_487); -x_489 = l_ReaderT_instMonad___redArg(x_488); -lean_inc_ref(x_489); -x_490 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_490, 0, x_489); -lean_inc_ref(x_489); -x_491 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_491, 0, x_489); -lean_inc_ref(x_489); -x_492 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_492, 0, x_489); -lean_inc_ref(x_489); -x_493 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_493, 0, x_489); -lean_inc_ref(x_489); -x_494 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_494, 0, lean_box(0)); -lean_closure_set(x_494, 1, lean_box(0)); -lean_closure_set(x_494, 2, x_489); -x_495 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_495, 0, x_494); -lean_ctor_set(x_495, 1, x_490); -lean_inc_ref(x_489); -x_496 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_496, 0, lean_box(0)); -lean_closure_set(x_496, 1, lean_box(0)); -lean_closure_set(x_496, 2, x_489); -x_497 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_497, 0, x_495); -lean_ctor_set(x_497, 1, x_496); -lean_ctor_set(x_497, 2, x_491); -lean_ctor_set(x_497, 3, x_492); -lean_ctor_set(x_497, 4, x_493); -lean_inc_ref(x_489); -x_498 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_498, 0, lean_box(0)); -lean_closure_set(x_498, 1, lean_box(0)); -lean_closure_set(x_498, 2, x_489); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_497); -lean_ctor_set(x_499, 1, x_498); -x_500 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_489); -x_501 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_501, 0, x_500); -lean_closure_set(x_501, 1, x_489); -x_502 = l_Lean_Doc_getPositional___redArg___closed__26; -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -x_504 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_505 = lean_ctor_get(x_504, 0); -lean_inc_ref(x_505); -if (lean_is_exclusive(x_504)) { - lean_ctor_release(x_504, 0); - lean_ctor_release(x_504, 1); - lean_ctor_release(x_504, 2); - x_506 = x_504; -} else { - lean_dec_ref(x_504); - x_506 = lean_box(0); -} -x_507 = l_Lean_Doc_getPositional___redArg___closed__27; -x_508 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_508, 0, lean_box(0)); -lean_closure_set(x_508, 1, lean_box(0)); -lean_closure_set(x_508, 2, x_489); -x_509 = l_Lean_Doc_getPositional___redArg___closed__28; -x_510 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_511 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_509, x_510, x_505); -x_512 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_509, x_510, x_511); -lean_inc_ref(x_508); -x_513 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_507, x_508, x_512); -x_514 = lean_ctor_get(x_513, 0); -lean_inc_ref(x_514); -lean_dec_ref(x_513); -x_515 = l_Lean_Doc_getPositional___redArg___closed__32; -x_516 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_508, x_515); -lean_inc_ref(x_499); -x_517 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_516, x_499); -if (lean_is_scalar(x_506)) { - x_518 = lean_alloc_ctor(0, 3, 0); -} else { - x_518 = x_506; -} -lean_ctor_set(x_518, 0, x_503); -lean_ctor_set(x_518, 1, x_514); -lean_ctor_set(x_518, 2, x_517); -x_519 = lean_unsigned_to_nat(0u); -x_520 = lean_array_get_size(x_3); -x_521 = lean_unsigned_to_nat(1u); -lean_inc(x_520); -x_522 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_522, 0, x_519); -lean_ctor_set(x_522, 1, x_520); -lean_ctor_set(x_522, 2, x_521); -x_523 = lean_box(0); -x_524 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_525 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_525, 0, x_3); -lean_closure_set(x_525, 1, x_524); -lean_closure_set(x_525, 2, x_519); -lean_closure_set(x_525, 3, x_1); -lean_closure_set(x_525, 4, x_521); -lean_closure_set(x_525, 5, x_520); -lean_closure_set(x_525, 6, x_523); -lean_inc_ref(x_499); -x_526 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_499, x_522, x_525, x_524, x_519, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_527 = lean_apply_10(x_526, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_527) == 0) -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_528, 0); -lean_inc(x_529); -x_530 = lean_ctor_get(x_529, 0); -lean_inc(x_530); -if (lean_is_exclusive(x_529)) { - lean_ctor_release(x_529, 0); - lean_ctor_release(x_529, 1); - x_531 = x_529; -} else { - lean_dec_ref(x_529); - x_531 = lean_box(0); -} -if (lean_obj_tag(x_530) == 0) -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_532 = lean_ctor_get(x_527, 1); -lean_inc(x_532); -lean_dec_ref(x_527); -x_533 = lean_ctor_get(x_528, 1); -lean_inc(x_533); -lean_dec(x_528); -x_534 = l_Lean_Doc_getPositional___redArg___closed__35; -x_535 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_531)) { - x_536 = lean_alloc_ctor(7, 2, 0); -} else { - x_536 = x_531; - lean_ctor_set_tag(x_536, 7); -} -lean_ctor_set(x_536, 0, x_534); -lean_ctor_set(x_536, 1, x_535); -x_537 = l_Lean_Doc_getPositional___redArg___closed__37; -x_538 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_538, 0, x_536); -lean_ctor_set(x_538, 1, x_537); -x_539 = l_Lean_throwError___redArg(x_499, x_518, x_538); -x_540 = lean_apply_10(x_539, x_533, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_532); -return x_540; -} -else -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -lean_dec(x_531); -lean_dec_ref(x_518); -lean_dec_ref(x_499); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_541 = lean_ctor_get(x_527, 1); -lean_inc(x_541); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - lean_ctor_release(x_527, 1); - x_542 = x_527; -} else { - lean_dec_ref(x_527); - x_542 = lean_box(0); -} -x_543 = lean_ctor_get(x_528, 1); -lean_inc(x_543); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - lean_ctor_release(x_528, 1); - x_544 = x_528; -} else { - lean_dec_ref(x_528); - x_544 = lean_box(0); -} -x_545 = lean_ctor_get(x_530, 0); -lean_inc(x_545); -lean_dec_ref(x_530); -if (lean_is_scalar(x_544)) { - x_546 = lean_alloc_ctor(0, 2, 0); -} else { - x_546 = x_544; -} -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_543); -if (lean_is_scalar(x_542)) { - x_547 = lean_alloc_ctor(0, 2, 0); -} else { - x_547 = x_542; -} -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_541); -return x_547; -} -} -else -{ -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; -lean_dec_ref(x_518); -lean_dec_ref(x_499); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_548 = lean_ctor_get(x_527, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_527, 1); -lean_inc(x_549); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - lean_ctor_release(x_527, 1); - x_550 = x_527; -} else { - lean_dec_ref(x_527); - x_550 = lean_box(0); -} -if (lean_is_scalar(x_550)) { - x_551 = lean_alloc_ctor(1, 2, 0); -} else { - x_551 = x_550; -} -lean_ctor_set(x_551, 0, x_548); -lean_ctor_set(x_551, 1, x_549); -return x_551; -} -} -} -else -{ -lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_552 = lean_ctor_get(x_15, 0); -x_553 = lean_ctor_get(x_15, 2); -x_554 = lean_ctor_get(x_15, 3); -x_555 = lean_ctor_get(x_15, 4); -lean_inc(x_555); -lean_inc(x_554); -lean_inc(x_553); -lean_inc(x_552); -lean_dec(x_15); -x_556 = l_Lean_Doc_getPositional___redArg___closed__2; -x_557 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_552); -x_558 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_558, 0, x_552); -x_559 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_559, 0, x_552); -x_560 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_560, 0, x_558); -lean_ctor_set(x_560, 1, x_559); -x_561 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_561, 0, x_555); -x_562 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_562, 0, x_554); -x_563 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_563, 0, x_553); -x_564 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_564, 0, x_560); -lean_ctor_set(x_564, 1, x_556); -lean_ctor_set(x_564, 2, x_563); -lean_ctor_set(x_564, 3, x_562); -lean_ctor_set(x_564, 4, x_561); -lean_ctor_set(x_13, 1, x_557); -lean_ctor_set(x_13, 0, x_564); -x_565 = l_ReaderT_instMonad___redArg(x_13); -x_566 = lean_ctor_get(x_565, 0); -lean_inc_ref(x_566); -if (lean_is_exclusive(x_565)) { - lean_ctor_release(x_565, 0); - lean_ctor_release(x_565, 1); - x_567 = x_565; -} else { - lean_dec_ref(x_565); - x_567 = lean_box(0); -} -x_568 = lean_ctor_get(x_566, 0); -lean_inc_ref(x_568); -x_569 = lean_ctor_get(x_566, 2); -lean_inc(x_569); -x_570 = lean_ctor_get(x_566, 3); -lean_inc(x_570); -x_571 = lean_ctor_get(x_566, 4); -lean_inc(x_571); -if (lean_is_exclusive(x_566)) { - lean_ctor_release(x_566, 0); - lean_ctor_release(x_566, 1); - lean_ctor_release(x_566, 2); - lean_ctor_release(x_566, 3); - lean_ctor_release(x_566, 4); - x_572 = x_566; -} else { - lean_dec_ref(x_566); - x_572 = lean_box(0); -} -x_573 = l_Lean_Doc_getPositional___redArg___closed__4; -x_574 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_568); -x_575 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_575, 0, x_568); -x_576 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_576, 0, x_568); -x_577 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -x_578 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_578, 0, x_571); -x_579 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_579, 0, x_570); -x_580 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_580, 0, x_569); -if (lean_is_scalar(x_572)) { - x_581 = lean_alloc_ctor(0, 5, 0); -} else { - x_581 = x_572; -} -lean_ctor_set(x_581, 0, x_577); -lean_ctor_set(x_581, 1, x_573); -lean_ctor_set(x_581, 2, x_580); -lean_ctor_set(x_581, 3, x_579); -lean_ctor_set(x_581, 4, x_578); -if (lean_is_scalar(x_567)) { - x_582 = lean_alloc_ctor(0, 2, 0); -} else { - x_582 = x_567; -} -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_574); -x_583 = l_ReaderT_instMonad___redArg(x_582); -x_584 = lean_ctor_get(x_583, 0); -lean_inc_ref(x_584); -if (lean_is_exclusive(x_583)) { - lean_ctor_release(x_583, 0); - lean_ctor_release(x_583, 1); - x_585 = x_583; -} else { - lean_dec_ref(x_583); - x_585 = lean_box(0); -} -x_586 = lean_ctor_get(x_584, 0); -lean_inc_ref(x_586); -x_587 = lean_ctor_get(x_584, 2); -lean_inc(x_587); -x_588 = lean_ctor_get(x_584, 3); -lean_inc(x_588); -x_589 = lean_ctor_get(x_584, 4); -lean_inc(x_589); -if (lean_is_exclusive(x_584)) { - lean_ctor_release(x_584, 0); - lean_ctor_release(x_584, 1); - lean_ctor_release(x_584, 2); - lean_ctor_release(x_584, 3); - lean_ctor_release(x_584, 4); - x_590 = x_584; -} else { - lean_dec_ref(x_584); - x_590 = lean_box(0); -} -x_591 = l_Lean_Doc_getPositional___redArg___closed__6; -x_592 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_586); -x_593 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_593, 0, x_586); -x_594 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_594, 0, x_586); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_593); -lean_ctor_set(x_595, 1, x_594); -x_596 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_596, 0, x_589); -x_597 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_597, 0, x_588); -x_598 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_598, 0, x_587); -if (lean_is_scalar(x_590)) { - x_599 = lean_alloc_ctor(0, 5, 0); -} else { - x_599 = x_590; -} -lean_ctor_set(x_599, 0, x_595); -lean_ctor_set(x_599, 1, x_591); -lean_ctor_set(x_599, 2, x_598); -lean_ctor_set(x_599, 3, x_597); -lean_ctor_set(x_599, 4, x_596); -if (lean_is_scalar(x_585)) { - x_600 = lean_alloc_ctor(0, 2, 0); -} else { - x_600 = x_585; -} -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_592); -x_601 = l_ReaderT_instMonad___redArg(x_600); -x_602 = l_ReaderT_instMonad___redArg(x_601); -lean_inc_ref(x_602); -x_603 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_603, 0, x_602); -lean_inc_ref(x_602); -x_604 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_604, 0, x_602); -lean_inc_ref(x_602); -x_605 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_605, 0, x_602); -lean_inc_ref(x_602); -x_606 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_606, 0, x_602); -lean_inc_ref(x_602); -x_607 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_607, 0, lean_box(0)); -lean_closure_set(x_607, 1, lean_box(0)); -lean_closure_set(x_607, 2, x_602); -x_608 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_608, 0, x_607); -lean_ctor_set(x_608, 1, x_603); -lean_inc_ref(x_602); -x_609 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_609, 0, lean_box(0)); -lean_closure_set(x_609, 1, lean_box(0)); -lean_closure_set(x_609, 2, x_602); -x_610 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_610, 0, x_608); -lean_ctor_set(x_610, 1, x_609); -lean_ctor_set(x_610, 2, x_604); -lean_ctor_set(x_610, 3, x_605); -lean_ctor_set(x_610, 4, x_606); -lean_inc_ref(x_602); -x_611 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_611, 0, lean_box(0)); -lean_closure_set(x_611, 1, lean_box(0)); -lean_closure_set(x_611, 2, x_602); -x_612 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_612, 0, x_610); -lean_ctor_set(x_612, 1, x_611); -x_613 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_602); -x_614 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_614, 0, x_613); -lean_closure_set(x_614, 1, x_602); -x_615 = l_Lean_Doc_getPositional___redArg___closed__26; -x_616 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_616, 0, x_614); -lean_ctor_set(x_616, 1, x_615); -x_617 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_618 = lean_ctor_get(x_617, 0); -lean_inc_ref(x_618); -if (lean_is_exclusive(x_617)) { - lean_ctor_release(x_617, 0); - lean_ctor_release(x_617, 1); - lean_ctor_release(x_617, 2); - x_619 = x_617; -} else { - lean_dec_ref(x_617); - x_619 = lean_box(0); -} -x_620 = l_Lean_Doc_getPositional___redArg___closed__27; -x_621 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_621, 0, lean_box(0)); -lean_closure_set(x_621, 1, lean_box(0)); -lean_closure_set(x_621, 2, x_602); -x_622 = l_Lean_Doc_getPositional___redArg___closed__28; -x_623 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_624 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_622, x_623, x_618); -x_625 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_622, x_623, x_624); -lean_inc_ref(x_621); -x_626 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_620, x_621, x_625); -x_627 = lean_ctor_get(x_626, 0); -lean_inc_ref(x_627); -lean_dec_ref(x_626); -x_628 = l_Lean_Doc_getPositional___redArg___closed__32; -x_629 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_621, x_628); -lean_inc_ref(x_612); -x_630 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_629, x_612); -if (lean_is_scalar(x_619)) { - x_631 = lean_alloc_ctor(0, 3, 0); -} else { - x_631 = x_619; -} -lean_ctor_set(x_631, 0, x_616); -lean_ctor_set(x_631, 1, x_627); -lean_ctor_set(x_631, 2, x_630); -x_632 = lean_unsigned_to_nat(0u); -x_633 = lean_array_get_size(x_3); -x_634 = lean_unsigned_to_nat(1u); -lean_inc(x_633); -x_635 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_635, 0, x_632); -lean_ctor_set(x_635, 1, x_633); -lean_ctor_set(x_635, 2, x_634); -x_636 = lean_box(0); -x_637 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_638 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_638, 0, x_3); -lean_closure_set(x_638, 1, x_637); -lean_closure_set(x_638, 2, x_632); -lean_closure_set(x_638, 3, x_1); -lean_closure_set(x_638, 4, x_634); -lean_closure_set(x_638, 5, x_633); -lean_closure_set(x_638, 6, x_636); -lean_inc_ref(x_612); -x_639 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_612, x_635, x_638, x_637, x_632, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_640 = lean_apply_10(x_639, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_640) == 0) -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_641, 0); -lean_inc(x_642); -x_643 = lean_ctor_get(x_642, 0); -lean_inc(x_643); -if (lean_is_exclusive(x_642)) { - lean_ctor_release(x_642, 0); - lean_ctor_release(x_642, 1); - x_644 = x_642; -} else { - lean_dec_ref(x_642); - x_644 = lean_box(0); -} -if (lean_obj_tag(x_643) == 0) -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_645 = lean_ctor_get(x_640, 1); -lean_inc(x_645); -lean_dec_ref(x_640); -x_646 = lean_ctor_get(x_641, 1); -lean_inc(x_646); -lean_dec(x_641); -x_647 = l_Lean_Doc_getPositional___redArg___closed__35; -x_648 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_644)) { - x_649 = lean_alloc_ctor(7, 2, 0); -} else { - x_649 = x_644; - lean_ctor_set_tag(x_649, 7); -} -lean_ctor_set(x_649, 0, x_647); -lean_ctor_set(x_649, 1, x_648); -x_650 = l_Lean_Doc_getPositional___redArg___closed__37; -x_651 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_651, 0, x_649); -lean_ctor_set(x_651, 1, x_650); -x_652 = l_Lean_throwError___redArg(x_612, x_631, x_651); -x_653 = lean_apply_10(x_652, x_646, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_645); -return x_653; -} -else -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; -lean_dec(x_644); -lean_dec_ref(x_631); -lean_dec_ref(x_612); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_654 = lean_ctor_get(x_640, 1); -lean_inc(x_654); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_655 = x_640; -} else { - lean_dec_ref(x_640); - x_655 = lean_box(0); -} -x_656 = lean_ctor_get(x_641, 1); -lean_inc(x_656); -if (lean_is_exclusive(x_641)) { - lean_ctor_release(x_641, 0); - lean_ctor_release(x_641, 1); - x_657 = x_641; -} else { - lean_dec_ref(x_641); - x_657 = lean_box(0); -} -x_658 = lean_ctor_get(x_643, 0); -lean_inc(x_658); -lean_dec_ref(x_643); -if (lean_is_scalar(x_657)) { - x_659 = lean_alloc_ctor(0, 2, 0); -} else { - x_659 = x_657; -} -lean_ctor_set(x_659, 0, x_658); -lean_ctor_set(x_659, 1, x_656); -if (lean_is_scalar(x_655)) { - x_660 = lean_alloc_ctor(0, 2, 0); -} else { - x_660 = x_655; -} -lean_ctor_set(x_660, 0, x_659); -lean_ctor_set(x_660, 1, x_654); -return x_660; -} -} -else -{ -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; -lean_dec_ref(x_631); -lean_dec_ref(x_612); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_661 = lean_ctor_get(x_640, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_640, 1); -lean_inc(x_662); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_663 = x_640; -} else { - lean_dec_ref(x_640); - x_663 = lean_box(0); -} -if (lean_is_scalar(x_663)) { - x_664 = lean_alloc_ctor(1, 2, 0); -} else { - x_664 = x_663; -} -lean_ctor_set(x_664, 0, x_661); -lean_ctor_set(x_664, 1, x_662); -return x_664; -} -} -} -else -{ -lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_665 = lean_ctor_get(x_13, 0); -lean_inc(x_665); -lean_dec(x_13); -x_666 = lean_ctor_get(x_665, 0); -lean_inc_ref(x_666); -x_667 = lean_ctor_get(x_665, 2); -lean_inc(x_667); -x_668 = lean_ctor_get(x_665, 3); -lean_inc(x_668); -x_669 = lean_ctor_get(x_665, 4); -lean_inc(x_669); -if (lean_is_exclusive(x_665)) { - lean_ctor_release(x_665, 0); - lean_ctor_release(x_665, 1); - lean_ctor_release(x_665, 2); - lean_ctor_release(x_665, 3); - lean_ctor_release(x_665, 4); - x_670 = x_665; -} else { - lean_dec_ref(x_665); - x_670 = lean_box(0); -} -x_671 = l_Lean_Doc_getPositional___redArg___closed__2; -x_672 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_666); -x_673 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_673, 0, x_666); -x_674 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_674, 0, x_666); -x_675 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_675, 0, x_673); -lean_ctor_set(x_675, 1, x_674); -x_676 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_676, 0, x_669); -x_677 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_677, 0, x_668); -x_678 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_678, 0, x_667); -if (lean_is_scalar(x_670)) { - x_679 = lean_alloc_ctor(0, 5, 0); -} else { - x_679 = x_670; -} -lean_ctor_set(x_679, 0, x_675); -lean_ctor_set(x_679, 1, x_671); -lean_ctor_set(x_679, 2, x_678); -lean_ctor_set(x_679, 3, x_677); -lean_ctor_set(x_679, 4, x_676); -x_680 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_672); -x_681 = l_ReaderT_instMonad___redArg(x_680); -x_682 = lean_ctor_get(x_681, 0); -lean_inc_ref(x_682); -if (lean_is_exclusive(x_681)) { - lean_ctor_release(x_681, 0); - lean_ctor_release(x_681, 1); - x_683 = x_681; -} else { - lean_dec_ref(x_681); - x_683 = lean_box(0); -} -x_684 = lean_ctor_get(x_682, 0); -lean_inc_ref(x_684); -x_685 = lean_ctor_get(x_682, 2); -lean_inc(x_685); -x_686 = lean_ctor_get(x_682, 3); -lean_inc(x_686); -x_687 = lean_ctor_get(x_682, 4); -lean_inc(x_687); -if (lean_is_exclusive(x_682)) { - lean_ctor_release(x_682, 0); - lean_ctor_release(x_682, 1); - lean_ctor_release(x_682, 2); - lean_ctor_release(x_682, 3); - lean_ctor_release(x_682, 4); - x_688 = x_682; -} else { - lean_dec_ref(x_682); - x_688 = lean_box(0); -} -x_689 = l_Lean_Doc_getPositional___redArg___closed__4; -x_690 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_684); -x_691 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_691, 0, x_684); -x_692 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_692, 0, x_684); -x_693 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_693, 0, x_691); -lean_ctor_set(x_693, 1, x_692); -x_694 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_694, 0, x_687); -x_695 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_695, 0, x_686); -x_696 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_696, 0, x_685); -if (lean_is_scalar(x_688)) { - x_697 = lean_alloc_ctor(0, 5, 0); -} else { - x_697 = x_688; -} -lean_ctor_set(x_697, 0, x_693); -lean_ctor_set(x_697, 1, x_689); -lean_ctor_set(x_697, 2, x_696); -lean_ctor_set(x_697, 3, x_695); -lean_ctor_set(x_697, 4, x_694); -if (lean_is_scalar(x_683)) { - x_698 = lean_alloc_ctor(0, 2, 0); -} else { - x_698 = x_683; -} -lean_ctor_set(x_698, 0, x_697); -lean_ctor_set(x_698, 1, x_690); -x_699 = l_ReaderT_instMonad___redArg(x_698); -x_700 = lean_ctor_get(x_699, 0); -lean_inc_ref(x_700); -if (lean_is_exclusive(x_699)) { - lean_ctor_release(x_699, 0); - lean_ctor_release(x_699, 1); - x_701 = x_699; -} else { - lean_dec_ref(x_699); - x_701 = lean_box(0); -} -x_702 = lean_ctor_get(x_700, 0); -lean_inc_ref(x_702); -x_703 = lean_ctor_get(x_700, 2); -lean_inc(x_703); -x_704 = lean_ctor_get(x_700, 3); -lean_inc(x_704); -x_705 = lean_ctor_get(x_700, 4); -lean_inc(x_705); -if (lean_is_exclusive(x_700)) { - lean_ctor_release(x_700, 0); - lean_ctor_release(x_700, 1); - lean_ctor_release(x_700, 2); - lean_ctor_release(x_700, 3); - lean_ctor_release(x_700, 4); - x_706 = x_700; -} else { - lean_dec_ref(x_700); - x_706 = lean_box(0); -} -x_707 = l_Lean_Doc_getPositional___redArg___closed__6; -x_708 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_702); -x_709 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_709, 0, x_702); -x_710 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_710, 0, x_702); -x_711 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_711, 0, x_709); -lean_ctor_set(x_711, 1, x_710); -x_712 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_712, 0, x_705); -x_713 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_713, 0, x_704); -x_714 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_714, 0, x_703); -if (lean_is_scalar(x_706)) { - x_715 = lean_alloc_ctor(0, 5, 0); -} else { - x_715 = x_706; -} -lean_ctor_set(x_715, 0, x_711); -lean_ctor_set(x_715, 1, x_707); -lean_ctor_set(x_715, 2, x_714); -lean_ctor_set(x_715, 3, x_713); -lean_ctor_set(x_715, 4, x_712); -if (lean_is_scalar(x_701)) { - x_716 = lean_alloc_ctor(0, 2, 0); -} else { - x_716 = x_701; -} -lean_ctor_set(x_716, 0, x_715); -lean_ctor_set(x_716, 1, x_708); -x_717 = l_ReaderT_instMonad___redArg(x_716); -x_718 = l_ReaderT_instMonad___redArg(x_717); -lean_inc_ref(x_718); -x_719 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_719, 0, x_718); -lean_inc_ref(x_718); -x_720 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_720, 0, x_718); -lean_inc_ref(x_718); -x_721 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_721, 0, x_718); -lean_inc_ref(x_718); -x_722 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_722, 0, x_718); -lean_inc_ref(x_718); -x_723 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_723, 0, lean_box(0)); -lean_closure_set(x_723, 1, lean_box(0)); -lean_closure_set(x_723, 2, x_718); -x_724 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_724, 0, x_723); -lean_ctor_set(x_724, 1, x_719); -lean_inc_ref(x_718); -x_725 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_725, 0, lean_box(0)); -lean_closure_set(x_725, 1, lean_box(0)); -lean_closure_set(x_725, 2, x_718); -x_726 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_726, 0, x_724); -lean_ctor_set(x_726, 1, x_725); -lean_ctor_set(x_726, 2, x_720); -lean_ctor_set(x_726, 3, x_721); -lean_ctor_set(x_726, 4, x_722); -lean_inc_ref(x_718); -x_727 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_727, 0, lean_box(0)); -lean_closure_set(x_727, 1, lean_box(0)); -lean_closure_set(x_727, 2, x_718); -x_728 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_728, 0, x_726); -lean_ctor_set(x_728, 1, x_727); -x_729 = l_Lean_Doc_getPositional___redArg___closed__25; -lean_inc_ref(x_718); -x_730 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); -lean_closure_set(x_730, 0, x_729); -lean_closure_set(x_730, 1, x_718); -x_731 = l_Lean_Doc_getPositional___redArg___closed__26; -x_732 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_732, 0, x_730); -lean_ctor_set(x_732, 1, x_731); -x_733 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -x_734 = lean_ctor_get(x_733, 0); -lean_inc_ref(x_734); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - lean_ctor_release(x_733, 2); - x_735 = x_733; -} else { - lean_dec_ref(x_733); - x_735 = lean_box(0); -} -x_736 = l_Lean_Doc_getPositional___redArg___closed__27; -x_737 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); -lean_closure_set(x_737, 0, lean_box(0)); -lean_closure_set(x_737, 1, lean_box(0)); -lean_closure_set(x_737, 2, x_718); -x_738 = l_Lean_Doc_getPositional___redArg___closed__28; -x_739 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; -x_740 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_738, x_739, x_734); -x_741 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_738, x_739, x_740); -lean_inc_ref(x_737); -x_742 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_736, x_737, x_741); -x_743 = lean_ctor_get(x_742, 0); -lean_inc_ref(x_743); -lean_dec_ref(x_742); -x_744 = l_Lean_Doc_getPositional___redArg___closed__32; -x_745 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_737, x_744); -lean_inc_ref(x_728); -x_746 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_745, x_728); -if (lean_is_scalar(x_735)) { - x_747 = lean_alloc_ctor(0, 3, 0); -} else { - x_747 = x_735; -} -lean_ctor_set(x_747, 0, x_732); -lean_ctor_set(x_747, 1, x_743); -lean_ctor_set(x_747, 2, x_746); -x_748 = lean_unsigned_to_nat(0u); -x_749 = lean_array_get_size(x_3); -x_750 = lean_unsigned_to_nat(1u); -lean_inc(x_749); -x_751 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_751, 0, x_748); -lean_ctor_set(x_751, 1, x_749); -lean_ctor_set(x_751, 2, x_750); -x_752 = lean_box(0); -x_753 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_3); -x_754 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 20, 7); -lean_closure_set(x_754, 0, x_3); -lean_closure_set(x_754, 1, x_753); -lean_closure_set(x_754, 2, x_748); -lean_closure_set(x_754, 3, x_1); -lean_closure_set(x_754, 4, x_750); -lean_closure_set(x_754, 5, x_749); -lean_closure_set(x_754, 6, x_752); -lean_inc_ref(x_728); -x_755 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_728, x_751, x_754, x_753, x_748, lean_box(0), lean_box(0)); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_756 = lean_apply_10(x_755, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_756) == 0) -{ -lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; -x_757 = lean_ctor_get(x_756, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_757, 0); -lean_inc(x_758); -x_759 = lean_ctor_get(x_758, 0); -lean_inc(x_759); -if (lean_is_exclusive(x_758)) { - lean_ctor_release(x_758, 0); - lean_ctor_release(x_758, 1); - x_760 = x_758; -} else { - lean_dec_ref(x_758); - x_760 = lean_box(0); -} -if (lean_obj_tag(x_759) == 0) -{ -lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -x_761 = lean_ctor_get(x_756, 1); -lean_inc(x_761); -lean_dec_ref(x_756); -x_762 = lean_ctor_get(x_757, 1); -lean_inc(x_762); -lean_dec(x_757); -x_763 = l_Lean_Doc_getPositional___redArg___closed__35; -x_764 = l_Lean_MessageData_ofName(x_2); -if (lean_is_scalar(x_760)) { - x_765 = lean_alloc_ctor(7, 2, 0); -} else { - x_765 = x_760; - lean_ctor_set_tag(x_765, 7); -} -lean_ctor_set(x_765, 0, x_763); -lean_ctor_set(x_765, 1, x_764); -x_766 = l_Lean_Doc_getPositional___redArg___closed__37; -x_767 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_767, 0, x_765); -lean_ctor_set(x_767, 1, x_766); -x_768 = l_Lean_throwError___redArg(x_728, x_747, x_767); -x_769 = lean_apply_10(x_768, x_762, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_761); -return x_769; -} -else -{ -lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -lean_dec(x_760); -lean_dec_ref(x_747); -lean_dec_ref(x_728); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_770 = lean_ctor_get(x_756, 1); -lean_inc(x_770); -if (lean_is_exclusive(x_756)) { - lean_ctor_release(x_756, 0); - lean_ctor_release(x_756, 1); - x_771 = x_756; -} else { - lean_dec_ref(x_756); - x_771 = lean_box(0); -} -x_772 = lean_ctor_get(x_757, 1); -lean_inc(x_772); -if (lean_is_exclusive(x_757)) { - lean_ctor_release(x_757, 0); - lean_ctor_release(x_757, 1); - x_773 = x_757; -} else { - lean_dec_ref(x_757); - x_773 = lean_box(0); -} -x_774 = lean_ctor_get(x_759, 0); -lean_inc(x_774); -lean_dec_ref(x_759); -if (lean_is_scalar(x_773)) { - x_775 = lean_alloc_ctor(0, 2, 0); -} else { - x_775 = x_773; -} -lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_772); -if (lean_is_scalar(x_771)) { - x_776 = lean_alloc_ctor(0, 2, 0); -} else { - x_776 = x_771; -} -lean_ctor_set(x_776, 0, x_775); -lean_ctor_set(x_776, 1, x_770); -return x_776; -} -} -else -{ -lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; -lean_dec_ref(x_747); -lean_dec_ref(x_728); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_777 = lean_ctor_get(x_756, 0); -lean_inc(x_777); -x_778 = lean_ctor_get(x_756, 1); -lean_inc(x_778); -if (lean_is_exclusive(x_756)) { - lean_ctor_release(x_756, 0); - lean_ctor_release(x_756, 1); - x_779 = x_756; -} else { - lean_dec_ref(x_756); - x_779 = lean_box(0); -} -if (lean_is_scalar(x_779)) { - x_780 = lean_alloc_ctor(1, 2, 0); -} else { - x_780 = x_779; -} -lean_ctor_set(x_780, 0, x_777); -lean_ctor_set(x_780, 1, x_778); -return x_780; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Doc_getPositional___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -_start: -{ -lean_object* x_21; -x_21 = l_Lean_Doc_getPositional___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -lean_dec(x_13); -lean_dec(x_12); -lean_dec_ref(x_10); -lean_dec(x_5); -return x_21; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("named_no_paren", 14, 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0; -x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("named", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__2; -x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; -lean_inc(x_1); -x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); -if (x_3 == 0) -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = lean_box(0); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; -lean_inc(x_8); -x_10 = l_Lean_Syntax_isOfKind(x_8, x_9); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_1); -x_11 = lean_box(0); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_unsigned_to_nat(3u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -lean_dec(x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_8); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; -lean_inc(x_17); -x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); -if (x_19 == 0) -{ -lean_object* x_20; -lean_dec(x_17); -lean_dec(x_1); -x_20 = lean_box(0); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_unsigned_to_nat(2u); -x_22 = l_Lean_Syntax_getArg(x_1, x_21); -lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { -_start: -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_array_fget_borrowed(x_1, x_9); -lean_inc(x_22); -x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_2); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_12); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_23); -if (x_27 == 0) -{ -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_23, 0); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -x_32 = l_Lean_TSyntax_getId(x_30); -lean_dec(x_30); -x_33 = lean_erase_macro_scopes(x_32); -x_34 = lean_name_eq(x_33, x_3); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_31); -lean_free_object(x_23); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_2); -lean_ctor_set(x_28, 1, x_12); -lean_ctor_set(x_28, 0, x_35); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_28); -lean_ctor_set(x_36, 1, x_21); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; -lean_dec_ref(x_12); -lean_dec_ref(x_2); -x_37 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_37, 0, x_31); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_38 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_37, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec_ref(x_38); -x_41 = lean_apply_1(x_4, x_39); -x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_40); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_9); -lean_inc_ref(x_1); -x_45 = l_Array_toSubarray___redArg(x_1, x_5, x_9); -x_46 = l_Array_ofSubarray___redArg(x_45); -lean_dec_ref(x_45); -x_47 = lean_nat_add(x_9, x_6); -lean_dec(x_9); -x_48 = l_Array_toSubarray___redArg(x_1, x_47, x_7); -x_49 = l_Array_ofSubarray___redArg(x_48); -lean_dec_ref(x_48); -x_50 = l_Array_append___redArg(x_46, x_49); -lean_dec_ref(x_49); -lean_ctor_set(x_23, 0, x_44); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_23); -lean_ctor_set(x_51, 1, x_8); -x_52 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_28, 1, x_50); -lean_ctor_set(x_28, 0, x_52); -lean_ctor_set(x_42, 0, x_28); -return x_42; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_53 = lean_ctor_get(x_42, 0); -x_54 = lean_ctor_get(x_42, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_42); -lean_inc(x_9); -lean_inc_ref(x_1); -x_55 = l_Array_toSubarray___redArg(x_1, x_5, x_9); -x_56 = l_Array_ofSubarray___redArg(x_55); -lean_dec_ref(x_55); -x_57 = lean_nat_add(x_9, x_6); -lean_dec(x_9); -x_58 = l_Array_toSubarray___redArg(x_1, x_57, x_7); -x_59 = l_Array_ofSubarray___redArg(x_58); -lean_dec_ref(x_58); -x_60 = l_Array_append___redArg(x_56, x_59); -lean_dec_ref(x_59); -lean_ctor_set(x_23, 0, x_53); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_23); -lean_ctor_set(x_61, 1, x_8); -x_62 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_28, 1, x_60); -lean_ctor_set(x_28, 0, x_62); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_28); -lean_ctor_set(x_63, 1, x_54); -return x_63; -} -} -else -{ -uint8_t x_64; -lean_free_object(x_28); -lean_free_object(x_23); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_1); -x_64 = !lean_is_exclusive(x_42); -if (x_64 == 0) -{ -return x_42; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_42, 0); -x_66 = lean_ctor_get(x_42, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_42); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -else -{ -uint8_t x_68; -lean_free_object(x_28); -lean_free_object(x_23); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_68 = !lean_is_exclusive(x_38); -if (x_68 == 0) -{ -return x_38; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_38, 0); -x_70 = lean_ctor_get(x_38, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_38); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_72 = lean_ctor_get(x_28, 0); -x_73 = lean_ctor_get(x_28, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_28); -x_74 = l_Lean_TSyntax_getId(x_72); -lean_dec(x_72); -x_75 = lean_erase_macro_scopes(x_74); -x_76 = lean_name_eq(x_75, x_3); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_73); -lean_free_object(x_23); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_2); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_12); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_21); -return x_79; -} -else -{ -lean_object* x_80; lean_object* x_81; -lean_dec_ref(x_12); -lean_dec_ref(x_2); -x_80 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_80, 0, x_73); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_81 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_80, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec_ref(x_81); -x_84 = lean_apply_1(x_4, x_82); -x_85 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_84, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_83); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_88 = x_85; -} else { - lean_dec_ref(x_85); - x_88 = lean_box(0); -} -lean_inc(x_9); -lean_inc_ref(x_1); -x_89 = l_Array_toSubarray___redArg(x_1, x_5, x_9); -x_90 = l_Array_ofSubarray___redArg(x_89); -lean_dec_ref(x_89); -x_91 = lean_nat_add(x_9, x_6); -lean_dec(x_9); -x_92 = l_Array_toSubarray___redArg(x_1, x_91, x_7); -x_93 = l_Array_ofSubarray___redArg(x_92); -lean_dec_ref(x_92); -x_94 = l_Array_append___redArg(x_90, x_93); -lean_dec_ref(x_93); -lean_ctor_set(x_23, 0, x_86); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_23); -lean_ctor_set(x_95, 1, x_8); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_94); -if (lean_is_scalar(x_88)) { - x_98 = lean_alloc_ctor(0, 2, 0); -} else { - x_98 = x_88; -} -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_87); -return x_98; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_free_object(x_23); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_1); -x_99 = lean_ctor_get(x_85, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_85, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_101 = x_85; -} else { - lean_dec_ref(x_85); - x_101 = lean_box(0); -} -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(1, 2, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_100); -return x_102; -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_free_object(x_23); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_103 = lean_ctor_get(x_81, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_81, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_105 = x_81; -} else { - lean_dec_ref(x_81); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; -} -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_107 = lean_ctor_get(x_23, 0); -lean_inc(x_107); -lean_dec(x_23); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; -} else { - lean_dec_ref(x_107); - x_110 = lean_box(0); -} -x_111 = l_Lean_TSyntax_getId(x_108); -lean_dec(x_108); -x_112 = lean_erase_macro_scopes(x_111); -x_113 = lean_name_eq(x_112, x_3); -lean_dec(x_112); -if (x_113 == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -lean_dec(x_109); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_2); -if (lean_is_scalar(x_110)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_110; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_12); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_21); -return x_116; -} -else -{ -lean_object* x_117; lean_object* x_118; -lean_dec_ref(x_12); -lean_dec_ref(x_2); -x_117 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_117, 0, x_109); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_118 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_117, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec_ref(x_118); -x_121 = lean_apply_1(x_4, x_119); -x_122 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_121, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_120); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_125 = x_122; -} else { - lean_dec_ref(x_122); - x_125 = lean_box(0); -} -lean_inc(x_9); -lean_inc_ref(x_1); -x_126 = l_Array_toSubarray___redArg(x_1, x_5, x_9); -x_127 = l_Array_ofSubarray___redArg(x_126); -lean_dec_ref(x_126); -x_128 = lean_nat_add(x_9, x_6); -lean_dec(x_9); -x_129 = l_Array_toSubarray___redArg(x_1, x_128, x_7); -x_130 = l_Array_ofSubarray___redArg(x_129); -lean_dec_ref(x_129); -x_131 = l_Array_append___redArg(x_127, x_130); -lean_dec_ref(x_130); -x_132 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_132, 0, x_123); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_8); -x_134 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_134, 0, x_133); -if (lean_is_scalar(x_110)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_110; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_131); -if (lean_is_scalar(x_125)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_125; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_124); -return x_136; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_110); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_1); -x_137 = lean_ctor_get(x_122, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_122, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_139 = x_122; -} else { - lean_dec_ref(x_122); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_110); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_141 = lean_ctor_get(x_118, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_118, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_143 = x_118; -} else { - lean_dec_ref(x_118); - x_143 = lean_box(0); -} -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(1, 2, 0); -} else { - x_144 = x_143; -} -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -return x_144; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; uint8_t x_15; @@ -18445,7 +15177,7 @@ lean_dec(x_53); x_54 = !lean_is_exclusive(x_52); if (x_54 == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; x_55 = lean_ctor_get(x_52, 0); x_56 = lean_ctor_get(x_52, 2); x_57 = lean_ctor_get(x_52, 3); @@ -18476,1974 +15208,2774 @@ lean_ctor_set(x_52, 0, x_64); lean_ctor_set(x_50, 1, x_61); x_68 = l_ReaderT_instMonad___redArg(x_50); x_69 = l_ReaderT_instMonad___redArg(x_68); -lean_inc_ref(x_69); -x_70 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_70, 0, x_69); -lean_inc_ref(x_69); -x_71 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_71, 0, x_69); -lean_inc_ref(x_69); -x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_72, 0, x_69); -lean_inc_ref(x_69); -x_73 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_73, 0, x_69); -lean_inc_ref(x_69); -x_74 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_74, 0, lean_box(0)); -lean_closure_set(x_74, 1, lean_box(0)); -lean_closure_set(x_74, 2, x_69); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_70); -lean_inc_ref(x_69); -x_76 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_76, 0, lean_box(0)); -lean_closure_set(x_76, 1, lean_box(0)); -lean_closure_set(x_76, 2, x_69); -x_77 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -lean_ctor_set(x_77, 2, x_71); -lean_ctor_set(x_77, 3, x_72); -lean_ctor_set(x_77, 4, x_73); -x_78 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_78, 0, lean_box(0)); -lean_closure_set(x_78, 1, lean_box(0)); -lean_closure_set(x_78, 2, x_69); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = lean_erase_macro_scopes(x_2); -x_81 = lean_unsigned_to_nat(0u); -x_82 = lean_array_get_size(x_4); -x_83 = lean_unsigned_to_nat(1u); -lean_inc(x_82); -x_84 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_82); -lean_ctor_set(x_84, 2, x_83); -x_85 = lean_box(0); -x_86 = l_Lean_Doc_getPositional___redArg___closed__33; +x_70 = l_ReaderT_instMonad___redArg(x_69); +lean_inc_ref(x_70); +x_71 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_71, 0, x_70); +lean_inc_ref(x_70); +x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_72, 0, x_70); +lean_inc_ref(x_70); +x_73 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_73, 0, x_70); +lean_inc_ref(x_70); +x_74 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_74, 0, x_70); +lean_inc_ref(x_70); +x_75 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_75, 0, lean_box(0)); +lean_closure_set(x_75, 1, lean_box(0)); +lean_closure_set(x_75, 2, x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_71); +lean_inc_ref(x_70); +x_77 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_77, 0, lean_box(0)); +lean_closure_set(x_77, 1, lean_box(0)); +lean_closure_set(x_77, 2, x_70); +x_78 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_72); +lean_ctor_set(x_78, 3, x_73); +lean_ctor_set(x_78, 4, x_74); +lean_inc_ref(x_70); +x_79 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_79, 0, lean_box(0)); +lean_closure_set(x_79, 1, lean_box(0)); +lean_closure_set(x_79, 2, x_70); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_70); +x_82 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_82, 0, x_81); +lean_closure_set(x_82, 1, x_70); +x_83 = l_Lean_Doc_getPositional___redArg___closed__29; +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_ctor_get(x_85, 2); +lean_dec(x_88); +x_89 = lean_ctor_get(x_85, 1); +lean_dec(x_89); +x_90 = l_Lean_Doc_getPositional___redArg___closed__30; +x_91 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_91, 0, lean_box(0)); +lean_closure_set(x_91, 1, lean_box(0)); +lean_closure_set(x_91, 2, x_70); +x_92 = l_Lean_Doc_getPositional___redArg___closed__31; +x_93 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_94 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_95 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_92, x_94, x_87); +x_96 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_92, x_94, x_95); +x_97 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_92, x_93, x_96); +lean_inc_ref(x_91); +x_98 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_90, x_91, x_97); +x_99 = lean_ctor_get(x_98, 0); +lean_inc_ref(x_99); +lean_dec_ref(x_98); +x_100 = l_Lean_Doc_getPositional___redArg___closed__35; +x_101 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_91, x_100); +lean_inc_ref(x_80); +x_102 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_101, x_80); +lean_ctor_set(x_85, 2, x_102); +lean_ctor_set(x_85, 1, x_99); +lean_ctor_set(x_85, 0, x_84); +x_103 = lean_unsigned_to_nat(0u); +x_104 = lean_array_get_size(x_3); +x_105 = lean_unsigned_to_nat(1u); +lean_inc(x_104); +x_106 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +lean_ctor_set(x_106, 2, x_105); +x_107 = lean_box(0); +x_108 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_109 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_109, 0, x_3); +lean_closure_set(x_109, 1, x_108); +lean_closure_set(x_109, 2, x_103); +lean_closure_set(x_109, 3, x_1); +lean_closure_set(x_109, 4, x_105); +lean_closure_set(x_109, 5, x_104); +lean_closure_set(x_109, 6, x_107); +lean_inc_ref(x_80); +x_110 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_80, x_106, x_109, x_108, x_103, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_87 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_87, 0, x_4); -lean_closure_set(x_87, 1, x_86); -lean_closure_set(x_87, 2, x_80); -lean_closure_set(x_87, 3, x_1); -lean_closure_set(x_87, 4, x_81); -lean_closure_set(x_87, 5, x_83); -lean_closure_set(x_87, 6, x_82); -lean_closure_set(x_87, 7, x_85); -x_88 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_79, x_84, x_87, x_86, x_81, lean_box(0), lean_box(0)); -x_89 = lean_apply_10(x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_89) == 0) +x_111 = lean_apply_11(x_110, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_90, 0); -x_92 = lean_ctor_get(x_91, 0); -if (lean_obj_tag(x_92) == 0) -{ -uint8_t x_93; -x_93 = !lean_is_exclusive(x_89); -if (x_93 == 0) -{ -lean_object* x_94; uint8_t x_95; -x_94 = lean_ctor_get(x_89, 0); -lean_dec(x_94); -x_95 = !lean_is_exclusive(x_90); -if (x_95 == 0) -{ -lean_object* x_96; -x_96 = lean_ctor_get(x_90, 0); -lean_dec(x_96); -lean_ctor_set(x_90, 0, x_3); -return x_89; -} -else -{ -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_90, 1); -lean_inc(x_97); -lean_dec(x_90); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_3); -lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_89, 0, x_98); -return x_89; -} -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_ctor_get(x_89, 1); -lean_inc(x_99); -lean_dec(x_89); -x_100 = lean_ctor_get(x_90, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_101 = x_90; -} else { - lean_dec_ref(x_90); - x_101 = lean_box(0); -} -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_3); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_99); -return x_103; -} -} -else -{ -uint8_t x_104; -lean_inc_ref(x_92); -lean_dec(x_3); -x_104 = !lean_is_exclusive(x_89); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_89, 0); -lean_dec(x_105); -x_106 = !lean_is_exclusive(x_90); -if (x_106 == 0) -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_90, 0); -lean_dec(x_107); -x_108 = lean_ctor_get(x_92, 0); -lean_inc(x_108); -lean_dec_ref(x_92); -lean_ctor_set(x_90, 0, x_108); -return x_89; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_90, 1); -lean_inc(x_109); -lean_dec(x_90); -x_110 = lean_ctor_get(x_92, 0); -lean_inc(x_110); -lean_dec_ref(x_92); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -lean_ctor_set(x_89, 0, x_111); -return x_89; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_112 = lean_ctor_get(x_89, 1); +lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_89); -x_113 = lean_ctor_get(x_90, 1); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_114 = x_90; +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_113, 0); +x_116 = lean_ctor_get(x_113, 1); +lean_dec(x_116); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_dec_ref(x_111); +x_118 = lean_ctor_get(x_112, 1); +lean_inc(x_118); +lean_dec(x_112); +x_119 = l_Lean_Doc_getPositional___redArg___closed__38; +x_120 = l_Lean_MessageData_ofName(x_2); +lean_ctor_set_tag(x_113, 7); +lean_ctor_set(x_113, 1, x_120); +lean_ctor_set(x_113, 0, x_119); +x_121 = l_Lean_Doc_getPositional___redArg___closed__40; +x_122 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_122, 0, x_113); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_throwError___redArg(x_80, x_85, x_122); +x_124 = lean_apply_11(x_123, x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_117); +return x_124; +} +else +{ +uint8_t x_125; +lean_free_object(x_113); +lean_dec_ref(x_85); +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_125 = !lean_is_exclusive(x_111); +if (x_125 == 0) +{ +lean_object* x_126; uint8_t x_127; +x_126 = lean_ctor_get(x_111, 0); +lean_dec(x_126); +x_127 = !lean_is_exclusive(x_112); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_112, 0); +lean_dec(x_128); +x_129 = lean_ctor_get(x_115, 0); +lean_inc(x_129); +lean_dec_ref(x_115); +lean_ctor_set(x_112, 0, x_129); +return x_111; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_112, 1); +lean_inc(x_130); +lean_dec(x_112); +x_131 = lean_ctor_get(x_115, 0); +lean_inc(x_131); +lean_dec_ref(x_115); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +lean_ctor_set(x_111, 0, x_132); +return x_111; +} +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_133 = lean_ctor_get(x_111, 1); +lean_inc(x_133); +lean_dec(x_111); +x_134 = lean_ctor_get(x_112, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_135 = x_112; } else { - lean_dec_ref(x_90); - x_114 = lean_box(0); + lean_dec_ref(x_112); + x_135 = lean_box(0); } -x_115 = lean_ctor_get(x_92, 0); -lean_inc(x_115); -lean_dec_ref(x_92); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 0); +x_136 = lean_ctor_get(x_115, 0); +lean_inc(x_136); +lean_dec_ref(x_115); +if (lean_is_scalar(x_135)) { + x_137 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_114; + x_137 = x_135; } -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_112); -return x_117; +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_133); +return x_138; } } } else { -uint8_t x_118; -lean_dec(x_3); -x_118 = !lean_is_exclusive(x_89); -if (x_118 == 0) +lean_object* x_139; +x_139 = lean_ctor_get(x_113, 0); +lean_inc(x_139); +lean_dec(x_113); +if (lean_obj_tag(x_139) == 0) { -return x_89; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_89, 0); -x_120 = lean_ctor_get(x_89, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_89); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_122 = lean_ctor_get(x_52, 0); -x_123 = lean_ctor_get(x_52, 2); -x_124 = lean_ctor_get(x_52, 3); -x_125 = lean_ctor_get(x_52, 4); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_52); -x_126 = l_Lean_Doc_getPositional___redArg___closed__6; -x_127 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_122); -x_128 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_128, 0, x_122); -x_129 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_129, 0, x_122); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -x_131 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_131, 0, x_125); -x_132 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_132, 0, x_124); -x_133 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_133, 0, x_123); -x_134 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_134, 0, x_130); -lean_ctor_set(x_134, 1, x_126); -lean_ctor_set(x_134, 2, x_133); -lean_ctor_set(x_134, 3, x_132); -lean_ctor_set(x_134, 4, x_131); -lean_ctor_set(x_50, 1, x_127); -lean_ctor_set(x_50, 0, x_134); -x_135 = l_ReaderT_instMonad___redArg(x_50); -x_136 = l_ReaderT_instMonad___redArg(x_135); -lean_inc_ref(x_136); -x_137 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_137, 0, x_136); -lean_inc_ref(x_136); -x_138 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_138, 0, x_136); -lean_inc_ref(x_136); -x_139 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_139, 0, x_136); -lean_inc_ref(x_136); -x_140 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_140, 0, x_136); -lean_inc_ref(x_136); -x_141 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_141, 0, lean_box(0)); -lean_closure_set(x_141, 1, lean_box(0)); -lean_closure_set(x_141, 2, x_136); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_137); -lean_inc_ref(x_136); -x_143 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_143, 0, lean_box(0)); -lean_closure_set(x_143, 1, lean_box(0)); -lean_closure_set(x_143, 2, x_136); -x_144 = lean_alloc_ctor(0, 5, 0); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_140 = lean_ctor_get(x_111, 1); +lean_inc(x_140); +lean_dec_ref(x_111); +x_141 = lean_ctor_get(x_112, 1); +lean_inc(x_141); +lean_dec(x_112); +x_142 = l_Lean_Doc_getPositional___redArg___closed__38; +x_143 = l_Lean_MessageData_ofName(x_2); +x_144 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_144, 0, x_142); lean_ctor_set(x_144, 1, x_143); -lean_ctor_set(x_144, 2, x_138); -lean_ctor_set(x_144, 3, x_139); -lean_ctor_set(x_144, 4, x_140); -x_145 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_145, 0, lean_box(0)); -lean_closure_set(x_145, 1, lean_box(0)); -lean_closure_set(x_145, 2, x_136); -x_146 = lean_alloc_ctor(0, 2, 0); +x_145 = l_Lean_Doc_getPositional___redArg___closed__40; +x_146 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); -x_147 = lean_erase_macro_scopes(x_2); -x_148 = lean_unsigned_to_nat(0u); -x_149 = lean_array_get_size(x_4); -x_150 = lean_unsigned_to_nat(1u); +x_147 = l_Lean_throwError___redArg(x_80, x_85, x_146); +x_148 = lean_apply_11(x_147, x_141, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_140); +return x_148; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec_ref(x_85); +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_149 = lean_ctor_get(x_111, 1); lean_inc(x_149); -x_151 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set(x_151, 2, x_150); -x_152 = lean_box(0); -x_153 = l_Lean_Doc_getPositional___redArg___closed__33; -lean_inc_ref(x_4); -x_154 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_154, 0, x_4); -lean_closure_set(x_154, 1, x_153); -lean_closure_set(x_154, 2, x_147); -lean_closure_set(x_154, 3, x_1); -lean_closure_set(x_154, 4, x_148); -lean_closure_set(x_154, 5, x_150); -lean_closure_set(x_154, 6, x_149); -lean_closure_set(x_154, 7, x_152); -x_155 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_146, x_151, x_154, x_153, x_148, lean_box(0), lean_box(0)); -x_156 = lean_apply_10(x_155, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_156) == 0) +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_150 = x_111; +} else { + lean_dec_ref(x_111); + x_150 = lean_box(0); +} +x_151 = lean_ctor_get(x_112, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_152 = x_112; +} else { + lean_dec_ref(x_112); + x_152 = lean_box(0); +} +x_153 = lean_ctor_get(x_139, 0); +lean_inc(x_153); +lean_dec_ref(x_139); +if (lean_is_scalar(x_152)) { + x_154 = lean_alloc_ctor(0, 2, 0); +} else { + x_154 = x_152; +} +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_151); +if (lean_is_scalar(x_150)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_150; +} +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_149); +return x_155; +} +} +} +else +{ +uint8_t x_156; +lean_dec_ref(x_85); +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_111); +if (x_156 == 0) +{ +return x_111; +} +else { lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_156, 0); +x_157 = lean_ctor_get(x_111, 0); +x_158 = lean_ctor_get(x_111, 1); +lean_inc(x_158); lean_inc(x_157); -x_158 = lean_ctor_get(x_157, 0); -x_159 = lean_ctor_get(x_158, 0); -if (lean_obj_tag(x_159) == 0) +lean_dec(x_111); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +} +else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_160 = lean_ctor_get(x_156, 1); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_160 = lean_ctor_get(x_85, 0); lean_inc(x_160); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_161 = x_156; -} else { - lean_dec_ref(x_156); - x_161 = lean_box(0); -} -x_162 = lean_ctor_get(x_157, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_163 = x_157; -} else { - lean_dec_ref(x_157); - x_163 = lean_box(0); -} -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(0, 2, 0); -} else { - x_164 = x_163; -} -lean_ctor_set(x_164, 0, x_3); -lean_ctor_set(x_164, 1, x_162); -if (lean_is_scalar(x_161)) { - x_165 = lean_alloc_ctor(0, 2, 0); -} else { - x_165 = x_161; -} -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_160); -return x_165; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_inc_ref(x_159); -lean_dec(x_3); -x_166 = lean_ctor_get(x_156, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_167 = x_156; -} else { - lean_dec_ref(x_156); - x_167 = lean_box(0); -} -x_168 = lean_ctor_get(x_157, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_169 = x_157; -} else { - lean_dec_ref(x_157); - x_169 = lean_box(0); -} -x_170 = lean_ctor_get(x_159, 0); -lean_inc(x_170); -lean_dec_ref(x_159); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_168); -if (lean_is_scalar(x_167)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_167; -} -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_166); -return x_172; -} -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -lean_dec(x_3); -x_173 = lean_ctor_get(x_156, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_156, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_175 = x_156; -} else { - lean_dec_ref(x_156); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(1, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_177 = lean_ctor_get(x_50, 0); -lean_inc(x_177); -lean_dec(x_50); -x_178 = lean_ctor_get(x_177, 0); -lean_inc_ref(x_178); -x_179 = lean_ctor_get(x_177, 2); -lean_inc(x_179); -x_180 = lean_ctor_get(x_177, 3); -lean_inc(x_180); -x_181 = lean_ctor_get(x_177, 4); -lean_inc(x_181); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - x_182 = x_177; -} else { - lean_dec_ref(x_177); - x_182 = lean_box(0); -} -x_183 = l_Lean_Doc_getPositional___redArg___closed__6; -x_184 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_178); -x_185 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_185, 0, x_178); -x_186 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_186, 0, x_178); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_188, 0, x_181); -x_189 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_189, 0, x_180); -x_190 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_190, 0, x_179); -if (lean_is_scalar(x_182)) { - x_191 = lean_alloc_ctor(0, 5, 0); -} else { - x_191 = x_182; -} -lean_ctor_set(x_191, 0, x_187); -lean_ctor_set(x_191, 1, x_183); -lean_ctor_set(x_191, 2, x_190); -lean_ctor_set(x_191, 3, x_189); -lean_ctor_set(x_191, 4, x_188); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_184); -x_193 = l_ReaderT_instMonad___redArg(x_192); -x_194 = l_ReaderT_instMonad___redArg(x_193); -lean_inc_ref(x_194); -x_195 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_195, 0, x_194); -lean_inc_ref(x_194); -x_196 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_196, 0, x_194); -lean_inc_ref(x_194); -x_197 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_197, 0, x_194); -lean_inc_ref(x_194); -x_198 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_198, 0, x_194); -lean_inc_ref(x_194); -x_199 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_199, 0, lean_box(0)); -lean_closure_set(x_199, 1, lean_box(0)); -lean_closure_set(x_199, 2, x_194); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_195); -lean_inc_ref(x_194); -x_201 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_201, 0, lean_box(0)); -lean_closure_set(x_201, 1, lean_box(0)); -lean_closure_set(x_201, 2, x_194); -x_202 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_196); -lean_ctor_set(x_202, 3, x_197); -lean_ctor_set(x_202, 4, x_198); -x_203 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_203, 0, lean_box(0)); -lean_closure_set(x_203, 1, lean_box(0)); -lean_closure_set(x_203, 2, x_194); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -x_205 = lean_erase_macro_scopes(x_2); -x_206 = lean_unsigned_to_nat(0u); -x_207 = lean_array_get_size(x_4); -x_208 = lean_unsigned_to_nat(1u); -lean_inc(x_207); -x_209 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_209, 0, x_206); -lean_ctor_set(x_209, 1, x_207); -lean_ctor_set(x_209, 2, x_208); -x_210 = lean_box(0); -x_211 = l_Lean_Doc_getPositional___redArg___closed__33; +lean_dec(x_85); +x_161 = l_Lean_Doc_getPositional___redArg___closed__30; +x_162 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_162, 0, lean_box(0)); +lean_closure_set(x_162, 1, lean_box(0)); +lean_closure_set(x_162, 2, x_70); +x_163 = l_Lean_Doc_getPositional___redArg___closed__31; +x_164 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_165 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_166 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_163, x_165, x_160); +x_167 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_163, x_165, x_166); +x_168 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_163, x_164, x_167); +lean_inc_ref(x_162); +x_169 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_161, x_162, x_168); +x_170 = lean_ctor_get(x_169, 0); +lean_inc_ref(x_170); +lean_dec_ref(x_169); +x_171 = l_Lean_Doc_getPositional___redArg___closed__35; +x_172 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_162, x_171); +lean_inc_ref(x_80); +x_173 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_172, x_80); +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_84); +lean_ctor_set(x_174, 1, x_170); +lean_ctor_set(x_174, 2, x_173); +x_175 = lean_unsigned_to_nat(0u); +x_176 = lean_array_get_size(x_3); +x_177 = lean_unsigned_to_nat(1u); +lean_inc(x_176); +x_178 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +lean_ctor_set(x_178, 2, x_177); +x_179 = lean_box(0); +x_180 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_181 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_181, 0, x_3); +lean_closure_set(x_181, 1, x_180); +lean_closure_set(x_181, 2, x_175); +lean_closure_set(x_181, 3, x_1); +lean_closure_set(x_181, 4, x_177); +lean_closure_set(x_181, 5, x_176); +lean_closure_set(x_181, 6, x_179); +lean_inc_ref(x_80); +x_182 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_80, x_178, x_181, x_180, x_175, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_212 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_212, 0, x_4); -lean_closure_set(x_212, 1, x_211); -lean_closure_set(x_212, 2, x_205); -lean_closure_set(x_212, 3, x_1); -lean_closure_set(x_212, 4, x_206); -lean_closure_set(x_212, 5, x_208); -lean_closure_set(x_212, 6, x_207); -lean_closure_set(x_212, 7, x_210); -x_213 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_204, x_209, x_212, x_211, x_206, lean_box(0), lean_box(0)); -x_214 = lean_apply_10(x_213, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_214) == 0) +x_183 = lean_apply_11(x_182, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_183) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_215, 0); -x_217 = lean_ctor_get(x_216, 0); -if (lean_obj_tag(x_217) == 0) +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +if (lean_obj_tag(x_186) == 0) { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_218 = lean_ctor_get(x_214, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_219 = x_214; +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_188 = lean_ctor_get(x_183, 1); +lean_inc(x_188); +lean_dec_ref(x_183); +x_189 = lean_ctor_get(x_184, 1); +lean_inc(x_189); +lean_dec(x_184); +x_190 = l_Lean_Doc_getPositional___redArg___closed__38; +x_191 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_187)) { + x_192 = lean_alloc_ctor(7, 2, 0); } else { - lean_dec_ref(x_214); - x_219 = lean_box(0); + x_192 = x_187; + lean_ctor_set_tag(x_192, 7); } -x_220 = lean_ctor_get(x_215, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_221 = x_215; -} else { - lean_dec_ref(x_215); - x_221 = lean_box(0); -} -if (lean_is_scalar(x_221)) { - x_222 = lean_alloc_ctor(0, 2, 0); -} else { - x_222 = x_221; -} -lean_ctor_set(x_222, 0, x_3); -lean_ctor_set(x_222, 1, x_220); -if (lean_is_scalar(x_219)) { - x_223 = lean_alloc_ctor(0, 2, 0); -} else { - x_223 = x_219; -} -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_218); -return x_223; +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +x_193 = l_Lean_Doc_getPositional___redArg___closed__40; +x_194 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_throwError___redArg(x_80, x_174, x_194); +x_196 = lean_apply_11(x_195, x_189, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_188); +return x_196; } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_inc_ref(x_217); -lean_dec(x_3); -x_224 = lean_ctor_get(x_214, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_225 = x_214; +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_187); +lean_dec_ref(x_174); +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_197 = lean_ctor_get(x_183, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_198 = x_183; } else { - lean_dec_ref(x_214); - x_225 = lean_box(0); + lean_dec_ref(x_183); + x_198 = lean_box(0); } -x_226 = lean_ctor_get(x_215, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_227 = x_215; +x_199 = lean_ctor_get(x_184, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_200 = x_184; } else { - lean_dec_ref(x_215); - x_227 = lean_box(0); + lean_dec_ref(x_184); + x_200 = lean_box(0); } -x_228 = lean_ctor_get(x_217, 0); -lean_inc(x_228); -lean_dec_ref(x_217); -if (lean_is_scalar(x_227)) { - x_229 = lean_alloc_ctor(0, 2, 0); +x_201 = lean_ctor_get(x_186, 0); +lean_inc(x_201); +lean_dec_ref(x_186); +if (lean_is_scalar(x_200)) { + x_202 = lean_alloc_ctor(0, 2, 0); } else { - x_229 = x_227; + x_202 = x_200; } +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_199); +if (lean_is_scalar(x_198)) { + x_203 = lean_alloc_ctor(0, 2, 0); +} else { + x_203 = x_198; +} +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_197); +return x_203; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec_ref(x_174); +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_204 = lean_ctor_get(x_183, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_183, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_206 = x_183; +} else { + lean_dec_ref(x_183); + x_206 = lean_box(0); +} +if (lean_is_scalar(x_206)) { + x_207 = lean_alloc_ctor(1, 2, 0); +} else { + x_207 = x_206; +} +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_205); +return x_207; +} +} +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_208 = lean_ctor_get(x_52, 0); +x_209 = lean_ctor_get(x_52, 2); +x_210 = lean_ctor_get(x_52, 3); +x_211 = lean_ctor_get(x_52, 4); +lean_inc(x_211); +lean_inc(x_210); +lean_inc(x_209); +lean_inc(x_208); +lean_dec(x_52); +x_212 = l_Lean_Doc_getPositional___redArg___closed__6; +x_213 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_208); +x_214 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_214, 0, x_208); +x_215 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_215, 0, x_208); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_214); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_217, 0, x_211); +x_218 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_218, 0, x_210); +x_219 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_219, 0, x_209); +x_220 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_220, 0, x_216); +lean_ctor_set(x_220, 1, x_212); +lean_ctor_set(x_220, 2, x_219); +lean_ctor_set(x_220, 3, x_218); +lean_ctor_set(x_220, 4, x_217); +lean_ctor_set(x_50, 1, x_213); +lean_ctor_set(x_50, 0, x_220); +x_221 = l_ReaderT_instMonad___redArg(x_50); +x_222 = l_ReaderT_instMonad___redArg(x_221); +x_223 = l_ReaderT_instMonad___redArg(x_222); +lean_inc_ref(x_223); +x_224 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_224, 0, x_223); +lean_inc_ref(x_223); +x_225 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_225, 0, x_223); +lean_inc_ref(x_223); +x_226 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_226, 0, x_223); +lean_inc_ref(x_223); +x_227 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_227, 0, x_223); +lean_inc_ref(x_223); +x_228 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_228, 0, lean_box(0)); +lean_closure_set(x_228, 1, lean_box(0)); +lean_closure_set(x_228, 2, x_223); +x_229 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_226); -if (lean_is_scalar(x_225)) { - x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 1, x_224); +lean_inc_ref(x_223); +x_230 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_230, 0, lean_box(0)); +lean_closure_set(x_230, 1, lean_box(0)); +lean_closure_set(x_230, 2, x_223); +x_231 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_225); +lean_ctor_set(x_231, 3, x_226); +lean_ctor_set(x_231, 4, x_227); +lean_inc_ref(x_223); +x_232 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_232, 0, lean_box(0)); +lean_closure_set(x_232, 1, lean_box(0)); +lean_closure_set(x_232, 2, x_223); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_231); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_223); +x_235 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_235, 0, x_234); +lean_closure_set(x_235, 1, x_223); +x_236 = l_Lean_Doc_getPositional___redArg___closed__29; +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_235); +lean_ctor_set(x_237, 1, x_236); +x_238 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_239 = lean_ctor_get(x_238, 0); +lean_inc_ref(x_239); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + lean_ctor_release(x_238, 2); + x_240 = x_238; } else { - x_230 = x_225; + lean_dec_ref(x_238); + x_240 = lean_box(0); } -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_224); -return x_230; -} -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_3); -x_231 = lean_ctor_get(x_214, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_214, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_233 = x_214; +x_241 = l_Lean_Doc_getPositional___redArg___closed__30; +x_242 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_242, 0, lean_box(0)); +lean_closure_set(x_242, 1, lean_box(0)); +lean_closure_set(x_242, 2, x_223); +x_243 = l_Lean_Doc_getPositional___redArg___closed__31; +x_244 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_245 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_246 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_243, x_245, x_239); +x_247 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_243, x_245, x_246); +x_248 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_243, x_244, x_247); +lean_inc_ref(x_242); +x_249 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_241, x_242, x_248); +x_250 = lean_ctor_get(x_249, 0); +lean_inc_ref(x_250); +lean_dec_ref(x_249); +x_251 = l_Lean_Doc_getPositional___redArg___closed__35; +x_252 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_242, x_251); +lean_inc_ref(x_233); +x_253 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_252, x_233); +if (lean_is_scalar(x_240)) { + x_254 = lean_alloc_ctor(0, 3, 0); } else { - lean_dec_ref(x_214); - x_233 = lean_box(0); + x_254 = x_240; } -if (lean_is_scalar(x_233)) { - x_234 = lean_alloc_ctor(1, 2, 0); -} else { - x_234 = x_233; -} -lean_ctor_set(x_234, 0, x_231); -lean_ctor_set(x_234, 1, x_232); -return x_234; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_235 = lean_ctor_get(x_34, 0); -x_236 = lean_ctor_get(x_34, 2); -x_237 = lean_ctor_get(x_34, 3); -x_238 = lean_ctor_get(x_34, 4); -lean_inc(x_238); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_34); -x_239 = l_Lean_Doc_getPositional___redArg___closed__4; -x_240 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_235); -x_241 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_241, 0, x_235); -x_242 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_242, 0, x_235); -x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_242); -x_244 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_244, 0, x_238); -x_245 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_245, 0, x_237); -x_246 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_246, 0, x_236); -x_247 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_247, 0, x_243); -lean_ctor_set(x_247, 1, x_239); -lean_ctor_set(x_247, 2, x_246); -lean_ctor_set(x_247, 3, x_245); -lean_ctor_set(x_247, 4, x_244); -lean_ctor_set(x_32, 1, x_240); -lean_ctor_set(x_32, 0, x_247); -x_248 = l_ReaderT_instMonad___redArg(x_32); -x_249 = lean_ctor_get(x_248, 0); -lean_inc_ref(x_249); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - x_250 = x_248; -} else { - lean_dec_ref(x_248); - x_250 = lean_box(0); -} -x_251 = lean_ctor_get(x_249, 0); -lean_inc_ref(x_251); -x_252 = lean_ctor_get(x_249, 2); -lean_inc(x_252); -x_253 = lean_ctor_get(x_249, 3); -lean_inc(x_253); -x_254 = lean_ctor_get(x_249, 4); -lean_inc(x_254); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - lean_ctor_release(x_249, 2); - lean_ctor_release(x_249, 3); - lean_ctor_release(x_249, 4); - x_255 = x_249; -} else { - lean_dec_ref(x_249); - x_255 = lean_box(0); -} -x_256 = l_Lean_Doc_getPositional___redArg___closed__6; -x_257 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_251); -x_258 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_258, 0, x_251); -x_259 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_259, 0, x_251); -x_260 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_259); -x_261 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_261, 0, x_254); -x_262 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_262, 0, x_253); -x_263 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_263, 0, x_252); -if (lean_is_scalar(x_255)) { - x_264 = lean_alloc_ctor(0, 5, 0); -} else { - x_264 = x_255; -} -lean_ctor_set(x_264, 0, x_260); -lean_ctor_set(x_264, 1, x_256); -lean_ctor_set(x_264, 2, x_263); -lean_ctor_set(x_264, 3, x_262); -lean_ctor_set(x_264, 4, x_261); -if (lean_is_scalar(x_250)) { - x_265 = lean_alloc_ctor(0, 2, 0); -} else { - x_265 = x_250; -} -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_257); -x_266 = l_ReaderT_instMonad___redArg(x_265); -x_267 = l_ReaderT_instMonad___redArg(x_266); -lean_inc_ref(x_267); -x_268 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_268, 0, x_267); -lean_inc_ref(x_267); -x_269 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_269, 0, x_267); -lean_inc_ref(x_267); -x_270 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_270, 0, x_267); -lean_inc_ref(x_267); -x_271 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_271, 0, x_267); -lean_inc_ref(x_267); -x_272 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_272, 0, lean_box(0)); -lean_closure_set(x_272, 1, lean_box(0)); -lean_closure_set(x_272, 2, x_267); -x_273 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_268); -lean_inc_ref(x_267); -x_274 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_274, 0, lean_box(0)); -lean_closure_set(x_274, 1, lean_box(0)); -lean_closure_set(x_274, 2, x_267); -x_275 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_275, 0, x_273); -lean_ctor_set(x_275, 1, x_274); -lean_ctor_set(x_275, 2, x_269); -lean_ctor_set(x_275, 3, x_270); -lean_ctor_set(x_275, 4, x_271); -x_276 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_276, 0, lean_box(0)); -lean_closure_set(x_276, 1, lean_box(0)); -lean_closure_set(x_276, 2, x_267); -x_277 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_277, 0, x_275); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_erase_macro_scopes(x_2); -x_279 = lean_unsigned_to_nat(0u); -x_280 = lean_array_get_size(x_4); -x_281 = lean_unsigned_to_nat(1u); -lean_inc(x_280); -x_282 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set(x_282, 1, x_280); -lean_ctor_set(x_282, 2, x_281); -x_283 = lean_box(0); -x_284 = l_Lean_Doc_getPositional___redArg___closed__33; +lean_ctor_set(x_254, 0, x_237); +lean_ctor_set(x_254, 1, x_250); +lean_ctor_set(x_254, 2, x_253); +x_255 = lean_unsigned_to_nat(0u); +x_256 = lean_array_get_size(x_3); +x_257 = lean_unsigned_to_nat(1u); +lean_inc(x_256); +x_258 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_256); +lean_ctor_set(x_258, 2, x_257); +x_259 = lean_box(0); +x_260 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_261 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_261, 0, x_3); +lean_closure_set(x_261, 1, x_260); +lean_closure_set(x_261, 2, x_255); +lean_closure_set(x_261, 3, x_1); +lean_closure_set(x_261, 4, x_257); +lean_closure_set(x_261, 5, x_256); +lean_closure_set(x_261, 6, x_259); +lean_inc_ref(x_233); +x_262 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_233, x_258, x_261, x_260, x_255, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_285 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_285, 0, x_4); -lean_closure_set(x_285, 1, x_284); -lean_closure_set(x_285, 2, x_278); -lean_closure_set(x_285, 3, x_1); -lean_closure_set(x_285, 4, x_279); -lean_closure_set(x_285, 5, x_281); -lean_closure_set(x_285, 6, x_280); -lean_closure_set(x_285, 7, x_283); -x_286 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_277, x_282, x_285, x_284, x_279, lean_box(0), lean_box(0)); -x_287 = lean_apply_10(x_286, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_287) == 0) +x_263 = lean_apply_11(x_262, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_263) == 0) { -lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_288 = lean_ctor_get(x_287, 0); +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_267 = x_265; +} else { + lean_dec_ref(x_265); + x_267 = lean_box(0); +} +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_268 = lean_ctor_get(x_263, 1); +lean_inc(x_268); +lean_dec_ref(x_263); +x_269 = lean_ctor_get(x_264, 1); +lean_inc(x_269); +lean_dec(x_264); +x_270 = l_Lean_Doc_getPositional___redArg___closed__38; +x_271 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_267)) { + x_272 = lean_alloc_ctor(7, 2, 0); +} else { + x_272 = x_267; + lean_ctor_set_tag(x_272, 7); +} +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +x_273 = l_Lean_Doc_getPositional___redArg___closed__40; +x_274 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_274, 0, x_272); +lean_ctor_set(x_274, 1, x_273); +x_275 = l_Lean_throwError___redArg(x_233, x_254, x_274); +x_276 = lean_apply_11(x_275, x_269, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_268); +return x_276; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec(x_267); +lean_dec_ref(x_254); +lean_dec_ref(x_233); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_277 = lean_ctor_get(x_263, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_278 = x_263; +} else { + lean_dec_ref(x_263); + x_278 = lean_box(0); +} +x_279 = lean_ctor_get(x_264, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_280 = x_264; +} else { + lean_dec_ref(x_264); + x_280 = lean_box(0); +} +x_281 = lean_ctor_get(x_266, 0); +lean_inc(x_281); +lean_dec_ref(x_266); +if (lean_is_scalar(x_280)) { + x_282 = lean_alloc_ctor(0, 2, 0); +} else { + x_282 = x_280; +} +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_279); +if (lean_is_scalar(x_278)) { + x_283 = lean_alloc_ctor(0, 2, 0); +} else { + x_283 = x_278; +} +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_277); +return x_283; +} +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +lean_dec_ref(x_254); +lean_dec_ref(x_233); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_284 = lean_ctor_get(x_263, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_263, 1); +lean_inc(x_285); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_286 = x_263; +} else { + lean_dec_ref(x_263); + x_286 = lean_box(0); +} +if (lean_is_scalar(x_286)) { + x_287 = lean_alloc_ctor(1, 2, 0); +} else { + x_287 = x_286; +} +lean_ctor_set(x_287, 0, x_284); +lean_ctor_set(x_287, 1, x_285); +return x_287; +} +} +} +else +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_288 = lean_ctor_get(x_50, 0); lean_inc(x_288); +lean_dec(x_50); x_289 = lean_ctor_get(x_288, 0); -x_290 = lean_ctor_get(x_289, 0); -if (lean_obj_tag(x_290) == 0) -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; -x_291 = lean_ctor_get(x_287, 1); +lean_inc_ref(x_289); +x_290 = lean_ctor_get(x_288, 2); +lean_inc(x_290); +x_291 = lean_ctor_get(x_288, 3); lean_inc(x_291); -if (lean_is_exclusive(x_287)) { - lean_ctor_release(x_287, 0); - lean_ctor_release(x_287, 1); - x_292 = x_287; -} else { - lean_dec_ref(x_287); - x_292 = lean_box(0); -} -x_293 = lean_ctor_get(x_288, 1); -lean_inc(x_293); +x_292 = lean_ctor_get(x_288, 4); +lean_inc(x_292); if (lean_is_exclusive(x_288)) { lean_ctor_release(x_288, 0); lean_ctor_release(x_288, 1); - x_294 = x_288; + lean_ctor_release(x_288, 2); + lean_ctor_release(x_288, 3); + lean_ctor_release(x_288, 4); + x_293 = x_288; } else { lean_dec_ref(x_288); - x_294 = lean_box(0); + x_293 = lean_box(0); } -if (lean_is_scalar(x_294)) { - x_295 = lean_alloc_ctor(0, 2, 0); +x_294 = l_Lean_Doc_getPositional___redArg___closed__6; +x_295 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_289); +x_296 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_296, 0, x_289); +x_297 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_297, 0, x_289); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_297); +x_299 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_299, 0, x_292); +x_300 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_300, 0, x_291); +x_301 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_301, 0, x_290); +if (lean_is_scalar(x_293)) { + x_302 = lean_alloc_ctor(0, 5, 0); } else { - x_295 = x_294; -} -lean_ctor_set(x_295, 0, x_3); -lean_ctor_set(x_295, 1, x_293); -if (lean_is_scalar(x_292)) { - x_296 = lean_alloc_ctor(0, 2, 0); -} else { - x_296 = x_292; -} -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_291); -return x_296; -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -lean_inc_ref(x_290); -lean_dec(x_3); -x_297 = lean_ctor_get(x_287, 1); -lean_inc(x_297); -if (lean_is_exclusive(x_287)) { - lean_ctor_release(x_287, 0); - lean_ctor_release(x_287, 1); - x_298 = x_287; -} else { - lean_dec_ref(x_287); - x_298 = lean_box(0); -} -x_299 = lean_ctor_get(x_288, 1); -lean_inc(x_299); -if (lean_is_exclusive(x_288)) { - lean_ctor_release(x_288, 0); - lean_ctor_release(x_288, 1); - x_300 = x_288; -} else { - lean_dec_ref(x_288); - x_300 = lean_box(0); -} -x_301 = lean_ctor_get(x_290, 0); -lean_inc(x_301); -lean_dec_ref(x_290); -if (lean_is_scalar(x_300)) { - x_302 = lean_alloc_ctor(0, 2, 0); -} else { - x_302 = x_300; -} -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_299); -if (lean_is_scalar(x_298)) { - x_303 = lean_alloc_ctor(0, 2, 0); -} else { - x_303 = x_298; + x_302 = x_293; } +lean_ctor_set(x_302, 0, x_298); +lean_ctor_set(x_302, 1, x_294); +lean_ctor_set(x_302, 2, x_301); +lean_ctor_set(x_302, 3, x_300); +lean_ctor_set(x_302, 4, x_299); +x_303 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_297); -return x_303; -} -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -lean_dec(x_3); -x_304 = lean_ctor_get(x_287, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_287, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_287)) { - lean_ctor_release(x_287, 0); - lean_ctor_release(x_287, 1); - x_306 = x_287; +lean_ctor_set(x_303, 1, x_295); +x_304 = l_ReaderT_instMonad___redArg(x_303); +x_305 = l_ReaderT_instMonad___redArg(x_304); +x_306 = l_ReaderT_instMonad___redArg(x_305); +lean_inc_ref(x_306); +x_307 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_307, 0, x_306); +lean_inc_ref(x_306); +x_308 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_308, 0, x_306); +lean_inc_ref(x_306); +x_309 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_309, 0, x_306); +lean_inc_ref(x_306); +x_310 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_310, 0, x_306); +lean_inc_ref(x_306); +x_311 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_311, 0, lean_box(0)); +lean_closure_set(x_311, 1, lean_box(0)); +lean_closure_set(x_311, 2, x_306); +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_307); +lean_inc_ref(x_306); +x_313 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_313, 0, lean_box(0)); +lean_closure_set(x_313, 1, lean_box(0)); +lean_closure_set(x_313, 2, x_306); +x_314 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_314, 0, x_312); +lean_ctor_set(x_314, 1, x_313); +lean_ctor_set(x_314, 2, x_308); +lean_ctor_set(x_314, 3, x_309); +lean_ctor_set(x_314, 4, x_310); +lean_inc_ref(x_306); +x_315 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_315, 0, lean_box(0)); +lean_closure_set(x_315, 1, lean_box(0)); +lean_closure_set(x_315, 2, x_306); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_314); +lean_ctor_set(x_316, 1, x_315); +x_317 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_306); +x_318 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_318, 0, x_317); +lean_closure_set(x_318, 1, x_306); +x_319 = l_Lean_Doc_getPositional___redArg___closed__29; +x_320 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_320, 0, x_318); +lean_ctor_set(x_320, 1, x_319); +x_321 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_322 = lean_ctor_get(x_321, 0); +lean_inc_ref(x_322); +if (lean_is_exclusive(x_321)) { + lean_ctor_release(x_321, 0); + lean_ctor_release(x_321, 1); + lean_ctor_release(x_321, 2); + x_323 = x_321; } else { - lean_dec_ref(x_287); - x_306 = lean_box(0); + lean_dec_ref(x_321); + x_323 = lean_box(0); } -if (lean_is_scalar(x_306)) { - x_307 = lean_alloc_ctor(1, 2, 0); -} else { - x_307 = x_306; -} -lean_ctor_set(x_307, 0, x_304); -lean_ctor_set(x_307, 1, x_305); -return x_307; -} -} -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_308 = lean_ctor_get(x_32, 0); -lean_inc(x_308); -lean_dec(x_32); -x_309 = lean_ctor_get(x_308, 0); -lean_inc_ref(x_309); -x_310 = lean_ctor_get(x_308, 2); -lean_inc(x_310); -x_311 = lean_ctor_get(x_308, 3); -lean_inc(x_311); -x_312 = lean_ctor_get(x_308, 4); -lean_inc(x_312); -if (lean_is_exclusive(x_308)) { - lean_ctor_release(x_308, 0); - lean_ctor_release(x_308, 1); - lean_ctor_release(x_308, 2); - lean_ctor_release(x_308, 3); - lean_ctor_release(x_308, 4); - x_313 = x_308; -} else { - lean_dec_ref(x_308); - x_313 = lean_box(0); -} -x_314 = l_Lean_Doc_getPositional___redArg___closed__4; -x_315 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_309); -x_316 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_316, 0, x_309); -x_317 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_317, 0, x_309); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_316); -lean_ctor_set(x_318, 1, x_317); -x_319 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_319, 0, x_312); -x_320 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_320, 0, x_311); -x_321 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_321, 0, x_310); -if (lean_is_scalar(x_313)) { - x_322 = lean_alloc_ctor(0, 5, 0); -} else { - x_322 = x_313; -} -lean_ctor_set(x_322, 0, x_318); -lean_ctor_set(x_322, 1, x_314); -lean_ctor_set(x_322, 2, x_321); -lean_ctor_set(x_322, 3, x_320); -lean_ctor_set(x_322, 4, x_319); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_315); -x_324 = l_ReaderT_instMonad___redArg(x_323); -x_325 = lean_ctor_get(x_324, 0); +x_324 = l_Lean_Doc_getPositional___redArg___closed__30; +x_325 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_325, 0, lean_box(0)); +lean_closure_set(x_325, 1, lean_box(0)); +lean_closure_set(x_325, 2, x_306); +x_326 = l_Lean_Doc_getPositional___redArg___closed__31; +x_327 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_328 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_329 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_326, x_328, x_322); +x_330 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_326, x_328, x_329); +x_331 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_326, x_327, x_330); lean_inc_ref(x_325); -if (lean_is_exclusive(x_324)) { - lean_ctor_release(x_324, 0); - lean_ctor_release(x_324, 1); - x_326 = x_324; +x_332 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_324, x_325, x_331); +x_333 = lean_ctor_get(x_332, 0); +lean_inc_ref(x_333); +lean_dec_ref(x_332); +x_334 = l_Lean_Doc_getPositional___redArg___closed__35; +x_335 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_325, x_334); +lean_inc_ref(x_316); +x_336 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_335, x_316); +if (lean_is_scalar(x_323)) { + x_337 = lean_alloc_ctor(0, 3, 0); } else { - lean_dec_ref(x_324); - x_326 = lean_box(0); + x_337 = x_323; } -x_327 = lean_ctor_get(x_325, 0); -lean_inc_ref(x_327); -x_328 = lean_ctor_get(x_325, 2); -lean_inc(x_328); -x_329 = lean_ctor_get(x_325, 3); -lean_inc(x_329); -x_330 = lean_ctor_get(x_325, 4); -lean_inc(x_330); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - lean_ctor_release(x_325, 2); - lean_ctor_release(x_325, 3); - lean_ctor_release(x_325, 4); - x_331 = x_325; -} else { - lean_dec_ref(x_325); - x_331 = lean_box(0); -} -x_332 = l_Lean_Doc_getPositional___redArg___closed__6; -x_333 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_327); -x_334 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_334, 0, x_327); -x_335 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_335, 0, x_327); -x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -x_337 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_337, 0, x_330); -x_338 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_338, 0, x_329); -x_339 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_339, 0, x_328); -if (lean_is_scalar(x_331)) { - x_340 = lean_alloc_ctor(0, 5, 0); -} else { - x_340 = x_331; -} -lean_ctor_set(x_340, 0, x_336); -lean_ctor_set(x_340, 1, x_332); -lean_ctor_set(x_340, 2, x_339); -lean_ctor_set(x_340, 3, x_338); -lean_ctor_set(x_340, 4, x_337); -if (lean_is_scalar(x_326)) { - x_341 = lean_alloc_ctor(0, 2, 0); -} else { - x_341 = x_326; -} -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_333); -x_342 = l_ReaderT_instMonad___redArg(x_341); -x_343 = l_ReaderT_instMonad___redArg(x_342); -lean_inc_ref(x_343); -x_344 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_344, 0, x_343); -lean_inc_ref(x_343); -x_345 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_345, 0, x_343); -lean_inc_ref(x_343); -x_346 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_346, 0, x_343); -lean_inc_ref(x_343); -x_347 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_347, 0, x_343); -lean_inc_ref(x_343); -x_348 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_348, 0, lean_box(0)); -lean_closure_set(x_348, 1, lean_box(0)); -lean_closure_set(x_348, 2, x_343); -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_344); -lean_inc_ref(x_343); -x_350 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_350, 0, lean_box(0)); -lean_closure_set(x_350, 1, lean_box(0)); -lean_closure_set(x_350, 2, x_343); -x_351 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_351, 0, x_349); -lean_ctor_set(x_351, 1, x_350); -lean_ctor_set(x_351, 2, x_345); -lean_ctor_set(x_351, 3, x_346); -lean_ctor_set(x_351, 4, x_347); -x_352 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_352, 0, lean_box(0)); -lean_closure_set(x_352, 1, lean_box(0)); -lean_closure_set(x_352, 2, x_343); -x_353 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -x_354 = lean_erase_macro_scopes(x_2); -x_355 = lean_unsigned_to_nat(0u); -x_356 = lean_array_get_size(x_4); -x_357 = lean_unsigned_to_nat(1u); -lean_inc(x_356); -x_358 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -lean_ctor_set(x_358, 2, x_357); -x_359 = lean_box(0); -x_360 = l_Lean_Doc_getPositional___redArg___closed__33; +lean_ctor_set(x_337, 0, x_320); +lean_ctor_set(x_337, 1, x_333); +lean_ctor_set(x_337, 2, x_336); +x_338 = lean_unsigned_to_nat(0u); +x_339 = lean_array_get_size(x_3); +x_340 = lean_unsigned_to_nat(1u); +lean_inc(x_339); +x_341 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_341, 0, x_338); +lean_ctor_set(x_341, 1, x_339); +lean_ctor_set(x_341, 2, x_340); +x_342 = lean_box(0); +x_343 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_344 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_344, 0, x_3); +lean_closure_set(x_344, 1, x_343); +lean_closure_set(x_344, 2, x_338); +lean_closure_set(x_344, 3, x_1); +lean_closure_set(x_344, 4, x_340); +lean_closure_set(x_344, 5, x_339); +lean_closure_set(x_344, 6, x_342); +lean_inc_ref(x_316); +x_345 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_316, x_341, x_344, x_343, x_338, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_361 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_361, 0, x_4); -lean_closure_set(x_361, 1, x_360); -lean_closure_set(x_361, 2, x_354); -lean_closure_set(x_361, 3, x_1); -lean_closure_set(x_361, 4, x_355); -lean_closure_set(x_361, 5, x_357); -lean_closure_set(x_361, 6, x_356); -lean_closure_set(x_361, 7, x_359); -x_362 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_353, x_358, x_361, x_360, x_355, lean_box(0), lean_box(0)); -x_363 = lean_apply_10(x_362, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_363) == 0) +x_346 = lean_apply_11(x_345, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_346) == 0) { -lean_object* x_364; lean_object* x_365; lean_object* x_366; -x_364 = lean_ctor_get(x_363, 0); +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_347 = lean_ctor_get(x_346, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_347, 0); +lean_inc(x_348); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +if (lean_is_exclusive(x_348)) { + lean_ctor_release(x_348, 0); + lean_ctor_release(x_348, 1); + x_350 = x_348; +} else { + lean_dec_ref(x_348); + x_350 = lean_box(0); +} +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_351 = lean_ctor_get(x_346, 1); +lean_inc(x_351); +lean_dec_ref(x_346); +x_352 = lean_ctor_get(x_347, 1); +lean_inc(x_352); +lean_dec(x_347); +x_353 = l_Lean_Doc_getPositional___redArg___closed__38; +x_354 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_350)) { + x_355 = lean_alloc_ctor(7, 2, 0); +} else { + x_355 = x_350; + lean_ctor_set_tag(x_355, 7); +} +lean_ctor_set(x_355, 0, x_353); +lean_ctor_set(x_355, 1, x_354); +x_356 = l_Lean_Doc_getPositional___redArg___closed__40; +x_357 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_357, 0, x_355); +lean_ctor_set(x_357, 1, x_356); +x_358 = l_Lean_throwError___redArg(x_316, x_337, x_357); +x_359 = lean_apply_11(x_358, x_352, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_351); +return x_359; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_350); +lean_dec_ref(x_337); +lean_dec_ref(x_316); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_360 = lean_ctor_get(x_346, 1); +lean_inc(x_360); +if (lean_is_exclusive(x_346)) { + lean_ctor_release(x_346, 0); + lean_ctor_release(x_346, 1); + x_361 = x_346; +} else { + lean_dec_ref(x_346); + x_361 = lean_box(0); +} +x_362 = lean_ctor_get(x_347, 1); +lean_inc(x_362); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_363 = x_347; +} else { + lean_dec_ref(x_347); + x_363 = lean_box(0); +} +x_364 = lean_ctor_get(x_349, 0); lean_inc(x_364); -x_365 = lean_ctor_get(x_364, 0); -x_366 = lean_ctor_get(x_365, 0); -if (lean_obj_tag(x_366) == 0) +lean_dec_ref(x_349); +if (lean_is_scalar(x_363)) { + x_365 = lean_alloc_ctor(0, 2, 0); +} else { + x_365 = x_363; +} +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_362); +if (lean_is_scalar(x_361)) { + x_366 = lean_alloc_ctor(0, 2, 0); +} else { + x_366 = x_361; +} +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_360); +return x_366; +} +} +else { -lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_367 = lean_ctor_get(x_363, 1); +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_dec_ref(x_337); +lean_dec_ref(x_316); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_367 = lean_ctor_get(x_346, 0); lean_inc(x_367); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_368 = x_363; +x_368 = lean_ctor_get(x_346, 1); +lean_inc(x_368); +if (lean_is_exclusive(x_346)) { + lean_ctor_release(x_346, 0); + lean_ctor_release(x_346, 1); + x_369 = x_346; } else { - lean_dec_ref(x_363); - x_368 = lean_box(0); + lean_dec_ref(x_346); + x_369 = lean_box(0); } -x_369 = lean_ctor_get(x_364, 1); -lean_inc(x_369); -if (lean_is_exclusive(x_364)) { - lean_ctor_release(x_364, 0); - lean_ctor_release(x_364, 1); - x_370 = x_364; +if (lean_is_scalar(x_369)) { + x_370 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_364); - x_370 = lean_box(0); + x_370 = x_369; } -if (lean_is_scalar(x_370)) { - x_371 = lean_alloc_ctor(0, 2, 0); -} else { - x_371 = x_370; +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_368); +return x_370; } -lean_ctor_set(x_371, 0, x_3); -lean_ctor_set(x_371, 1, x_369); -if (lean_is_scalar(x_368)) { - x_372 = lean_alloc_ctor(0, 2, 0); -} else { - x_372 = x_368; } -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_367); -return x_372; } else { -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -lean_inc_ref(x_366); -lean_dec(x_3); -x_373 = lean_ctor_get(x_363, 1); +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_371 = lean_ctor_get(x_34, 0); +x_372 = lean_ctor_get(x_34, 2); +x_373 = lean_ctor_get(x_34, 3); +x_374 = lean_ctor_get(x_34, 4); +lean_inc(x_374); lean_inc(x_373); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_374 = x_363; +lean_inc(x_372); +lean_inc(x_371); +lean_dec(x_34); +x_375 = l_Lean_Doc_getPositional___redArg___closed__4; +x_376 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_371); +x_377 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_377, 0, x_371); +x_378 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_378, 0, x_371); +x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_377); +lean_ctor_set(x_379, 1, x_378); +x_380 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_380, 0, x_374); +x_381 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_381, 0, x_373); +x_382 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_382, 0, x_372); +x_383 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_383, 0, x_379); +lean_ctor_set(x_383, 1, x_375); +lean_ctor_set(x_383, 2, x_382); +lean_ctor_set(x_383, 3, x_381); +lean_ctor_set(x_383, 4, x_380); +lean_ctor_set(x_32, 1, x_376); +lean_ctor_set(x_32, 0, x_383); +x_384 = l_ReaderT_instMonad___redArg(x_32); +x_385 = lean_ctor_get(x_384, 0); +lean_inc_ref(x_385); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + x_386 = x_384; } else { - lean_dec_ref(x_363); - x_374 = lean_box(0); + lean_dec_ref(x_384); + x_386 = lean_box(0); } -x_375 = lean_ctor_get(x_364, 1); -lean_inc(x_375); -if (lean_is_exclusive(x_364)) { - lean_ctor_release(x_364, 0); - lean_ctor_release(x_364, 1); - x_376 = x_364; +x_387 = lean_ctor_get(x_385, 0); +lean_inc_ref(x_387); +x_388 = lean_ctor_get(x_385, 2); +lean_inc(x_388); +x_389 = lean_ctor_get(x_385, 3); +lean_inc(x_389); +x_390 = lean_ctor_get(x_385, 4); +lean_inc(x_390); +if (lean_is_exclusive(x_385)) { + lean_ctor_release(x_385, 0); + lean_ctor_release(x_385, 1); + lean_ctor_release(x_385, 2); + lean_ctor_release(x_385, 3); + lean_ctor_release(x_385, 4); + x_391 = x_385; } else { - lean_dec_ref(x_364); - x_376 = lean_box(0); + lean_dec_ref(x_385); + x_391 = lean_box(0); } -x_377 = lean_ctor_get(x_366, 0); -lean_inc(x_377); -lean_dec_ref(x_366); -if (lean_is_scalar(x_376)) { - x_378 = lean_alloc_ctor(0, 2, 0); +x_392 = l_Lean_Doc_getPositional___redArg___closed__6; +x_393 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_387); +x_394 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_394, 0, x_387); +x_395 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_395, 0, x_387); +x_396 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_396, 0, x_394); +lean_ctor_set(x_396, 1, x_395); +x_397 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_397, 0, x_390); +x_398 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_398, 0, x_389); +x_399 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_399, 0, x_388); +if (lean_is_scalar(x_391)) { + x_400 = lean_alloc_ctor(0, 5, 0); } else { - x_378 = x_376; + x_400 = x_391; } -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_375); -if (lean_is_scalar(x_374)) { - x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_400, 0, x_396); +lean_ctor_set(x_400, 1, x_392); +lean_ctor_set(x_400, 2, x_399); +lean_ctor_set(x_400, 3, x_398); +lean_ctor_set(x_400, 4, x_397); +if (lean_is_scalar(x_386)) { + x_401 = lean_alloc_ctor(0, 2, 0); } else { - x_379 = x_374; + x_401 = x_386; } -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_373); -return x_379; -} -} -else -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -lean_dec(x_3); -x_380 = lean_ctor_get(x_363, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_363, 1); -lean_inc(x_381); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_382 = x_363; +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_393); +x_402 = l_ReaderT_instMonad___redArg(x_401); +x_403 = l_ReaderT_instMonad___redArg(x_402); +x_404 = l_ReaderT_instMonad___redArg(x_403); +lean_inc_ref(x_404); +x_405 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_405, 0, x_404); +lean_inc_ref(x_404); +x_406 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_406, 0, x_404); +lean_inc_ref(x_404); +x_407 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_407, 0, x_404); +lean_inc_ref(x_404); +x_408 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_408, 0, x_404); +lean_inc_ref(x_404); +x_409 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_409, 0, lean_box(0)); +lean_closure_set(x_409, 1, lean_box(0)); +lean_closure_set(x_409, 2, x_404); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_409); +lean_ctor_set(x_410, 1, x_405); +lean_inc_ref(x_404); +x_411 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_411, 0, lean_box(0)); +lean_closure_set(x_411, 1, lean_box(0)); +lean_closure_set(x_411, 2, x_404); +x_412 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_412, 0, x_410); +lean_ctor_set(x_412, 1, x_411); +lean_ctor_set(x_412, 2, x_406); +lean_ctor_set(x_412, 3, x_407); +lean_ctor_set(x_412, 4, x_408); +lean_inc_ref(x_404); +x_413 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_413, 0, lean_box(0)); +lean_closure_set(x_413, 1, lean_box(0)); +lean_closure_set(x_413, 2, x_404); +x_414 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_414, 0, x_412); +lean_ctor_set(x_414, 1, x_413); +x_415 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_404); +x_416 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_416, 0, x_415); +lean_closure_set(x_416, 1, x_404); +x_417 = l_Lean_Doc_getPositional___redArg___closed__29; +x_418 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_418, 0, x_416); +lean_ctor_set(x_418, 1, x_417); +x_419 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_420 = lean_ctor_get(x_419, 0); +lean_inc_ref(x_420); +if (lean_is_exclusive(x_419)) { + lean_ctor_release(x_419, 0); + lean_ctor_release(x_419, 1); + lean_ctor_release(x_419, 2); + x_421 = x_419; } else { - lean_dec_ref(x_363); - x_382 = lean_box(0); + lean_dec_ref(x_419); + x_421 = lean_box(0); } -if (lean_is_scalar(x_382)) { - x_383 = lean_alloc_ctor(1, 2, 0); +x_422 = l_Lean_Doc_getPositional___redArg___closed__30; +x_423 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_423, 0, lean_box(0)); +lean_closure_set(x_423, 1, lean_box(0)); +lean_closure_set(x_423, 2, x_404); +x_424 = l_Lean_Doc_getPositional___redArg___closed__31; +x_425 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_426 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_427 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_424, x_426, x_420); +x_428 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_424, x_426, x_427); +x_429 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_424, x_425, x_428); +lean_inc_ref(x_423); +x_430 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_422, x_423, x_429); +x_431 = lean_ctor_get(x_430, 0); +lean_inc_ref(x_431); +lean_dec_ref(x_430); +x_432 = l_Lean_Doc_getPositional___redArg___closed__35; +x_433 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_423, x_432); +lean_inc_ref(x_414); +x_434 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_433, x_414); +if (lean_is_scalar(x_421)) { + x_435 = lean_alloc_ctor(0, 3, 0); } else { - x_383 = x_382; + x_435 = x_421; } -lean_ctor_set(x_383, 0, x_380); -lean_ctor_set(x_383, 1, x_381); -return x_383; -} -} -} -else -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; -x_384 = lean_ctor_get(x_16, 0); -x_385 = lean_ctor_get(x_16, 2); -x_386 = lean_ctor_get(x_16, 3); -x_387 = lean_ctor_get(x_16, 4); -lean_inc(x_387); -lean_inc(x_386); -lean_inc(x_385); -lean_inc(x_384); -lean_dec(x_16); -x_388 = l_Lean_Doc_getPositional___redArg___closed__2; -x_389 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_384); -x_390 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_390, 0, x_384); -x_391 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_391, 0, x_384); -x_392 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -x_393 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_393, 0, x_387); -x_394 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_394, 0, x_386); -x_395 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_395, 0, x_385); -x_396 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_396, 0, x_392); -lean_ctor_set(x_396, 1, x_388); -lean_ctor_set(x_396, 2, x_395); -lean_ctor_set(x_396, 3, x_394); -lean_ctor_set(x_396, 4, x_393); -lean_ctor_set(x_14, 1, x_389); -lean_ctor_set(x_14, 0, x_396); -x_397 = l_ReaderT_instMonad___redArg(x_14); -x_398 = lean_ctor_get(x_397, 0); -lean_inc_ref(x_398); -if (lean_is_exclusive(x_397)) { - lean_ctor_release(x_397, 0); - lean_ctor_release(x_397, 1); - x_399 = x_397; -} else { - lean_dec_ref(x_397); - x_399 = lean_box(0); -} -x_400 = lean_ctor_get(x_398, 0); -lean_inc_ref(x_400); -x_401 = lean_ctor_get(x_398, 2); -lean_inc(x_401); -x_402 = lean_ctor_get(x_398, 3); -lean_inc(x_402); -x_403 = lean_ctor_get(x_398, 4); -lean_inc(x_403); -if (lean_is_exclusive(x_398)) { - lean_ctor_release(x_398, 0); - lean_ctor_release(x_398, 1); - lean_ctor_release(x_398, 2); - lean_ctor_release(x_398, 3); - lean_ctor_release(x_398, 4); - x_404 = x_398; -} else { - lean_dec_ref(x_398); - x_404 = lean_box(0); -} -x_405 = l_Lean_Doc_getPositional___redArg___closed__4; -x_406 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_400); -x_407 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_407, 0, x_400); -x_408 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_408, 0, x_400); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_407); -lean_ctor_set(x_409, 1, x_408); -x_410 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_410, 0, x_403); -x_411 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_411, 0, x_402); -x_412 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_412, 0, x_401); -if (lean_is_scalar(x_404)) { - x_413 = lean_alloc_ctor(0, 5, 0); -} else { - x_413 = x_404; -} -lean_ctor_set(x_413, 0, x_409); -lean_ctor_set(x_413, 1, x_405); -lean_ctor_set(x_413, 2, x_412); -lean_ctor_set(x_413, 3, x_411); -lean_ctor_set(x_413, 4, x_410); -if (lean_is_scalar(x_399)) { - x_414 = lean_alloc_ctor(0, 2, 0); -} else { - x_414 = x_399; -} -lean_ctor_set(x_414, 0, x_413); -lean_ctor_set(x_414, 1, x_406); -x_415 = l_ReaderT_instMonad___redArg(x_414); -x_416 = lean_ctor_get(x_415, 0); -lean_inc_ref(x_416); -if (lean_is_exclusive(x_415)) { - lean_ctor_release(x_415, 0); - lean_ctor_release(x_415, 1); - x_417 = x_415; -} else { - lean_dec_ref(x_415); - x_417 = lean_box(0); -} -x_418 = lean_ctor_get(x_416, 0); -lean_inc_ref(x_418); -x_419 = lean_ctor_get(x_416, 2); -lean_inc(x_419); -x_420 = lean_ctor_get(x_416, 3); -lean_inc(x_420); -x_421 = lean_ctor_get(x_416, 4); -lean_inc(x_421); -if (lean_is_exclusive(x_416)) { - lean_ctor_release(x_416, 0); - lean_ctor_release(x_416, 1); - lean_ctor_release(x_416, 2); - lean_ctor_release(x_416, 3); - lean_ctor_release(x_416, 4); - x_422 = x_416; -} else { - lean_dec_ref(x_416); - x_422 = lean_box(0); -} -x_423 = l_Lean_Doc_getPositional___redArg___closed__6; -x_424 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_418); -x_425 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_425, 0, x_418); -x_426 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_426, 0, x_418); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_425); -lean_ctor_set(x_427, 1, x_426); -x_428 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_428, 0, x_421); -x_429 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_429, 0, x_420); -x_430 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_430, 0, x_419); -if (lean_is_scalar(x_422)) { - x_431 = lean_alloc_ctor(0, 5, 0); -} else { - x_431 = x_422; -} -lean_ctor_set(x_431, 0, x_427); -lean_ctor_set(x_431, 1, x_423); -lean_ctor_set(x_431, 2, x_430); -lean_ctor_set(x_431, 3, x_429); -lean_ctor_set(x_431, 4, x_428); -if (lean_is_scalar(x_417)) { - x_432 = lean_alloc_ctor(0, 2, 0); -} else { - x_432 = x_417; -} -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_424); -x_433 = l_ReaderT_instMonad___redArg(x_432); -x_434 = l_ReaderT_instMonad___redArg(x_433); -lean_inc_ref(x_434); -x_435 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_435, 0, x_434); -lean_inc_ref(x_434); -x_436 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_436, 0, x_434); -lean_inc_ref(x_434); -x_437 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_437, 0, x_434); -lean_inc_ref(x_434); -x_438 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_438, 0, x_434); -lean_inc_ref(x_434); -x_439 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_439, 0, lean_box(0)); -lean_closure_set(x_439, 1, lean_box(0)); -lean_closure_set(x_439, 2, x_434); -x_440 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_440, 0, x_439); -lean_ctor_set(x_440, 1, x_435); -lean_inc_ref(x_434); -x_441 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_441, 0, lean_box(0)); -lean_closure_set(x_441, 1, lean_box(0)); -lean_closure_set(x_441, 2, x_434); -x_442 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_442, 0, x_440); -lean_ctor_set(x_442, 1, x_441); -lean_ctor_set(x_442, 2, x_436); -lean_ctor_set(x_442, 3, x_437); -lean_ctor_set(x_442, 4, x_438); -x_443 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_443, 0, lean_box(0)); -lean_closure_set(x_443, 1, lean_box(0)); -lean_closure_set(x_443, 2, x_434); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_442); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_erase_macro_scopes(x_2); -x_446 = lean_unsigned_to_nat(0u); -x_447 = lean_array_get_size(x_4); -x_448 = lean_unsigned_to_nat(1u); -lean_inc(x_447); -x_449 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_449, 0, x_446); -lean_ctor_set(x_449, 1, x_447); -lean_ctor_set(x_449, 2, x_448); -x_450 = lean_box(0); -x_451 = l_Lean_Doc_getPositional___redArg___closed__33; +lean_ctor_set(x_435, 0, x_418); +lean_ctor_set(x_435, 1, x_431); +lean_ctor_set(x_435, 2, x_434); +x_436 = lean_unsigned_to_nat(0u); +x_437 = lean_array_get_size(x_3); +x_438 = lean_unsigned_to_nat(1u); +lean_inc(x_437); +x_439 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_439, 0, x_436); +lean_ctor_set(x_439, 1, x_437); +lean_ctor_set(x_439, 2, x_438); +x_440 = lean_box(0); +x_441 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_442 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_442, 0, x_3); +lean_closure_set(x_442, 1, x_441); +lean_closure_set(x_442, 2, x_436); +lean_closure_set(x_442, 3, x_1); +lean_closure_set(x_442, 4, x_438); +lean_closure_set(x_442, 5, x_437); +lean_closure_set(x_442, 6, x_440); +lean_inc_ref(x_414); +x_443 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_414, x_439, x_442, x_441, x_436, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_452 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_452, 0, x_4); -lean_closure_set(x_452, 1, x_451); -lean_closure_set(x_452, 2, x_445); -lean_closure_set(x_452, 3, x_1); -lean_closure_set(x_452, 4, x_446); -lean_closure_set(x_452, 5, x_448); -lean_closure_set(x_452, 6, x_447); -lean_closure_set(x_452, 7, x_450); -x_453 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_444, x_449, x_452, x_451, x_446, lean_box(0), lean_box(0)); -x_454 = lean_apply_10(x_453, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_454) == 0) +x_444 = lean_apply_11(x_443, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_444) == 0) { -lean_object* x_455; lean_object* x_456; lean_object* x_457; -x_455 = lean_ctor_get(x_454, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_455, 0); -x_457 = lean_ctor_get(x_456, 0); -if (lean_obj_tag(x_457) == 0) -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_458 = lean_ctor_get(x_454, 1); -lean_inc(x_458); -if (lean_is_exclusive(x_454)) { - lean_ctor_release(x_454, 0); - lean_ctor_release(x_454, 1); - x_459 = x_454; +lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_445 = lean_ctor_get(x_444, 0); +lean_inc(x_445); +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_446, 0); +lean_inc(x_447); +if (lean_is_exclusive(x_446)) { + lean_ctor_release(x_446, 0); + lean_ctor_release(x_446, 1); + x_448 = x_446; } else { - lean_dec_ref(x_454); + lean_dec_ref(x_446); + x_448 = lean_box(0); +} +if (lean_obj_tag(x_447) == 0) +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; +x_449 = lean_ctor_get(x_444, 1); +lean_inc(x_449); +lean_dec_ref(x_444); +x_450 = lean_ctor_get(x_445, 1); +lean_inc(x_450); +lean_dec(x_445); +x_451 = l_Lean_Doc_getPositional___redArg___closed__38; +x_452 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_448)) { + x_453 = lean_alloc_ctor(7, 2, 0); +} else { + x_453 = x_448; + lean_ctor_set_tag(x_453, 7); +} +lean_ctor_set(x_453, 0, x_451); +lean_ctor_set(x_453, 1, x_452); +x_454 = l_Lean_Doc_getPositional___redArg___closed__40; +x_455 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_455, 0, x_453); +lean_ctor_set(x_455, 1, x_454); +x_456 = l_Lean_throwError___redArg(x_414, x_435, x_455); +x_457 = lean_apply_11(x_456, x_450, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_449); +return x_457; +} +else +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; +lean_dec(x_448); +lean_dec_ref(x_435); +lean_dec_ref(x_414); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_458 = lean_ctor_get(x_444, 1); +lean_inc(x_458); +if (lean_is_exclusive(x_444)) { + lean_ctor_release(x_444, 0); + lean_ctor_release(x_444, 1); + x_459 = x_444; +} else { + lean_dec_ref(x_444); x_459 = lean_box(0); } -x_460 = lean_ctor_get(x_455, 1); +x_460 = lean_ctor_get(x_445, 1); lean_inc(x_460); -if (lean_is_exclusive(x_455)) { - lean_ctor_release(x_455, 0); - lean_ctor_release(x_455, 1); - x_461 = x_455; +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_461 = x_445; } else { - lean_dec_ref(x_455); + lean_dec_ref(x_445); x_461 = lean_box(0); } +x_462 = lean_ctor_get(x_447, 0); +lean_inc(x_462); +lean_dec_ref(x_447); if (lean_is_scalar(x_461)) { - x_462 = lean_alloc_ctor(0, 2, 0); -} else { - x_462 = x_461; -} -lean_ctor_set(x_462, 0, x_3); -lean_ctor_set(x_462, 1, x_460); -if (lean_is_scalar(x_459)) { x_463 = lean_alloc_ctor(0, 2, 0); } else { - x_463 = x_459; + x_463 = x_461; } lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_458); -return x_463; +lean_ctor_set(x_463, 1, x_460); +if (lean_is_scalar(x_459)) { + x_464 = lean_alloc_ctor(0, 2, 0); +} else { + x_464 = x_459; +} +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_458); +return x_464; +} } else { -lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -lean_inc_ref(x_457); -lean_dec(x_3); -x_464 = lean_ctor_get(x_454, 1); -lean_inc(x_464); -if (lean_is_exclusive(x_454)) { - lean_ctor_release(x_454, 0); - lean_ctor_release(x_454, 1); - x_465 = x_454; -} else { - lean_dec_ref(x_454); - x_465 = lean_box(0); -} -x_466 = lean_ctor_get(x_455, 1); +lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +lean_dec_ref(x_435); +lean_dec_ref(x_414); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_465 = lean_ctor_get(x_444, 0); +lean_inc(x_465); +x_466 = lean_ctor_get(x_444, 1); lean_inc(x_466); -if (lean_is_exclusive(x_455)) { - lean_ctor_release(x_455, 0); - lean_ctor_release(x_455, 1); - x_467 = x_455; +if (lean_is_exclusive(x_444)) { + lean_ctor_release(x_444, 0); + lean_ctor_release(x_444, 1); + x_467 = x_444; } else { - lean_dec_ref(x_455); + lean_dec_ref(x_444); x_467 = lean_box(0); } -x_468 = lean_ctor_get(x_457, 0); -lean_inc(x_468); -lean_dec_ref(x_457); if (lean_is_scalar(x_467)) { - x_469 = lean_alloc_ctor(0, 2, 0); + x_468 = lean_alloc_ctor(1, 2, 0); } else { - x_469 = x_467; + x_468 = x_467; } -lean_ctor_set(x_469, 0, x_468); -lean_ctor_set(x_469, 1, x_466); -if (lean_is_scalar(x_465)) { - x_470 = lean_alloc_ctor(0, 2, 0); -} else { - x_470 = x_465; +lean_ctor_set(x_468, 0, x_465); +lean_ctor_set(x_468, 1, x_466); +return x_468; } -lean_ctor_set(x_470, 0, x_469); -lean_ctor_set(x_470, 1, x_464); -return x_470; } } else { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -lean_dec(x_3); -x_471 = lean_ctor_get(x_454, 0); +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; +x_469 = lean_ctor_get(x_32, 0); +lean_inc(x_469); +lean_dec(x_32); +x_470 = lean_ctor_get(x_469, 0); +lean_inc_ref(x_470); +x_471 = lean_ctor_get(x_469, 2); lean_inc(x_471); -x_472 = lean_ctor_get(x_454, 1); +x_472 = lean_ctor_get(x_469, 3); lean_inc(x_472); -if (lean_is_exclusive(x_454)) { - lean_ctor_release(x_454, 0); - lean_ctor_release(x_454, 1); - x_473 = x_454; +x_473 = lean_ctor_get(x_469, 4); +lean_inc(x_473); +if (lean_is_exclusive(x_469)) { + lean_ctor_release(x_469, 0); + lean_ctor_release(x_469, 1); + lean_ctor_release(x_469, 2); + lean_ctor_release(x_469, 3); + lean_ctor_release(x_469, 4); + x_474 = x_469; } else { - lean_dec_ref(x_454); - x_473 = lean_box(0); + lean_dec_ref(x_469); + x_474 = lean_box(0); } -if (lean_is_scalar(x_473)) { - x_474 = lean_alloc_ctor(1, 2, 0); +x_475 = l_Lean_Doc_getPositional___redArg___closed__4; +x_476 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_470); +x_477 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_477, 0, x_470); +x_478 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_478, 0, x_470); +x_479 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_479, 0, x_477); +lean_ctor_set(x_479, 1, x_478); +x_480 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_480, 0, x_473); +x_481 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_481, 0, x_472); +x_482 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_482, 0, x_471); +if (lean_is_scalar(x_474)) { + x_483 = lean_alloc_ctor(0, 5, 0); } else { - x_474 = x_473; + x_483 = x_474; } -lean_ctor_set(x_474, 0, x_471); -lean_ctor_set(x_474, 1, x_472); -return x_474; -} -} -} -else -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_475 = lean_ctor_get(x_14, 0); -lean_inc(x_475); -lean_dec(x_14); -x_476 = lean_ctor_get(x_475, 0); -lean_inc_ref(x_476); -x_477 = lean_ctor_get(x_475, 2); -lean_inc(x_477); -x_478 = lean_ctor_get(x_475, 3); -lean_inc(x_478); -x_479 = lean_ctor_get(x_475, 4); -lean_inc(x_479); -if (lean_is_exclusive(x_475)) { - lean_ctor_release(x_475, 0); - lean_ctor_release(x_475, 1); - lean_ctor_release(x_475, 2); - lean_ctor_release(x_475, 3); - lean_ctor_release(x_475, 4); - x_480 = x_475; +lean_ctor_set(x_483, 0, x_479); +lean_ctor_set(x_483, 1, x_475); +lean_ctor_set(x_483, 2, x_482); +lean_ctor_set(x_483, 3, x_481); +lean_ctor_set(x_483, 4, x_480); +x_484 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_484, 0, x_483); +lean_ctor_set(x_484, 1, x_476); +x_485 = l_ReaderT_instMonad___redArg(x_484); +x_486 = lean_ctor_get(x_485, 0); +lean_inc_ref(x_486); +if (lean_is_exclusive(x_485)) { + lean_ctor_release(x_485, 0); + lean_ctor_release(x_485, 1); + x_487 = x_485; } else { - lean_dec_ref(x_475); - x_480 = lean_box(0); + lean_dec_ref(x_485); + x_487 = lean_box(0); } -x_481 = l_Lean_Doc_getPositional___redArg___closed__2; -x_482 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_476); -x_483 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_483, 0, x_476); -x_484 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_484, 0, x_476); -x_485 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_485, 0, x_483); -lean_ctor_set(x_485, 1, x_484); -x_486 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_486, 0, x_479); -x_487 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_487, 0, x_478); -x_488 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_488, 0, x_477); -if (lean_is_scalar(x_480)) { - x_489 = lean_alloc_ctor(0, 5, 0); +x_488 = lean_ctor_get(x_486, 0); +lean_inc_ref(x_488); +x_489 = lean_ctor_get(x_486, 2); +lean_inc(x_489); +x_490 = lean_ctor_get(x_486, 3); +lean_inc(x_490); +x_491 = lean_ctor_get(x_486, 4); +lean_inc(x_491); +if (lean_is_exclusive(x_486)) { + lean_ctor_release(x_486, 0); + lean_ctor_release(x_486, 1); + lean_ctor_release(x_486, 2); + lean_ctor_release(x_486, 3); + lean_ctor_release(x_486, 4); + x_492 = x_486; } else { - x_489 = x_480; + lean_dec_ref(x_486); + x_492 = lean_box(0); } -lean_ctor_set(x_489, 0, x_485); -lean_ctor_set(x_489, 1, x_481); -lean_ctor_set(x_489, 2, x_488); -lean_ctor_set(x_489, 3, x_487); -lean_ctor_set(x_489, 4, x_486); -x_490 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_482); -x_491 = l_ReaderT_instMonad___redArg(x_490); -x_492 = lean_ctor_get(x_491, 0); -lean_inc_ref(x_492); -if (lean_is_exclusive(x_491)) { - lean_ctor_release(x_491, 0); - lean_ctor_release(x_491, 1); - x_493 = x_491; +x_493 = l_Lean_Doc_getPositional___redArg___closed__6; +x_494 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_488); +x_495 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_495, 0, x_488); +x_496 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_496, 0, x_488); +x_497 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_497, 0, x_495); +lean_ctor_set(x_497, 1, x_496); +x_498 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_498, 0, x_491); +x_499 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_499, 0, x_490); +x_500 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_500, 0, x_489); +if (lean_is_scalar(x_492)) { + x_501 = lean_alloc_ctor(0, 5, 0); } else { - lean_dec_ref(x_491); - x_493 = lean_box(0); + x_501 = x_492; } -x_494 = lean_ctor_get(x_492, 0); -lean_inc_ref(x_494); -x_495 = lean_ctor_get(x_492, 2); -lean_inc(x_495); -x_496 = lean_ctor_get(x_492, 3); -lean_inc(x_496); -x_497 = lean_ctor_get(x_492, 4); -lean_inc(x_497); -if (lean_is_exclusive(x_492)) { - lean_ctor_release(x_492, 0); - lean_ctor_release(x_492, 1); - lean_ctor_release(x_492, 2); - lean_ctor_release(x_492, 3); - lean_ctor_release(x_492, 4); - x_498 = x_492; +lean_ctor_set(x_501, 0, x_497); +lean_ctor_set(x_501, 1, x_493); +lean_ctor_set(x_501, 2, x_500); +lean_ctor_set(x_501, 3, x_499); +lean_ctor_set(x_501, 4, x_498); +if (lean_is_scalar(x_487)) { + x_502 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_492); - x_498 = lean_box(0); + x_502 = x_487; } -x_499 = l_Lean_Doc_getPositional___redArg___closed__4; -x_500 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_494); -x_501 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_501, 0, x_494); -x_502 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_502, 0, x_494); -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -x_504 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_504, 0, x_497); -x_505 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_505, 0, x_496); -x_506 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_506, 0, x_495); -if (lean_is_scalar(x_498)) { - x_507 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_494); +x_503 = l_ReaderT_instMonad___redArg(x_502); +x_504 = l_ReaderT_instMonad___redArg(x_503); +x_505 = l_ReaderT_instMonad___redArg(x_504); +lean_inc_ref(x_505); +x_506 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_506, 0, x_505); +lean_inc_ref(x_505); +x_507 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_507, 0, x_505); +lean_inc_ref(x_505); +x_508 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_508, 0, x_505); +lean_inc_ref(x_505); +x_509 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_509, 0, x_505); +lean_inc_ref(x_505); +x_510 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_510, 0, lean_box(0)); +lean_closure_set(x_510, 1, lean_box(0)); +lean_closure_set(x_510, 2, x_505); +x_511 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_506); +lean_inc_ref(x_505); +x_512 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_512, 0, lean_box(0)); +lean_closure_set(x_512, 1, lean_box(0)); +lean_closure_set(x_512, 2, x_505); +x_513 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_513, 0, x_511); +lean_ctor_set(x_513, 1, x_512); +lean_ctor_set(x_513, 2, x_507); +lean_ctor_set(x_513, 3, x_508); +lean_ctor_set(x_513, 4, x_509); +lean_inc_ref(x_505); +x_514 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_514, 0, lean_box(0)); +lean_closure_set(x_514, 1, lean_box(0)); +lean_closure_set(x_514, 2, x_505); +x_515 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_515, 0, x_513); +lean_ctor_set(x_515, 1, x_514); +x_516 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_505); +x_517 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_517, 0, x_516); +lean_closure_set(x_517, 1, x_505); +x_518 = l_Lean_Doc_getPositional___redArg___closed__29; +x_519 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_519, 0, x_517); +lean_ctor_set(x_519, 1, x_518); +x_520 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_521 = lean_ctor_get(x_520, 0); +lean_inc_ref(x_521); +if (lean_is_exclusive(x_520)) { + lean_ctor_release(x_520, 0); + lean_ctor_release(x_520, 1); + lean_ctor_release(x_520, 2); + x_522 = x_520; } else { - x_507 = x_498; + lean_dec_ref(x_520); + x_522 = lean_box(0); } -lean_ctor_set(x_507, 0, x_503); -lean_ctor_set(x_507, 1, x_499); -lean_ctor_set(x_507, 2, x_506); -lean_ctor_set(x_507, 3, x_505); -lean_ctor_set(x_507, 4, x_504); -if (lean_is_scalar(x_493)) { - x_508 = lean_alloc_ctor(0, 2, 0); +x_523 = l_Lean_Doc_getPositional___redArg___closed__30; +x_524 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_524, 0, lean_box(0)); +lean_closure_set(x_524, 1, lean_box(0)); +lean_closure_set(x_524, 2, x_505); +x_525 = l_Lean_Doc_getPositional___redArg___closed__31; +x_526 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_527 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_528 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_525, x_527, x_521); +x_529 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_525, x_527, x_528); +x_530 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_525, x_526, x_529); +lean_inc_ref(x_524); +x_531 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_523, x_524, x_530); +x_532 = lean_ctor_get(x_531, 0); +lean_inc_ref(x_532); +lean_dec_ref(x_531); +x_533 = l_Lean_Doc_getPositional___redArg___closed__35; +x_534 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_524, x_533); +lean_inc_ref(x_515); +x_535 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_534, x_515); +if (lean_is_scalar(x_522)) { + x_536 = lean_alloc_ctor(0, 3, 0); } else { - x_508 = x_493; + x_536 = x_522; } -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_500); -x_509 = l_ReaderT_instMonad___redArg(x_508); -x_510 = lean_ctor_get(x_509, 0); -lean_inc_ref(x_510); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - x_511 = x_509; -} else { - lean_dec_ref(x_509); - x_511 = lean_box(0); -} -x_512 = lean_ctor_get(x_510, 0); -lean_inc_ref(x_512); -x_513 = lean_ctor_get(x_510, 2); -lean_inc(x_513); -x_514 = lean_ctor_get(x_510, 3); -lean_inc(x_514); -x_515 = lean_ctor_get(x_510, 4); -lean_inc(x_515); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - lean_ctor_release(x_510, 2); - lean_ctor_release(x_510, 3); - lean_ctor_release(x_510, 4); - x_516 = x_510; -} else { - lean_dec_ref(x_510); - x_516 = lean_box(0); -} -x_517 = l_Lean_Doc_getPositional___redArg___closed__6; -x_518 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_512); -x_519 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_519, 0, x_512); -x_520 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_520, 0, x_512); -x_521 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_521, 0, x_519); -lean_ctor_set(x_521, 1, x_520); -x_522 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_522, 0, x_515); -x_523 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_523, 0, x_514); -x_524 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_524, 0, x_513); -if (lean_is_scalar(x_516)) { - x_525 = lean_alloc_ctor(0, 5, 0); -} else { - x_525 = x_516; -} -lean_ctor_set(x_525, 0, x_521); -lean_ctor_set(x_525, 1, x_517); -lean_ctor_set(x_525, 2, x_524); -lean_ctor_set(x_525, 3, x_523); -lean_ctor_set(x_525, 4, x_522); -if (lean_is_scalar(x_511)) { - x_526 = lean_alloc_ctor(0, 2, 0); -} else { - x_526 = x_511; -} -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_518); -x_527 = l_ReaderT_instMonad___redArg(x_526); -x_528 = l_ReaderT_instMonad___redArg(x_527); -lean_inc_ref(x_528); -x_529 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_529, 0, x_528); -lean_inc_ref(x_528); -x_530 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_530, 0, x_528); -lean_inc_ref(x_528); -x_531 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_531, 0, x_528); -lean_inc_ref(x_528); -x_532 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_532, 0, x_528); -lean_inc_ref(x_528); -x_533 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_533, 0, lean_box(0)); -lean_closure_set(x_533, 1, lean_box(0)); -lean_closure_set(x_533, 2, x_528); -x_534 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_529); -lean_inc_ref(x_528); -x_535 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_535, 0, lean_box(0)); -lean_closure_set(x_535, 1, lean_box(0)); -lean_closure_set(x_535, 2, x_528); -x_536 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_536, 0, x_534); -lean_ctor_set(x_536, 1, x_535); -lean_ctor_set(x_536, 2, x_530); -lean_ctor_set(x_536, 3, x_531); -lean_ctor_set(x_536, 4, x_532); -x_537 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_537, 0, lean_box(0)); -lean_closure_set(x_537, 1, lean_box(0)); -lean_closure_set(x_537, 2, x_528); -x_538 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_538, 0, x_536); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_erase_macro_scopes(x_2); -x_540 = lean_unsigned_to_nat(0u); -x_541 = lean_array_get_size(x_4); -x_542 = lean_unsigned_to_nat(1u); -lean_inc(x_541); -x_543 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_543, 0, x_540); -lean_ctor_set(x_543, 1, x_541); -lean_ctor_set(x_543, 2, x_542); -x_544 = lean_box(0); -x_545 = l_Lean_Doc_getPositional___redArg___closed__33; +lean_ctor_set(x_536, 0, x_519); +lean_ctor_set(x_536, 1, x_532); +lean_ctor_set(x_536, 2, x_535); +x_537 = lean_unsigned_to_nat(0u); +x_538 = lean_array_get_size(x_3); +x_539 = lean_unsigned_to_nat(1u); +lean_inc(x_538); +x_540 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_540, 0, x_537); +lean_ctor_set(x_540, 1, x_538); +lean_ctor_set(x_540, 2, x_539); +x_541 = lean_box(0); +x_542 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_543 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_543, 0, x_3); +lean_closure_set(x_543, 1, x_542); +lean_closure_set(x_543, 2, x_537); +lean_closure_set(x_543, 3, x_1); +lean_closure_set(x_543, 4, x_539); +lean_closure_set(x_543, 5, x_538); +lean_closure_set(x_543, 6, x_541); +lean_inc_ref(x_515); +x_544 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_515, x_540, x_543, x_542, x_537, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc_ref(x_4); -x_546 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 21, 8); -lean_closure_set(x_546, 0, x_4); -lean_closure_set(x_546, 1, x_545); -lean_closure_set(x_546, 2, x_539); -lean_closure_set(x_546, 3, x_1); -lean_closure_set(x_546, 4, x_540); -lean_closure_set(x_546, 5, x_542); -lean_closure_set(x_546, 6, x_541); -lean_closure_set(x_546, 7, x_544); -x_547 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_538, x_543, x_546, x_545, x_540, lean_box(0), lean_box(0)); -x_548 = lean_apply_10(x_547, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_545 = lean_apply_11(x_544, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_545) == 0) +{ +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_546 = lean_ctor_get(x_545, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_546, 0); +lean_inc(x_547); +x_548 = lean_ctor_get(x_547, 0); +lean_inc(x_548); +if (lean_is_exclusive(x_547)) { + lean_ctor_release(x_547, 0); + lean_ctor_release(x_547, 1); + x_549 = x_547; +} else { + lean_dec_ref(x_547); + x_549 = lean_box(0); +} if (lean_obj_tag(x_548) == 0) { -lean_object* x_549; lean_object* x_550; lean_object* x_551; -x_549 = lean_ctor_get(x_548, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_549, 0); -x_551 = lean_ctor_get(x_550, 0); -if (lean_obj_tag(x_551) == 0) -{ -lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -x_552 = lean_ctor_get(x_548, 1); -lean_inc(x_552); -if (lean_is_exclusive(x_548)) { - lean_ctor_release(x_548, 0); - lean_ctor_release(x_548, 1); - x_553 = x_548; +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; +x_550 = lean_ctor_get(x_545, 1); +lean_inc(x_550); +lean_dec_ref(x_545); +x_551 = lean_ctor_get(x_546, 1); +lean_inc(x_551); +lean_dec(x_546); +x_552 = l_Lean_Doc_getPositional___redArg___closed__38; +x_553 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_549)) { + x_554 = lean_alloc_ctor(7, 2, 0); } else { - lean_dec_ref(x_548); - x_553 = lean_box(0); + x_554 = x_549; + lean_ctor_set_tag(x_554, 7); } -x_554 = lean_ctor_get(x_549, 1); -lean_inc(x_554); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_555 = x_549; -} else { - lean_dec_ref(x_549); - x_555 = lean_box(0); -} -if (lean_is_scalar(x_555)) { - x_556 = lean_alloc_ctor(0, 2, 0); -} else { - x_556 = x_555; -} -lean_ctor_set(x_556, 0, x_3); -lean_ctor_set(x_556, 1, x_554); -if (lean_is_scalar(x_553)) { - x_557 = lean_alloc_ctor(0, 2, 0); -} else { - x_557 = x_553; -} -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_552); -return x_557; +lean_ctor_set(x_554, 0, x_552); +lean_ctor_set(x_554, 1, x_553); +x_555 = l_Lean_Doc_getPositional___redArg___closed__40; +x_556 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_556, 0, x_554); +lean_ctor_set(x_556, 1, x_555); +x_557 = l_Lean_throwError___redArg(x_515, x_536, x_556); +x_558 = lean_apply_11(x_557, x_551, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_550); +return x_558; } else { -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -lean_inc_ref(x_551); -lean_dec(x_3); -x_558 = lean_ctor_get(x_548, 1); -lean_inc(x_558); -if (lean_is_exclusive(x_548)) { - lean_ctor_release(x_548, 0); - lean_ctor_release(x_548, 1); - x_559 = x_548; +lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +lean_dec(x_549); +lean_dec_ref(x_536); +lean_dec_ref(x_515); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_559 = lean_ctor_get(x_545, 1); +lean_inc(x_559); +if (lean_is_exclusive(x_545)) { + lean_ctor_release(x_545, 0); + lean_ctor_release(x_545, 1); + x_560 = x_545; } else { - lean_dec_ref(x_548); - x_559 = lean_box(0); + lean_dec_ref(x_545); + x_560 = lean_box(0); } -x_560 = lean_ctor_get(x_549, 1); -lean_inc(x_560); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_561 = x_549; +x_561 = lean_ctor_get(x_546, 1); +lean_inc(x_561); +if (lean_is_exclusive(x_546)) { + lean_ctor_release(x_546, 0); + lean_ctor_release(x_546, 1); + x_562 = x_546; } else { - lean_dec_ref(x_549); - x_561 = lean_box(0); + lean_dec_ref(x_546); + x_562 = lean_box(0); } -x_562 = lean_ctor_get(x_551, 0); -lean_inc(x_562); -lean_dec_ref(x_551); -if (lean_is_scalar(x_561)) { - x_563 = lean_alloc_ctor(0, 2, 0); -} else { - x_563 = x_561; -} -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_560); -if (lean_is_scalar(x_559)) { +x_563 = lean_ctor_get(x_548, 0); +lean_inc(x_563); +lean_dec_ref(x_548); +if (lean_is_scalar(x_562)) { x_564 = lean_alloc_ctor(0, 2, 0); } else { - x_564 = x_559; + x_564 = x_562; } lean_ctor_set(x_564, 0, x_563); -lean_ctor_set(x_564, 1, x_558); -return x_564; +lean_ctor_set(x_564, 1, x_561); +if (lean_is_scalar(x_560)) { + x_565 = lean_alloc_ctor(0, 2, 0); +} else { + x_565 = x_560; +} +lean_ctor_set(x_565, 0, x_564); +lean_ctor_set(x_565, 1, x_559); +return x_565; } } else { -lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; -lean_dec(x_3); -x_565 = lean_ctor_get(x_548, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_548, 1); +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; +lean_dec_ref(x_536); +lean_dec_ref(x_515); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_566 = lean_ctor_get(x_545, 0); lean_inc(x_566); -if (lean_is_exclusive(x_548)) { - lean_ctor_release(x_548, 0); - lean_ctor_release(x_548, 1); - x_567 = x_548; +x_567 = lean_ctor_get(x_545, 1); +lean_inc(x_567); +if (lean_is_exclusive(x_545)) { + lean_ctor_release(x_545, 0); + lean_ctor_release(x_545, 1); + x_568 = x_545; } else { - lean_dec_ref(x_548); - x_567 = lean_box(0); + lean_dec_ref(x_545); + x_568 = lean_box(0); } -if (lean_is_scalar(x_567)) { - x_568 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_568)) { + x_569 = lean_alloc_ctor(1, 2, 0); } else { - x_568 = x_567; + x_569 = x_568; } -lean_ctor_set(x_568, 0, x_565); -lean_ctor_set(x_568, 1, x_566); -return x_568; +lean_ctor_set(x_569, 0, x_566); +lean_ctor_set(x_569, 1, x_567); +return x_569; +} +} +} +else +{ +lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_570 = lean_ctor_get(x_16, 0); +x_571 = lean_ctor_get(x_16, 2); +x_572 = lean_ctor_get(x_16, 3); +x_573 = lean_ctor_get(x_16, 4); +lean_inc(x_573); +lean_inc(x_572); +lean_inc(x_571); +lean_inc(x_570); +lean_dec(x_16); +x_574 = l_Lean_Doc_getPositional___redArg___closed__2; +x_575 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_570); +x_576 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_576, 0, x_570); +x_577 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_577, 0, x_570); +x_578 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_578, 0, x_576); +lean_ctor_set(x_578, 1, x_577); +x_579 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_579, 0, x_573); +x_580 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_580, 0, x_572); +x_581 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_581, 0, x_571); +x_582 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_582, 0, x_578); +lean_ctor_set(x_582, 1, x_574); +lean_ctor_set(x_582, 2, x_581); +lean_ctor_set(x_582, 3, x_580); +lean_ctor_set(x_582, 4, x_579); +lean_ctor_set(x_14, 1, x_575); +lean_ctor_set(x_14, 0, x_582); +x_583 = l_ReaderT_instMonad___redArg(x_14); +x_584 = lean_ctor_get(x_583, 0); +lean_inc_ref(x_584); +if (lean_is_exclusive(x_583)) { + lean_ctor_release(x_583, 0); + lean_ctor_release(x_583, 1); + x_585 = x_583; +} else { + lean_dec_ref(x_583); + x_585 = lean_box(0); +} +x_586 = lean_ctor_get(x_584, 0); +lean_inc_ref(x_586); +x_587 = lean_ctor_get(x_584, 2); +lean_inc(x_587); +x_588 = lean_ctor_get(x_584, 3); +lean_inc(x_588); +x_589 = lean_ctor_get(x_584, 4); +lean_inc(x_589); +if (lean_is_exclusive(x_584)) { + lean_ctor_release(x_584, 0); + lean_ctor_release(x_584, 1); + lean_ctor_release(x_584, 2); + lean_ctor_release(x_584, 3); + lean_ctor_release(x_584, 4); + x_590 = x_584; +} else { + lean_dec_ref(x_584); + x_590 = lean_box(0); +} +x_591 = l_Lean_Doc_getPositional___redArg___closed__4; +x_592 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_586); +x_593 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_593, 0, x_586); +x_594 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_594, 0, x_586); +x_595 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_595, 0, x_593); +lean_ctor_set(x_595, 1, x_594); +x_596 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_596, 0, x_589); +x_597 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_597, 0, x_588); +x_598 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_598, 0, x_587); +if (lean_is_scalar(x_590)) { + x_599 = lean_alloc_ctor(0, 5, 0); +} else { + x_599 = x_590; +} +lean_ctor_set(x_599, 0, x_595); +lean_ctor_set(x_599, 1, x_591); +lean_ctor_set(x_599, 2, x_598); +lean_ctor_set(x_599, 3, x_597); +lean_ctor_set(x_599, 4, x_596); +if (lean_is_scalar(x_585)) { + x_600 = lean_alloc_ctor(0, 2, 0); +} else { + x_600 = x_585; +} +lean_ctor_set(x_600, 0, x_599); +lean_ctor_set(x_600, 1, x_592); +x_601 = l_ReaderT_instMonad___redArg(x_600); +x_602 = lean_ctor_get(x_601, 0); +lean_inc_ref(x_602); +if (lean_is_exclusive(x_601)) { + lean_ctor_release(x_601, 0); + lean_ctor_release(x_601, 1); + x_603 = x_601; +} else { + lean_dec_ref(x_601); + x_603 = lean_box(0); +} +x_604 = lean_ctor_get(x_602, 0); +lean_inc_ref(x_604); +x_605 = lean_ctor_get(x_602, 2); +lean_inc(x_605); +x_606 = lean_ctor_get(x_602, 3); +lean_inc(x_606); +x_607 = lean_ctor_get(x_602, 4); +lean_inc(x_607); +if (lean_is_exclusive(x_602)) { + lean_ctor_release(x_602, 0); + lean_ctor_release(x_602, 1); + lean_ctor_release(x_602, 2); + lean_ctor_release(x_602, 3); + lean_ctor_release(x_602, 4); + x_608 = x_602; +} else { + lean_dec_ref(x_602); + x_608 = lean_box(0); +} +x_609 = l_Lean_Doc_getPositional___redArg___closed__6; +x_610 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_604); +x_611 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_611, 0, x_604); +x_612 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_612, 0, x_604); +x_613 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_613, 0, x_611); +lean_ctor_set(x_613, 1, x_612); +x_614 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_614, 0, x_607); +x_615 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_615, 0, x_606); +x_616 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_616, 0, x_605); +if (lean_is_scalar(x_608)) { + x_617 = lean_alloc_ctor(0, 5, 0); +} else { + x_617 = x_608; +} +lean_ctor_set(x_617, 0, x_613); +lean_ctor_set(x_617, 1, x_609); +lean_ctor_set(x_617, 2, x_616); +lean_ctor_set(x_617, 3, x_615); +lean_ctor_set(x_617, 4, x_614); +if (lean_is_scalar(x_603)) { + x_618 = lean_alloc_ctor(0, 2, 0); +} else { + x_618 = x_603; +} +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_610); +x_619 = l_ReaderT_instMonad___redArg(x_618); +x_620 = l_ReaderT_instMonad___redArg(x_619); +x_621 = l_ReaderT_instMonad___redArg(x_620); +lean_inc_ref(x_621); +x_622 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_622, 0, x_621); +lean_inc_ref(x_621); +x_623 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_623, 0, x_621); +lean_inc_ref(x_621); +x_624 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_624, 0, x_621); +lean_inc_ref(x_621); +x_625 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_625, 0, x_621); +lean_inc_ref(x_621); +x_626 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_626, 0, lean_box(0)); +lean_closure_set(x_626, 1, lean_box(0)); +lean_closure_set(x_626, 2, x_621); +x_627 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_622); +lean_inc_ref(x_621); +x_628 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_628, 0, lean_box(0)); +lean_closure_set(x_628, 1, lean_box(0)); +lean_closure_set(x_628, 2, x_621); +x_629 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_629, 0, x_627); +lean_ctor_set(x_629, 1, x_628); +lean_ctor_set(x_629, 2, x_623); +lean_ctor_set(x_629, 3, x_624); +lean_ctor_set(x_629, 4, x_625); +lean_inc_ref(x_621); +x_630 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_630, 0, lean_box(0)); +lean_closure_set(x_630, 1, lean_box(0)); +lean_closure_set(x_630, 2, x_621); +x_631 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_631, 0, x_629); +lean_ctor_set(x_631, 1, x_630); +x_632 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_621); +x_633 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_633, 0, x_632); +lean_closure_set(x_633, 1, x_621); +x_634 = l_Lean_Doc_getPositional___redArg___closed__29; +x_635 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_635, 0, x_633); +lean_ctor_set(x_635, 1, x_634); +x_636 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_637 = lean_ctor_get(x_636, 0); +lean_inc_ref(x_637); +if (lean_is_exclusive(x_636)) { + lean_ctor_release(x_636, 0); + lean_ctor_release(x_636, 1); + lean_ctor_release(x_636, 2); + x_638 = x_636; +} else { + lean_dec_ref(x_636); + x_638 = lean_box(0); +} +x_639 = l_Lean_Doc_getPositional___redArg___closed__30; +x_640 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_640, 0, lean_box(0)); +lean_closure_set(x_640, 1, lean_box(0)); +lean_closure_set(x_640, 2, x_621); +x_641 = l_Lean_Doc_getPositional___redArg___closed__31; +x_642 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_643 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_644 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_641, x_643, x_637); +x_645 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_641, x_643, x_644); +x_646 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_641, x_642, x_645); +lean_inc_ref(x_640); +x_647 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_639, x_640, x_646); +x_648 = lean_ctor_get(x_647, 0); +lean_inc_ref(x_648); +lean_dec_ref(x_647); +x_649 = l_Lean_Doc_getPositional___redArg___closed__35; +x_650 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_640, x_649); +lean_inc_ref(x_631); +x_651 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_650, x_631); +if (lean_is_scalar(x_638)) { + x_652 = lean_alloc_ctor(0, 3, 0); +} else { + x_652 = x_638; +} +lean_ctor_set(x_652, 0, x_635); +lean_ctor_set(x_652, 1, x_648); +lean_ctor_set(x_652, 2, x_651); +x_653 = lean_unsigned_to_nat(0u); +x_654 = lean_array_get_size(x_3); +x_655 = lean_unsigned_to_nat(1u); +lean_inc(x_654); +x_656 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_656, 0, x_653); +lean_ctor_set(x_656, 1, x_654); +lean_ctor_set(x_656, 2, x_655); +x_657 = lean_box(0); +x_658 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_659 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_659, 0, x_3); +lean_closure_set(x_659, 1, x_658); +lean_closure_set(x_659, 2, x_653); +lean_closure_set(x_659, 3, x_1); +lean_closure_set(x_659, 4, x_655); +lean_closure_set(x_659, 5, x_654); +lean_closure_set(x_659, 6, x_657); +lean_inc_ref(x_631); +x_660 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_631, x_656, x_659, x_658, x_653, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_661 = lean_apply_11(x_660, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_661) == 0) +{ +lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; +x_662 = lean_ctor_get(x_661, 0); +lean_inc(x_662); +x_663 = lean_ctor_get(x_662, 0); +lean_inc(x_663); +x_664 = lean_ctor_get(x_663, 0); +lean_inc(x_664); +if (lean_is_exclusive(x_663)) { + lean_ctor_release(x_663, 0); + lean_ctor_release(x_663, 1); + x_665 = x_663; +} else { + lean_dec_ref(x_663); + x_665 = lean_box(0); +} +if (lean_obj_tag(x_664) == 0) +{ +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_666 = lean_ctor_get(x_661, 1); +lean_inc(x_666); +lean_dec_ref(x_661); +x_667 = lean_ctor_get(x_662, 1); +lean_inc(x_667); +lean_dec(x_662); +x_668 = l_Lean_Doc_getPositional___redArg___closed__38; +x_669 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_665)) { + x_670 = lean_alloc_ctor(7, 2, 0); +} else { + x_670 = x_665; + lean_ctor_set_tag(x_670, 7); +} +lean_ctor_set(x_670, 0, x_668); +lean_ctor_set(x_670, 1, x_669); +x_671 = l_Lean_Doc_getPositional___redArg___closed__40; +x_672 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_672, 0, x_670); +lean_ctor_set(x_672, 1, x_671); +x_673 = l_Lean_throwError___redArg(x_631, x_652, x_672); +x_674 = lean_apply_11(x_673, x_667, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_666); +return x_674; +} +else +{ +lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; +lean_dec(x_665); +lean_dec_ref(x_652); +lean_dec_ref(x_631); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_675 = lean_ctor_get(x_661, 1); +lean_inc(x_675); +if (lean_is_exclusive(x_661)) { + lean_ctor_release(x_661, 0); + lean_ctor_release(x_661, 1); + x_676 = x_661; +} else { + lean_dec_ref(x_661); + x_676 = lean_box(0); +} +x_677 = lean_ctor_get(x_662, 1); +lean_inc(x_677); +if (lean_is_exclusive(x_662)) { + lean_ctor_release(x_662, 0); + lean_ctor_release(x_662, 1); + x_678 = x_662; +} else { + lean_dec_ref(x_662); + x_678 = lean_box(0); +} +x_679 = lean_ctor_get(x_664, 0); +lean_inc(x_679); +lean_dec_ref(x_664); +if (lean_is_scalar(x_678)) { + x_680 = lean_alloc_ctor(0, 2, 0); +} else { + x_680 = x_678; +} +lean_ctor_set(x_680, 0, x_679); +lean_ctor_set(x_680, 1, x_677); +if (lean_is_scalar(x_676)) { + x_681 = lean_alloc_ctor(0, 2, 0); +} else { + x_681 = x_676; +} +lean_ctor_set(x_681, 0, x_680); +lean_ctor_set(x_681, 1, x_675); +return x_681; +} +} +else +{ +lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; +lean_dec_ref(x_652); +lean_dec_ref(x_631); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_682 = lean_ctor_get(x_661, 0); +lean_inc(x_682); +x_683 = lean_ctor_get(x_661, 1); +lean_inc(x_683); +if (lean_is_exclusive(x_661)) { + lean_ctor_release(x_661, 0); + lean_ctor_release(x_661, 1); + x_684 = x_661; +} else { + lean_dec_ref(x_661); + x_684 = lean_box(0); +} +if (lean_is_scalar(x_684)) { + x_685 = lean_alloc_ctor(1, 2, 0); +} else { + x_685 = x_684; +} +lean_ctor_set(x_685, 0, x_682); +lean_ctor_set(x_685, 1, x_683); +return x_685; +} +} +} +else +{ +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; +x_686 = lean_ctor_get(x_14, 0); +lean_inc(x_686); +lean_dec(x_14); +x_687 = lean_ctor_get(x_686, 0); +lean_inc_ref(x_687); +x_688 = lean_ctor_get(x_686, 2); +lean_inc(x_688); +x_689 = lean_ctor_get(x_686, 3); +lean_inc(x_689); +x_690 = lean_ctor_get(x_686, 4); +lean_inc(x_690); +if (lean_is_exclusive(x_686)) { + lean_ctor_release(x_686, 0); + lean_ctor_release(x_686, 1); + lean_ctor_release(x_686, 2); + lean_ctor_release(x_686, 3); + lean_ctor_release(x_686, 4); + x_691 = x_686; +} else { + lean_dec_ref(x_686); + x_691 = lean_box(0); +} +x_692 = l_Lean_Doc_getPositional___redArg___closed__2; +x_693 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_687); +x_694 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_694, 0, x_687); +x_695 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_695, 0, x_687); +x_696 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_696, 0, x_694); +lean_ctor_set(x_696, 1, x_695); +x_697 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_697, 0, x_690); +x_698 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_698, 0, x_689); +x_699 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_699, 0, x_688); +if (lean_is_scalar(x_691)) { + x_700 = lean_alloc_ctor(0, 5, 0); +} else { + x_700 = x_691; +} +lean_ctor_set(x_700, 0, x_696); +lean_ctor_set(x_700, 1, x_692); +lean_ctor_set(x_700, 2, x_699); +lean_ctor_set(x_700, 3, x_698); +lean_ctor_set(x_700, 4, x_697); +x_701 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_701, 0, x_700); +lean_ctor_set(x_701, 1, x_693); +x_702 = l_ReaderT_instMonad___redArg(x_701); +x_703 = lean_ctor_get(x_702, 0); +lean_inc_ref(x_703); +if (lean_is_exclusive(x_702)) { + lean_ctor_release(x_702, 0); + lean_ctor_release(x_702, 1); + x_704 = x_702; +} else { + lean_dec_ref(x_702); + x_704 = lean_box(0); +} +x_705 = lean_ctor_get(x_703, 0); +lean_inc_ref(x_705); +x_706 = lean_ctor_get(x_703, 2); +lean_inc(x_706); +x_707 = lean_ctor_get(x_703, 3); +lean_inc(x_707); +x_708 = lean_ctor_get(x_703, 4); +lean_inc(x_708); +if (lean_is_exclusive(x_703)) { + lean_ctor_release(x_703, 0); + lean_ctor_release(x_703, 1); + lean_ctor_release(x_703, 2); + lean_ctor_release(x_703, 3); + lean_ctor_release(x_703, 4); + x_709 = x_703; +} else { + lean_dec_ref(x_703); + x_709 = lean_box(0); +} +x_710 = l_Lean_Doc_getPositional___redArg___closed__4; +x_711 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_705); +x_712 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_712, 0, x_705); +x_713 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_713, 0, x_705); +x_714 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_714, 0, x_712); +lean_ctor_set(x_714, 1, x_713); +x_715 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_715, 0, x_708); +x_716 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_716, 0, x_707); +x_717 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_717, 0, x_706); +if (lean_is_scalar(x_709)) { + x_718 = lean_alloc_ctor(0, 5, 0); +} else { + x_718 = x_709; +} +lean_ctor_set(x_718, 0, x_714); +lean_ctor_set(x_718, 1, x_710); +lean_ctor_set(x_718, 2, x_717); +lean_ctor_set(x_718, 3, x_716); +lean_ctor_set(x_718, 4, x_715); +if (lean_is_scalar(x_704)) { + x_719 = lean_alloc_ctor(0, 2, 0); +} else { + x_719 = x_704; +} +lean_ctor_set(x_719, 0, x_718); +lean_ctor_set(x_719, 1, x_711); +x_720 = l_ReaderT_instMonad___redArg(x_719); +x_721 = lean_ctor_get(x_720, 0); +lean_inc_ref(x_721); +if (lean_is_exclusive(x_720)) { + lean_ctor_release(x_720, 0); + lean_ctor_release(x_720, 1); + x_722 = x_720; +} else { + lean_dec_ref(x_720); + x_722 = lean_box(0); +} +x_723 = lean_ctor_get(x_721, 0); +lean_inc_ref(x_723); +x_724 = lean_ctor_get(x_721, 2); +lean_inc(x_724); +x_725 = lean_ctor_get(x_721, 3); +lean_inc(x_725); +x_726 = lean_ctor_get(x_721, 4); +lean_inc(x_726); +if (lean_is_exclusive(x_721)) { + lean_ctor_release(x_721, 0); + lean_ctor_release(x_721, 1); + lean_ctor_release(x_721, 2); + lean_ctor_release(x_721, 3); + lean_ctor_release(x_721, 4); + x_727 = x_721; +} else { + lean_dec_ref(x_721); + x_727 = lean_box(0); +} +x_728 = l_Lean_Doc_getPositional___redArg___closed__6; +x_729 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_723); +x_730 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_730, 0, x_723); +x_731 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_731, 0, x_723); +x_732 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_732, 0, x_730); +lean_ctor_set(x_732, 1, x_731); +x_733 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_733, 0, x_726); +x_734 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_734, 0, x_725); +x_735 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_735, 0, x_724); +if (lean_is_scalar(x_727)) { + x_736 = lean_alloc_ctor(0, 5, 0); +} else { + x_736 = x_727; +} +lean_ctor_set(x_736, 0, x_732); +lean_ctor_set(x_736, 1, x_728); +lean_ctor_set(x_736, 2, x_735); +lean_ctor_set(x_736, 3, x_734); +lean_ctor_set(x_736, 4, x_733); +if (lean_is_scalar(x_722)) { + x_737 = lean_alloc_ctor(0, 2, 0); +} else { + x_737 = x_722; +} +lean_ctor_set(x_737, 0, x_736); +lean_ctor_set(x_737, 1, x_729); +x_738 = l_ReaderT_instMonad___redArg(x_737); +x_739 = l_ReaderT_instMonad___redArg(x_738); +x_740 = l_ReaderT_instMonad___redArg(x_739); +lean_inc_ref(x_740); +x_741 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_741, 0, x_740); +lean_inc_ref(x_740); +x_742 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_742, 0, x_740); +lean_inc_ref(x_740); +x_743 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_743, 0, x_740); +lean_inc_ref(x_740); +x_744 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_744, 0, x_740); +lean_inc_ref(x_740); +x_745 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_745, 0, lean_box(0)); +lean_closure_set(x_745, 1, lean_box(0)); +lean_closure_set(x_745, 2, x_740); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_745); +lean_ctor_set(x_746, 1, x_741); +lean_inc_ref(x_740); +x_747 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_747, 0, lean_box(0)); +lean_closure_set(x_747, 1, lean_box(0)); +lean_closure_set(x_747, 2, x_740); +x_748 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_748, 0, x_746); +lean_ctor_set(x_748, 1, x_747); +lean_ctor_set(x_748, 2, x_742); +lean_ctor_set(x_748, 3, x_743); +lean_ctor_set(x_748, 4, x_744); +lean_inc_ref(x_740); +x_749 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_749, 0, lean_box(0)); +lean_closure_set(x_749, 1, lean_box(0)); +lean_closure_set(x_749, 2, x_740); +x_750 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_750, 0, x_748); +lean_ctor_set(x_750, 1, x_749); +x_751 = l_Lean_Doc_getPositional___redArg___closed__28; +lean_inc_ref(x_740); +x_752 = lean_alloc_closure((void*)(l_StateT_instMonadExceptOf___redArg___lam__1), 5, 2); +lean_closure_set(x_752, 0, x_751); +lean_closure_set(x_752, 1, x_740); +x_753 = l_Lean_Doc_getPositional___redArg___closed__29; +x_754 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_754, 0, x_752); +lean_ctor_set(x_754, 1, x_753); +x_755 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +x_756 = lean_ctor_get(x_755, 0); +lean_inc_ref(x_756); +if (lean_is_exclusive(x_755)) { + lean_ctor_release(x_755, 0); + lean_ctor_release(x_755, 1); + lean_ctor_release(x_755, 2); + x_757 = x_755; +} else { + lean_dec_ref(x_755); + x_757 = lean_box(0); +} +x_758 = l_Lean_Doc_getPositional___redArg___closed__30; +x_759 = lean_alloc_closure((void*)(l_StateT_lift), 6, 3); +lean_closure_set(x_759, 0, lean_box(0)); +lean_closure_set(x_759, 1, lean_box(0)); +lean_closure_set(x_759, 2, x_740); +x_760 = l_Lean_Doc_getPositional___redArg___closed__31; +x_761 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1; +x_762 = l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0; +x_763 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_760, x_762, x_756); +x_764 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_760, x_762, x_763); +x_765 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_760, x_761, x_764); +lean_inc_ref(x_759); +x_766 = l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___redArg(x_758, x_759, x_765); +x_767 = lean_ctor_get(x_766, 0); +lean_inc_ref(x_767); +lean_dec_ref(x_766); +x_768 = l_Lean_Doc_getPositional___redArg___closed__35; +x_769 = l_Lean_instAddMessageContextOfMonadLift___redArg(x_759, x_768); +lean_inc_ref(x_750); +x_770 = l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___redArg(x_769, x_750); +if (lean_is_scalar(x_757)) { + x_771 = lean_alloc_ctor(0, 3, 0); +} else { + x_771 = x_757; +} +lean_ctor_set(x_771, 0, x_754); +lean_ctor_set(x_771, 1, x_767); +lean_ctor_set(x_771, 2, x_770); +x_772 = lean_unsigned_to_nat(0u); +x_773 = lean_array_get_size(x_3); +x_774 = lean_unsigned_to_nat(1u); +lean_inc(x_773); +x_775 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_775, 0, x_772); +lean_ctor_set(x_775, 1, x_773); +lean_ctor_set(x_775, 2, x_774); +x_776 = lean_box(0); +x_777 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_3); +x_778 = lean_alloc_closure((void*)(l_Lean_Doc_getPositional___redArg___lam__0___boxed), 21, 7); +lean_closure_set(x_778, 0, x_3); +lean_closure_set(x_778, 1, x_777); +lean_closure_set(x_778, 2, x_772); +lean_closure_set(x_778, 3, x_1); +lean_closure_set(x_778, 4, x_774); +lean_closure_set(x_778, 5, x_773); +lean_closure_set(x_778, 6, x_776); +lean_inc_ref(x_750); +x_779 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_750, x_775, x_778, x_777, x_772, lean_box(0), lean_box(0)); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_780 = lean_apply_11(x_779, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_780) == 0) +{ +lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; +x_781 = lean_ctor_get(x_780, 0); +lean_inc(x_781); +x_782 = lean_ctor_get(x_781, 0); +lean_inc(x_782); +x_783 = lean_ctor_get(x_782, 0); +lean_inc(x_783); +if (lean_is_exclusive(x_782)) { + lean_ctor_release(x_782, 0); + lean_ctor_release(x_782, 1); + x_784 = x_782; +} else { + lean_dec_ref(x_782); + x_784 = lean_box(0); +} +if (lean_obj_tag(x_783) == 0) +{ +lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; +x_785 = lean_ctor_get(x_780, 1); +lean_inc(x_785); +lean_dec_ref(x_780); +x_786 = lean_ctor_get(x_781, 1); +lean_inc(x_786); +lean_dec(x_781); +x_787 = l_Lean_Doc_getPositional___redArg___closed__38; +x_788 = l_Lean_MessageData_ofName(x_2); +if (lean_is_scalar(x_784)) { + x_789 = lean_alloc_ctor(7, 2, 0); +} else { + x_789 = x_784; + lean_ctor_set_tag(x_789, 7); +} +lean_ctor_set(x_789, 0, x_787); +lean_ctor_set(x_789, 1, x_788); +x_790 = l_Lean_Doc_getPositional___redArg___closed__40; +x_791 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_791, 0, x_789); +lean_ctor_set(x_791, 1, x_790); +x_792 = l_Lean_throwError___redArg(x_750, x_771, x_791); +x_793 = lean_apply_11(x_792, x_786, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_785); +return x_793; +} +else +{ +lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; +lean_dec(x_784); +lean_dec_ref(x_771); +lean_dec_ref(x_750); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_794 = lean_ctor_get(x_780, 1); +lean_inc(x_794); +if (lean_is_exclusive(x_780)) { + lean_ctor_release(x_780, 0); + lean_ctor_release(x_780, 1); + x_795 = x_780; +} else { + lean_dec_ref(x_780); + x_795 = lean_box(0); +} +x_796 = lean_ctor_get(x_781, 1); +lean_inc(x_796); +if (lean_is_exclusive(x_781)) { + lean_ctor_release(x_781, 0); + lean_ctor_release(x_781, 1); + x_797 = x_781; +} else { + lean_dec_ref(x_781); + x_797 = lean_box(0); +} +x_798 = lean_ctor_get(x_783, 0); +lean_inc(x_798); +lean_dec_ref(x_783); +if (lean_is_scalar(x_797)) { + x_799 = lean_alloc_ctor(0, 2, 0); +} else { + x_799 = x_797; +} +lean_ctor_set(x_799, 0, x_798); +lean_ctor_set(x_799, 1, x_796); +if (lean_is_scalar(x_795)) { + x_800 = lean_alloc_ctor(0, 2, 0); +} else { + x_800 = x_795; +} +lean_ctor_set(x_800, 0, x_799); +lean_ctor_set(x_800, 1, x_794); +return x_800; +} +} +else +{ +lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_dec_ref(x_771); +lean_dec_ref(x_750); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_801 = lean_ctor_get(x_780, 0); +lean_inc(x_801); +x_802 = lean_ctor_get(x_780, 1); +lean_inc(x_802); +if (lean_is_exclusive(x_780)) { + lean_ctor_release(x_780, 0); + lean_ctor_release(x_780, 1); + x_803 = x_780; +} else { + lean_dec_ref(x_780); + x_803 = lean_box(0); +} +if (lean_is_scalar(x_803)) { + x_804 = lean_alloc_ctor(1, 2, 0); +} else { + x_804 = x_803; +} +lean_ctor_set(x_804, 0, x_801); +lean_ctor_set(x_804, 1, x_802); +return x_804; } } } } -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Doc_getNamed___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Doc_getPositional___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___redArg___lam__0___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -20468,450 +18000,3313 @@ lean_object* x_21 = _args[20]; _start: { lean_object* x_22; -x_22 = l_Lean_Doc_getNamed___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +x_22 = l_Lean_Doc_getPositional___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); lean_dec(x_14); lean_dec(x_13); -lean_dec_ref(x_11); -lean_dec(x_6); -lean_dec(x_3); +lean_dec_ref(x_12); +lean_dec_ref(x_10); +lean_dec(x_5); return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0() { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_26; -x_15 = lean_ctor_get(x_4, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_4, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_17 = x_4; -} else { - lean_dec_ref(x_4); - x_17 = lean_box(0); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("named_no_paren", 14, 14); +return x_1; } -lean_inc(x_2); -x_26 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_2); -if (lean_obj_tag(x_26) == 0) +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1() { +_start: { -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_18 = x_5; -x_19 = x_14; -goto block_25; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0; +x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("named", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__2; +x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = lean_box(0); +return x_6; } else { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_unsigned_to_nat(1u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_8); +x_10 = l_Lean_Syntax_isOfKind(x_8, x_9); +if (x_10 == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_26, 0); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -x_32 = l_Lean_TSyntax_getId(x_30); -lean_dec(x_30); -x_33 = lean_erase_macro_scopes(x_32); -x_34 = lean_name_eq(x_33, x_1); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_free_object(x_28); -lean_dec(x_31); -lean_free_object(x_26); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_18 = x_5; -x_19 = x_14; -goto block_25; +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_1); +x_11 = lean_box(0); +return x_11; } else { -lean_object* x_35; lean_object* x_36; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +lean_dec(x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_17); +x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_dec(x_17); -lean_dec(x_2); -x_35 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_35, 0, x_31); -x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_array_push(x_16, x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_15); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_26, 0, x_40); -lean_ctor_set(x_28, 1, x_5); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_36, 0, x_28); -return x_36; +lean_dec(x_1); +x_20 = lean_box(0); +return x_20; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_array_push(x_16, x_41); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_15); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_26, 0, x_44); -lean_ctor_set(x_28, 1, x_5); -lean_ctor_set(x_28, 0, x_26); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_28); -lean_ctor_set(x_45, 1, x_42); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_free_object(x_28); -lean_free_object(x_26); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_5); -x_46 = !lean_is_exclusive(x_36); -if (x_46 == 0) -{ -return x_36; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_36, 0); -x_48 = lean_ctor_get(x_36, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_36); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_28, 0); -x_51 = lean_ctor_get(x_28, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_28); -x_52 = l_Lean_TSyntax_getId(x_50); -lean_dec(x_50); -x_53 = lean_erase_macro_scopes(x_52); -x_54 = lean_name_eq(x_53, x_1); -lean_dec(x_53); -if (x_54 == 0) -{ -lean_dec(x_51); -lean_free_object(x_26); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_18 = x_5; -x_19 = x_14; -goto block_25; -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_17); -lean_dec(x_2); -x_55 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_55, 0, x_51); -x_56 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_55, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_59 = x_56; -} else { - lean_dec_ref(x_56); - x_59 = lean_box(0); -} -x_60 = lean_array_push(x_16, x_57); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_15); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_26, 0, x_61); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_26); -lean_ctor_set(x_62, 1, x_5); -if (lean_is_scalar(x_59)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_59; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_58); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_free_object(x_26); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_5); -x_64 = lean_ctor_get(x_56, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_56, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_66 = x_56; -} else { - lean_dec_ref(x_56); - x_66 = lean_box(0); -} -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(1, 2, 0); -} else { - x_67 = x_66; -} -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_65); -return x_67; -} -} -} -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_68 = lean_ctor_get(x_26, 0); -lean_inc(x_68); -lean_dec(x_26); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_71 = x_68; -} else { - lean_dec_ref(x_68); - x_71 = lean_box(0); -} -x_72 = l_Lean_TSyntax_getId(x_69); -lean_dec(x_69); -x_73 = lean_erase_macro_scopes(x_72); -x_74 = lean_name_eq(x_73, x_1); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_dec(x_71); -lean_dec(x_70); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_18 = x_5; -x_19 = x_14; -goto block_25; -} -else -{ -lean_object* x_75; lean_object* x_76; -lean_dec(x_17); -lean_dec(x_2); -x_75 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); -lean_closure_set(x_75, 0, x_70); -x_76 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_79 = x_76; -} else { - lean_dec_ref(x_76); - x_79 = lean_box(0); -} -x_80 = lean_array_push(x_16, x_77); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_15); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_81); -if (lean_is_scalar(x_71)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_71; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_5); -if (lean_is_scalar(x_79)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_79; -} -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_78); -return x_84; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_71); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_5); -x_85 = lean_ctor_get(x_76, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_76, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_87 = x_76; -} else { - lean_dec_ref(x_76); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -} -} -block_25: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_array_push(x_15, x_2); -if (lean_is_scalar(x_17)) { - x_21 = lean_alloc_ctor(0, 2, 0); -} else { - x_21 = x_17; -} -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_16); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_unsigned_to_nat(2u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +lean_dec(x_1); x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_18); -x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_19); return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_apply_1(x_1, x_2); -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_3); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -uint8_t x_22; -lean_dec_ref(x_3); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) -{ -return x_14; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); +lean_object* x_23; lean_object* x_24; +x_23 = lean_array_fget_borrowed(x_1, x_9); lean_inc(x_23); +x_24 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_2); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_12); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_24, 0); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +x_33 = l_Lean_TSyntax_getId(x_31); +lean_dec(x_31); +x_34 = lean_erase_macro_scopes(x_33); +x_35 = lean_name_eq(x_34, x_3); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_32); +lean_free_object(x_24); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_2); +lean_ctor_set(x_29, 1, x_12); +lean_ctor_set(x_29, 0, x_36); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_22); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec_ref(x_12); +lean_dec_ref(x_2); +x_38 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_38, 0, x_32); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_apply_1(x_4, x_40); +x_43 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_42, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_41); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_9); +lean_inc_ref(x_1); +x_46 = l_Array_toSubarray___redArg(x_1, x_5, x_9); +x_47 = l_Array_ofSubarray___redArg(x_46); +lean_dec_ref(x_46); +x_48 = lean_nat_add(x_9, x_6); +lean_dec(x_9); +x_49 = l_Array_toSubarray___redArg(x_1, x_48, x_7); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = l_Array_append___redArg(x_47, x_50); +lean_dec_ref(x_50); +lean_ctor_set(x_24, 0, x_45); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_24); +lean_ctor_set(x_52, 1, x_8); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_29, 1, x_51); +lean_ctor_set(x_29, 0, x_53); +lean_ctor_set(x_43, 0, x_29); +return x_43; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_54 = lean_ctor_get(x_43, 0); +x_55 = lean_ctor_get(x_43, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_43); +lean_inc(x_9); +lean_inc_ref(x_1); +x_56 = l_Array_toSubarray___redArg(x_1, x_5, x_9); +x_57 = l_Array_ofSubarray___redArg(x_56); +lean_dec_ref(x_56); +x_58 = lean_nat_add(x_9, x_6); +lean_dec(x_9); +x_59 = l_Array_toSubarray___redArg(x_1, x_58, x_7); +x_60 = l_Array_ofSubarray___redArg(x_59); +lean_dec_ref(x_59); +x_61 = l_Array_append___redArg(x_57, x_60); +lean_dec_ref(x_60); +lean_ctor_set(x_24, 0, x_54); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_24); +lean_ctor_set(x_62, 1, x_8); +x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_29, 1, x_61); +lean_ctor_set(x_29, 0, x_63); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_29); +lean_ctor_set(x_64, 1, x_55); +return x_64; +} +} +else +{ +uint8_t x_65; +lean_free_object(x_29); +lean_free_object(x_24); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_1); +x_65 = !lean_is_exclusive(x_43); +if (x_65 == 0) +{ +return x_43; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_43, 0); +x_67 = lean_ctor_get(x_43, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_43); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_free_object(x_29); +lean_free_object(x_24); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_69 = !lean_is_exclusive(x_39); +if (x_69 == 0) +{ +return x_39; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_39, 0); +x_71 = lean_ctor_get(x_39, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_39); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_73 = lean_ctor_get(x_29, 0); +x_74 = lean_ctor_get(x_29, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_29); +x_75 = l_Lean_TSyntax_getId(x_73); +lean_dec(x_73); +x_76 = lean_erase_macro_scopes(x_75); +x_77 = lean_name_eq(x_76, x_3); +lean_dec(x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_74); +lean_free_object(x_24); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_2); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_12); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_22); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; +lean_dec_ref(x_12); +lean_dec_ref(x_2); +x_81 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_81, 0, x_74); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_82 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_81, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec_ref(x_82); +x_85 = lean_apply_1(x_4, x_83); +x_86 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_85, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_84); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_89 = x_86; +} else { + lean_dec_ref(x_86); + x_89 = lean_box(0); +} +lean_inc(x_9); +lean_inc_ref(x_1); +x_90 = l_Array_toSubarray___redArg(x_1, x_5, x_9); +x_91 = l_Array_ofSubarray___redArg(x_90); +lean_dec_ref(x_90); +x_92 = lean_nat_add(x_9, x_6); +lean_dec(x_9); +x_93 = l_Array_toSubarray___redArg(x_1, x_92, x_7); +x_94 = l_Array_ofSubarray___redArg(x_93); +lean_dec_ref(x_93); +x_95 = l_Array_append___redArg(x_91, x_94); +lean_dec_ref(x_94); +lean_ctor_set(x_24, 0, x_87); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_24); +lean_ctor_set(x_96, 1, x_8); +x_97 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_95); +if (lean_is_scalar(x_89)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_89; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_88); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_free_object(x_24); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_1); +x_100 = lean_ctor_get(x_86, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_86, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_102 = x_86; +} else { + lean_dec_ref(x_86); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_free_object(x_24); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_104 = lean_ctor_get(x_82, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_82, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_106 = x_82; +} else { + lean_dec_ref(x_82); + x_106 = lean_box(0); +} +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +} +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_108 = lean_ctor_get(x_24, 0); +lean_inc(x_108); +lean_dec(x_24); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_111 = x_108; +} else { + lean_dec_ref(x_108); + x_111 = lean_box(0); +} +x_112 = l_Lean_TSyntax_getId(x_109); +lean_dec(x_109); +x_113 = lean_erase_macro_scopes(x_112); +x_114 = lean_name_eq(x_113, x_3); +lean_dec(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_110); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_2); +if (lean_is_scalar(x_111)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_111; +} +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_12); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_22); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; +lean_dec_ref(x_12); +lean_dec_ref(x_2); +x_118 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_118, 0, x_110); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_119 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_118, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec_ref(x_119); +x_122 = lean_apply_1(x_4, x_120); +x_123 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_122, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_121); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_126 = x_123; +} else { + lean_dec_ref(x_123); + x_126 = lean_box(0); +} +lean_inc(x_9); +lean_inc_ref(x_1); +x_127 = l_Array_toSubarray___redArg(x_1, x_5, x_9); +x_128 = l_Array_ofSubarray___redArg(x_127); +lean_dec_ref(x_127); +x_129 = lean_nat_add(x_9, x_6); +lean_dec(x_9); +x_130 = l_Array_toSubarray___redArg(x_1, x_129, x_7); +x_131 = l_Array_ofSubarray___redArg(x_130); +lean_dec_ref(x_130); +x_132 = l_Array_append___redArg(x_128, x_131); +lean_dec_ref(x_131); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_124); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_8); +x_135 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_135, 0, x_134); +if (lean_is_scalar(x_111)) { + x_136 = lean_alloc_ctor(0, 2, 0); +} else { + x_136 = x_111; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_132); +if (lean_is_scalar(x_126)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_126; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_125); +return x_137; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_111); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_1); +x_138 = lean_ctor_get(x_123, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_123, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_140 = x_123; +} else { + lean_dec_ref(x_123); + x_140 = lean_box(0); +} +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); +} else { + x_141 = x_140; +} +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; +} +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_111); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_142 = lean_ctor_get(x_119, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_119, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_144 = x_119; +} else { + lean_dec_ref(x_119); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Doc_getPositional___redArg___closed__1; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_20 = lean_ctor_get(x_17, 0); +x_21 = lean_ctor_get(x_17, 2); +x_22 = lean_ctor_get(x_17, 3); +x_23 = lean_ctor_get(x_17, 4); +x_24 = lean_ctor_get(x_17, 1); +lean_dec(x_24); +x_25 = l_Lean_Doc_getPositional___redArg___closed__2; +x_26 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_20); +x_27 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_27, 0, x_20); +x_28 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_28, 0, x_20); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_30, 0, x_23); +x_31 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_31, 0, x_22); +x_32 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_32, 0, x_21); +lean_ctor_set(x_17, 4, x_30); +lean_ctor_set(x_17, 3, x_31); +lean_ctor_set(x_17, 2, x_32); +lean_ctor_set(x_17, 1, x_25); +lean_ctor_set(x_17, 0, x_29); +lean_ctor_set(x_15, 1, x_26); +x_33 = l_ReaderT_instMonad___redArg(x_15); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +lean_dec(x_36); +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_38 = lean_ctor_get(x_35, 0); +x_39 = lean_ctor_get(x_35, 2); +x_40 = lean_ctor_get(x_35, 3); +x_41 = lean_ctor_get(x_35, 4); +x_42 = lean_ctor_get(x_35, 1); +lean_dec(x_42); +x_43 = l_Lean_Doc_getPositional___redArg___closed__4; +x_44 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_38); +x_45 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_45, 0, x_38); +x_46 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_46, 0, x_38); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_48, 0, x_41); +x_49 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_49, 0, x_40); +x_50 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_50, 0, x_39); +lean_ctor_set(x_35, 4, x_48); +lean_ctor_set(x_35, 3, x_49); +lean_ctor_set(x_35, 2, x_50); +lean_ctor_set(x_35, 1, x_43); +lean_ctor_set(x_35, 0, x_47); +lean_ctor_set(x_33, 1, x_44); +x_51 = l_ReaderT_instMonad___redArg(x_33); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_ctor_get(x_51, 1); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_56 = lean_ctor_get(x_53, 0); +x_57 = lean_ctor_get(x_53, 2); +x_58 = lean_ctor_get(x_53, 3); +x_59 = lean_ctor_get(x_53, 4); +x_60 = lean_ctor_get(x_53, 1); +lean_dec(x_60); +x_61 = l_Lean_Doc_getPositional___redArg___closed__6; +x_62 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_56); +x_63 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_63, 0, x_56); +x_64 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_64, 0, x_56); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_66, 0, x_59); +x_67 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_67, 0, x_58); +x_68 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_68, 0, x_57); +lean_ctor_set(x_53, 4, x_66); +lean_ctor_set(x_53, 3, x_67); +lean_ctor_set(x_53, 2, x_68); +lean_ctor_set(x_53, 1, x_61); +lean_ctor_set(x_53, 0, x_65); +lean_ctor_set(x_51, 1, x_62); +x_69 = l_ReaderT_instMonad___redArg(x_51); +x_70 = l_ReaderT_instMonad___redArg(x_69); +x_71 = l_ReaderT_instMonad___redArg(x_70); +lean_inc_ref(x_71); +x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_72, 0, x_71); +lean_inc_ref(x_71); +x_73 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_73, 0, x_71); +lean_inc_ref(x_71); +x_74 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_74, 0, x_71); +lean_inc_ref(x_71); +x_75 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_75, 0, x_71); +lean_inc_ref(x_71); +x_76 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_76, 0, lean_box(0)); +lean_closure_set(x_76, 1, lean_box(0)); +lean_closure_set(x_76, 2, x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_72); +lean_inc_ref(x_71); +x_78 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_78, 0, lean_box(0)); +lean_closure_set(x_78, 1, lean_box(0)); +lean_closure_set(x_78, 2, x_71); +x_79 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_73); +lean_ctor_set(x_79, 3, x_74); +lean_ctor_set(x_79, 4, x_75); +x_80 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_80, 0, lean_box(0)); +lean_closure_set(x_80, 1, lean_box(0)); +lean_closure_set(x_80, 2, x_71); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_erase_macro_scopes(x_2); +x_83 = lean_unsigned_to_nat(0u); +x_84 = lean_array_get_size(x_4); +x_85 = lean_unsigned_to_nat(1u); +lean_inc(x_84); +x_86 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_86, 2, x_85); +x_87 = lean_box(0); +x_88 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_89 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_89, 0, x_4); +lean_closure_set(x_89, 1, x_88); +lean_closure_set(x_89, 2, x_82); +lean_closure_set(x_89, 3, x_1); +lean_closure_set(x_89, 4, x_83); +lean_closure_set(x_89, 5, x_85); +lean_closure_set(x_89, 6, x_84); +lean_closure_set(x_89, 7, x_87); +x_90 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_81, x_86, x_89, x_88, x_83, lean_box(0), lean_box(0)); +x_91 = lean_apply_11(x_90, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 0); +x_94 = lean_ctor_get(x_93, 0); +if (lean_obj_tag(x_94) == 0) +{ +uint8_t x_95; +x_95 = !lean_is_exclusive(x_91); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_91, 0); +lean_dec(x_96); +x_97 = !lean_is_exclusive(x_92); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_92, 0); +lean_dec(x_98); +lean_ctor_set(x_92, 0, x_3); +return x_91; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_92, 1); +lean_inc(x_99); +lean_dec(x_92); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_3); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_91, 0, x_100); +return x_91; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_101 = lean_ctor_get(x_91, 1); +lean_inc(x_101); +lean_dec(x_91); +x_102 = lean_ctor_get(x_92, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_103 = x_92; +} else { + lean_dec_ref(x_92); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_3); +lean_ctor_set(x_104, 1, x_102); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +return x_105; +} +} +else +{ +uint8_t x_106; +lean_inc_ref(x_94); +lean_dec(x_3); +x_106 = !lean_is_exclusive(x_91); +if (x_106 == 0) +{ +lean_object* x_107; uint8_t x_108; +x_107 = lean_ctor_get(x_91, 0); +lean_dec(x_107); +x_108 = !lean_is_exclusive(x_92); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_92, 0); +lean_dec(x_109); +x_110 = lean_ctor_get(x_94, 0); +lean_inc(x_110); +lean_dec_ref(x_94); +lean_ctor_set(x_92, 0, x_110); +return x_91; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_92, 1); +lean_inc(x_111); +lean_dec(x_92); +x_112 = lean_ctor_get(x_94, 0); +lean_inc(x_112); +lean_dec_ref(x_94); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +lean_ctor_set(x_91, 0, x_113); +return x_91; +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_114 = lean_ctor_get(x_91, 1); +lean_inc(x_114); +lean_dec(x_91); +x_115 = lean_ctor_get(x_92, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_116 = x_92; +} else { + lean_dec_ref(x_92); + x_116 = lean_box(0); +} +x_117 = lean_ctor_get(x_94, 0); +lean_inc(x_117); +lean_dec_ref(x_94); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 0); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_115); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_114); +return x_119; +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_3); +x_120 = !lean_is_exclusive(x_91); +if (x_120 == 0) +{ +return x_91; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_91, 0); +x_122 = lean_ctor_get(x_91, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_91); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_124 = lean_ctor_get(x_53, 0); +x_125 = lean_ctor_get(x_53, 2); +x_126 = lean_ctor_get(x_53, 3); +x_127 = lean_ctor_get(x_53, 4); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_53); +x_128 = l_Lean_Doc_getPositional___redArg___closed__6; +x_129 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_124); +x_130 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_130, 0, x_124); +x_131 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_131, 0, x_124); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_133, 0, x_127); +x_134 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_134, 0, x_126); +x_135 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_135, 0, x_125); +x_136 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_136, 0, x_132); +lean_ctor_set(x_136, 1, x_128); +lean_ctor_set(x_136, 2, x_135); +lean_ctor_set(x_136, 3, x_134); +lean_ctor_set(x_136, 4, x_133); +lean_ctor_set(x_51, 1, x_129); +lean_ctor_set(x_51, 0, x_136); +x_137 = l_ReaderT_instMonad___redArg(x_51); +x_138 = l_ReaderT_instMonad___redArg(x_137); +x_139 = l_ReaderT_instMonad___redArg(x_138); +lean_inc_ref(x_139); +x_140 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_140, 0, x_139); +lean_inc_ref(x_139); +x_141 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_141, 0, x_139); +lean_inc_ref(x_139); +x_142 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_142, 0, x_139); +lean_inc_ref(x_139); +x_143 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_143, 0, x_139); +lean_inc_ref(x_139); +x_144 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_144, 0, lean_box(0)); +lean_closure_set(x_144, 1, lean_box(0)); +lean_closure_set(x_144, 2, x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_140); +lean_inc_ref(x_139); +x_146 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_146, 0, lean_box(0)); +lean_closure_set(x_146, 1, lean_box(0)); +lean_closure_set(x_146, 2, x_139); +x_147 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_141); +lean_ctor_set(x_147, 3, x_142); +lean_ctor_set(x_147, 4, x_143); +x_148 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_148, 0, lean_box(0)); +lean_closure_set(x_148, 1, lean_box(0)); +lean_closure_set(x_148, 2, x_139); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_erase_macro_scopes(x_2); +x_151 = lean_unsigned_to_nat(0u); +x_152 = lean_array_get_size(x_4); +x_153 = lean_unsigned_to_nat(1u); +lean_inc(x_152); +x_154 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_152); +lean_ctor_set(x_154, 2, x_153); +x_155 = lean_box(0); +x_156 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_157 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_157, 0, x_4); +lean_closure_set(x_157, 1, x_156); +lean_closure_set(x_157, 2, x_150); +lean_closure_set(x_157, 3, x_1); +lean_closure_set(x_157, 4, x_151); +lean_closure_set(x_157, 5, x_153); +lean_closure_set(x_157, 6, x_152); +lean_closure_set(x_157, 7, x_155); +x_158 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_149, x_154, x_157, x_156, x_151, lean_box(0), lean_box(0)); +x_159 = lean_apply_11(x_158, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_160, 0); +x_162 = lean_ctor_get(x_161, 0); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_163 = lean_ctor_get(x_159, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_164 = x_159; +} else { + lean_dec_ref(x_159); + x_164 = lean_box(0); +} +x_165 = lean_ctor_get(x_160, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_166 = x_160; +} else { + lean_dec_ref(x_160); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_3); +lean_ctor_set(x_167, 1, x_165); +if (lean_is_scalar(x_164)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_164; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_163); +return x_168; +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_inc_ref(x_162); +lean_dec(x_3); +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_170 = x_159; +} else { + lean_dec_ref(x_159); + x_170 = lean_box(0); +} +x_171 = lean_ctor_get(x_160, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_172 = x_160; +} else { + lean_dec_ref(x_160); + x_172 = lean_box(0); +} +x_173 = lean_ctor_get(x_162, 0); +lean_inc(x_173); +lean_dec_ref(x_162); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_171); +if (lean_is_scalar(x_170)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_170; +} +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_169); +return x_175; +} +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_3); +x_176 = lean_ctor_get(x_159, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_159, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_178 = x_159; +} else { + lean_dec_ref(x_159); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_180 = lean_ctor_get(x_51, 0); +lean_inc(x_180); +lean_dec(x_51); +x_181 = lean_ctor_get(x_180, 0); +lean_inc_ref(x_181); +x_182 = lean_ctor_get(x_180, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_180, 3); +lean_inc(x_183); +x_184 = lean_ctor_get(x_180, 4); +lean_inc(x_184); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + lean_ctor_release(x_180, 2); + lean_ctor_release(x_180, 3); + lean_ctor_release(x_180, 4); + x_185 = x_180; +} else { + lean_dec_ref(x_180); + x_185 = lean_box(0); +} +x_186 = l_Lean_Doc_getPositional___redArg___closed__6; +x_187 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_181); +x_188 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_188, 0, x_181); +x_189 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_189, 0, x_181); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +x_191 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_191, 0, x_184); +x_192 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_192, 0, x_183); +x_193 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_193, 0, x_182); +if (lean_is_scalar(x_185)) { + x_194 = lean_alloc_ctor(0, 5, 0); +} else { + x_194 = x_185; +} +lean_ctor_set(x_194, 0, x_190); +lean_ctor_set(x_194, 1, x_186); +lean_ctor_set(x_194, 2, x_193); +lean_ctor_set(x_194, 3, x_192); +lean_ctor_set(x_194, 4, x_191); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_187); +x_196 = l_ReaderT_instMonad___redArg(x_195); +x_197 = l_ReaderT_instMonad___redArg(x_196); +x_198 = l_ReaderT_instMonad___redArg(x_197); +lean_inc_ref(x_198); +x_199 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_199, 0, x_198); +lean_inc_ref(x_198); +x_200 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_200, 0, x_198); +lean_inc_ref(x_198); +x_201 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_201, 0, x_198); +lean_inc_ref(x_198); +x_202 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_202, 0, x_198); +lean_inc_ref(x_198); +x_203 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_203, 0, lean_box(0)); +lean_closure_set(x_203, 1, lean_box(0)); +lean_closure_set(x_203, 2, x_198); +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_199); +lean_inc_ref(x_198); +x_205 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_205, 0, lean_box(0)); +lean_closure_set(x_205, 1, lean_box(0)); +lean_closure_set(x_205, 2, x_198); +x_206 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_200); +lean_ctor_set(x_206, 3, x_201); +lean_ctor_set(x_206, 4, x_202); +x_207 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_207, 0, lean_box(0)); +lean_closure_set(x_207, 1, lean_box(0)); +lean_closure_set(x_207, 2, x_198); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +x_209 = lean_erase_macro_scopes(x_2); +x_210 = lean_unsigned_to_nat(0u); +x_211 = lean_array_get_size(x_4); +x_212 = lean_unsigned_to_nat(1u); +lean_inc(x_211); +x_213 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +lean_ctor_set(x_213, 2, x_212); +x_214 = lean_box(0); +x_215 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_216 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_216, 0, x_4); +lean_closure_set(x_216, 1, x_215); +lean_closure_set(x_216, 2, x_209); +lean_closure_set(x_216, 3, x_1); +lean_closure_set(x_216, 4, x_210); +lean_closure_set(x_216, 5, x_212); +lean_closure_set(x_216, 6, x_211); +lean_closure_set(x_216, 7, x_214); +x_217 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_208, x_213, x_216, x_215, x_210, lean_box(0), lean_box(0)); +x_218 = lean_apply_11(x_217, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_219, 0); +x_221 = lean_ctor_get(x_220, 0); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_222 = lean_ctor_get(x_218, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_223 = x_218; +} else { + lean_dec_ref(x_218); + x_223 = lean_box(0); +} +x_224 = lean_ctor_get(x_219, 1); +lean_inc(x_224); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + x_225 = x_219; +} else { + lean_dec_ref(x_219); + x_225 = lean_box(0); +} +if (lean_is_scalar(x_225)) { + x_226 = lean_alloc_ctor(0, 2, 0); +} else { + x_226 = x_225; +} +lean_ctor_set(x_226, 0, x_3); +lean_ctor_set(x_226, 1, x_224); +if (lean_is_scalar(x_223)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_223; +} +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_222); +return x_227; +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_inc_ref(x_221); +lean_dec(x_3); +x_228 = lean_ctor_get(x_218, 1); +lean_inc(x_228); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_229 = x_218; +} else { + lean_dec_ref(x_218); + x_229 = lean_box(0); +} +x_230 = lean_ctor_get(x_219, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + x_231 = x_219; +} else { + lean_dec_ref(x_219); + x_231 = lean_box(0); +} +x_232 = lean_ctor_get(x_221, 0); +lean_inc(x_232); +lean_dec_ref(x_221); +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(0, 2, 0); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_230); +if (lean_is_scalar(x_229)) { + x_234 = lean_alloc_ctor(0, 2, 0); +} else { + x_234 = x_229; +} +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_228); +return x_234; +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_3); +x_235 = lean_ctor_get(x_218, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_218, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_237 = x_218; +} else { + lean_dec_ref(x_218); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_239 = lean_ctor_get(x_35, 0); +x_240 = lean_ctor_get(x_35, 2); +x_241 = lean_ctor_get(x_35, 3); +x_242 = lean_ctor_get(x_35, 4); +lean_inc(x_242); +lean_inc(x_241); +lean_inc(x_240); +lean_inc(x_239); +lean_dec(x_35); +x_243 = l_Lean_Doc_getPositional___redArg___closed__4; +x_244 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_239); +x_245 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_245, 0, x_239); +x_246 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_246, 0, x_239); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +x_248 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_248, 0, x_242); +x_249 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_249, 0, x_241); +x_250 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_250, 0, x_240); +x_251 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_251, 0, x_247); +lean_ctor_set(x_251, 1, x_243); +lean_ctor_set(x_251, 2, x_250); +lean_ctor_set(x_251, 3, x_249); +lean_ctor_set(x_251, 4, x_248); +lean_ctor_set(x_33, 1, x_244); +lean_ctor_set(x_33, 0, x_251); +x_252 = l_ReaderT_instMonad___redArg(x_33); +x_253 = lean_ctor_get(x_252, 0); +lean_inc_ref(x_253); +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + x_254 = x_252; +} else { + lean_dec_ref(x_252); + x_254 = lean_box(0); +} +x_255 = lean_ctor_get(x_253, 0); +lean_inc_ref(x_255); +x_256 = lean_ctor_get(x_253, 2); +lean_inc(x_256); +x_257 = lean_ctor_get(x_253, 3); +lean_inc(x_257); +x_258 = lean_ctor_get(x_253, 4); +lean_inc(x_258); +if (lean_is_exclusive(x_253)) { + lean_ctor_release(x_253, 0); + lean_ctor_release(x_253, 1); + lean_ctor_release(x_253, 2); + lean_ctor_release(x_253, 3); + lean_ctor_release(x_253, 4); + x_259 = x_253; +} else { + lean_dec_ref(x_253); + x_259 = lean_box(0); +} +x_260 = l_Lean_Doc_getPositional___redArg___closed__6; +x_261 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_255); +x_262 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_262, 0, x_255); +x_263 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_263, 0, x_255); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_265, 0, x_258); +x_266 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_266, 0, x_257); +x_267 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_267, 0, x_256); +if (lean_is_scalar(x_259)) { + x_268 = lean_alloc_ctor(0, 5, 0); +} else { + x_268 = x_259; +} +lean_ctor_set(x_268, 0, x_264); +lean_ctor_set(x_268, 1, x_260); +lean_ctor_set(x_268, 2, x_267); +lean_ctor_set(x_268, 3, x_266); +lean_ctor_set(x_268, 4, x_265); +if (lean_is_scalar(x_254)) { + x_269 = lean_alloc_ctor(0, 2, 0); +} else { + x_269 = x_254; +} +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_261); +x_270 = l_ReaderT_instMonad___redArg(x_269); +x_271 = l_ReaderT_instMonad___redArg(x_270); +x_272 = l_ReaderT_instMonad___redArg(x_271); +lean_inc_ref(x_272); +x_273 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_273, 0, x_272); +lean_inc_ref(x_272); +x_274 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_274, 0, x_272); +lean_inc_ref(x_272); +x_275 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_275, 0, x_272); +lean_inc_ref(x_272); +x_276 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_276, 0, x_272); +lean_inc_ref(x_272); +x_277 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_277, 0, lean_box(0)); +lean_closure_set(x_277, 1, lean_box(0)); +lean_closure_set(x_277, 2, x_272); +x_278 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_273); +lean_inc_ref(x_272); +x_279 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_279, 0, lean_box(0)); +lean_closure_set(x_279, 1, lean_box(0)); +lean_closure_set(x_279, 2, x_272); +x_280 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_280, 0, x_278); +lean_ctor_set(x_280, 1, x_279); +lean_ctor_set(x_280, 2, x_274); +lean_ctor_set(x_280, 3, x_275); +lean_ctor_set(x_280, 4, x_276); +x_281 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_281, 0, lean_box(0)); +lean_closure_set(x_281, 1, lean_box(0)); +lean_closure_set(x_281, 2, x_272); +x_282 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_282, 0, x_280); +lean_ctor_set(x_282, 1, x_281); +x_283 = lean_erase_macro_scopes(x_2); +x_284 = lean_unsigned_to_nat(0u); +x_285 = lean_array_get_size(x_4); +x_286 = lean_unsigned_to_nat(1u); +lean_inc(x_285); +x_287 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_287, 0, x_284); +lean_ctor_set(x_287, 1, x_285); +lean_ctor_set(x_287, 2, x_286); +x_288 = lean_box(0); +x_289 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_290 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_290, 0, x_4); +lean_closure_set(x_290, 1, x_289); +lean_closure_set(x_290, 2, x_283); +lean_closure_set(x_290, 3, x_1); +lean_closure_set(x_290, 4, x_284); +lean_closure_set(x_290, 5, x_286); +lean_closure_set(x_290, 6, x_285); +lean_closure_set(x_290, 7, x_288); +x_291 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_282, x_287, x_290, x_289, x_284, lean_box(0), lean_box(0)); +x_292 = lean_apply_11(x_291, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_293, 0); +x_295 = lean_ctor_get(x_294, 0); +if (lean_obj_tag(x_295) == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_296 = lean_ctor_get(x_292, 1); +lean_inc(x_296); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_297 = x_292; +} else { + lean_dec_ref(x_292); + x_297 = lean_box(0); +} +x_298 = lean_ctor_get(x_293, 1); +lean_inc(x_298); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_299 = x_293; +} else { + lean_dec_ref(x_293); + x_299 = lean_box(0); +} +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(0, 2, 0); +} else { + x_300 = x_299; +} +lean_ctor_set(x_300, 0, x_3); +lean_ctor_set(x_300, 1, x_298); +if (lean_is_scalar(x_297)) { + x_301 = lean_alloc_ctor(0, 2, 0); +} else { + x_301 = x_297; +} +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_296); +return x_301; +} +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_inc_ref(x_295); +lean_dec(x_3); +x_302 = lean_ctor_get(x_292, 1); +lean_inc(x_302); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_303 = x_292; +} else { + lean_dec_ref(x_292); + x_303 = lean_box(0); +} +x_304 = lean_ctor_get(x_293, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_305 = x_293; +} else { + lean_dec_ref(x_293); + x_305 = lean_box(0); +} +x_306 = lean_ctor_get(x_295, 0); +lean_inc(x_306); +lean_dec_ref(x_295); +if (lean_is_scalar(x_305)) { + x_307 = lean_alloc_ctor(0, 2, 0); +} else { + x_307 = x_305; +} +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_304); +if (lean_is_scalar(x_303)) { + x_308 = lean_alloc_ctor(0, 2, 0); +} else { + x_308 = x_303; +} +lean_ctor_set(x_308, 0, x_307); +lean_ctor_set(x_308, 1, x_302); +return x_308; +} +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_3); +x_309 = lean_ctor_get(x_292, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_292, 1); +lean_inc(x_310); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_311 = x_292; +} else { + lean_dec_ref(x_292); + x_311 = lean_box(0); +} +if (lean_is_scalar(x_311)) { + x_312 = lean_alloc_ctor(1, 2, 0); +} else { + x_312 = x_311; +} +lean_ctor_set(x_312, 0, x_309); +lean_ctor_set(x_312, 1, x_310); +return x_312; +} +} +} +else +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_313 = lean_ctor_get(x_33, 0); +lean_inc(x_313); +lean_dec(x_33); +x_314 = lean_ctor_get(x_313, 0); +lean_inc_ref(x_314); +x_315 = lean_ctor_get(x_313, 2); +lean_inc(x_315); +x_316 = lean_ctor_get(x_313, 3); +lean_inc(x_316); +x_317 = lean_ctor_get(x_313, 4); +lean_inc(x_317); +if (lean_is_exclusive(x_313)) { + lean_ctor_release(x_313, 0); + lean_ctor_release(x_313, 1); + lean_ctor_release(x_313, 2); + lean_ctor_release(x_313, 3); + lean_ctor_release(x_313, 4); + x_318 = x_313; +} else { + lean_dec_ref(x_313); + x_318 = lean_box(0); +} +x_319 = l_Lean_Doc_getPositional___redArg___closed__4; +x_320 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_314); +x_321 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_321, 0, x_314); +x_322 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_322, 0, x_314); +x_323 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_323, 0, x_321); +lean_ctor_set(x_323, 1, x_322); +x_324 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_324, 0, x_317); +x_325 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_325, 0, x_316); +x_326 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_326, 0, x_315); +if (lean_is_scalar(x_318)) { + x_327 = lean_alloc_ctor(0, 5, 0); +} else { + x_327 = x_318; +} +lean_ctor_set(x_327, 0, x_323); +lean_ctor_set(x_327, 1, x_319); +lean_ctor_set(x_327, 2, x_326); +lean_ctor_set(x_327, 3, x_325); +lean_ctor_set(x_327, 4, x_324); +x_328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_320); +x_329 = l_ReaderT_instMonad___redArg(x_328); +x_330 = lean_ctor_get(x_329, 0); +lean_inc_ref(x_330); +if (lean_is_exclusive(x_329)) { + lean_ctor_release(x_329, 0); + lean_ctor_release(x_329, 1); + x_331 = x_329; +} else { + lean_dec_ref(x_329); + x_331 = lean_box(0); +} +x_332 = lean_ctor_get(x_330, 0); +lean_inc_ref(x_332); +x_333 = lean_ctor_get(x_330, 2); +lean_inc(x_333); +x_334 = lean_ctor_get(x_330, 3); +lean_inc(x_334); +x_335 = lean_ctor_get(x_330, 4); +lean_inc(x_335); +if (lean_is_exclusive(x_330)) { + lean_ctor_release(x_330, 0); + lean_ctor_release(x_330, 1); + lean_ctor_release(x_330, 2); + lean_ctor_release(x_330, 3); + lean_ctor_release(x_330, 4); + x_336 = x_330; +} else { + lean_dec_ref(x_330); + x_336 = lean_box(0); +} +x_337 = l_Lean_Doc_getPositional___redArg___closed__6; +x_338 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_332); +x_339 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_339, 0, x_332); +x_340 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_340, 0, x_332); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_339); +lean_ctor_set(x_341, 1, x_340); +x_342 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_342, 0, x_335); +x_343 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_343, 0, x_334); +x_344 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_344, 0, x_333); +if (lean_is_scalar(x_336)) { + x_345 = lean_alloc_ctor(0, 5, 0); +} else { + x_345 = x_336; +} +lean_ctor_set(x_345, 0, x_341); +lean_ctor_set(x_345, 1, x_337); +lean_ctor_set(x_345, 2, x_344); +lean_ctor_set(x_345, 3, x_343); +lean_ctor_set(x_345, 4, x_342); +if (lean_is_scalar(x_331)) { + x_346 = lean_alloc_ctor(0, 2, 0); +} else { + x_346 = x_331; +} +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_338); +x_347 = l_ReaderT_instMonad___redArg(x_346); +x_348 = l_ReaderT_instMonad___redArg(x_347); +x_349 = l_ReaderT_instMonad___redArg(x_348); +lean_inc_ref(x_349); +x_350 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_350, 0, x_349); +lean_inc_ref(x_349); +x_351 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_351, 0, x_349); +lean_inc_ref(x_349); +x_352 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_352, 0, x_349); +lean_inc_ref(x_349); +x_353 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_353, 0, x_349); +lean_inc_ref(x_349); +x_354 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_354, 0, lean_box(0)); +lean_closure_set(x_354, 1, lean_box(0)); +lean_closure_set(x_354, 2, x_349); +x_355 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_355, 0, x_354); +lean_ctor_set(x_355, 1, x_350); +lean_inc_ref(x_349); +x_356 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_356, 0, lean_box(0)); +lean_closure_set(x_356, 1, lean_box(0)); +lean_closure_set(x_356, 2, x_349); +x_357 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_357, 0, x_355); +lean_ctor_set(x_357, 1, x_356); +lean_ctor_set(x_357, 2, x_351); +lean_ctor_set(x_357, 3, x_352); +lean_ctor_set(x_357, 4, x_353); +x_358 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_358, 0, lean_box(0)); +lean_closure_set(x_358, 1, lean_box(0)); +lean_closure_set(x_358, 2, x_349); +x_359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_359, 0, x_357); +lean_ctor_set(x_359, 1, x_358); +x_360 = lean_erase_macro_scopes(x_2); +x_361 = lean_unsigned_to_nat(0u); +x_362 = lean_array_get_size(x_4); +x_363 = lean_unsigned_to_nat(1u); +lean_inc(x_362); +x_364 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_364, 0, x_361); +lean_ctor_set(x_364, 1, x_362); +lean_ctor_set(x_364, 2, x_363); +x_365 = lean_box(0); +x_366 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_367 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_367, 0, x_4); +lean_closure_set(x_367, 1, x_366); +lean_closure_set(x_367, 2, x_360); +lean_closure_set(x_367, 3, x_1); +lean_closure_set(x_367, 4, x_361); +lean_closure_set(x_367, 5, x_363); +lean_closure_set(x_367, 6, x_362); +lean_closure_set(x_367, 7, x_365); +x_368 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_359, x_364, x_367, x_366, x_361, lean_box(0), lean_box(0)); +x_369 = lean_apply_11(x_368, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_370 = lean_ctor_get(x_369, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_370, 0); +x_372 = lean_ctor_get(x_371, 0); +if (lean_obj_tag(x_372) == 0) +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; +x_373 = lean_ctor_get(x_369, 1); +lean_inc(x_373); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + lean_ctor_release(x_369, 1); + x_374 = x_369; +} else { + lean_dec_ref(x_369); + x_374 = lean_box(0); +} +x_375 = lean_ctor_get(x_370, 1); +lean_inc(x_375); +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + lean_ctor_release(x_370, 1); + x_376 = x_370; +} else { + lean_dec_ref(x_370); + x_376 = lean_box(0); +} +if (lean_is_scalar(x_376)) { + x_377 = lean_alloc_ctor(0, 2, 0); +} else { + x_377 = x_376; +} +lean_ctor_set(x_377, 0, x_3); +lean_ctor_set(x_377, 1, x_375); +if (lean_is_scalar(x_374)) { + x_378 = lean_alloc_ctor(0, 2, 0); +} else { + x_378 = x_374; +} +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_373); +return x_378; +} +else +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; +lean_inc_ref(x_372); +lean_dec(x_3); +x_379 = lean_ctor_get(x_369, 1); +lean_inc(x_379); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + lean_ctor_release(x_369, 1); + x_380 = x_369; +} else { + lean_dec_ref(x_369); + x_380 = lean_box(0); +} +x_381 = lean_ctor_get(x_370, 1); +lean_inc(x_381); +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + lean_ctor_release(x_370, 1); + x_382 = x_370; +} else { + lean_dec_ref(x_370); + x_382 = lean_box(0); +} +x_383 = lean_ctor_get(x_372, 0); +lean_inc(x_383); +lean_dec_ref(x_372); +if (lean_is_scalar(x_382)) { + x_384 = lean_alloc_ctor(0, 2, 0); +} else { + x_384 = x_382; +} +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_381); +if (lean_is_scalar(x_380)) { + x_385 = lean_alloc_ctor(0, 2, 0); +} else { + x_385 = x_380; +} +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_379); +return x_385; +} +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +lean_dec(x_3); +x_386 = lean_ctor_get(x_369, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_369, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + lean_ctor_release(x_369, 1); + x_388 = x_369; +} else { + lean_dec_ref(x_369); + x_388 = lean_box(0); +} +if (lean_is_scalar(x_388)) { + x_389 = lean_alloc_ctor(1, 2, 0); +} else { + x_389 = x_388; +} +lean_ctor_set(x_389, 0, x_386); +lean_ctor_set(x_389, 1, x_387); +return x_389; +} +} +} +else +{ +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_390 = lean_ctor_get(x_17, 0); +x_391 = lean_ctor_get(x_17, 2); +x_392 = lean_ctor_get(x_17, 3); +x_393 = lean_ctor_get(x_17, 4); +lean_inc(x_393); +lean_inc(x_392); +lean_inc(x_391); +lean_inc(x_390); +lean_dec(x_17); +x_394 = l_Lean_Doc_getPositional___redArg___closed__2; +x_395 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_390); +x_396 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_396, 0, x_390); +x_397 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_397, 0, x_390); +x_398 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_398, 0, x_396); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_399, 0, x_393); +x_400 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_400, 0, x_392); +x_401 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_401, 0, x_391); +x_402 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_402, 0, x_398); +lean_ctor_set(x_402, 1, x_394); +lean_ctor_set(x_402, 2, x_401); +lean_ctor_set(x_402, 3, x_400); +lean_ctor_set(x_402, 4, x_399); +lean_ctor_set(x_15, 1, x_395); +lean_ctor_set(x_15, 0, x_402); +x_403 = l_ReaderT_instMonad___redArg(x_15); +x_404 = lean_ctor_get(x_403, 0); +lean_inc_ref(x_404); +if (lean_is_exclusive(x_403)) { + lean_ctor_release(x_403, 0); + lean_ctor_release(x_403, 1); + x_405 = x_403; +} else { + lean_dec_ref(x_403); + x_405 = lean_box(0); +} +x_406 = lean_ctor_get(x_404, 0); +lean_inc_ref(x_406); +x_407 = lean_ctor_get(x_404, 2); +lean_inc(x_407); +x_408 = lean_ctor_get(x_404, 3); +lean_inc(x_408); +x_409 = lean_ctor_get(x_404, 4); +lean_inc(x_409); +if (lean_is_exclusive(x_404)) { + lean_ctor_release(x_404, 0); + lean_ctor_release(x_404, 1); + lean_ctor_release(x_404, 2); + lean_ctor_release(x_404, 3); + lean_ctor_release(x_404, 4); + x_410 = x_404; +} else { + lean_dec_ref(x_404); + x_410 = lean_box(0); +} +x_411 = l_Lean_Doc_getPositional___redArg___closed__4; +x_412 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_406); +x_413 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_413, 0, x_406); +x_414 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_414, 0, x_406); +x_415 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_415, 0, x_413); +lean_ctor_set(x_415, 1, x_414); +x_416 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_416, 0, x_409); +x_417 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_417, 0, x_408); +x_418 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_418, 0, x_407); +if (lean_is_scalar(x_410)) { + x_419 = lean_alloc_ctor(0, 5, 0); +} else { + x_419 = x_410; +} +lean_ctor_set(x_419, 0, x_415); +lean_ctor_set(x_419, 1, x_411); +lean_ctor_set(x_419, 2, x_418); +lean_ctor_set(x_419, 3, x_417); +lean_ctor_set(x_419, 4, x_416); +if (lean_is_scalar(x_405)) { + x_420 = lean_alloc_ctor(0, 2, 0); +} else { + x_420 = x_405; +} +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_412); +x_421 = l_ReaderT_instMonad___redArg(x_420); +x_422 = lean_ctor_get(x_421, 0); +lean_inc_ref(x_422); +if (lean_is_exclusive(x_421)) { + lean_ctor_release(x_421, 0); + lean_ctor_release(x_421, 1); + x_423 = x_421; +} else { + lean_dec_ref(x_421); + x_423 = lean_box(0); +} +x_424 = lean_ctor_get(x_422, 0); +lean_inc_ref(x_424); +x_425 = lean_ctor_get(x_422, 2); +lean_inc(x_425); +x_426 = lean_ctor_get(x_422, 3); +lean_inc(x_426); +x_427 = lean_ctor_get(x_422, 4); +lean_inc(x_427); +if (lean_is_exclusive(x_422)) { + lean_ctor_release(x_422, 0); + lean_ctor_release(x_422, 1); + lean_ctor_release(x_422, 2); + lean_ctor_release(x_422, 3); + lean_ctor_release(x_422, 4); + x_428 = x_422; +} else { + lean_dec_ref(x_422); + x_428 = lean_box(0); +} +x_429 = l_Lean_Doc_getPositional___redArg___closed__6; +x_430 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_424); +x_431 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_431, 0, x_424); +x_432 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_432, 0, x_424); +x_433 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +x_434 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_434, 0, x_427); +x_435 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_435, 0, x_426); +x_436 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_436, 0, x_425); +if (lean_is_scalar(x_428)) { + x_437 = lean_alloc_ctor(0, 5, 0); +} else { + x_437 = x_428; +} +lean_ctor_set(x_437, 0, x_433); +lean_ctor_set(x_437, 1, x_429); +lean_ctor_set(x_437, 2, x_436); +lean_ctor_set(x_437, 3, x_435); +lean_ctor_set(x_437, 4, x_434); +if (lean_is_scalar(x_423)) { + x_438 = lean_alloc_ctor(0, 2, 0); +} else { + x_438 = x_423; +} +lean_ctor_set(x_438, 0, x_437); +lean_ctor_set(x_438, 1, x_430); +x_439 = l_ReaderT_instMonad___redArg(x_438); +x_440 = l_ReaderT_instMonad___redArg(x_439); +x_441 = l_ReaderT_instMonad___redArg(x_440); +lean_inc_ref(x_441); +x_442 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_442, 0, x_441); +lean_inc_ref(x_441); +x_443 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_443, 0, x_441); +lean_inc_ref(x_441); +x_444 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_444, 0, x_441); +lean_inc_ref(x_441); +x_445 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_445, 0, x_441); +lean_inc_ref(x_441); +x_446 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_446, 0, lean_box(0)); +lean_closure_set(x_446, 1, lean_box(0)); +lean_closure_set(x_446, 2, x_441); +x_447 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_447, 0, x_446); +lean_ctor_set(x_447, 1, x_442); +lean_inc_ref(x_441); +x_448 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_448, 0, lean_box(0)); +lean_closure_set(x_448, 1, lean_box(0)); +lean_closure_set(x_448, 2, x_441); +x_449 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_449, 0, x_447); +lean_ctor_set(x_449, 1, x_448); +lean_ctor_set(x_449, 2, x_443); +lean_ctor_set(x_449, 3, x_444); +lean_ctor_set(x_449, 4, x_445); +x_450 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_450, 0, lean_box(0)); +lean_closure_set(x_450, 1, lean_box(0)); +lean_closure_set(x_450, 2, x_441); +x_451 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_451, 0, x_449); +lean_ctor_set(x_451, 1, x_450); +x_452 = lean_erase_macro_scopes(x_2); +x_453 = lean_unsigned_to_nat(0u); +x_454 = lean_array_get_size(x_4); +x_455 = lean_unsigned_to_nat(1u); +lean_inc(x_454); +x_456 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_456, 0, x_453); +lean_ctor_set(x_456, 1, x_454); +lean_ctor_set(x_456, 2, x_455); +x_457 = lean_box(0); +x_458 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_459 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_459, 0, x_4); +lean_closure_set(x_459, 1, x_458); +lean_closure_set(x_459, 2, x_452); +lean_closure_set(x_459, 3, x_1); +lean_closure_set(x_459, 4, x_453); +lean_closure_set(x_459, 5, x_455); +lean_closure_set(x_459, 6, x_454); +lean_closure_set(x_459, 7, x_457); +x_460 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_451, x_456, x_459, x_458, x_453, lean_box(0), lean_box(0)); +x_461 = lean_apply_11(x_460, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_461) == 0) +{ +lean_object* x_462; lean_object* x_463; lean_object* x_464; +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_462, 0); +x_464 = lean_ctor_get(x_463, 0); +if (lean_obj_tag(x_464) == 0) +{ +lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_465 = lean_ctor_get(x_461, 1); +lean_inc(x_465); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_466 = x_461; +} else { + lean_dec_ref(x_461); + x_466 = lean_box(0); +} +x_467 = lean_ctor_get(x_462, 1); +lean_inc(x_467); +if (lean_is_exclusive(x_462)) { + lean_ctor_release(x_462, 0); + lean_ctor_release(x_462, 1); + x_468 = x_462; +} else { + lean_dec_ref(x_462); + x_468 = lean_box(0); +} +if (lean_is_scalar(x_468)) { + x_469 = lean_alloc_ctor(0, 2, 0); +} else { + x_469 = x_468; +} +lean_ctor_set(x_469, 0, x_3); +lean_ctor_set(x_469, 1, x_467); +if (lean_is_scalar(x_466)) { + x_470 = lean_alloc_ctor(0, 2, 0); +} else { + x_470 = x_466; +} +lean_ctor_set(x_470, 0, x_469); +lean_ctor_set(x_470, 1, x_465); +return x_470; +} +else +{ +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +lean_inc_ref(x_464); +lean_dec(x_3); +x_471 = lean_ctor_get(x_461, 1); +lean_inc(x_471); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_472 = x_461; +} else { + lean_dec_ref(x_461); + x_472 = lean_box(0); +} +x_473 = lean_ctor_get(x_462, 1); +lean_inc(x_473); +if (lean_is_exclusive(x_462)) { + lean_ctor_release(x_462, 0); + lean_ctor_release(x_462, 1); + x_474 = x_462; +} else { + lean_dec_ref(x_462); + x_474 = lean_box(0); +} +x_475 = lean_ctor_get(x_464, 0); +lean_inc(x_475); +lean_dec_ref(x_464); +if (lean_is_scalar(x_474)) { + x_476 = lean_alloc_ctor(0, 2, 0); +} else { + x_476 = x_474; +} +lean_ctor_set(x_476, 0, x_475); +lean_ctor_set(x_476, 1, x_473); +if (lean_is_scalar(x_472)) { + x_477 = lean_alloc_ctor(0, 2, 0); +} else { + x_477 = x_472; +} +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_471); +return x_477; +} +} +else +{ +lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_3); +x_478 = lean_ctor_get(x_461, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_461, 1); +lean_inc(x_479); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_480 = x_461; +} else { + lean_dec_ref(x_461); + x_480 = lean_box(0); +} +if (lean_is_scalar(x_480)) { + x_481 = lean_alloc_ctor(1, 2, 0); +} else { + x_481 = x_480; +} +lean_ctor_set(x_481, 0, x_478); +lean_ctor_set(x_481, 1, x_479); +return x_481; +} +} +} +else +{ +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; +x_482 = lean_ctor_get(x_15, 0); +lean_inc(x_482); +lean_dec(x_15); +x_483 = lean_ctor_get(x_482, 0); +lean_inc_ref(x_483); +x_484 = lean_ctor_get(x_482, 2); +lean_inc(x_484); +x_485 = lean_ctor_get(x_482, 3); +lean_inc(x_485); +x_486 = lean_ctor_get(x_482, 4); +lean_inc(x_486); +if (lean_is_exclusive(x_482)) { + lean_ctor_release(x_482, 0); + lean_ctor_release(x_482, 1); + lean_ctor_release(x_482, 2); + lean_ctor_release(x_482, 3); + lean_ctor_release(x_482, 4); + x_487 = x_482; +} else { + lean_dec_ref(x_482); + x_487 = lean_box(0); +} +x_488 = l_Lean_Doc_getPositional___redArg___closed__2; +x_489 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_483); +x_490 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_490, 0, x_483); +x_491 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_491, 0, x_483); +x_492 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_492, 0, x_490); +lean_ctor_set(x_492, 1, x_491); +x_493 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_493, 0, x_486); +x_494 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_494, 0, x_485); +x_495 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_495, 0, x_484); +if (lean_is_scalar(x_487)) { + x_496 = lean_alloc_ctor(0, 5, 0); +} else { + x_496 = x_487; +} +lean_ctor_set(x_496, 0, x_492); +lean_ctor_set(x_496, 1, x_488); +lean_ctor_set(x_496, 2, x_495); +lean_ctor_set(x_496, 3, x_494); +lean_ctor_set(x_496, 4, x_493); +x_497 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_489); +x_498 = l_ReaderT_instMonad___redArg(x_497); +x_499 = lean_ctor_get(x_498, 0); +lean_inc_ref(x_499); +if (lean_is_exclusive(x_498)) { + lean_ctor_release(x_498, 0); + lean_ctor_release(x_498, 1); + x_500 = x_498; +} else { + lean_dec_ref(x_498); + x_500 = lean_box(0); +} +x_501 = lean_ctor_get(x_499, 0); +lean_inc_ref(x_501); +x_502 = lean_ctor_get(x_499, 2); +lean_inc(x_502); +x_503 = lean_ctor_get(x_499, 3); +lean_inc(x_503); +x_504 = lean_ctor_get(x_499, 4); +lean_inc(x_504); +if (lean_is_exclusive(x_499)) { + lean_ctor_release(x_499, 0); + lean_ctor_release(x_499, 1); + lean_ctor_release(x_499, 2); + lean_ctor_release(x_499, 3); + lean_ctor_release(x_499, 4); + x_505 = x_499; +} else { + lean_dec_ref(x_499); + x_505 = lean_box(0); +} +x_506 = l_Lean_Doc_getPositional___redArg___closed__4; +x_507 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_501); +x_508 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_508, 0, x_501); +x_509 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_509, 0, x_501); +x_510 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_510, 0, x_508); +lean_ctor_set(x_510, 1, x_509); +x_511 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_511, 0, x_504); +x_512 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_512, 0, x_503); +x_513 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_513, 0, x_502); +if (lean_is_scalar(x_505)) { + x_514 = lean_alloc_ctor(0, 5, 0); +} else { + x_514 = x_505; +} +lean_ctor_set(x_514, 0, x_510); +lean_ctor_set(x_514, 1, x_506); +lean_ctor_set(x_514, 2, x_513); +lean_ctor_set(x_514, 3, x_512); +lean_ctor_set(x_514, 4, x_511); +if (lean_is_scalar(x_500)) { + x_515 = lean_alloc_ctor(0, 2, 0); +} else { + x_515 = x_500; +} +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_507); +x_516 = l_ReaderT_instMonad___redArg(x_515); +x_517 = lean_ctor_get(x_516, 0); +lean_inc_ref(x_517); +if (lean_is_exclusive(x_516)) { + lean_ctor_release(x_516, 0); + lean_ctor_release(x_516, 1); + x_518 = x_516; +} else { + lean_dec_ref(x_516); + x_518 = lean_box(0); +} +x_519 = lean_ctor_get(x_517, 0); +lean_inc_ref(x_519); +x_520 = lean_ctor_get(x_517, 2); +lean_inc(x_520); +x_521 = lean_ctor_get(x_517, 3); +lean_inc(x_521); +x_522 = lean_ctor_get(x_517, 4); +lean_inc(x_522); +if (lean_is_exclusive(x_517)) { + lean_ctor_release(x_517, 0); + lean_ctor_release(x_517, 1); + lean_ctor_release(x_517, 2); + lean_ctor_release(x_517, 3); + lean_ctor_release(x_517, 4); + x_523 = x_517; +} else { + lean_dec_ref(x_517); + x_523 = lean_box(0); +} +x_524 = l_Lean_Doc_getPositional___redArg___closed__6; +x_525 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_519); +x_526 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_526, 0, x_519); +x_527 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_527, 0, x_519); +x_528 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_528, 0, x_526); +lean_ctor_set(x_528, 1, x_527); +x_529 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_529, 0, x_522); +x_530 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_530, 0, x_521); +x_531 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_531, 0, x_520); +if (lean_is_scalar(x_523)) { + x_532 = lean_alloc_ctor(0, 5, 0); +} else { + x_532 = x_523; +} +lean_ctor_set(x_532, 0, x_528); +lean_ctor_set(x_532, 1, x_524); +lean_ctor_set(x_532, 2, x_531); +lean_ctor_set(x_532, 3, x_530); +lean_ctor_set(x_532, 4, x_529); +if (lean_is_scalar(x_518)) { + x_533 = lean_alloc_ctor(0, 2, 0); +} else { + x_533 = x_518; +} +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_525); +x_534 = l_ReaderT_instMonad___redArg(x_533); +x_535 = l_ReaderT_instMonad___redArg(x_534); +x_536 = l_ReaderT_instMonad___redArg(x_535); +lean_inc_ref(x_536); +x_537 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_537, 0, x_536); +lean_inc_ref(x_536); +x_538 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_538, 0, x_536); +lean_inc_ref(x_536); +x_539 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_539, 0, x_536); +lean_inc_ref(x_536); +x_540 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_540, 0, x_536); +lean_inc_ref(x_536); +x_541 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_541, 0, lean_box(0)); +lean_closure_set(x_541, 1, lean_box(0)); +lean_closure_set(x_541, 2, x_536); +x_542 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_542, 0, x_541); +lean_ctor_set(x_542, 1, x_537); +lean_inc_ref(x_536); +x_543 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_543, 0, lean_box(0)); +lean_closure_set(x_543, 1, lean_box(0)); +lean_closure_set(x_543, 2, x_536); +x_544 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_544, 0, x_542); +lean_ctor_set(x_544, 1, x_543); +lean_ctor_set(x_544, 2, x_538); +lean_ctor_set(x_544, 3, x_539); +lean_ctor_set(x_544, 4, x_540); +x_545 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_545, 0, lean_box(0)); +lean_closure_set(x_545, 1, lean_box(0)); +lean_closure_set(x_545, 2, x_536); +x_546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_546, 0, x_544); +lean_ctor_set(x_546, 1, x_545); +x_547 = lean_erase_macro_scopes(x_2); +x_548 = lean_unsigned_to_nat(0u); +x_549 = lean_array_get_size(x_4); +x_550 = lean_unsigned_to_nat(1u); +lean_inc(x_549); +x_551 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_551, 0, x_548); +lean_ctor_set(x_551, 1, x_549); +lean_ctor_set(x_551, 2, x_550); +x_552 = lean_box(0); +x_553 = l_Lean_Doc_getPositional___redArg___closed__36; +lean_inc_ref(x_4); +x_554 = lean_alloc_closure((void*)(l_Lean_Doc_getNamed___redArg___lam__0___boxed), 22, 8); +lean_closure_set(x_554, 0, x_4); +lean_closure_set(x_554, 1, x_553); +lean_closure_set(x_554, 2, x_547); +lean_closure_set(x_554, 3, x_1); +lean_closure_set(x_554, 4, x_548); +lean_closure_set(x_554, 5, x_550); +lean_closure_set(x_554, 6, x_549); +lean_closure_set(x_554, 7, x_552); +x_555 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop(lean_box(0), lean_box(0), x_546, x_551, x_554, x_553, x_548, lean_box(0), lean_box(0)); +x_556 = lean_apply_11(x_555, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_556) == 0) +{ +lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_557 = lean_ctor_get(x_556, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_557, 0); +x_559 = lean_ctor_get(x_558, 0); +if (lean_obj_tag(x_559) == 0) +{ +lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +x_560 = lean_ctor_get(x_556, 1); +lean_inc(x_560); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_561 = x_556; +} else { + lean_dec_ref(x_556); + x_561 = lean_box(0); +} +x_562 = lean_ctor_get(x_557, 1); +lean_inc(x_562); +if (lean_is_exclusive(x_557)) { + lean_ctor_release(x_557, 0); + lean_ctor_release(x_557, 1); + x_563 = x_557; +} else { + lean_dec_ref(x_557); + x_563 = lean_box(0); +} +if (lean_is_scalar(x_563)) { + x_564 = lean_alloc_ctor(0, 2, 0); +} else { + x_564 = x_563; +} +lean_ctor_set(x_564, 0, x_3); +lean_ctor_set(x_564, 1, x_562); +if (lean_is_scalar(x_561)) { + x_565 = lean_alloc_ctor(0, 2, 0); +} else { + x_565 = x_561; +} +lean_ctor_set(x_565, 0, x_564); +lean_ctor_set(x_565, 1, x_560); +return x_565; +} +else +{ +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; +lean_inc_ref(x_559); +lean_dec(x_3); +x_566 = lean_ctor_get(x_556, 1); +lean_inc(x_566); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_567 = x_556; +} else { + lean_dec_ref(x_556); + x_567 = lean_box(0); +} +x_568 = lean_ctor_get(x_557, 1); +lean_inc(x_568); +if (lean_is_exclusive(x_557)) { + lean_ctor_release(x_557, 0); + lean_ctor_release(x_557, 1); + x_569 = x_557; +} else { + lean_dec_ref(x_557); + x_569 = lean_box(0); +} +x_570 = lean_ctor_get(x_559, 0); +lean_inc(x_570); +lean_dec_ref(x_559); +if (lean_is_scalar(x_569)) { + x_571 = lean_alloc_ctor(0, 2, 0); +} else { + x_571 = x_569; +} +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_568); +if (lean_is_scalar(x_567)) { + x_572 = lean_alloc_ctor(0, 2, 0); +} else { + x_572 = x_567; +} +lean_ctor_set(x_572, 0, x_571); +lean_ctor_set(x_572, 1, x_566); +return x_572; +} +} +else +{ +lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; +lean_dec(x_3); +x_573 = lean_ctor_get(x_556, 0); +lean_inc(x_573); +x_574 = lean_ctor_get(x_556, 1); +lean_inc(x_574); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_575 = x_556; +} else { + lean_dec_ref(x_556); + x_575 = lean_box(0); +} +if (lean_is_scalar(x_575)) { + x_576 = lean_alloc_ctor(1, 2, 0); +} else { + x_576 = x_575; +} +lean_ctor_set(x_576, 0, x_573); +lean_ctor_set(x_576, 1, x_574); +return x_576; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Doc_getNamed___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___redArg___lam__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +lean_object* x_23; +x_23 = l_Lean_Doc_getNamed___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); +lean_dec_ref(x_13); +lean_dec_ref(x_11); +lean_dec(x_6); +lean_dec(x_3); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_27; +x_16 = lean_ctor_get(x_4, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_18 = x_4; +} else { + lean_dec_ref(x_4); + x_18 = lean_box(0); +} +lean_inc(x_2); +x_27 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_2); +if (lean_obj_tag(x_27) == 0) +{ +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_19 = x_5; +x_20 = x_15; +goto block_26; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_27, 0); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +x_33 = l_Lean_TSyntax_getId(x_31); +lean_dec(x_31); +x_34 = lean_erase_macro_scopes(x_33); +x_35 = lean_name_eq(x_34, x_1); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_free_object(x_29); +lean_dec(x_32); +lean_free_object(x_27); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_19 = x_5; +x_20 = x_15; +goto block_26; +} +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_18); +lean_dec(x_2); +x_36 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_36, 0, x_32); +x_37 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_36, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_array_push(x_17, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_16); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_27, 0, x_41); +lean_ctor_set(x_29, 1, x_5); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_37, 0, x_29); +return x_37; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_37, 0); +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_37); +x_44 = lean_array_push(x_17, x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_16); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_27, 0, x_45); +lean_ctor_set(x_29, 1, x_5); +lean_ctor_set(x_29, 0, x_27); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_29); +lean_ctor_set(x_46, 1, x_43); +return x_46; +} +} +else +{ +uint8_t x_47; +lean_free_object(x_29); +lean_free_object(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec_ref(x_5); +x_47 = !lean_is_exclusive(x_37); +if (x_47 == 0) +{ +return x_37; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_37, 0); +x_49 = lean_ctor_get(x_37, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_37); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_29, 0); +x_52 = lean_ctor_get(x_29, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_29); +x_53 = l_Lean_TSyntax_getId(x_51); +lean_dec(x_51); +x_54 = lean_erase_macro_scopes(x_53); +x_55 = lean_name_eq(x_54, x_1); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_dec(x_52); +lean_free_object(x_27); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_19 = x_5; +x_20 = x_15; +goto block_26; +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_18); +lean_dec(x_2); +x_56 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_56, 0, x_52); +x_57 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_60 = x_57; +} else { + lean_dec_ref(x_57); + x_60 = lean_box(0); +} +x_61 = lean_array_push(x_17, x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_16); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_27, 0, x_62); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_27); +lean_ctor_set(x_63, 1, x_5); +if (lean_is_scalar(x_60)) { + x_64 = lean_alloc_ctor(0, 2, 0); +} else { + x_64 = x_60; +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_free_object(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec_ref(x_5); +x_65 = lean_ctor_get(x_57, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_57, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_67 = x_57; +} else { + lean_dec_ref(x_57); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_69 = lean_ctor_get(x_27, 0); +lean_inc(x_69); +lean_dec(x_27); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_72 = x_69; +} else { + lean_dec_ref(x_69); + x_72 = lean_box(0); +} +x_73 = l_Lean_TSyntax_getId(x_70); +lean_dec(x_70); +x_74 = lean_erase_macro_scopes(x_73); +x_75 = lean_name_eq(x_74, x_1); +lean_dec(x_74); +if (x_75 == 0) +{ +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_19 = x_5; +x_20 = x_15; +goto block_26; +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_18); +lean_dec(x_2); +x_76 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_76, 0, x_71); +x_77 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_76, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; +} else { + lean_dec_ref(x_77); + x_80 = lean_box(0); +} +x_81 = lean_array_push(x_17, x_78); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_16); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +if (lean_is_scalar(x_72)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_72; +} +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_5); +if (lean_is_scalar(x_80)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_80; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_79); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_72); +lean_dec(x_17); +lean_dec(x_16); +lean_dec_ref(x_5); +x_86 = lean_ctor_get(x_77, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_77, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_88 = x_77; +} else { + lean_dec_ref(x_77); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +} +block_26: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_array_push(x_16, x_2); +if (lean_is_scalar(x_18)) { + x_22 = lean_alloc_ctor(0, 2, 0); +} else { + x_22 = x_18; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); return x_25; } } } +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_apply_1(x_1, x_2); +x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_3); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec_ref(x_3); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} } static lean_object* _init_l_Lean_Doc_getMany___redArg___closed__0() { _start: @@ -20933,1622 +21328,1645 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Doc_getPositional___redArg___closed__1; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_Doc_getPositional___redArg___closed__1; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_ctor_get(x_15, 2); -x_20 = lean_ctor_get(x_15, 3); -x_21 = lean_ctor_get(x_15, 4); -x_22 = lean_ctor_get(x_15, 1); -lean_dec(x_22); -x_23 = l_Lean_Doc_getPositional___redArg___closed__2; -x_24 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_18); -x_25 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_25, 0, x_18); -x_26 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_26, 0, x_18); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_28, 0, x_21); -x_29 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_29, 0, x_20); -x_30 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_30, 0, x_19); -lean_ctor_set(x_15, 4, x_28); -lean_ctor_set(x_15, 3, x_29); -lean_ctor_set(x_15, 2, x_30); -lean_ctor_set(x_15, 1, x_23); -lean_ctor_set(x_15, 0, x_27); -lean_ctor_set(x_13, 1, x_24); -x_31 = l_ReaderT_instMonad___redArg(x_13); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 2); +x_21 = lean_ctor_get(x_16, 3); +x_22 = lean_ctor_get(x_16, 4); +x_23 = lean_ctor_get(x_16, 1); +lean_dec(x_23); +x_24 = l_Lean_Doc_getPositional___redArg___closed__2; +x_25 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_19); +x_26 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_26, 0, x_19); +x_27 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_27, 0, x_19); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_29, 0, x_22); +x_30 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_30, 0, x_21); +x_31 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_31, 0, x_20); +lean_ctor_set(x_16, 4, x_29); +lean_ctor_set(x_16, 3, x_30); +lean_ctor_set(x_16, 2, x_31); +lean_ctor_set(x_16, 1, x_24); +lean_ctor_set(x_16, 0, x_28); +lean_ctor_set(x_14, 1, x_25); +x_32 = l_ReaderT_instMonad___redArg(x_14); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_dec(x_34); -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_36 = lean_ctor_get(x_33, 0); -x_37 = lean_ctor_get(x_33, 2); -x_38 = lean_ctor_get(x_33, 3); -x_39 = lean_ctor_get(x_33, 4); -x_40 = lean_ctor_get(x_33, 1); -lean_dec(x_40); -x_41 = l_Lean_Doc_getPositional___redArg___closed__4; -x_42 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_36); -x_43 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_43, 0, x_36); -x_44 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_44, 0, x_36); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_46, 0, x_39); -x_47 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_47, 0, x_38); -x_48 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_48, 0, x_37); -lean_ctor_set(x_33, 4, x_46); -lean_ctor_set(x_33, 3, x_47); -lean_ctor_set(x_33, 2, x_48); -lean_ctor_set(x_33, 1, x_41); -lean_ctor_set(x_33, 0, x_45); -lean_ctor_set(x_31, 1, x_42); -x_49 = l_ReaderT_instMonad___redArg(x_31); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 2); +x_39 = lean_ctor_get(x_34, 3); +x_40 = lean_ctor_get(x_34, 4); +x_41 = lean_ctor_get(x_34, 1); +lean_dec(x_41); +x_42 = l_Lean_Doc_getPositional___redArg___closed__4; +x_43 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_37); +x_44 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_44, 0, x_37); +x_45 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_45, 0, x_37); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_47, 0, x_40); +x_48 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_48, 0, x_39); +x_49 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_49, 0, x_38); +lean_ctor_set(x_34, 4, x_47); +lean_ctor_set(x_34, 3, x_48); +lean_ctor_set(x_34, 2, x_49); +lean_ctor_set(x_34, 1, x_42); +lean_ctor_set(x_34, 0, x_46); +lean_ctor_set(x_32, 1, x_43); +x_50 = l_ReaderT_instMonad___redArg(x_32); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_49, 1); -lean_dec(x_52); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_ctor_get(x_50, 1); +lean_dec(x_53); +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; -x_54 = lean_ctor_get(x_51, 0); -x_55 = lean_ctor_get(x_51, 2); -x_56 = lean_ctor_get(x_51, 3); -x_57 = lean_ctor_get(x_51, 4); -x_58 = lean_ctor_get(x_51, 1); -lean_dec(x_58); -x_59 = l_Lean_Doc_getPositional___redArg___closed__6; -x_60 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_54); -x_61 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_61, 0, x_54); -x_62 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_62, 0, x_54); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_64, 0, x_57); -x_65 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_65, 0, x_56); -x_66 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_66, 0, x_55); -lean_ctor_set(x_51, 4, x_64); -lean_ctor_set(x_51, 3, x_65); -lean_ctor_set(x_51, 2, x_66); -lean_ctor_set(x_51, 1, x_59); -lean_ctor_set(x_51, 0, x_63); -lean_ctor_set(x_49, 1, x_60); -x_67 = l_ReaderT_instMonad___redArg(x_49); -x_68 = l_ReaderT_instMonad___redArg(x_67); -lean_inc_ref(x_68); -x_69 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_69, 0, x_68); -lean_inc_ref(x_68); -x_70 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_70, 0, x_68); -lean_inc_ref(x_68); -x_71 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_71, 0, x_68); -lean_inc_ref(x_68); -x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_72, 0, x_68); -lean_inc_ref(x_68); -x_73 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_73, 0, lean_box(0)); -lean_closure_set(x_73, 1, lean_box(0)); -lean_closure_set(x_73, 2, x_68); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_69); -lean_inc_ref(x_68); -x_75 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; lean_object* x_86; lean_object* x_87; +x_55 = lean_ctor_get(x_52, 0); +x_56 = lean_ctor_get(x_52, 2); +x_57 = lean_ctor_get(x_52, 3); +x_58 = lean_ctor_get(x_52, 4); +x_59 = lean_ctor_get(x_52, 1); +lean_dec(x_59); +x_60 = l_Lean_Doc_getPositional___redArg___closed__6; +x_61 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_55); +x_62 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_62, 0, x_55); +x_63 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_63, 0, x_55); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_65, 0, x_58); +x_66 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_66, 0, x_57); +x_67 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_67, 0, x_56); +lean_ctor_set(x_52, 4, x_65); +lean_ctor_set(x_52, 3, x_66); +lean_ctor_set(x_52, 2, x_67); +lean_ctor_set(x_52, 1, x_60); +lean_ctor_set(x_52, 0, x_64); +lean_ctor_set(x_50, 1, x_61); +x_68 = l_ReaderT_instMonad___redArg(x_50); +x_69 = l_ReaderT_instMonad___redArg(x_68); +x_70 = l_ReaderT_instMonad___redArg(x_69); +lean_inc_ref(x_70); +x_71 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_71, 0, x_70); +lean_inc_ref(x_70); +x_72 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_72, 0, x_70); +lean_inc_ref(x_70); +x_73 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_73, 0, x_70); +lean_inc_ref(x_70); +x_74 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_74, 0, x_70); +lean_inc_ref(x_70); +x_75 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); lean_closure_set(x_75, 0, lean_box(0)); lean_closure_set(x_75, 1, lean_box(0)); -lean_closure_set(x_75, 2, x_68); -x_76 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_70); -lean_ctor_set(x_76, 3, x_71); -lean_ctor_set(x_76, 4, x_72); -x_77 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_75, 2, x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_71); +lean_inc_ref(x_70); +x_77 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); lean_closure_set(x_77, 0, lean_box(0)); lean_closure_set(x_77, 1, lean_box(0)); -lean_closure_set(x_77, 2, x_68); -x_78 = lean_alloc_ctor(0, 2, 0); +lean_closure_set(x_77, 2, x_70); +x_78 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); -x_79 = lean_erase_macro_scopes(x_2); -x_80 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_80, 0, x_79); -x_81 = l_Lean_Doc_getMany___redArg___closed__1; -x_82 = lean_array_size(x_3); -x_83 = 0; +lean_ctor_set(x_78, 2, x_72); +lean_ctor_set(x_78, 3, x_73); +lean_ctor_set(x_78, 4, x_74); +x_79 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_79, 0, lean_box(0)); +lean_closure_set(x_79, 1, lean_box(0)); +lean_closure_set(x_79, 2, x_70); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_erase_macro_scopes(x_2); +x_82 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_82, 0, x_81); +x_83 = l_Lean_Doc_getMany___redArg___closed__1; +x_84 = lean_array_size(x_3); +x_85 = 0; lean_inc_ref(x_3); -lean_inc_ref(x_78); -x_84 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_78, x_3, x_80, x_82, x_83, x_81); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_inc_ref(x_80); +x_86 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_80, x_3, x_82, x_84, x_85, x_83); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_85 = lean_apply_10(x_84, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_85) == 0) +lean_inc_ref(x_4); +x_87 = lean_apply_11(x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; size_t x_92; lean_object* x_93; lean_object* x_94; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get(x_85, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; lean_object* x_95; lean_object* x_96; +x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); -lean_dec_ref(x_85); -x_89 = lean_ctor_get(x_87, 0); +x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); +lean_dec(x_88); x_90 = lean_ctor_get(x_87, 1); lean_inc(x_90); -lean_dec(x_87); -x_91 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_91, 0, x_1); -x_92 = lean_array_size(x_90); -x_93 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_78, x_91, x_92, x_83, x_90); -x_94 = lean_apply_10(x_93, x_89, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_88); -return x_94; +lean_dec_ref(x_87); +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec(x_89); +x_93 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_93, 0, x_1); +x_94 = lean_array_size(x_92); +x_95 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_80, x_93, x_94, x_85, x_92); +x_96 = lean_apply_11(x_95, x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); +return x_96; } else { -uint8_t x_95; -lean_dec_ref(x_78); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_97; +lean_dec_ref(x_80); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_1); -x_95 = !lean_is_exclusive(x_85); -if (x_95 == 0) +x_97 = !lean_is_exclusive(x_87); +if (x_97 == 0) { -return x_85; +return x_87; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_85, 0); -x_97 = lean_ctor_get(x_85, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_85); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_87, 0); +x_99 = lean_ctor_get(x_87, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_87); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; lean_object* x_129; lean_object* x_130; -x_99 = lean_ctor_get(x_51, 0); -x_100 = lean_ctor_get(x_51, 2); -x_101 = lean_ctor_get(x_51, 3); -x_102 = lean_ctor_get(x_51, 4); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; size_t x_130; size_t x_131; lean_object* x_132; lean_object* x_133; +x_101 = lean_ctor_get(x_52, 0); +x_102 = lean_ctor_get(x_52, 2); +x_103 = lean_ctor_get(x_52, 3); +x_104 = lean_ctor_get(x_52, 4); +lean_inc(x_104); +lean_inc(x_103); lean_inc(x_102); lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_51); -x_103 = l_Lean_Doc_getPositional___redArg___closed__6; -x_104 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_99); -x_105 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_105, 0, x_99); -x_106 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_106, 0, x_99); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_108, 0, x_102); -x_109 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_109, 0, x_101); -x_110 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_110, 0, x_100); -x_111 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_111, 0, x_107); -lean_ctor_set(x_111, 1, x_103); -lean_ctor_set(x_111, 2, x_110); -lean_ctor_set(x_111, 3, x_109); -lean_ctor_set(x_111, 4, x_108); -lean_ctor_set(x_49, 1, x_104); -lean_ctor_set(x_49, 0, x_111); -x_112 = l_ReaderT_instMonad___redArg(x_49); -x_113 = l_ReaderT_instMonad___redArg(x_112); -lean_inc_ref(x_113); -x_114 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_114, 0, x_113); -lean_inc_ref(x_113); -x_115 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_115, 0, x_113); -lean_inc_ref(x_113); -x_116 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_116, 0, x_113); -lean_inc_ref(x_113); -x_117 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_117, 0, x_113); -lean_inc_ref(x_113); -x_118 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_118, 0, lean_box(0)); -lean_closure_set(x_118, 1, lean_box(0)); -lean_closure_set(x_118, 2, x_113); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_114); -lean_inc_ref(x_113); -x_120 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_120, 0, lean_box(0)); -lean_closure_set(x_120, 1, lean_box(0)); -lean_closure_set(x_120, 2, x_113); -x_121 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -lean_ctor_set(x_121, 2, x_115); -lean_ctor_set(x_121, 3, x_116); -lean_ctor_set(x_121, 4, x_117); -x_122 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_122, 0, lean_box(0)); -lean_closure_set(x_122, 1, lean_box(0)); -lean_closure_set(x_122, 2, x_113); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_erase_macro_scopes(x_2); -x_125 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_125, 0, x_124); -x_126 = l_Lean_Doc_getMany___redArg___closed__1; -x_127 = lean_array_size(x_3); -x_128 = 0; +lean_dec(x_52); +x_105 = l_Lean_Doc_getPositional___redArg___closed__6; +x_106 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_101); +x_107 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_107, 0, x_101); +x_108 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_108, 0, x_101); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_110, 0, x_104); +x_111 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_111, 0, x_103); +x_112 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_112, 0, x_102); +x_113 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_113, 0, x_109); +lean_ctor_set(x_113, 1, x_105); +lean_ctor_set(x_113, 2, x_112); +lean_ctor_set(x_113, 3, x_111); +lean_ctor_set(x_113, 4, x_110); +lean_ctor_set(x_50, 1, x_106); +lean_ctor_set(x_50, 0, x_113); +x_114 = l_ReaderT_instMonad___redArg(x_50); +x_115 = l_ReaderT_instMonad___redArg(x_114); +x_116 = l_ReaderT_instMonad___redArg(x_115); +lean_inc_ref(x_116); +x_117 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_117, 0, x_116); +lean_inc_ref(x_116); +x_118 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_118, 0, x_116); +lean_inc_ref(x_116); +x_119 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_119, 0, x_116); +lean_inc_ref(x_116); +x_120 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_120, 0, x_116); +lean_inc_ref(x_116); +x_121 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_121, 0, lean_box(0)); +lean_closure_set(x_121, 1, lean_box(0)); +lean_closure_set(x_121, 2, x_116); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_117); +lean_inc_ref(x_116); +x_123 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_123, 0, lean_box(0)); +lean_closure_set(x_123, 1, lean_box(0)); +lean_closure_set(x_123, 2, x_116); +x_124 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_124, 2, x_118); +lean_ctor_set(x_124, 3, x_119); +lean_ctor_set(x_124, 4, x_120); +x_125 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_125, 0, lean_box(0)); +lean_closure_set(x_125, 1, lean_box(0)); +lean_closure_set(x_125, 2, x_116); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_erase_macro_scopes(x_2); +x_128 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_128, 0, x_127); +x_129 = l_Lean_Doc_getMany___redArg___closed__1; +x_130 = lean_array_size(x_3); +x_131 = 0; lean_inc_ref(x_3); -lean_inc_ref(x_123); -x_129 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_123, x_3, x_125, x_127, x_128, x_126); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_inc_ref(x_126); +x_132 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_126, x_3, x_128, x_130, x_131, x_129); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_130 = lean_apply_10(x_129, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_130) == 0) +lean_inc_ref(x_4); +x_133 = lean_apply_11(x_132, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; size_t x_137; lean_object* x_138; lean_object* x_139; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_133); -lean_dec_ref(x_130); -x_134 = lean_ctor_get(x_132, 0); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; size_t x_140; lean_object* x_141; lean_object* x_142; +x_134 = lean_ctor_get(x_133, 0); lean_inc(x_134); -x_135 = lean_ctor_get(x_132, 1); +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); -lean_dec(x_132); -x_136 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_136, 0, x_1); -x_137 = lean_array_size(x_135); -x_138 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_123, x_136, x_137, x_128, x_135); -x_139 = lean_apply_10(x_138, x_134, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_133); -return x_139; +lean_dec(x_134); +x_136 = lean_ctor_get(x_133, 1); +lean_inc(x_136); +lean_dec_ref(x_133); +x_137 = lean_ctor_get(x_135, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +x_139 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_139, 0, x_1); +x_140 = lean_array_size(x_138); +x_141 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_126, x_139, x_140, x_131, x_138); +x_142 = lean_apply_11(x_141, x_137, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_136); +return x_142; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec_ref(x_123); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec_ref(x_126); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_1); -x_140 = lean_ctor_get(x_130, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_130, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_142 = x_130; +x_143 = lean_ctor_get(x_133, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_133, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + x_145 = x_133; } else { - lean_dec_ref(x_130); - x_142 = lean_box(0); + lean_dec_ref(x_133); + x_145 = lean_box(0); } -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); } else { - x_143 = x_142; + x_146 = x_145; } -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; } } } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; size_t x_175; size_t x_176; lean_object* x_177; lean_object* x_178; -x_144 = lean_ctor_get(x_49, 0); -lean_inc(x_144); -lean_dec(x_49); -x_145 = lean_ctor_get(x_144, 0); -lean_inc_ref(x_145); -x_146 = lean_ctor_get(x_144, 2); -lean_inc(x_146); -x_147 = lean_ctor_get(x_144, 3); +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; size_t x_179; size_t x_180; lean_object* x_181; lean_object* x_182; +x_147 = lean_ctor_get(x_50, 0); lean_inc(x_147); -x_148 = lean_ctor_get(x_144, 4); -lean_inc(x_148); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - lean_ctor_release(x_144, 4); - x_149 = x_144; +lean_dec(x_50); +x_148 = lean_ctor_get(x_147, 0); +lean_inc_ref(x_148); +x_149 = lean_ctor_get(x_147, 2); +lean_inc(x_149); +x_150 = lean_ctor_get(x_147, 3); +lean_inc(x_150); +x_151 = lean_ctor_get(x_147, 4); +lean_inc(x_151); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + lean_ctor_release(x_147, 2); + lean_ctor_release(x_147, 3); + lean_ctor_release(x_147, 4); + x_152 = x_147; } else { - lean_dec_ref(x_144); - x_149 = lean_box(0); + lean_dec_ref(x_147); + x_152 = lean_box(0); } -x_150 = l_Lean_Doc_getPositional___redArg___closed__6; -x_151 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_145); -x_152 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_152, 0, x_145); -x_153 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_153, 0, x_145); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +x_153 = l_Lean_Doc_getPositional___redArg___closed__6; +x_154 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_148); +x_155 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); lean_closure_set(x_155, 0, x_148); -x_156 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_156, 0, x_147); -x_157 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_157, 0, x_146); -if (lean_is_scalar(x_149)) { - x_158 = lean_alloc_ctor(0, 5, 0); +x_156 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_156, 0, x_148); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_158, 0, x_151); +x_159 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_159, 0, x_150); +x_160 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_160, 0, x_149); +if (lean_is_scalar(x_152)) { + x_161 = lean_alloc_ctor(0, 5, 0); } else { - x_158 = x_149; + x_161 = x_152; } -lean_ctor_set(x_158, 0, x_154); -lean_ctor_set(x_158, 1, x_150); -lean_ctor_set(x_158, 2, x_157); -lean_ctor_set(x_158, 3, x_156); -lean_ctor_set(x_158, 4, x_155); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_151); -x_160 = l_ReaderT_instMonad___redArg(x_159); -x_161 = l_ReaderT_instMonad___redArg(x_160); -lean_inc_ref(x_161); -x_162 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_162, 0, x_161); -lean_inc_ref(x_161); -x_163 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_163, 0, x_161); -lean_inc_ref(x_161); -x_164 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_164, 0, x_161); -lean_inc_ref(x_161); -x_165 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_165, 0, x_161); -lean_inc_ref(x_161); -x_166 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_166, 0, lean_box(0)); -lean_closure_set(x_166, 1, lean_box(0)); -lean_closure_set(x_166, 2, x_161); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_162); -lean_inc_ref(x_161); -x_168 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_168, 0, lean_box(0)); -lean_closure_set(x_168, 1, lean_box(0)); -lean_closure_set(x_168, 2, x_161); -x_169 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_163); -lean_ctor_set(x_169, 3, x_164); -lean_ctor_set(x_169, 4, x_165); -x_170 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_ctor_set(x_161, 0, x_157); +lean_ctor_set(x_161, 1, x_153); +lean_ctor_set(x_161, 2, x_160); +lean_ctor_set(x_161, 3, x_159); +lean_ctor_set(x_161, 4, x_158); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_154); +x_163 = l_ReaderT_instMonad___redArg(x_162); +x_164 = l_ReaderT_instMonad___redArg(x_163); +x_165 = l_ReaderT_instMonad___redArg(x_164); +lean_inc_ref(x_165); +x_166 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_166, 0, x_165); +lean_inc_ref(x_165); +x_167 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_167, 0, x_165); +lean_inc_ref(x_165); +x_168 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_168, 0, x_165); +lean_inc_ref(x_165); +x_169 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_169, 0, x_165); +lean_inc_ref(x_165); +x_170 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); lean_closure_set(x_170, 0, lean_box(0)); lean_closure_set(x_170, 1, lean_box(0)); -lean_closure_set(x_170, 2, x_161); +lean_closure_set(x_170, 2, x_165); x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_erase_macro_scopes(x_2); -x_173 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_173, 0, x_172); -x_174 = l_Lean_Doc_getMany___redArg___closed__1; -x_175 = lean_array_size(x_3); -x_176 = 0; +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_166); +lean_inc_ref(x_165); +x_172 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_172, 0, lean_box(0)); +lean_closure_set(x_172, 1, lean_box(0)); +lean_closure_set(x_172, 2, x_165); +x_173 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_167); +lean_ctor_set(x_173, 3, x_168); +lean_ctor_set(x_173, 4, x_169); +x_174 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_174, 0, lean_box(0)); +lean_closure_set(x_174, 1, lean_box(0)); +lean_closure_set(x_174, 2, x_165); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_erase_macro_scopes(x_2); +x_177 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_177, 0, x_176); +x_178 = l_Lean_Doc_getMany___redArg___closed__1; +x_179 = lean_array_size(x_3); +x_180 = 0; lean_inc_ref(x_3); -lean_inc_ref(x_171); -x_177 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_171, x_3, x_173, x_175, x_176, x_174); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_inc_ref(x_175); +x_181 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_175, x_3, x_177, x_179, x_180, x_178); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_178 = lean_apply_10(x_177, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_178) == 0) +lean_inc_ref(x_4); +x_182 = lean_apply_11(x_181, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_182) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; size_t x_185; lean_object* x_186; lean_object* x_187; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -lean_dec(x_179); -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_181); -lean_dec_ref(x_178); -x_182 = lean_ctor_get(x_180, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 1); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; size_t x_189; lean_object* x_190; lean_object* x_191; +x_183 = lean_ctor_get(x_182, 0); lean_inc(x_183); -lean_dec(x_180); -x_184 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_184, 0, x_1); -x_185 = lean_array_size(x_183); -x_186 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_171, x_184, x_185, x_176, x_183); -x_187 = lean_apply_10(x_186, x_182, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_181); -return x_187; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec_ref(x_171); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_188 = lean_ctor_get(x_178, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_178, 1); -lean_inc(x_189); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_190 = x_178; -} else { - lean_dec_ref(x_178); - x_190 = lean_box(0); -} -if (lean_is_scalar(x_190)) { - x_191 = lean_alloc_ctor(1, 2, 0); -} else { - x_191 = x_190; -} -lean_ctor_set(x_191, 0, x_188); -lean_ctor_set(x_191, 1, x_189); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +lean_dec(x_183); +x_185 = lean_ctor_get(x_182, 1); +lean_inc(x_185); +lean_dec_ref(x_182); +x_186 = lean_ctor_get(x_184, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_184, 1); +lean_inc(x_187); +lean_dec(x_184); +x_188 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_188, 0, x_1); +x_189 = lean_array_size(x_187); +x_190 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_175, x_188, x_189, x_180, x_187); +x_191 = lean_apply_11(x_190, x_186, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_185); return x_191; } -} -} else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; size_t x_238; size_t x_239; lean_object* x_240; lean_object* x_241; -x_192 = lean_ctor_get(x_33, 0); -x_193 = lean_ctor_get(x_33, 2); -x_194 = lean_ctor_get(x_33, 3); -x_195 = lean_ctor_get(x_33, 4); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_33); -x_196 = l_Lean_Doc_getPositional___redArg___closed__4; -x_197 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_192); -x_198 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_198, 0, x_192); -x_199 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_199, 0, x_192); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_201, 0, x_195); -x_202 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_202, 0, x_194); -x_203 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_203, 0, x_193); -x_204 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_204, 0, x_200); -lean_ctor_set(x_204, 1, x_196); -lean_ctor_set(x_204, 2, x_203); -lean_ctor_set(x_204, 3, x_202); -lean_ctor_set(x_204, 4, x_201); -lean_ctor_set(x_31, 1, x_197); -lean_ctor_set(x_31, 0, x_204); -x_205 = l_ReaderT_instMonad___redArg(x_31); -x_206 = lean_ctor_get(x_205, 0); -lean_inc_ref(x_206); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_207 = x_205; -} else { - lean_dec_ref(x_205); - x_207 = lean_box(0); -} -x_208 = lean_ctor_get(x_206, 0); -lean_inc_ref(x_208); -x_209 = lean_ctor_get(x_206, 2); -lean_inc(x_209); -x_210 = lean_ctor_get(x_206, 3); -lean_inc(x_210); -x_211 = lean_ctor_get(x_206, 4); -lean_inc(x_211); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - lean_ctor_release(x_206, 2); - lean_ctor_release(x_206, 3); - lean_ctor_release(x_206, 4); - x_212 = x_206; -} else { - lean_dec_ref(x_206); - x_212 = lean_box(0); -} -x_213 = l_Lean_Doc_getPositional___redArg___closed__6; -x_214 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_208); -x_215 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_215, 0, x_208); -x_216 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_216, 0, x_208); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_215); -lean_ctor_set(x_217, 1, x_216); -x_218 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_218, 0, x_211); -x_219 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_219, 0, x_210); -x_220 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_220, 0, x_209); -if (lean_is_scalar(x_212)) { - x_221 = lean_alloc_ctor(0, 5, 0); -} else { - x_221 = x_212; -} -lean_ctor_set(x_221, 0, x_217); -lean_ctor_set(x_221, 1, x_213); -lean_ctor_set(x_221, 2, x_220); -lean_ctor_set(x_221, 3, x_219); -lean_ctor_set(x_221, 4, x_218); -if (lean_is_scalar(x_207)) { - x_222 = lean_alloc_ctor(0, 2, 0); -} else { - x_222 = x_207; -} -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_214); -x_223 = l_ReaderT_instMonad___redArg(x_222); -x_224 = l_ReaderT_instMonad___redArg(x_223); -lean_inc_ref(x_224); -x_225 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_225, 0, x_224); -lean_inc_ref(x_224); -x_226 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_226, 0, x_224); -lean_inc_ref(x_224); -x_227 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_227, 0, x_224); -lean_inc_ref(x_224); -x_228 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_228, 0, x_224); -lean_inc_ref(x_224); -x_229 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_229, 0, lean_box(0)); -lean_closure_set(x_229, 1, lean_box(0)); -lean_closure_set(x_229, 2, x_224); -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_225); -lean_inc_ref(x_224); -x_231 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_231, 0, lean_box(0)); -lean_closure_set(x_231, 1, lean_box(0)); -lean_closure_set(x_231, 2, x_224); -x_232 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_226); -lean_ctor_set(x_232, 3, x_227); -lean_ctor_set(x_232, 4, x_228); -x_233 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_233, 0, lean_box(0)); -lean_closure_set(x_233, 1, lean_box(0)); -lean_closure_set(x_233, 2, x_224); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set(x_234, 1, x_233); -x_235 = lean_erase_macro_scopes(x_2); -x_236 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_236, 0, x_235); -x_237 = l_Lean_Doc_getMany___redArg___closed__1; -x_238 = lean_array_size(x_3); -x_239 = 0; -lean_inc_ref(x_3); -lean_inc_ref(x_234); -x_240 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_234, x_3, x_236, x_238, x_239, x_237); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_241 = lean_apply_10(x_240, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; size_t x_248; lean_object* x_249; lean_object* x_250; -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -lean_dec(x_242); -x_244 = lean_ctor_get(x_241, 1); -lean_inc(x_244); -lean_dec_ref(x_241); -x_245 = lean_ctor_get(x_243, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_243, 1); -lean_inc(x_246); -lean_dec(x_243); -x_247 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_247, 0, x_1); -x_248 = lean_array_size(x_246); -x_249 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_234, x_247, x_248, x_239, x_246); -x_250 = lean_apply_10(x_249, x_245, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_244); -return x_250; -} -else -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -lean_dec_ref(x_234); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec_ref(x_175); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_1); -x_251 = lean_ctor_get(x_241, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_241, 1); -lean_inc(x_252); -if (lean_is_exclusive(x_241)) { - lean_ctor_release(x_241, 0); - lean_ctor_release(x_241, 1); - x_253 = x_241; +x_192 = lean_ctor_get(x_182, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_182, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_194 = x_182; } else { - lean_dec_ref(x_241); - x_253 = lean_box(0); + lean_dec_ref(x_182); + x_194 = lean_box(0); } -if (lean_is_scalar(x_253)) { - x_254 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); } else { - x_254 = x_253; + x_195 = x_194; } -lean_ctor_set(x_254, 0, x_251); -lean_ctor_set(x_254, 1, x_252); -return x_254; +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; } } } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; size_t x_304; size_t x_305; lean_object* x_306; lean_object* x_307; -x_255 = lean_ctor_get(x_31, 0); -lean_inc(x_255); -lean_dec(x_31); -x_256 = lean_ctor_get(x_255, 0); -lean_inc_ref(x_256); -x_257 = lean_ctor_get(x_255, 2); +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; size_t x_243; size_t x_244; lean_object* x_245; lean_object* x_246; +x_196 = lean_ctor_get(x_34, 0); +x_197 = lean_ctor_get(x_34, 2); +x_198 = lean_ctor_get(x_34, 3); +x_199 = lean_ctor_get(x_34, 4); +lean_inc(x_199); +lean_inc(x_198); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_34); +x_200 = l_Lean_Doc_getPositional___redArg___closed__4; +x_201 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_196); +x_202 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_202, 0, x_196); +x_203 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_203, 0, x_196); +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_205, 0, x_199); +x_206 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_206, 0, x_198); +x_207 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_207, 0, x_197); +x_208 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_208, 0, x_204); +lean_ctor_set(x_208, 1, x_200); +lean_ctor_set(x_208, 2, x_207); +lean_ctor_set(x_208, 3, x_206); +lean_ctor_set(x_208, 4, x_205); +lean_ctor_set(x_32, 1, x_201); +lean_ctor_set(x_32, 0, x_208); +x_209 = l_ReaderT_instMonad___redArg(x_32); +x_210 = lean_ctor_get(x_209, 0); +lean_inc_ref(x_210); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_211 = x_209; +} else { + lean_dec_ref(x_209); + x_211 = lean_box(0); +} +x_212 = lean_ctor_get(x_210, 0); +lean_inc_ref(x_212); +x_213 = lean_ctor_get(x_210, 2); +lean_inc(x_213); +x_214 = lean_ctor_get(x_210, 3); +lean_inc(x_214); +x_215 = lean_ctor_get(x_210, 4); +lean_inc(x_215); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + lean_ctor_release(x_210, 2); + lean_ctor_release(x_210, 3); + lean_ctor_release(x_210, 4); + x_216 = x_210; +} else { + lean_dec_ref(x_210); + x_216 = lean_box(0); +} +x_217 = l_Lean_Doc_getPositional___redArg___closed__6; +x_218 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_212); +x_219 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_219, 0, x_212); +x_220 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_220, 0, x_212); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +x_222 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_222, 0, x_215); +x_223 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_223, 0, x_214); +x_224 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_224, 0, x_213); +if (lean_is_scalar(x_216)) { + x_225 = lean_alloc_ctor(0, 5, 0); +} else { + x_225 = x_216; +} +lean_ctor_set(x_225, 0, x_221); +lean_ctor_set(x_225, 1, x_217); +lean_ctor_set(x_225, 2, x_224); +lean_ctor_set(x_225, 3, x_223); +lean_ctor_set(x_225, 4, x_222); +if (lean_is_scalar(x_211)) { + x_226 = lean_alloc_ctor(0, 2, 0); +} else { + x_226 = x_211; +} +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_218); +x_227 = l_ReaderT_instMonad___redArg(x_226); +x_228 = l_ReaderT_instMonad___redArg(x_227); +x_229 = l_ReaderT_instMonad___redArg(x_228); +lean_inc_ref(x_229); +x_230 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_230, 0, x_229); +lean_inc_ref(x_229); +x_231 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_231, 0, x_229); +lean_inc_ref(x_229); +x_232 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_232, 0, x_229); +lean_inc_ref(x_229); +x_233 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_233, 0, x_229); +lean_inc_ref(x_229); +x_234 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_234, 0, lean_box(0)); +lean_closure_set(x_234, 1, lean_box(0)); +lean_closure_set(x_234, 2, x_229); +x_235 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_230); +lean_inc_ref(x_229); +x_236 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_236, 0, lean_box(0)); +lean_closure_set(x_236, 1, lean_box(0)); +lean_closure_set(x_236, 2, x_229); +x_237 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_237, 0, x_235); +lean_ctor_set(x_237, 1, x_236); +lean_ctor_set(x_237, 2, x_231); +lean_ctor_set(x_237, 3, x_232); +lean_ctor_set(x_237, 4, x_233); +x_238 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_238, 0, lean_box(0)); +lean_closure_set(x_238, 1, lean_box(0)); +lean_closure_set(x_238, 2, x_229); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_237); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_erase_macro_scopes(x_2); +x_241 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_241, 0, x_240); +x_242 = l_Lean_Doc_getMany___redArg___closed__1; +x_243 = lean_array_size(x_3); +x_244 = 0; +lean_inc_ref(x_3); +lean_inc_ref(x_239); +x_245 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_239, x_3, x_241, x_243, x_244, x_242); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_246 = lean_apply_11(x_245, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_246) == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; size_t x_253; lean_object* x_254; lean_object* x_255; +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +lean_dec(x_247); +x_249 = lean_ctor_get(x_246, 1); +lean_inc(x_249); +lean_dec_ref(x_246); +x_250 = lean_ctor_get(x_248, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_248, 1); +lean_inc(x_251); +lean_dec(x_248); +x_252 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_252, 0, x_1); +x_253 = lean_array_size(x_251); +x_254 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_239, x_252, x_253, x_244, x_251); +x_255 = lean_apply_11(x_254, x_250, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_249); +return x_255; +} +else +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_dec_ref(x_239); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_256 = lean_ctor_get(x_246, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_246, 1); lean_inc(x_257); -x_258 = lean_ctor_get(x_255, 3); -lean_inc(x_258); -x_259 = lean_ctor_get(x_255, 4); -lean_inc(x_259); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - lean_ctor_release(x_255, 2); - lean_ctor_release(x_255, 3); - lean_ctor_release(x_255, 4); - x_260 = x_255; +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + x_258 = x_246; } else { - lean_dec_ref(x_255); - x_260 = lean_box(0); + lean_dec_ref(x_246); + x_258 = lean_box(0); } -x_261 = l_Lean_Doc_getPositional___redArg___closed__4; -x_262 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_256); -x_263 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_263, 0, x_256); -x_264 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_264, 0, x_256); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_266, 0, x_259); -x_267 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_267, 0, x_258); -x_268 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_268, 0, x_257); -if (lean_is_scalar(x_260)) { - x_269 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_258)) { + x_259 = lean_alloc_ctor(1, 2, 0); } else { - x_269 = x_260; + x_259 = x_258; } -lean_ctor_set(x_269, 0, x_265); -lean_ctor_set(x_269, 1, x_261); -lean_ctor_set(x_269, 2, x_268); -lean_ctor_set(x_269, 3, x_267); -lean_ctor_set(x_269, 4, x_266); +lean_ctor_set(x_259, 0, x_256); +lean_ctor_set(x_259, 1, x_257); +return x_259; +} +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; size_t x_310; size_t x_311; lean_object* x_312; lean_object* x_313; +x_260 = lean_ctor_get(x_32, 0); +lean_inc(x_260); +lean_dec(x_32); +x_261 = lean_ctor_get(x_260, 0); +lean_inc_ref(x_261); +x_262 = lean_ctor_get(x_260, 2); +lean_inc(x_262); +x_263 = lean_ctor_get(x_260, 3); +lean_inc(x_263); +x_264 = lean_ctor_get(x_260, 4); +lean_inc(x_264); +if (lean_is_exclusive(x_260)) { + lean_ctor_release(x_260, 0); + lean_ctor_release(x_260, 1); + lean_ctor_release(x_260, 2); + lean_ctor_release(x_260, 3); + lean_ctor_release(x_260, 4); + x_265 = x_260; +} else { + lean_dec_ref(x_260); + x_265 = lean_box(0); +} +x_266 = l_Lean_Doc_getPositional___redArg___closed__4; +x_267 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_261); +x_268 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_268, 0, x_261); +x_269 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_269, 0, x_261); x_270 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_262); -x_271 = l_ReaderT_instMonad___redArg(x_270); -x_272 = lean_ctor_get(x_271, 0); -lean_inc_ref(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +x_271 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_271, 0, x_264); +x_272 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_272, 0, x_263); +x_273 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_273, 0, x_262); +if (lean_is_scalar(x_265)) { + x_274 = lean_alloc_ctor(0, 5, 0); } else { - lean_dec_ref(x_271); - x_273 = lean_box(0); + x_274 = x_265; } -x_274 = lean_ctor_get(x_272, 0); -lean_inc_ref(x_274); -x_275 = lean_ctor_get(x_272, 2); -lean_inc(x_275); -x_276 = lean_ctor_get(x_272, 3); -lean_inc(x_276); -x_277 = lean_ctor_get(x_272, 4); -lean_inc(x_277); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - lean_ctor_release(x_272, 2); - lean_ctor_release(x_272, 3); - lean_ctor_release(x_272, 4); - x_278 = x_272; +lean_ctor_set(x_274, 0, x_270); +lean_ctor_set(x_274, 1, x_266); +lean_ctor_set(x_274, 2, x_273); +lean_ctor_set(x_274, 3, x_272); +lean_ctor_set(x_274, 4, x_271); +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_274); +lean_ctor_set(x_275, 1, x_267); +x_276 = l_ReaderT_instMonad___redArg(x_275); +x_277 = lean_ctor_get(x_276, 0); +lean_inc_ref(x_277); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + x_278 = x_276; } else { - lean_dec_ref(x_272); + lean_dec_ref(x_276); x_278 = lean_box(0); } -x_279 = l_Lean_Doc_getPositional___redArg___closed__6; -x_280 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_274); -x_281 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_281, 0, x_274); -x_282 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_282, 0, x_274); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -x_284 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_284, 0, x_277); -x_285 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_285, 0, x_276); -x_286 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_286, 0, x_275); +x_279 = lean_ctor_get(x_277, 0); +lean_inc_ref(x_279); +x_280 = lean_ctor_get(x_277, 2); +lean_inc(x_280); +x_281 = lean_ctor_get(x_277, 3); +lean_inc(x_281); +x_282 = lean_ctor_get(x_277, 4); +lean_inc(x_282); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + lean_ctor_release(x_277, 2); + lean_ctor_release(x_277, 3); + lean_ctor_release(x_277, 4); + x_283 = x_277; +} else { + lean_dec_ref(x_277); + x_283 = lean_box(0); +} +x_284 = l_Lean_Doc_getPositional___redArg___closed__6; +x_285 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_279); +x_286 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_286, 0, x_279); +x_287 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_287, 0, x_279); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +x_289 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_289, 0, x_282); +x_290 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_290, 0, x_281); +x_291 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_291, 0, x_280); +if (lean_is_scalar(x_283)) { + x_292 = lean_alloc_ctor(0, 5, 0); +} else { + x_292 = x_283; +} +lean_ctor_set(x_292, 0, x_288); +lean_ctor_set(x_292, 1, x_284); +lean_ctor_set(x_292, 2, x_291); +lean_ctor_set(x_292, 3, x_290); +lean_ctor_set(x_292, 4, x_289); if (lean_is_scalar(x_278)) { - x_287 = lean_alloc_ctor(0, 5, 0); + x_293 = lean_alloc_ctor(0, 2, 0); } else { - x_287 = x_278; + x_293 = x_278; } -lean_ctor_set(x_287, 0, x_283); -lean_ctor_set(x_287, 1, x_279); -lean_ctor_set(x_287, 2, x_286); -lean_ctor_set(x_287, 3, x_285); -lean_ctor_set(x_287, 4, x_284); -if (lean_is_scalar(x_273)) { - x_288 = lean_alloc_ctor(0, 2, 0); -} else { - x_288 = x_273; -} -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_280); -x_289 = l_ReaderT_instMonad___redArg(x_288); -x_290 = l_ReaderT_instMonad___redArg(x_289); -lean_inc_ref(x_290); -x_291 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_291, 0, x_290); -lean_inc_ref(x_290); -x_292 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_292, 0, x_290); -lean_inc_ref(x_290); -x_293 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_293, 0, x_290); -lean_inc_ref(x_290); -x_294 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_294, 0, x_290); -lean_inc_ref(x_290); -x_295 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_295, 0, lean_box(0)); -lean_closure_set(x_295, 1, lean_box(0)); -lean_closure_set(x_295, 2, x_290); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_291); -lean_inc_ref(x_290); -x_297 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_297, 0, lean_box(0)); -lean_closure_set(x_297, 1, lean_box(0)); -lean_closure_set(x_297, 2, x_290); -x_298 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_298, 0, x_296); -lean_ctor_set(x_298, 1, x_297); -lean_ctor_set(x_298, 2, x_292); -lean_ctor_set(x_298, 3, x_293); -lean_ctor_set(x_298, 4, x_294); -x_299 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_299, 0, lean_box(0)); -lean_closure_set(x_299, 1, lean_box(0)); -lean_closure_set(x_299, 2, x_290); -x_300 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_300, 0, x_298); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_erase_macro_scopes(x_2); -x_302 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_302, 0, x_301); -x_303 = l_Lean_Doc_getMany___redArg___closed__1; -x_304 = lean_array_size(x_3); -x_305 = 0; +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_285); +x_294 = l_ReaderT_instMonad___redArg(x_293); +x_295 = l_ReaderT_instMonad___redArg(x_294); +x_296 = l_ReaderT_instMonad___redArg(x_295); +lean_inc_ref(x_296); +x_297 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_297, 0, x_296); +lean_inc_ref(x_296); +x_298 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_298, 0, x_296); +lean_inc_ref(x_296); +x_299 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_299, 0, x_296); +lean_inc_ref(x_296); +x_300 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_300, 0, x_296); +lean_inc_ref(x_296); +x_301 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_301, 0, lean_box(0)); +lean_closure_set(x_301, 1, lean_box(0)); +lean_closure_set(x_301, 2, x_296); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_297); +lean_inc_ref(x_296); +x_303 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_303, 0, lean_box(0)); +lean_closure_set(x_303, 1, lean_box(0)); +lean_closure_set(x_303, 2, x_296); +x_304 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_304, 0, x_302); +lean_ctor_set(x_304, 1, x_303); +lean_ctor_set(x_304, 2, x_298); +lean_ctor_set(x_304, 3, x_299); +lean_ctor_set(x_304, 4, x_300); +x_305 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_305, 0, lean_box(0)); +lean_closure_set(x_305, 1, lean_box(0)); +lean_closure_set(x_305, 2, x_296); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_304); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_erase_macro_scopes(x_2); +x_308 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_308, 0, x_307); +x_309 = l_Lean_Doc_getMany___redArg___closed__1; +x_310 = lean_array_size(x_3); +x_311 = 0; lean_inc_ref(x_3); -lean_inc_ref(x_300); -x_306 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_300, x_3, x_302, x_304, x_305, x_303); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_inc_ref(x_306); +x_312 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_306, x_3, x_308, x_310, x_311, x_309); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_307 = lean_apply_10(x_306, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_307) == 0) +lean_inc_ref(x_4); +x_313 = lean_apply_11(x_312, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_313) == 0) { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; size_t x_314; lean_object* x_315; lean_object* x_316; -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -lean_dec(x_308); -x_310 = lean_ctor_get(x_307, 1); -lean_inc(x_310); -lean_dec_ref(x_307); -x_311 = lean_ctor_get(x_309, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_309, 1); -lean_inc(x_312); -lean_dec(x_309); -x_313 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_313, 0, x_1); -x_314 = lean_array_size(x_312); -x_315 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_300, x_313, x_314, x_305, x_312); -x_316 = lean_apply_10(x_315, x_311, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_310); -return x_316; -} -else -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -lean_dec_ref(x_300); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_317 = lean_ctor_get(x_307, 0); +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; size_t x_320; lean_object* x_321; lean_object* x_322; +x_314 = lean_ctor_get(x_313, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +lean_dec(x_314); +x_316 = lean_ctor_get(x_313, 1); +lean_inc(x_316); +lean_dec_ref(x_313); +x_317 = lean_ctor_get(x_315, 0); lean_inc(x_317); -x_318 = lean_ctor_get(x_307, 1); +x_318 = lean_ctor_get(x_315, 1); lean_inc(x_318); -if (lean_is_exclusive(x_307)) { - lean_ctor_release(x_307, 0); - lean_ctor_release(x_307, 1); - x_319 = x_307; -} else { - lean_dec_ref(x_307); - x_319 = lean_box(0); -} -if (lean_is_scalar(x_319)) { - x_320 = lean_alloc_ctor(1, 2, 0); -} else { - x_320 = x_319; -} -lean_ctor_set(x_320, 0, x_317); -lean_ctor_set(x_320, 1, x_318); -return x_320; -} -} +lean_dec(x_315); +x_319 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_319, 0, x_1); +x_320 = lean_array_size(x_318); +x_321 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_306, x_319, x_320, x_311, x_318); +x_322 = lean_apply_11(x_321, x_317, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_316); +return x_322; } else { -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; size_t x_385; size_t x_386; lean_object* x_387; lean_object* x_388; -x_321 = lean_ctor_get(x_15, 0); -x_322 = lean_ctor_get(x_15, 2); -x_323 = lean_ctor_get(x_15, 3); -x_324 = lean_ctor_get(x_15, 4); -lean_inc(x_324); -lean_inc(x_323); -lean_inc(x_322); -lean_inc(x_321); -lean_dec(x_15); -x_325 = l_Lean_Doc_getPositional___redArg___closed__2; -x_326 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_321); -x_327 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_327, 0, x_321); -x_328 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_328, 0, x_321); -x_329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_329, 0, x_327); -lean_ctor_set(x_329, 1, x_328); -x_330 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_330, 0, x_324); -x_331 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_331, 0, x_323); -x_332 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_332, 0, x_322); -x_333 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_333, 0, x_329); -lean_ctor_set(x_333, 1, x_325); -lean_ctor_set(x_333, 2, x_332); -lean_ctor_set(x_333, 3, x_331); -lean_ctor_set(x_333, 4, x_330); -lean_ctor_set(x_13, 1, x_326); -lean_ctor_set(x_13, 0, x_333); -x_334 = l_ReaderT_instMonad___redArg(x_13); -x_335 = lean_ctor_get(x_334, 0); -lean_inc_ref(x_335); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_336 = x_334; -} else { - lean_dec_ref(x_334); - x_336 = lean_box(0); -} -x_337 = lean_ctor_get(x_335, 0); -lean_inc_ref(x_337); -x_338 = lean_ctor_get(x_335, 2); -lean_inc(x_338); -x_339 = lean_ctor_get(x_335, 3); -lean_inc(x_339); -x_340 = lean_ctor_get(x_335, 4); -lean_inc(x_340); -if (lean_is_exclusive(x_335)) { - lean_ctor_release(x_335, 0); - lean_ctor_release(x_335, 1); - lean_ctor_release(x_335, 2); - lean_ctor_release(x_335, 3); - lean_ctor_release(x_335, 4); - x_341 = x_335; -} else { - lean_dec_ref(x_335); - x_341 = lean_box(0); -} -x_342 = l_Lean_Doc_getPositional___redArg___closed__4; -x_343 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_337); -x_344 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_344, 0, x_337); -x_345 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_345, 0, x_337); -x_346 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_346, 0, x_344); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_347, 0, x_340); -x_348 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_348, 0, x_339); -x_349 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_349, 0, x_338); -if (lean_is_scalar(x_341)) { - x_350 = lean_alloc_ctor(0, 5, 0); -} else { - x_350 = x_341; -} -lean_ctor_set(x_350, 0, x_346); -lean_ctor_set(x_350, 1, x_342); -lean_ctor_set(x_350, 2, x_349); -lean_ctor_set(x_350, 3, x_348); -lean_ctor_set(x_350, 4, x_347); -if (lean_is_scalar(x_336)) { - x_351 = lean_alloc_ctor(0, 2, 0); -} else { - x_351 = x_336; -} -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_343); -x_352 = l_ReaderT_instMonad___redArg(x_351); -x_353 = lean_ctor_get(x_352, 0); -lean_inc_ref(x_353); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - lean_ctor_release(x_352, 1); - x_354 = x_352; -} else { - lean_dec_ref(x_352); - x_354 = lean_box(0); -} -x_355 = lean_ctor_get(x_353, 0); -lean_inc_ref(x_355); -x_356 = lean_ctor_get(x_353, 2); -lean_inc(x_356); -x_357 = lean_ctor_get(x_353, 3); -lean_inc(x_357); -x_358 = lean_ctor_get(x_353, 4); -lean_inc(x_358); -if (lean_is_exclusive(x_353)) { - lean_ctor_release(x_353, 0); - lean_ctor_release(x_353, 1); - lean_ctor_release(x_353, 2); - lean_ctor_release(x_353, 3); - lean_ctor_release(x_353, 4); - x_359 = x_353; -} else { - lean_dec_ref(x_353); - x_359 = lean_box(0); -} -x_360 = l_Lean_Doc_getPositional___redArg___closed__6; -x_361 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_355); -x_362 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_362, 0, x_355); -x_363 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_363, 0, x_355); -x_364 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -x_365 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_365, 0, x_358); -x_366 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_366, 0, x_357); -x_367 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_367, 0, x_356); -if (lean_is_scalar(x_359)) { - x_368 = lean_alloc_ctor(0, 5, 0); -} else { - x_368 = x_359; -} -lean_ctor_set(x_368, 0, x_364); -lean_ctor_set(x_368, 1, x_360); -lean_ctor_set(x_368, 2, x_367); -lean_ctor_set(x_368, 3, x_366); -lean_ctor_set(x_368, 4, x_365); -if (lean_is_scalar(x_354)) { - x_369 = lean_alloc_ctor(0, 2, 0); -} else { - x_369 = x_354; -} -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_361); -x_370 = l_ReaderT_instMonad___redArg(x_369); -x_371 = l_ReaderT_instMonad___redArg(x_370); -lean_inc_ref(x_371); -x_372 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_372, 0, x_371); -lean_inc_ref(x_371); -x_373 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_373, 0, x_371); -lean_inc_ref(x_371); -x_374 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_374, 0, x_371); -lean_inc_ref(x_371); -x_375 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_375, 0, x_371); -lean_inc_ref(x_371); -x_376 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_376, 0, lean_box(0)); -lean_closure_set(x_376, 1, lean_box(0)); -lean_closure_set(x_376, 2, x_371); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_372); -lean_inc_ref(x_371); -x_378 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_378, 0, lean_box(0)); -lean_closure_set(x_378, 1, lean_box(0)); -lean_closure_set(x_378, 2, x_371); -x_379 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_379, 0, x_377); -lean_ctor_set(x_379, 1, x_378); -lean_ctor_set(x_379, 2, x_373); -lean_ctor_set(x_379, 3, x_374); -lean_ctor_set(x_379, 4, x_375); -x_380 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_380, 0, lean_box(0)); -lean_closure_set(x_380, 1, lean_box(0)); -lean_closure_set(x_380, 2, x_371); -x_381 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_381, 0, x_379); -lean_ctor_set(x_381, 1, x_380); -x_382 = lean_erase_macro_scopes(x_2); -x_383 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_383, 0, x_382); -x_384 = l_Lean_Doc_getMany___redArg___closed__1; -x_385 = lean_array_size(x_3); -x_386 = 0; -lean_inc_ref(x_3); -lean_inc_ref(x_381); -x_387 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_381, x_3, x_383, x_385, x_386, x_384); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_388 = lean_apply_10(x_387, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_388) == 0) -{ -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; size_t x_395; lean_object* x_396; lean_object* x_397; -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -lean_dec(x_389); -x_391 = lean_ctor_get(x_388, 1); -lean_inc(x_391); -lean_dec_ref(x_388); -x_392 = lean_ctor_get(x_390, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_390, 1); -lean_inc(x_393); -lean_dec(x_390); -x_394 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_394, 0, x_1); -x_395 = lean_array_size(x_393); -x_396 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_381, x_394, x_395, x_386, x_393); -x_397 = lean_apply_10(x_396, x_392, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_391); -return x_397; -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -lean_dec_ref(x_381); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +lean_dec_ref(x_306); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_1); -x_398 = lean_ctor_get(x_388, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_388, 1); -lean_inc(x_399); -if (lean_is_exclusive(x_388)) { - lean_ctor_release(x_388, 0); - lean_ctor_release(x_388, 1); - x_400 = x_388; +x_323 = lean_ctor_get(x_313, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_313, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_313)) { + lean_ctor_release(x_313, 0); + lean_ctor_release(x_313, 1); + x_325 = x_313; } else { - lean_dec_ref(x_388); - x_400 = lean_box(0); + lean_dec_ref(x_313); + x_325 = lean_box(0); } -if (lean_is_scalar(x_400)) { - x_401 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(1, 2, 0); } else { - x_401 = x_400; + x_326 = x_325; } -lean_ctor_set(x_401, 0, x_398); -lean_ctor_set(x_401, 1, x_399); -return x_401; +lean_ctor_set(x_326, 0, x_323); +lean_ctor_set(x_326, 1, x_324); +return x_326; } } } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; size_t x_469; size_t x_470; lean_object* x_471; lean_object* x_472; -x_402 = lean_ctor_get(x_13, 0); -lean_inc(x_402); -lean_dec(x_13); -x_403 = lean_ctor_get(x_402, 0); -lean_inc_ref(x_403); -x_404 = lean_ctor_get(x_402, 2); -lean_inc(x_404); -x_405 = lean_ctor_get(x_402, 3); -lean_inc(x_405); -x_406 = lean_ctor_get(x_402, 4); -lean_inc(x_406); -if (lean_is_exclusive(x_402)) { - lean_ctor_release(x_402, 0); - lean_ctor_release(x_402, 1); - lean_ctor_release(x_402, 2); - lean_ctor_release(x_402, 3); - lean_ctor_release(x_402, 4); - x_407 = x_402; +lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; size_t x_392; size_t x_393; lean_object* x_394; lean_object* x_395; +x_327 = lean_ctor_get(x_16, 0); +x_328 = lean_ctor_get(x_16, 2); +x_329 = lean_ctor_get(x_16, 3); +x_330 = lean_ctor_get(x_16, 4); +lean_inc(x_330); +lean_inc(x_329); +lean_inc(x_328); +lean_inc(x_327); +lean_dec(x_16); +x_331 = l_Lean_Doc_getPositional___redArg___closed__2; +x_332 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_327); +x_333 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_333, 0, x_327); +x_334 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_334, 0, x_327); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_333); +lean_ctor_set(x_335, 1, x_334); +x_336 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_336, 0, x_330); +x_337 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_337, 0, x_329); +x_338 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_338, 0, x_328); +x_339 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_339, 0, x_335); +lean_ctor_set(x_339, 1, x_331); +lean_ctor_set(x_339, 2, x_338); +lean_ctor_set(x_339, 3, x_337); +lean_ctor_set(x_339, 4, x_336); +lean_ctor_set(x_14, 1, x_332); +lean_ctor_set(x_14, 0, x_339); +x_340 = l_ReaderT_instMonad___redArg(x_14); +x_341 = lean_ctor_get(x_340, 0); +lean_inc_ref(x_341); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + lean_ctor_release(x_340, 1); + x_342 = x_340; } else { - lean_dec_ref(x_402); + lean_dec_ref(x_340); + x_342 = lean_box(0); +} +x_343 = lean_ctor_get(x_341, 0); +lean_inc_ref(x_343); +x_344 = lean_ctor_get(x_341, 2); +lean_inc(x_344); +x_345 = lean_ctor_get(x_341, 3); +lean_inc(x_345); +x_346 = lean_ctor_get(x_341, 4); +lean_inc(x_346); +if (lean_is_exclusive(x_341)) { + lean_ctor_release(x_341, 0); + lean_ctor_release(x_341, 1); + lean_ctor_release(x_341, 2); + lean_ctor_release(x_341, 3); + lean_ctor_release(x_341, 4); + x_347 = x_341; +} else { + lean_dec_ref(x_341); + x_347 = lean_box(0); +} +x_348 = l_Lean_Doc_getPositional___redArg___closed__4; +x_349 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_343); +x_350 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_350, 0, x_343); +x_351 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_351, 0, x_343); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_350); +lean_ctor_set(x_352, 1, x_351); +x_353 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_353, 0, x_346); +x_354 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_354, 0, x_345); +x_355 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_355, 0, x_344); +if (lean_is_scalar(x_347)) { + x_356 = lean_alloc_ctor(0, 5, 0); +} else { + x_356 = x_347; +} +lean_ctor_set(x_356, 0, x_352); +lean_ctor_set(x_356, 1, x_348); +lean_ctor_set(x_356, 2, x_355); +lean_ctor_set(x_356, 3, x_354); +lean_ctor_set(x_356, 4, x_353); +if (lean_is_scalar(x_342)) { + x_357 = lean_alloc_ctor(0, 2, 0); +} else { + x_357 = x_342; +} +lean_ctor_set(x_357, 0, x_356); +lean_ctor_set(x_357, 1, x_349); +x_358 = l_ReaderT_instMonad___redArg(x_357); +x_359 = lean_ctor_get(x_358, 0); +lean_inc_ref(x_359); +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + lean_ctor_release(x_358, 1); + x_360 = x_358; +} else { + lean_dec_ref(x_358); + x_360 = lean_box(0); +} +x_361 = lean_ctor_get(x_359, 0); +lean_inc_ref(x_361); +x_362 = lean_ctor_get(x_359, 2); +lean_inc(x_362); +x_363 = lean_ctor_get(x_359, 3); +lean_inc(x_363); +x_364 = lean_ctor_get(x_359, 4); +lean_inc(x_364); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + lean_ctor_release(x_359, 1); + lean_ctor_release(x_359, 2); + lean_ctor_release(x_359, 3); + lean_ctor_release(x_359, 4); + x_365 = x_359; +} else { + lean_dec_ref(x_359); + x_365 = lean_box(0); +} +x_366 = l_Lean_Doc_getPositional___redArg___closed__6; +x_367 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_361); +x_368 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_368, 0, x_361); +x_369 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_369, 0, x_361); +x_370 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_370, 0, x_368); +lean_ctor_set(x_370, 1, x_369); +x_371 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_371, 0, x_364); +x_372 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_372, 0, x_363); +x_373 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_373, 0, x_362); +if (lean_is_scalar(x_365)) { + x_374 = lean_alloc_ctor(0, 5, 0); +} else { + x_374 = x_365; +} +lean_ctor_set(x_374, 0, x_370); +lean_ctor_set(x_374, 1, x_366); +lean_ctor_set(x_374, 2, x_373); +lean_ctor_set(x_374, 3, x_372); +lean_ctor_set(x_374, 4, x_371); +if (lean_is_scalar(x_360)) { + x_375 = lean_alloc_ctor(0, 2, 0); +} else { + x_375 = x_360; +} +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_367); +x_376 = l_ReaderT_instMonad___redArg(x_375); +x_377 = l_ReaderT_instMonad___redArg(x_376); +x_378 = l_ReaderT_instMonad___redArg(x_377); +lean_inc_ref(x_378); +x_379 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_379, 0, x_378); +lean_inc_ref(x_378); +x_380 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_380, 0, x_378); +lean_inc_ref(x_378); +x_381 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_381, 0, x_378); +lean_inc_ref(x_378); +x_382 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_382, 0, x_378); +lean_inc_ref(x_378); +x_383 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_383, 0, lean_box(0)); +lean_closure_set(x_383, 1, lean_box(0)); +lean_closure_set(x_383, 2, x_378); +x_384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_379); +lean_inc_ref(x_378); +x_385 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_385, 0, lean_box(0)); +lean_closure_set(x_385, 1, lean_box(0)); +lean_closure_set(x_385, 2, x_378); +x_386 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); +lean_ctor_set(x_386, 2, x_380); +lean_ctor_set(x_386, 3, x_381); +lean_ctor_set(x_386, 4, x_382); +x_387 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_387, 0, lean_box(0)); +lean_closure_set(x_387, 1, lean_box(0)); +lean_closure_set(x_387, 2, x_378); +x_388 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_388, 0, x_386); +lean_ctor_set(x_388, 1, x_387); +x_389 = lean_erase_macro_scopes(x_2); +x_390 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_390, 0, x_389); +x_391 = l_Lean_Doc_getMany___redArg___closed__1; +x_392 = lean_array_size(x_3); +x_393 = 0; +lean_inc_ref(x_3); +lean_inc_ref(x_388); +x_394 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_388, x_3, x_390, x_392, x_393, x_391); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_395 = lean_apply_11(x_394, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_395) == 0) +{ +lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; size_t x_402; lean_object* x_403; lean_object* x_404; +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +lean_dec(x_396); +x_398 = lean_ctor_get(x_395, 1); +lean_inc(x_398); +lean_dec_ref(x_395); +x_399 = lean_ctor_get(x_397, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_397, 1); +lean_inc(x_400); +lean_dec(x_397); +x_401 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_401, 0, x_1); +x_402 = lean_array_size(x_400); +x_403 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_388, x_401, x_402, x_393, x_400); +x_404 = lean_apply_11(x_403, x_399, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_398); +return x_404; +} +else +{ +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +lean_dec_ref(x_388); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_405 = lean_ctor_get(x_395, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_395, 1); +lean_inc(x_406); +if (lean_is_exclusive(x_395)) { + lean_ctor_release(x_395, 0); + lean_ctor_release(x_395, 1); + x_407 = x_395; +} else { + lean_dec_ref(x_395); x_407 = lean_box(0); } -x_408 = l_Lean_Doc_getPositional___redArg___closed__2; -x_409 = l_Lean_Doc_getPositional___redArg___closed__3; -lean_inc_ref(x_403); -x_410 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_410, 0, x_403); -x_411 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_411, 0, x_403); -x_412 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_412, 0, x_410); -lean_ctor_set(x_412, 1, x_411); -x_413 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_413, 0, x_406); -x_414 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_414, 0, x_405); -x_415 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_415, 0, x_404); if (lean_is_scalar(x_407)) { - x_416 = lean_alloc_ctor(0, 5, 0); + x_408 = lean_alloc_ctor(1, 2, 0); } else { - x_416 = x_407; + x_408 = x_407; } -lean_ctor_set(x_416, 0, x_412); -lean_ctor_set(x_416, 1, x_408); -lean_ctor_set(x_416, 2, x_415); -lean_ctor_set(x_416, 3, x_414); -lean_ctor_set(x_416, 4, x_413); -x_417 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_409); -x_418 = l_ReaderT_instMonad___redArg(x_417); -x_419 = lean_ctor_get(x_418, 0); -lean_inc_ref(x_419); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_420 = x_418; -} else { - lean_dec_ref(x_418); - x_420 = lean_box(0); +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_406); +return x_408; } -x_421 = lean_ctor_get(x_419, 0); -lean_inc_ref(x_421); -x_422 = lean_ctor_get(x_419, 2); -lean_inc(x_422); -x_423 = lean_ctor_get(x_419, 3); -lean_inc(x_423); -x_424 = lean_ctor_get(x_419, 4); -lean_inc(x_424); -if (lean_is_exclusive(x_419)) { - lean_ctor_release(x_419, 0); - lean_ctor_release(x_419, 1); - lean_ctor_release(x_419, 2); - lean_ctor_release(x_419, 3); - lean_ctor_release(x_419, 4); - x_425 = x_419; -} else { - lean_dec_ref(x_419); - x_425 = lean_box(0); } -x_426 = l_Lean_Doc_getPositional___redArg___closed__4; -x_427 = l_Lean_Doc_getPositional___redArg___closed__5; -lean_inc_ref(x_421); -x_428 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_428, 0, x_421); -x_429 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_429, 0, x_421); -x_430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_430, 0, x_428); -lean_ctor_set(x_430, 1, x_429); -x_431 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_431, 0, x_424); -x_432 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_432, 0, x_423); -x_433 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_433, 0, x_422); -if (lean_is_scalar(x_425)) { - x_434 = lean_alloc_ctor(0, 5, 0); -} else { - x_434 = x_425; -} -lean_ctor_set(x_434, 0, x_430); -lean_ctor_set(x_434, 1, x_426); -lean_ctor_set(x_434, 2, x_433); -lean_ctor_set(x_434, 3, x_432); -lean_ctor_set(x_434, 4, x_431); -if (lean_is_scalar(x_420)) { - x_435 = lean_alloc_ctor(0, 2, 0); -} else { - x_435 = x_420; -} -lean_ctor_set(x_435, 0, x_434); -lean_ctor_set(x_435, 1, x_427); -x_436 = l_ReaderT_instMonad___redArg(x_435); -x_437 = lean_ctor_get(x_436, 0); -lean_inc_ref(x_437); -if (lean_is_exclusive(x_436)) { - lean_ctor_release(x_436, 0); - lean_ctor_release(x_436, 1); - x_438 = x_436; -} else { - lean_dec_ref(x_436); - x_438 = lean_box(0); -} -x_439 = lean_ctor_get(x_437, 0); -lean_inc_ref(x_439); -x_440 = lean_ctor_get(x_437, 2); -lean_inc(x_440); -x_441 = lean_ctor_get(x_437, 3); -lean_inc(x_441); -x_442 = lean_ctor_get(x_437, 4); -lean_inc(x_442); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - lean_ctor_release(x_437, 2); - lean_ctor_release(x_437, 3); - lean_ctor_release(x_437, 4); - x_443 = x_437; -} else { - lean_dec_ref(x_437); - x_443 = lean_box(0); -} -x_444 = l_Lean_Doc_getPositional___redArg___closed__6; -x_445 = l_Lean_Doc_getPositional___redArg___closed__7; -lean_inc_ref(x_439); -x_446 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(x_446, 0, x_439); -x_447 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_447, 0, x_439); -x_448 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_448, 0, x_446); -lean_ctor_set(x_448, 1, x_447); -x_449 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_449, 0, x_442); -x_450 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(x_450, 0, x_441); -x_451 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_451, 0, x_440); -if (lean_is_scalar(x_443)) { - x_452 = lean_alloc_ctor(0, 5, 0); -} else { - x_452 = x_443; -} -lean_ctor_set(x_452, 0, x_448); -lean_ctor_set(x_452, 1, x_444); -lean_ctor_set(x_452, 2, x_451); -lean_ctor_set(x_452, 3, x_450); -lean_ctor_set(x_452, 4, x_449); -if (lean_is_scalar(x_438)) { - x_453 = lean_alloc_ctor(0, 2, 0); -} else { - x_453 = x_438; -} -lean_ctor_set(x_453, 0, x_452); -lean_ctor_set(x_453, 1, x_445); -x_454 = l_ReaderT_instMonad___redArg(x_453); -x_455 = l_ReaderT_instMonad___redArg(x_454); -lean_inc_ref(x_455); -x_456 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); -lean_closure_set(x_456, 0, x_455); -lean_inc_ref(x_455); -x_457 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); -lean_closure_set(x_457, 0, x_455); -lean_inc_ref(x_455); -x_458 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); -lean_closure_set(x_458, 0, x_455); -lean_inc_ref(x_455); -x_459 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); -lean_closure_set(x_459, 0, x_455); -lean_inc_ref(x_455); -x_460 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); -lean_closure_set(x_460, 0, lean_box(0)); -lean_closure_set(x_460, 1, lean_box(0)); -lean_closure_set(x_460, 2, x_455); -x_461 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_456); -lean_inc_ref(x_455); -x_462 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); -lean_closure_set(x_462, 0, lean_box(0)); -lean_closure_set(x_462, 1, lean_box(0)); -lean_closure_set(x_462, 2, x_455); -x_463 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_463, 0, x_461); -lean_ctor_set(x_463, 1, x_462); -lean_ctor_set(x_463, 2, x_457); -lean_ctor_set(x_463, 3, x_458); -lean_ctor_set(x_463, 4, x_459); -x_464 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); -lean_closure_set(x_464, 0, lean_box(0)); -lean_closure_set(x_464, 1, lean_box(0)); -lean_closure_set(x_464, 2, x_455); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_463); -lean_ctor_set(x_465, 1, x_464); -x_466 = lean_erase_macro_scopes(x_2); -x_467 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 14, 1); -lean_closure_set(x_467, 0, x_466); -x_468 = l_Lean_Doc_getMany___redArg___closed__1; -x_469 = lean_array_size(x_3); -x_470 = 0; -lean_inc_ref(x_3); -lean_inc_ref(x_465); -x_471 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_465, x_3, x_467, x_469, x_470, x_468); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_472 = lean_apply_10(x_471, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_472) == 0) -{ -lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; size_t x_479; lean_object* x_480; lean_object* x_481; -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_473, 0); -lean_inc(x_474); -lean_dec(x_473); -x_475 = lean_ctor_get(x_472, 1); -lean_inc(x_475); -lean_dec_ref(x_472); -x_476 = lean_ctor_get(x_474, 0); -lean_inc(x_476); -x_477 = lean_ctor_get(x_474, 1); -lean_inc(x_477); -lean_dec(x_474); -x_478 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 12, 1); -lean_closure_set(x_478, 0, x_1); -x_479 = lean_array_size(x_477); -x_480 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_465, x_478, x_479, x_470, x_477); -x_481 = lean_apply_10(x_480, x_476, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_475); -return x_481; } else { -lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; -lean_dec_ref(x_465); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_482 = lean_ctor_get(x_472, 0); -lean_inc(x_482); -x_483 = lean_ctor_get(x_472, 1); -lean_inc(x_483); -if (lean_is_exclusive(x_472)) { - lean_ctor_release(x_472, 0); - lean_ctor_release(x_472, 1); - x_484 = x_472; +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; size_t x_477; size_t x_478; lean_object* x_479; lean_object* x_480; +x_409 = lean_ctor_get(x_14, 0); +lean_inc(x_409); +lean_dec(x_14); +x_410 = lean_ctor_get(x_409, 0); +lean_inc_ref(x_410); +x_411 = lean_ctor_get(x_409, 2); +lean_inc(x_411); +x_412 = lean_ctor_get(x_409, 3); +lean_inc(x_412); +x_413 = lean_ctor_get(x_409, 4); +lean_inc(x_413); +if (lean_is_exclusive(x_409)) { + lean_ctor_release(x_409, 0); + lean_ctor_release(x_409, 1); + lean_ctor_release(x_409, 2); + lean_ctor_release(x_409, 3); + lean_ctor_release(x_409, 4); + x_414 = x_409; } else { - lean_dec_ref(x_472); - x_484 = lean_box(0); + lean_dec_ref(x_409); + x_414 = lean_box(0); } -if (lean_is_scalar(x_484)) { - x_485 = lean_alloc_ctor(1, 2, 0); +x_415 = l_Lean_Doc_getPositional___redArg___closed__2; +x_416 = l_Lean_Doc_getPositional___redArg___closed__3; +lean_inc_ref(x_410); +x_417 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_417, 0, x_410); +x_418 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_418, 0, x_410); +x_419 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_419, 0, x_417); +lean_ctor_set(x_419, 1, x_418); +x_420 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_420, 0, x_413); +x_421 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_421, 0, x_412); +x_422 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_422, 0, x_411); +if (lean_is_scalar(x_414)) { + x_423 = lean_alloc_ctor(0, 5, 0); } else { - x_485 = x_484; + x_423 = x_414; } -lean_ctor_set(x_485, 0, x_482); -lean_ctor_set(x_485, 1, x_483); -return x_485; +lean_ctor_set(x_423, 0, x_419); +lean_ctor_set(x_423, 1, x_415); +lean_ctor_set(x_423, 2, x_422); +lean_ctor_set(x_423, 3, x_421); +lean_ctor_set(x_423, 4, x_420); +x_424 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_416); +x_425 = l_ReaderT_instMonad___redArg(x_424); +x_426 = lean_ctor_get(x_425, 0); +lean_inc_ref(x_426); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + x_427 = x_425; +} else { + lean_dec_ref(x_425); + x_427 = lean_box(0); } +x_428 = lean_ctor_get(x_426, 0); +lean_inc_ref(x_428); +x_429 = lean_ctor_get(x_426, 2); +lean_inc(x_429); +x_430 = lean_ctor_get(x_426, 3); +lean_inc(x_430); +x_431 = lean_ctor_get(x_426, 4); +lean_inc(x_431); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + lean_ctor_release(x_426, 4); + x_432 = x_426; +} else { + lean_dec_ref(x_426); + x_432 = lean_box(0); } +x_433 = l_Lean_Doc_getPositional___redArg___closed__4; +x_434 = l_Lean_Doc_getPositional___redArg___closed__5; +lean_inc_ref(x_428); +x_435 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_435, 0, x_428); +x_436 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_436, 0, x_428); +x_437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_436); +x_438 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_438, 0, x_431); +x_439 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_439, 0, x_430); +x_440 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_440, 0, x_429); +if (lean_is_scalar(x_432)) { + x_441 = lean_alloc_ctor(0, 5, 0); +} else { + x_441 = x_432; } +lean_ctor_set(x_441, 0, x_437); +lean_ctor_set(x_441, 1, x_433); +lean_ctor_set(x_441, 2, x_440); +lean_ctor_set(x_441, 3, x_439); +lean_ctor_set(x_441, 4, x_438); +if (lean_is_scalar(x_427)) { + x_442 = lean_alloc_ctor(0, 2, 0); +} else { + x_442 = x_427; } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set(x_442, 1, x_434); +x_443 = l_ReaderT_instMonad___redArg(x_442); +x_444 = lean_ctor_get(x_443, 0); +lean_inc_ref(x_444); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + x_445 = x_443; +} else { + lean_dec_ref(x_443); + x_445 = lean_box(0); +} +x_446 = lean_ctor_get(x_444, 0); +lean_inc_ref(x_446); +x_447 = lean_ctor_get(x_444, 2); +lean_inc(x_447); +x_448 = lean_ctor_get(x_444, 3); +lean_inc(x_448); +x_449 = lean_ctor_get(x_444, 4); +lean_inc(x_449); +if (lean_is_exclusive(x_444)) { + lean_ctor_release(x_444, 0); + lean_ctor_release(x_444, 1); + lean_ctor_release(x_444, 2); + lean_ctor_release(x_444, 3); + lean_ctor_release(x_444, 4); + x_450 = x_444; +} else { + lean_dec_ref(x_444); + x_450 = lean_box(0); +} +x_451 = l_Lean_Doc_getPositional___redArg___closed__6; +x_452 = l_Lean_Doc_getPositional___redArg___closed__7; +lean_inc_ref(x_446); +x_453 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(x_453, 0, x_446); +x_454 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_454, 0, x_446); +x_455 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_455, 0, x_453); +lean_ctor_set(x_455, 1, x_454); +x_456 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_456, 0, x_449); +x_457 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(x_457, 0, x_448); +x_458 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_458, 0, x_447); +if (lean_is_scalar(x_450)) { + x_459 = lean_alloc_ctor(0, 5, 0); +} else { + x_459 = x_450; +} +lean_ctor_set(x_459, 0, x_455); +lean_ctor_set(x_459, 1, x_451); +lean_ctor_set(x_459, 2, x_458); +lean_ctor_set(x_459, 3, x_457); +lean_ctor_set(x_459, 4, x_456); +if (lean_is_scalar(x_445)) { + x_460 = lean_alloc_ctor(0, 2, 0); +} else { + x_460 = x_445; +} +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_452); +x_461 = l_ReaderT_instMonad___redArg(x_460); +x_462 = l_ReaderT_instMonad___redArg(x_461); +x_463 = l_ReaderT_instMonad___redArg(x_462); +lean_inc_ref(x_463); +x_464 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__1), 6, 1); +lean_closure_set(x_464, 0, x_463); +lean_inc_ref(x_463); +x_465 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__4), 6, 1); +lean_closure_set(x_465, 0, x_463); +lean_inc_ref(x_463); +x_466 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__7), 6, 1); +lean_closure_set(x_466, 0, x_463); +lean_inc_ref(x_463); +x_467 = lean_alloc_closure((void*)(l_StateT_instMonad___redArg___lam__9), 6, 1); +lean_closure_set(x_467, 0, x_463); +lean_inc_ref(x_463); +x_468 = lean_alloc_closure((void*)(l_StateT_map), 8, 3); +lean_closure_set(x_468, 0, lean_box(0)); +lean_closure_set(x_468, 1, lean_box(0)); +lean_closure_set(x_468, 2, x_463); +x_469 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_464); +lean_inc_ref(x_463); +x_470 = lean_alloc_closure((void*)(l_StateT_pure), 6, 3); +lean_closure_set(x_470, 0, lean_box(0)); +lean_closure_set(x_470, 1, lean_box(0)); +lean_closure_set(x_470, 2, x_463); +x_471 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_471, 0, x_469); +lean_ctor_set(x_471, 1, x_470); +lean_ctor_set(x_471, 2, x_465); +lean_ctor_set(x_471, 3, x_466); +lean_ctor_set(x_471, 4, x_467); +x_472 = lean_alloc_closure((void*)(l_StateT_bind), 8, 3); +lean_closure_set(x_472, 0, lean_box(0)); +lean_closure_set(x_472, 1, lean_box(0)); +lean_closure_set(x_472, 2, x_463); +x_473 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_473, 0, x_471); +lean_ctor_set(x_473, 1, x_472); +x_474 = lean_erase_macro_scopes(x_2); +x_475 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__0___boxed), 15, 1); +lean_closure_set(x_475, 0, x_474); +x_476 = l_Lean_Doc_getMany___redArg___closed__1; +x_477 = lean_array_size(x_3); +x_478 = 0; +lean_inc_ref(x_3); +lean_inc_ref(x_473); +x_479 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_473, x_3, x_475, x_477, x_478, x_476); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_480 = lean_apply_11(x_479, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_480) == 0) { -lean_object* x_14; -x_14 = l_Lean_Doc_getMany___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; +lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; size_t x_487; lean_object* x_488; lean_object* x_489; +x_481 = lean_ctor_get(x_480, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_481, 0); +lean_inc(x_482); +lean_dec(x_481); +x_483 = lean_ctor_get(x_480, 1); +lean_inc(x_483); +lean_dec_ref(x_480); +x_484 = lean_ctor_get(x_482, 0); +lean_inc(x_484); +x_485 = lean_ctor_get(x_482, 1); +lean_inc(x_485); +lean_dec(x_482); +x_486 = lean_alloc_closure((void*)(l_Lean_Doc_getMany___redArg___lam__1___boxed), 13, 1); +lean_closure_set(x_486, 0, x_1); +x_487 = lean_array_size(x_485); +x_488 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_473, x_486, x_487, x_478, x_485); +x_489 = lean_apply_11(x_488, x_484, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_483); +return x_489; +} +else +{ +lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; +lean_dec_ref(x_473); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_490 = lean_ctor_get(x_480, 0); +lean_inc(x_490); +x_491 = lean_ctor_get(x_480, 1); +lean_inc(x_491); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_492 = x_480; +} else { + lean_dec_ref(x_480); + x_492 = lean_box(0); +} +if (lean_is_scalar(x_492)) { + x_493 = lean_alloc_ctor(1, 2, 0); +} else { + x_493 = x_492; +} +lean_ctor_set(x_493, 0, x_490); +lean_ctor_set(x_493, 1, x_491); +return x_493; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getMany(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Doc_getMany___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); +x_15 = l_Lean_Doc_getMany___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_13; -x_13 = l_Lean_Doc_getMany___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_16; +x_16 = l_Lean_Doc_getMany___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getMany___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_13; +lean_dec_ref(x_4); +return x_14; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__0() { @@ -22565,8 +22983,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__0; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -22585,8 +23003,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__2; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -22906,12 +23324,12 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { -lean_object* x_22; -x_22 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_21); -return x_22; +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_22); +return x_23; } } static lean_object* _init_l_Lean_Doc_getFlag___closed__0() { @@ -22926,159 +23344,159 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getFlag(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_getFlag(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_13 = lean_erase_macro_scopes(x_1); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_get_size(x_3); -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -x_18 = lean_box(0); -x_19 = l_Lean_Doc_getFlag___closed__0; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = lean_box(0); +x_20 = l_Lean_Doc_getFlag___closed__0; lean_inc_ref(x_3); -x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg(x_3, x_19, x_13, x_14, x_16, x_18, x_17, x_19, x_14, x_3, x_12); -lean_dec_ref(x_17); -lean_dec(x_13); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0___redArg(x_3, x_20, x_14, x_15, x_17, x_19, x_18, x_20, x_15, x_3, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); x_23 = lean_ctor_get(x_22, 0); -if (lean_obj_tag(x_23) == 0) +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_20); -if (x_24 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) { -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_20, 0); -lean_dec(x_25); -x_26 = !lean_is_exclusive(x_21); -if (x_26 == 0) +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_21, 0); -lean_dec(x_27); -x_28 = lean_box(x_2); -lean_ctor_set(x_21, 0, x_28); -return x_20; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +x_29 = lean_box(x_2); +lean_ctor_set(x_22, 0, x_29); +return x_21; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 1); -lean_inc(x_29); -lean_dec(x_21); -x_30 = lean_box(x_2); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_20, 0, x_31); -return x_20; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_dec(x_22); +x_31 = lean_box(x_2); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_21, 0, x_32); +return x_21; } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_ctor_get(x_20, 1); -lean_inc(x_32); -lean_dec(x_20); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_33 = lean_ctor_get(x_21, 1); lean_inc(x_33); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_34 = x_21; -} else { - lean_dec_ref(x_21); - x_34 = lean_box(0); -} -x_35 = lean_box(x_2); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_32); -return x_37; -} -} -else -{ -uint8_t x_38; -lean_inc_ref(x_23); -x_38 = !lean_is_exclusive(x_20); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_20, 0); -lean_dec(x_39); -x_40 = !lean_is_exclusive(x_21); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_21, 0); -lean_dec(x_41); -x_42 = lean_ctor_get(x_23, 0); -lean_inc(x_42); -lean_dec_ref(x_23); -lean_ctor_set(x_21, 0, x_42); -return x_20; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_21, 1); -lean_inc(x_43); lean_dec(x_21); -x_44 = lean_ctor_get(x_23, 0); -lean_inc(x_44); -lean_dec_ref(x_23); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -lean_ctor_set(x_20, 0, x_45); -return x_20; +x_34 = lean_ctor_get(x_22, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_35 = x_22; +} else { + lean_dec_ref(x_22); + x_35 = lean_box(0); +} +x_36 = lean_box(x_2); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_35; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +return x_38; } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_46 = lean_ctor_get(x_20, 1); -lean_inc(x_46); -lean_dec(x_20); +uint8_t x_39; +lean_inc_ref(x_24); +x_39 = !lean_is_exclusive(x_21); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_21, 0); +lean_dec(x_40); +x_41 = !lean_is_exclusive(x_22); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_22, 0); +lean_dec(x_42); +x_43 = lean_ctor_get(x_24, 0); +lean_inc(x_43); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_43); +return x_21; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_22, 1); +lean_inc(x_44); +lean_dec(x_22); +x_45 = lean_ctor_get(x_24, 0); +lean_inc(x_45); +lean_dec_ref(x_24); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_21, 0, x_46); +return x_21; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_47 = lean_ctor_get(x_21, 1); lean_inc(x_47); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_48 = x_21; +lean_dec(x_21); +x_48 = lean_ctor_get(x_22, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_49 = x_22; } else { - lean_dec_ref(x_21); - x_48 = lean_box(0); + lean_dec_ref(x_22); + x_49 = lean_box(0); } -x_49 = lean_ctor_get(x_23, 0); -lean_inc(x_49); -lean_dec_ref(x_23); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 2, 0); +x_50 = lean_ctor_get(x_24, 0); +lean_inc(x_50); +lean_dec_ref(x_24); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); } else { - x_50 = x_48; + x_51 = x_49; } -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -x_51 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_46); -return x_51; +lean_ctor_set(x_51, 1, x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_47); +return x_52; } } } @@ -23116,39 +23534,42 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; _start: { -lean_object* x_22; -x_22 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getFlag_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); +lean_dec_ref(x_13); lean_dec_ref(x_7); lean_dec(x_5); lean_dec(x_3); -return x_22; +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Doc_getFlag___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_getFlag___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -x_14 = l_Lean_Doc_getFlag(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_2); +x_15 = l_Lean_Doc_getFlag(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_14; +lean_dec_ref(x_4); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -23271,7 +23692,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_3, 1); x_10 = lean_ctor_get(x_4, 1); -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_12 = lean_string_dec_eq(x_10, x_11); if (x_12 == 0) { @@ -23616,7 +24037,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_98; uint8_t x_114; +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_65; uint8_t x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_74; uint8_t x_75; uint8_t x_76; lean_object* x_77; uint8_t x_78; lean_object* x_91; uint8_t x_92; uint8_t x_93; lean_object* x_94; uint8_t x_95; uint8_t x_96; uint8_t x_98; uint8_t x_114; x_14 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__0___boxed), 7, 0); x_15 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__1___boxed), 7, 0); x_74 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); @@ -23695,8 +24116,8 @@ lean_dec(x_20); x_34 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_34, 0, x_33); x_35 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_36 = lean_box(x_17); -x_37 = lean_box(x_16); +x_36 = lean_box(x_16); +x_37 = lean_box(x_17); x_38 = lean_box(x_4); x_39 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__6___boxed), 15, 8); lean_closure_set(x_39, 0, x_27); @@ -23874,9 +24295,9 @@ if (lean_obj_tag(x_71) == 0) { lean_inc(x_70); x_16 = x_65; -x_17 = x_67; +x_17 = x_66; x_18 = x_70; -x_19 = x_66; +x_19 = x_67; x_20 = x_70; goto block_64; } @@ -23887,9 +24308,9 @@ x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); lean_dec_ref(x_71); x_16 = x_65; -x_17 = x_67; +x_17 = x_66; x_18 = x_70; -x_19 = x_66; +x_19 = x_67; x_20 = x_72; goto block_64; } @@ -23903,7 +24324,7 @@ lean_inc(x_10); lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); -x_79 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_76); +x_79 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); if (lean_obj_tag(x_79) == 0) { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; @@ -23914,15 +24335,15 @@ lean_inc(x_81); lean_dec_ref(x_79); x_82 = l_Lean_replaceRef(x_1, x_80); lean_dec(x_80); -x_83 = l_Lean_Syntax_getPos_x3f(x_82, x_77); +x_83 = l_Lean_Syntax_getPos_x3f(x_82, x_76); if (lean_obj_tag(x_83) == 0) { lean_object* x_84; x_84 = lean_unsigned_to_nat(0u); -x_65 = x_78; -x_66 = x_81; -x_67 = x_75; -x_68 = x_77; +x_65 = x_75; +x_66 = x_78; +x_67 = x_81; +x_68 = x_76; x_69 = x_82; x_70 = x_84; goto block_73; @@ -23933,10 +24354,10 @@ lean_object* x_85; x_85 = lean_ctor_get(x_83, 0); lean_inc(x_85); lean_dec_ref(x_83); -x_65 = x_78; -x_66 = x_81; -x_67 = x_75; -x_68 = x_77; +x_65 = x_75; +x_66 = x_78; +x_67 = x_81; +x_68 = x_76; x_69 = x_82; x_70 = x_85; goto block_73; @@ -23979,17 +24400,17 @@ block_97: { if (x_96 == 0) { -x_75 = x_94; -x_76 = x_93; -x_77 = x_95; +x_75 = x_93; +x_76 = x_95; +x_77 = x_94; x_78 = x_3; goto block_90; } else { -x_75 = x_94; -x_76 = x_93; -x_77 = x_95; +x_75 = x_93; +x_76 = x_95; +x_77 = x_94; x_78 = x_92; goto block_90; } @@ -24019,8 +24440,8 @@ x_103 = l_Lean_instBEqMessageSeverity_beq(x_3, x_102); if (x_103 == 0) { lean_dec(x_100); -x_93 = x_101; -x_94 = x_98; +x_93 = x_98; +x_94 = x_101; x_95 = x_98; x_96 = x_103; goto block_97; @@ -24031,8 +24452,8 @@ lean_object* x_104; uint8_t x_105; x_104 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___closed__0; x_105 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_100, x_104); lean_dec(x_100); -x_93 = x_101; -x_94 = x_98; +x_93 = x_98; +x_94 = x_101; x_95 = x_98; x_96 = x_105; goto block_97; @@ -24098,188 +24519,1151 @@ return x_112; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; +lean_object* x_16; +x_16 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = 2; -x_14 = 0; -x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = 2; +x_15 = 0; +x_16 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg(x_1, x_2, x_14, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Extra argument", 14, 14); +x_1 = lean_mk_string_unchecked("Unexpected argument", 19, 19); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2() { _start: { -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_4, x_3); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_6); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_15); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_array_uget(x_2, x_4); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1; -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_21 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_19); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = lean_usize_add(x_4, x_25); -{ -size_t _tmp_3 = x_26; -lean_object* _tmp_4 = x_1; -lean_object* _tmp_5 = x_24; -lean_object* _tmp_14 = x_23; -x_4 = _tmp_3; -x_5 = _tmp_4; -x_6 = _tmp_5; -x_15 = _tmp_14; -} -goto _start; -} -else -{ -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -return x_21; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected positional argument", 30, 30); +return x_1; } } -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_done(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3() { _start: { -lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; -x_11 = lean_box(0); -x_12 = lean_array_size(x_1); -x_13 = 0; -lean_inc_ref(x_1); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(x_11, x_1, x_12, x_13, x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec_ref(x_1); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_11); -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_11); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_14, 0, x_20); -return x_14; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } -else +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4() { +_start: { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_14, 0); -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_14); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_24 = x_21; -} else { - lean_dec_ref(x_21); - x_24 = lean_box(0); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected named argument `", 27, 27); +return x_1; } -if (lean_is_scalar(x_24)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_24; } -lean_ctor_set(x_25, 0, x_11); -lean_ctor_set(x_25, 1, x_23); +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected flag `", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_24; +x_24 = lean_usize_dec_lt(x_4, x_3); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_6); x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_22); +lean_ctor_set(x_26, 1, x_16); return x_26; } +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_array_uget(x_2, x_4); +x_28 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__1; +lean_inc(x_27); +x_29 = l_Lean_Syntax_isOfKind(x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__3; +lean_inc(x_27); +x_31 = l_Lean_Syntax_isOfKind(x_27, x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; +lean_inc(x_27); +x_33 = l_Lean_Syntax_isOfKind(x_27, x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; +lean_inc(x_27); +x_35 = l_Lean_Syntax_isOfKind(x_27, x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; +lean_inc(x_27); +x_37 = l_Lean_Syntax_isOfKind(x_27, x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_39 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_17 = x_1; +x_18 = x_42; +x_19 = x_41; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_39; +} } else { -return x_14; +lean_object* x_43; lean_object* x_44; +x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_44 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec_ref(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_17 = x_1; +x_18 = x_47; +x_19 = x_46; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_44; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_unsigned_to_nat(0u); +x_49 = l_Lean_Syntax_getArg(x_27, x_48); +x_50 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_49); +x_51 = l_Lean_Syntax_isOfKind(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_49); +x_52 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_53 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_17 = x_1; +x_18 = x_56; +x_19 = x_55; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_53; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_57 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5; +x_58 = l_Lean_TSyntax_getId(x_49); +lean_dec(x_49); +x_59 = l_Lean_MessageData_ofName(x_58); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Doc_getPositional___redArg___closed__40; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_63 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_62, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec_ref(x_63); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_17 = x_1; +x_18 = x_66; +x_19 = x_65; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_63; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_67 = lean_unsigned_to_nat(1u); +x_68 = l_Lean_Syntax_getArg(x_27, x_67); +x_69 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5; +x_70 = l_Lean_TSyntax_getId(x_68); +lean_dec(x_68); +x_71 = l_Lean_MessageData_ofName(x_70); +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Doc_getPositional___redArg___closed__40; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_75 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec_ref(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_17 = x_1; +x_18 = x_78; +x_19 = x_77; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_75; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_unsigned_to_nat(1u); +x_80 = l_Lean_Syntax_getArg(x_27, x_79); +x_81 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_80); +x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_80); +x_83 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_84 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_83, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec_ref(x_84); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_17 = x_1; +x_18 = x_87; +x_19 = x_86; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_84; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_88 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7; +x_89 = l_Lean_TSyntax_getId(x_80); +lean_dec(x_80); +x_90 = l_Lean_MessageData_ofName(x_89); +x_91 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Doc_getPositional___redArg___closed__40; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_94 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec_ref(x_94); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_17 = x_1; +x_18 = x_97; +x_19 = x_96; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_94; +} +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_unsigned_to_nat(1u); +x_99 = l_Lean_Syntax_getArg(x_27, x_98); +x_100 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_99); +x_101 = l_Lean_Syntax_isOfKind(x_99, x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_99); +x_102 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_103 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec_ref(x_103); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_17 = x_1; +x_18 = x_106; +x_19 = x_105; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_103; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7; +x_108 = l_Lean_TSyntax_getId(x_99); +lean_dec(x_99); +x_109 = l_Lean_MessageData_ofName(x_108); +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Doc_getPositional___redArg___closed__40; +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_113 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_112, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_17 = x_1; +x_18 = x_116; +x_19 = x_115; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_113; +} +} +} +} +block_23: +{ +size_t x_20; size_t x_21; +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_4 = x_21; +x_5 = x_17; +x_6 = x_18; +x_16 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_24; +x_24 = lean_usize_dec_lt(x_4, x_3); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_6); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_16); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_array_uget(x_2, x_4); +x_28 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__1; +lean_inc(x_27); +x_29 = l_Lean_Syntax_isOfKind(x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__3; +lean_inc(x_27); +x_31 = l_Lean_Syntax_isOfKind(x_27, x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; +lean_inc(x_27); +x_33 = l_Lean_Syntax_isOfKind(x_27, x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; +lean_inc(x_27); +x_35 = l_Lean_Syntax_isOfKind(x_27, x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; +lean_inc(x_27); +x_37 = l_Lean_Syntax_isOfKind(x_27, x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_39 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_17 = x_1; +x_18 = x_42; +x_19 = x_41; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_39; +} +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_44 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec_ref(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_17 = x_1; +x_18 = x_47; +x_19 = x_46; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_44; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_unsigned_to_nat(0u); +x_49 = l_Lean_Syntax_getArg(x_27, x_48); +x_50 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_49); +x_51 = l_Lean_Syntax_isOfKind(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_49); +x_52 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_53 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_17 = x_1; +x_18 = x_56; +x_19 = x_55; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_53; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_57 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5; +x_58 = l_Lean_TSyntax_getId(x_49); +lean_dec(x_49); +x_59 = l_Lean_MessageData_ofName(x_58); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Doc_getPositional___redArg___closed__40; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_63 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_62, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec_ref(x_63); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_17 = x_1; +x_18 = x_66; +x_19 = x_65; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_63; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_67 = lean_unsigned_to_nat(1u); +x_68 = l_Lean_Syntax_getArg(x_27, x_67); +x_69 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5; +x_70 = l_Lean_TSyntax_getId(x_68); +lean_dec(x_68); +x_71 = l_Lean_MessageData_ofName(x_70); +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Doc_getPositional___redArg___closed__40; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_75 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec_ref(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_17 = x_1; +x_18 = x_78; +x_19 = x_77; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_75; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_unsigned_to_nat(1u); +x_80 = l_Lean_Syntax_getArg(x_27, x_79); +x_81 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_80); +x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_80); +x_83 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_84 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_83, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec_ref(x_84); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_17 = x_1; +x_18 = x_87; +x_19 = x_86; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_84; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_88 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7; +x_89 = l_Lean_TSyntax_getId(x_80); +lean_dec(x_80); +x_90 = l_Lean_MessageData_ofName(x_89); +x_91 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Doc_getPositional___redArg___closed__40; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_94 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec_ref(x_94); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_17 = x_1; +x_18 = x_97; +x_19 = x_96; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_94; +} +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_unsigned_to_nat(1u); +x_99 = l_Lean_Syntax_getArg(x_27, x_98); +x_100 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_99); +x_101 = l_Lean_Syntax_isOfKind(x_99, x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_99); +x_102 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1; +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_103 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec_ref(x_103); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_17 = x_1; +x_18 = x_106; +x_19 = x_105; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_103; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7; +x_108 = l_Lean_TSyntax_getId(x_99); +lean_dec(x_99); +x_109 = l_Lean_MessageData_ofName(x_108); +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Doc_getPositional___redArg___closed__40; +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_113 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_27, x_112, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_17 = x_1; +x_18 = x_116; +x_19 = x_115; +goto block_23; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_113; +} +} +} +} +block_23: +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_22 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2(x_1, x_2, x_3, x_21, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_19); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_done(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_12 = lean_box(0); +x_13 = lean_array_size(x_1); +x_14 = 0; +lean_inc_ref(x_1); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(x_12, x_1, x_13, x_14, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_1); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_12); +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_ctor_get(x_15, 0); +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_15); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_25 = x_22; +} else { + lean_dec_ref(x_22); + x_25 = lean_box(0); +} +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, x_12); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +else +{ +return x_15; } } } @@ -24394,53 +25778,73 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_unbox(x_3); -x_16 = lean_unbox(x_4); -x_17 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); +x_17 = lean_unbox(x_4); +x_18 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_8); lean_dec(x_7); -lean_dec_ref(x_2); +lean_dec_ref(x_6); +lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Doc_done___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_done_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_14; +x_14 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_3); lean_dec(x_3); -lean_dec(x_2); -return x_11; +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_done___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_ArgSpec_ctorIdx(lean_object* x_1) { @@ -24639,52 +26043,34 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.Elab.DocString.0.Lean.Doc.ArgSpec.named", 53, 53); +return x_1; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_nat_to_int(x_1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("_private.Lean.Elab.DocString.0.Lean.Doc.ArgSpec.named", 53, 53); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__5; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(1); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__6; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__8() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__6() { _start: { lean_object* x_1; @@ -24692,29 +26078,29 @@ x_1 = lean_mk_string_unchecked("_private.Lean.Elab.DocString.0.Lean.Doc.ArgSpec. return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__9() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__8; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(1); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__9; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__7; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__9() { _start: { lean_object* x_1; @@ -24722,22 +26108,22 @@ x_1 = lean_mk_string_unchecked("_private.Lean.Elab.DocString.0.Lean.Doc.ArgSpec. return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__9; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(1); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -24768,14 +26154,14 @@ x_21 = lean_nat_dec_le(x_20, x_2); if (x_21 == 0) { lean_object* x_22; -x_22 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +x_22 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; x_6 = x_22; goto block_19; } else { lean_object* x_23; -x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; +x_23 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; x_6 = x_23; goto block_19; } @@ -24827,14 +26213,14 @@ x_45 = lean_nat_dec_le(x_44, x_2); if (x_45 == 0) { lean_object* x_46; -x_46 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +x_46 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; x_27 = x_46; goto block_43; } else { lean_object* x_47; -x_47 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; +x_47 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; x_27 = x_47; goto block_43; } @@ -24842,7 +26228,7 @@ block_43: { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; x_28 = lean_box(1); -x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__7; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__5; x_30 = lean_unsigned_to_nat(1024u); x_31 = l_Lean_Name_reprPrec(x_24, x_30); x_32 = lean_alloc_ctor(5, 2, 0); @@ -24893,14 +26279,14 @@ x_66 = lean_nat_dec_le(x_65, x_2); if (x_66 == 0) { lean_object* x_67; -x_67 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +x_67 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; x_51 = x_67; goto block_64; } else { lean_object* x_68; -x_68 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; +x_68 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; x_51 = x_68; goto block_64; } @@ -24908,7 +26294,7 @@ block_64: { lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; x_52 = lean_box(1); -x_53 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10; +x_53 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__8; x_54 = lean_unsigned_to_nat(1024u); x_55 = l_Lean_Name_reprPrec(x_48, x_54); if (lean_is_scalar(x_50)) { @@ -24955,14 +26341,14 @@ x_87 = lean_nat_dec_le(x_86, x_2); if (x_87 == 0) { lean_object* x_88; -x_88 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__3; +x_88 = l_Lean_Doc_instReprSuggestionMode_repr___closed__4; x_72 = x_88; goto block_85; } else { lean_object* x_89; -x_89 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__4; +x_89 = l_Lean_Doc_instReprSuggestionMode_repr___closed__5; x_72 = x_89; goto block_85; } @@ -24970,7 +26356,7 @@ block_85: { lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; x_73 = lean_box(1); -x_74 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13; +x_74 = l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11; x_75 = lean_unsigned_to_nat(1024u); x_76 = l_Lean_Name_reprPrec(x_69, x_75); x_77 = lean_alloc_ctor(5, 2, 0); @@ -25345,8 +26731,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__0; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -25373,7 +26759,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; -x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } @@ -25439,7 +26825,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__10; -x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } @@ -25474,8 +26860,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__14; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -25572,8 +26958,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__25; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -25600,8 +26986,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__28; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -25628,8 +27014,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__31; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -25647,8 +27033,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__33; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -26524,8 +27910,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__2; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -26543,8 +27929,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_spec__0___closed__4; -x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -27901,7 +29287,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; -x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } @@ -27927,7 +29313,7 @@ if (lean_obj_tag(x_70) == 0) lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_dec_ref(x_3); lean_dec(x_2); -x_71 = l_Lean_Doc_getPositional___redArg___closed__37; +x_71 = l_Lean_Doc_getPositional___redArg___closed__40; x_72 = 0; x_73 = l_Lean_MessageData_ofConstName(x_1, x_72); lean_ctor_set_tag(x_64, 7); @@ -28265,7 +29651,7 @@ if (lean_obj_tag(x_135) == 0) lean_object* x_136; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_dec_ref(x_3); lean_dec(x_2); -x_136 = l_Lean_Doc_getPositional___redArg___closed__37; +x_136 = l_Lean_Doc_getPositional___redArg___closed__40; x_137 = 0; x_138 = l_Lean_MessageData_ofConstName(x_1, x_137); x_139 = lean_alloc_ctor(7, 2, 0); @@ -28896,6 +30282,652 @@ lean_dec_ref(x_5); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_NameSet_insert(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(uint8_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("codeSuggestionExt", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_NameSet_empty; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 2, 0); +x_4 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 1, 0); +x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_6 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_7 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_6); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_3); +x_8 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_7, x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +x_4 = l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("codeBlockSuggestionExt", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_3 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_5 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; +x_7 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_3 = x_7; +goto block_6; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec_ref(x_2); +x_3 = x_8; +goto block_6; +} +block_6: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_array_push(x_3, x_1); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_ctor_get(x_3, 3); +x_9 = lean_ctor_get(x_3, 4); +x_10 = l_Lean_Name_quickCmp(x_2, x_6); +switch (x_10) { +case 0: +{ +lean_object* x_11; lean_object* x_12; +lean_free_object(x_3); +lean_dec(x_5); +x_11 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_8); +x_12 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_6, x_7, x_11, x_9); +return x_12; +} +case 1: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_7); +x_14 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +lean_ctor_set(x_3, 2, x_15); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +default: +{ +lean_object* x_16; lean_object* x_17; +lean_free_object(x_3); +lean_dec(x_5); +x_16 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_9); +x_17 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_6, x_7, x_8, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_3, 0); +x_19 = lean_ctor_get(x_3, 1); +x_20 = lean_ctor_get(x_3, 2); +x_21 = lean_ctor_get(x_3, 3); +x_22 = lean_ctor_get(x_3, 4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_3); +x_23 = l_Lean_Name_quickCmp(x_2, x_19); +switch (x_23) { +case 0: +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_18); +x_24 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_21); +x_25 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_19, x_20, x_24, x_22); +return x_25; +} +case 1: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_20); +x_27 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_29, 0, x_18); +lean_ctor_set(x_29, 1, x_2); +lean_ctor_set(x_29, 2, x_28); +lean_ctor_set(x_29, 3, x_21); +lean_ctor_set(x_29, 4, x_22); +return x_29; +} +default: +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_18); +x_30 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_22); +x_31 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_19, x_20, x_21, x_30); +return x_31; +} +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_box(0); +x_33 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_2); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_3); +lean_ctor_set(x_36, 4, x_3); +return x_36; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_1, x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec_ref(x_2); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_4, x_3, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(uint8_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docRoleExt", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed), 2, 0); +x_4 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_; +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_6); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_3); +x_8 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_7, x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +x_4 = l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3866164309____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_box(1); +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docCodeBlockExt", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_3 = lean_box(1); +x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_5 = l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_288960067____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_box(1); +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docDirectiveExt", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_3 = lean_box(1); +x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_; +x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_966400761____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_box(1); +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docCommandExt", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_; +x_3 = lean_box(1); +x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_; +x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_; +x_3 = l_Lean_registerSimpleScopedEnvExtension___redArg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1692624857____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_box(1); +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} LEAN_EXPORT lean_object* l_Lean_Doc_CodeSuggestion_ctorIdx(lean_object* x_1) { _start: { @@ -29286,7 +31318,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___l _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionExt; +x_1 = l_Lean_Doc_codeSuggestionExt; return x_1; } } @@ -29841,7 +31873,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__9____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } @@ -29868,7 +31900,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; @@ -29878,7 +31910,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; @@ -29888,7 +31920,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; @@ -29995,9 +32027,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2____boxed), 9, 3); lean_closure_set(x_5, 0, x_3); lean_closure_set(x_5, 1, x_2); @@ -30089,48 +32121,121 @@ lean_dec(x_2); return x_6; } } +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_; +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} static lean_object* _init_l_Lean_Doc_addBuiltinCodeSuggestion___closed__0() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeSuggestions; +x_1 = l_Lean_Doc_builtinCodeSuggestions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_3 = l_Lean_Doc_addBuiltinCodeSuggestion___closed__0; -x_4 = lean_st_ref_take(x_3, x_2); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -lean_dec_ref(x_4); -x_7 = l_Lean_NameSet_insert(x_5, x_1); -x_8 = lean_st_ref_set(x_3, x_7, x_6); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion___closed__0; +x_5 = lean_st_ref_take(x_4, x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -return x_8; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 0, x_1); +x_9 = lean_array_push(x_7, x_5); +x_10 = lean_st_ref_set(x_4, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +x_18 = lean_array_push(x_15, x_17); +x_19 = lean_st_ref_set(x_4, x_18, x_16); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_22 = x_19; +} else { + lean_dec_ref(x_19); + x_22 = lean_box(0); +} +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 2, 0); +} else { + x_23 = x_22; +} +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -30138,7 +32243,7 @@ x_1 = lean_mk_string_unchecked("addBuiltinCodeSuggestion", 24, 24); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; @@ -30450,18 +32555,20 @@ else { if (x_40 == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec_ref(x_22); lean_dec(x_13); -x_80 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_80 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_81 = l_Lean_Name_mkStr3(x_2, x_3, x_80); x_82 = lean_box(0); x_83 = l_Lean_Expr_const___override(x_81, x_82); lean_inc(x_4); x_84 = l_Lean_instToExprName___private__1(x_4); -x_85 = l_Lean_Expr_app___override(x_83, x_84); -x_86 = l_Lean_declareBuiltin(x_4, x_85, x_7, x_8, x_12); -return x_86; +lean_inc(x_4); +x_85 = l_Lean_Expr_const___override(x_4, x_82); +x_86 = l_Lean_mkAppB(x_83, x_84, x_85); +x_87 = l_Lean_declareBuiltin(x_4, x_86, x_7, x_8, x_12); +return x_87; } else { @@ -30698,7 +32805,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -30715,47 +32822,47 @@ x_11 = l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn return x_11; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(3985587177u); +x_1 = lean_unsigned_to_nat(202337124u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -30763,23 +32870,23 @@ x_1 = lean_mk_string_unchecked("builtin_doc_code_suggestions", 28, 28); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__15____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -30788,21 +32895,21 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 9, 3); +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 9, 3); lean_closure_set(x_5, 0, x_3); lean_closure_set(x_5, 1, x_2); lean_closure_set(x_5, 2, x_4); -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_7, 0, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_; x_9 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_5); @@ -30811,22 +32918,22 @@ x_10 = l_Lean_registerBuiltinAttribute(x_9, x_1); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_6); -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); lean_dec(x_5); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec_ref(x_3); lean_dec(x_2); @@ -30975,7 +33082,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___l _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_docRoleExt; +x_1 = l_Lean_Doc_docRoleExt; return x_1; } } @@ -31524,7 +33631,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -31558,9 +33665,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); @@ -31598,48 +33705,221 @@ x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_E return x_13; } } +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_9; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0; +x_4 = x_9; +goto block_8; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec_ref(x_3); +x_4 = x_10; +goto block_8; +} +block_8: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +x_6 = lean_array_push(x_4, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +x_9 = lean_ctor_get(x_4, 3); +x_10 = lean_ctor_get(x_4, 4); +x_11 = l_Lean_Name_quickCmp(x_3, x_7); +switch (x_11) { +case 0: +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_4); +lean_dec(x_6); +x_12 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_1, x_2, x_3, x_9); +x_13 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_12, x_10); +return x_13; +} +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0(x_1, x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +lean_ctor_set(x_4, 2, x_16); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +default: +{ +lean_object* x_17; lean_object* x_18; +lean_free_object(x_4); +lean_dec(x_6); +x_17 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_1, x_2, x_3, x_10); +x_18 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_9, x_17); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_4, 0); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_ctor_get(x_4, 2); +x_22 = lean_ctor_get(x_4, 3); +x_23 = lean_ctor_get(x_4, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_4); +x_24 = l_Lean_Name_quickCmp(x_3, x_20); +switch (x_24) { +case 0: +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +x_25 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_1, x_2, x_3, x_22); +x_26 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_25, x_23); +return x_26; +} +case 1: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0(x_1, x_2, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_3); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set(x_30, 3, x_22); +lean_ctor_set(x_30, 4, x_23); +return x_30; +} +default: +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +x_31 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_1, x_2, x_3, x_23); +x_32 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_22, x_31); +return x_32; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_box(0); +x_34 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0(x_1, x_2, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_3); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_4); +lean_ctor_set(x_37, 4, x_4); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} static lean_object* _init_l_Lean_Doc_addBuiltinDocRole___closed__0() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocRoles; +x_1 = l_Lean_Doc_builtinDocRoles; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_4 = l_Lean_Doc_addBuiltinDocRole___closed__0; -x_5 = lean_st_ref_take(x_4, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = l_Lean_Doc_addBuiltinDocRole___closed__0; +x_6 = lean_st_ref_take(x_5, x_4); +x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -lean_dec_ref(x_5); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_2, x_1, x_6); -x_9 = lean_st_ref_set(x_4, x_8, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg(x_2, x_3, x_1, x_7); +x_10 = lean_st_ref_set(x_5, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -return x_9; +return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -31650,7 +33930,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -31658,81 +33938,81 @@ x_1 = lean_mk_string_unchecked("addBuiltinDocRole", 17, 17); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_137 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_138 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_139 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_object* x_12; lean_object* x_13; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; +x_140 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_141 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_140 = l_Lean_Name_mkStr4(x_3, x_137, x_138, x_139); +x_142 = l_Lean_Name_mkStr4(x_3, x_139, x_140, x_141); lean_inc(x_7); -x_141 = l_Lean_Syntax_isOfKind(x_7, x_140); -lean_dec(x_140); -if (x_141 == 0) +x_143 = l_Lean_Syntax_isOfKind(x_7, x_142); +lean_dec(x_142); +if (x_143 == 0) { lean_dec(x_7); lean_dec(x_5); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_136; +goto block_138; } else { -lean_object* x_142; uint8_t x_143; -x_142 = l_Lean_Syntax_getArg(x_7, x_1); -x_143 = l_Lean_Syntax_matchesIdent(x_142, x_5); -lean_dec(x_142); -if (x_143 == 0) +lean_object* x_144; uint8_t x_145; +x_144 = l_Lean_Syntax_getArg(x_7, x_1); +x_145 = l_Lean_Syntax_matchesIdent(x_144, x_5); +lean_dec(x_144); +if (x_145 == 0) { lean_dec(x_7); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_136; +goto block_138; } else { -lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_144 = lean_unsigned_to_nat(1u); -x_145 = l_Lean_Syntax_getArg(x_7, x_144); +lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_146 = lean_unsigned_to_nat(1u); +x_147 = l_Lean_Syntax_getArg(x_7, x_146); lean_dec(x_7); -lean_inc(x_145); -x_146 = l_Lean_Syntax_matchesNull(x_145, x_144); -if (x_146 == 0) +lean_inc(x_147); +x_148 = l_Lean_Syntax_matchesNull(x_147, x_146); +if (x_148 == 0) { -lean_dec(x_145); +lean_dec(x_147); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_136; +goto block_138; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = l_Lean_Syntax_getArg(x_145, x_1); -lean_dec(x_145); -x_148 = lean_box(0); +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = l_Lean_Syntax_getArg(x_147, x_1); +lean_dec(x_147); +x_150 = lean_box(0); lean_inc(x_10); lean_inc_ref(x_9); -x_149 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_147, x_148, x_9, x_10, x_11); -if (lean_obj_tag(x_149) == 0) +x_151 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_149, x_150, x_9, x_10, x_11); +if (lean_obj_tag(x_151) == 0) { -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec_ref(x_149); -x_12 = x_150; -x_13 = x_151; -goto block_136; +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec_ref(x_151); +x_12 = x_152; +x_13 = x_153; +goto block_138; } else { -uint8_t x_152; +uint8_t x_154; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_6); @@ -31740,29 +34020,29 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_152 = !lean_is_exclusive(x_149); -if (x_152 == 0) +x_154 = !lean_is_exclusive(x_151); +if (x_154 == 0) { -return x_149; +return x_151; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_149, 0); -x_154 = lean_ctor_get(x_149, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_149); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -return x_155; +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_151, 0); +x_156 = lean_ctor_get(x_151, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_151); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; } } } } } -block_136: +block_138: { size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_14 = 5; @@ -31847,7 +34127,7 @@ lean_closure_set(x_51, 2, x_49); x_52 = lean_box(0); x_53 = 1; x_54 = 0; -x_55 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_55 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_56 = lean_box(1); lean_inc_ref(x_20); x_57 = lean_alloc_ctor(0, 7, 11); @@ -31893,7 +34173,7 @@ lean_inc(x_25); x_63 = l_Lean_Elab_Term_TermElabM_run___redArg(x_51, x_57, x_58, x_62, x_25, x_9, x_10, x_26); if (lean_obj_tag(x_63) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); @@ -31907,241 +34187,245 @@ lean_dec_ref(x_66); x_68 = lean_ctor_get(x_64, 0); lean_inc(x_68); lean_dec(x_64); -x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_70 = l_Lean_Name_mkStr3(x_3, x_4, x_69); x_71 = l_Lean_Expr_const___override(x_70, x_29); lean_inc(x_12); x_72 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_68); x_73 = l_Lean_instToExprName___private__1(x_68); -x_74 = l_Lean_mkAppB(x_71, x_72, x_73); -x_75 = l_Lean_declareBuiltin(x_12, x_74, x_9, x_10, x_67); -return x_75; +x_74 = l_Lean_Expr_const___override(x_68, x_29); +x_75 = l_Lean_mkApp3(x_71, x_72, x_73, x_74); +x_76 = l_Lean_declareBuiltin(x_12, x_75, x_9, x_10, x_67); +return x_76; } else { -uint8_t x_76; +uint8_t x_77; lean_dec(x_25); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_76 = !lean_is_exclusive(x_63); -if (x_76 == 0) +x_77 = !lean_is_exclusive(x_63); +if (x_77 == 0) { return x_63; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_63, 0); -x_78 = lean_ctor_get(x_63, 1); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_63, 0); +x_79 = lean_ctor_get(x_63, 1); +lean_inc(x_79); lean_inc(x_78); -lean_inc(x_77); lean_dec(x_63); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_80 = lean_ctor_get(x_23, 0); -x_81 = lean_ctor_get(x_23, 1); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_81 = lean_ctor_get(x_23, 0); +x_82 = lean_ctor_get(x_23, 1); +lean_inc(x_82); lean_inc(x_81); -lean_inc(x_80); lean_dec(x_23); -x_82 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; +x_83 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; lean_inc_ref(x_3); -x_83 = l_Lean_Name_mkStr2(x_3, x_82); -x_84 = lean_box(0); -x_85 = l_Lean_Expr_const___override(x_83, x_84); -x_86 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_87 = l_Lean_Level_ofNat(x_1); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_84); -lean_inc_ref(x_88); -x_89 = l_Lean_Expr_const___override(x_86, x_88); -x_90 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; +x_84 = l_Lean_Name_mkStr2(x_3, x_83); +x_85 = lean_box(0); +x_86 = l_Lean_Expr_const___override(x_84, x_85); +x_87 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_88 = l_Lean_Level_ofNat(x_1); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_85); +lean_inc_ref(x_89); +x_90 = l_Lean_Expr_const___override(x_87, x_89); +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_inc_ref(x_3); -x_91 = l_Lean_Name_mkStr2(x_3, x_90); -x_92 = l_Lean_Expr_const___override(x_91, x_84); -x_93 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__8; -x_94 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -lean_inc_ref(x_88); -x_95 = l_Lean_Expr_const___override(x_94, x_88); -lean_inc_ref(x_92); -x_96 = l_Lean_Expr_app___override(x_95, x_92); -x_97 = l_Lean_mkApp3(x_89, x_92, x_93, x_96); -x_98 = l_Lean_Expr_app___override(x_85, x_97); -x_99 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__9____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_92 = l_Lean_Name_mkStr2(x_3, x_91); +x_93 = l_Lean_Expr_const___override(x_92, x_85); +x_94 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__8; +x_95 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_inc_ref(x_89); +x_96 = l_Lean_Expr_const___override(x_95, x_89); +lean_inc_ref(x_93); +x_97 = l_Lean_Expr_app___override(x_96, x_93); +x_98 = l_Lean_mkApp3(x_90, x_93, x_94, x_97); +x_99 = l_Lean_Expr_app___override(x_86, x_98); +x_100 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__9____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_4); lean_inc_ref(x_3); -x_100 = l_Lean_Name_mkStr3(x_3, x_4, x_99); -x_101 = l_Lean_Expr_const___override(x_100, x_88); -x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_101 = l_Lean_Name_mkStr3(x_3, x_4, x_100); +x_102 = l_Lean_Expr_const___override(x_101, x_89); +x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_103 = l_Lean_Name_mkStr2(x_3, x_102); -x_104 = l_Lean_Expr_const___override(x_103, x_84); -x_105 = l_Lean_Expr_app___override(x_101, x_104); -x_106 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_106, 0, x_98); -x_107 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); -lean_closure_set(x_107, 0, x_6); -lean_closure_set(x_107, 1, x_106); -lean_closure_set(x_107, 2, x_105); -x_108 = lean_box(0); -x_109 = 1; -x_110 = 0; -x_111 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_112 = lean_box(1); +x_104 = l_Lean_Name_mkStr2(x_3, x_103); +x_105 = l_Lean_Expr_const___override(x_104, x_85); +x_106 = l_Lean_Expr_app___override(x_102, x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_99); +x_108 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); +lean_closure_set(x_108, 0, x_6); +lean_closure_set(x_108, 1, x_107); +lean_closure_set(x_108, 2, x_106); +x_109 = lean_box(0); +x_110 = 1; +x_111 = 0; +x_112 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_113 = lean_box(1); lean_inc_ref(x_20); -x_113 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_84); -lean_ctor_set(x_113, 2, x_20); -lean_ctor_set(x_113, 3, x_111); -lean_ctor_set(x_113, 4, x_112); -lean_ctor_set(x_113, 5, x_112); -lean_ctor_set(x_113, 6, x_108); -lean_ctor_set_uint8(x_113, sizeof(void*)*7, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 1, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 2, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 3, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 4, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 5, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 6, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 7, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 8, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 9, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*7 + 10, x_109); -x_114 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_115 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_116 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_116, 0, x_15); -lean_ctor_set(x_116, 1, x_20); -lean_ctor_set(x_116, 2, x_112); -x_117 = lean_mk_empty_array_with_capacity(x_1); -x_118 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_118, 0, x_115); -lean_ctor_set(x_118, 1, x_2); -lean_ctor_set(x_118, 2, x_116); -lean_ctor_set(x_118, 3, x_117); -lean_ctor_set(x_118, 4, x_108); -lean_ctor_set(x_118, 5, x_1); -lean_ctor_set(x_118, 6, x_108); -lean_ctor_set_uint8(x_118, sizeof(void*)*7, x_110); -lean_ctor_set_uint8(x_118, sizeof(void*)*7 + 1, x_110); -lean_ctor_set_uint8(x_118, sizeof(void*)*7 + 2, x_110); +x_114 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_114, 0, x_109); +lean_ctor_set(x_114, 1, x_85); +lean_ctor_set(x_114, 2, x_20); +lean_ctor_set(x_114, 3, x_112); +lean_ctor_set(x_114, 4, x_113); +lean_ctor_set(x_114, 5, x_113); +lean_ctor_set(x_114, 6, x_109); +lean_ctor_set_uint8(x_114, sizeof(void*)*7, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 1, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 2, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 3, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 4, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 5, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 6, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 7, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 8, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 9, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 10, x_110); +x_115 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_116 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_15); +lean_ctor_set(x_117, 1, x_20); +lean_ctor_set(x_117, 2, x_113); +x_118 = lean_mk_empty_array_with_capacity(x_1); +x_119 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_2); +lean_ctor_set(x_119, 2, x_117); +lean_ctor_set(x_119, 3, x_118); +lean_ctor_set(x_119, 4, x_109); +lean_ctor_set(x_119, 5, x_1); +lean_ctor_set(x_119, 6, x_109); +lean_ctor_set_uint8(x_119, sizeof(void*)*7, x_111); +lean_ctor_set_uint8(x_119, sizeof(void*)*7 + 1, x_111); +lean_ctor_set_uint8(x_119, sizeof(void*)*7 + 2, x_111); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_80); -x_119 = l_Lean_Elab_Term_TermElabM_run___redArg(x_107, x_113, x_114, x_118, x_80, x_9, x_10, x_81); -if (lean_obj_tag(x_119) == 0) +lean_inc(x_81); +x_120 = l_Lean_Elab_Term_TermElabM_run___redArg(x_108, x_114, x_115, x_119, x_81, x_9, x_10, x_82); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); -lean_dec_ref(x_119); -x_122 = lean_st_ref_get(x_80, x_121); -lean_dec(x_80); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec_ref(x_122); -x_124 = lean_ctor_get(x_120, 0); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec_ref(x_120); +x_123 = lean_st_ref_get(x_81, x_122); +lean_dec(x_81); +x_124 = lean_ctor_get(x_123, 1); lean_inc(x_124); -lean_dec(x_120); -x_125 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_126 = l_Lean_Name_mkStr3(x_3, x_4, x_125); -x_127 = l_Lean_Expr_const___override(x_126, x_84); +lean_dec_ref(x_123); +x_125 = lean_ctor_get(x_121, 0); +lean_inc(x_125); +lean_dec(x_121); +x_126 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_127 = l_Lean_Name_mkStr3(x_3, x_4, x_126); +x_128 = l_Lean_Expr_const___override(x_127, x_85); lean_inc(x_12); -x_128 = l_Lean_instToExprName___private__1(x_12); -x_129 = l_Lean_instToExprName___private__1(x_124); -x_130 = l_Lean_mkAppB(x_127, x_128, x_129); -x_131 = l_Lean_declareBuiltin(x_12, x_130, x_9, x_10, x_123); -return x_131; +x_129 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_125); +x_130 = l_Lean_instToExprName___private__1(x_125); +x_131 = l_Lean_Expr_const___override(x_125, x_85); +x_132 = l_Lean_mkApp3(x_128, x_129, x_130, x_131); +x_133 = l_Lean_declareBuiltin(x_12, x_132, x_9, x_10, x_124); +return x_133; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_80); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_81); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_132 = lean_ctor_get(x_119, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_119, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_134 = x_119; +x_134 = lean_ctor_get(x_120, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_120, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_136 = x_120; } else { - lean_dec_ref(x_119); - x_134 = lean_box(0); + lean_dec_ref(x_120); + x_136 = lean_box(0); } -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); } else { - x_135 = x_134; + x_137 = x_136; } -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; } } } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(4270680891u); +x_1 = lean_unsigned_to_nat(3439285622u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -32149,33 +34433,33 @@ x_1 = lean_mk_string_unchecked("builtin_doc_role", 16, 16); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -32184,23 +34468,23 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2____boxed), 11, 5); +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_3); lean_closure_set(x_7, 3, x_5); lean_closure_set(x_7, 4, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_10 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); @@ -32209,12 +34493,12 @@ x_11 = l_Lean_registerBuiltinAttribute(x_10, x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_8); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } @@ -32238,7 +34522,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___l _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_docCodeBlockExt; +x_1 = l_Lean_Doc_docCodeBlockExt; return x_1; } } @@ -32423,7 +34707,7 @@ lean_closure_set(x_45, 2, x_39); x_46 = lean_box(0); x_47 = 1; x_48 = 0; -x_49 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_49 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_50 = lean_box(1); lean_inc_ref(x_20); x_51 = lean_alloc_ctor(0, 7, 11); @@ -32581,7 +34865,7 @@ lean_closure_set(x_98, 2, x_92); x_99 = lean_box(0); x_100 = 1; x_101 = 0; -x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_103 = lean_box(1); lean_inc_ref(x_20); x_104 = lean_alloc_ctor(0, 7, 11); @@ -32755,7 +35039,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -32789,9 +35073,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); @@ -32818,48 +35102,221 @@ x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_E return x_13; } } +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_9; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0; +x_4 = x_9; +goto block_8; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec_ref(x_3); +x_4 = x_10; +goto block_8; +} +block_8: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +x_6 = lean_array_push(x_4, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +x_9 = lean_ctor_get(x_4, 3); +x_10 = lean_ctor_get(x_4, 4); +x_11 = l_Lean_Name_quickCmp(x_3, x_7); +switch (x_11) { +case 0: +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_4); +lean_dec(x_6); +x_12 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_1, x_2, x_3, x_9); +x_13 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_12, x_10); +return x_13; +} +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0(x_1, x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +lean_ctor_set(x_4, 2, x_16); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +default: +{ +lean_object* x_17; lean_object* x_18; +lean_free_object(x_4); +lean_dec(x_6); +x_17 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_1, x_2, x_3, x_10); +x_18 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_9, x_17); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_4, 0); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_ctor_get(x_4, 2); +x_22 = lean_ctor_get(x_4, 3); +x_23 = lean_ctor_get(x_4, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_4); +x_24 = l_Lean_Name_quickCmp(x_3, x_20); +switch (x_24) { +case 0: +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +x_25 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_1, x_2, x_3, x_22); +x_26 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_25, x_23); +return x_26; +} +case 1: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0(x_1, x_2, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_3); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set(x_30, 3, x_22); +lean_ctor_set(x_30, 4, x_23); +return x_30; +} +default: +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +x_31 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_1, x_2, x_3, x_23); +x_32 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_22, x_31); +return x_32; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_box(0); +x_34 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0(x_1, x_2, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_3); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_4); +lean_ctor_set(x_37, 4, x_4); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} static lean_object* _init_l_Lean_Doc_addBuiltinDocCodeBlock___closed__0() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCodeBlocks; +x_1 = l_Lean_Doc_builtinDocCodeBlocks; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_4 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; -x_5 = lean_st_ref_take(x_4, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; +x_6 = lean_st_ref_take(x_5, x_4); +x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -lean_dec_ref(x_5); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_2, x_1, x_6); -x_9 = lean_st_ref_set(x_4, x_8, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg(x_2, x_3, x_1, x_7); +x_10 = lean_st_ref_set(x_5, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -return x_9; +return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -32867,81 +35324,81 @@ x_1 = lean_mk_string_unchecked("addBuiltinDocCodeBlock", 22, 22); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_125 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_126 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_127 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_object* x_12; lean_object* x_13; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_127 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; +x_128 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_129 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_128 = l_Lean_Name_mkStr4(x_3, x_125, x_126, x_127); +x_130 = l_Lean_Name_mkStr4(x_3, x_127, x_128, x_129); lean_inc(x_7); -x_129 = l_Lean_Syntax_isOfKind(x_7, x_128); -lean_dec(x_128); -if (x_129 == 0) +x_131 = l_Lean_Syntax_isOfKind(x_7, x_130); +lean_dec(x_130); +if (x_131 == 0) { lean_dec(x_7); lean_dec(x_5); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_124; +goto block_126; } else { -lean_object* x_130; uint8_t x_131; -x_130 = l_Lean_Syntax_getArg(x_7, x_1); -x_131 = l_Lean_Syntax_matchesIdent(x_130, x_5); -lean_dec(x_130); -if (x_131 == 0) +lean_object* x_132; uint8_t x_133; +x_132 = l_Lean_Syntax_getArg(x_7, x_1); +x_133 = l_Lean_Syntax_matchesIdent(x_132, x_5); +lean_dec(x_132); +if (x_133 == 0) { lean_dec(x_7); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_124; +goto block_126; } else { -lean_object* x_132; lean_object* x_133; uint8_t x_134; -x_132 = lean_unsigned_to_nat(1u); -x_133 = l_Lean_Syntax_getArg(x_7, x_132); +lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_134 = lean_unsigned_to_nat(1u); +x_135 = l_Lean_Syntax_getArg(x_7, x_134); lean_dec(x_7); -lean_inc(x_133); -x_134 = l_Lean_Syntax_matchesNull(x_133, x_132); -if (x_134 == 0) +lean_inc(x_135); +x_136 = l_Lean_Syntax_matchesNull(x_135, x_134); +if (x_136 == 0) { -lean_dec(x_133); +lean_dec(x_135); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_124; +goto block_126; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = l_Lean_Syntax_getArg(x_133, x_1); -lean_dec(x_133); -x_136 = lean_box(0); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = l_Lean_Syntax_getArg(x_135, x_1); +lean_dec(x_135); +x_138 = lean_box(0); lean_inc(x_10); lean_inc_ref(x_9); -x_137 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_135, x_136, x_9, x_10, x_11); -if (lean_obj_tag(x_137) == 0) +x_139 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_137, x_138, x_9, x_10, x_11); +if (lean_obj_tag(x_139) == 0) { -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec_ref(x_137); -x_12 = x_138; -x_13 = x_139; -goto block_124; +lean_object* x_140; lean_object* x_141; +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec_ref(x_139); +x_12 = x_140; +x_13 = x_141; +goto block_126; } else { -uint8_t x_140; +uint8_t x_142; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_6); @@ -32949,29 +35406,29 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_137); -if (x_140 == 0) +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) { -return x_137; +return x_139; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_137, 0); -x_142 = lean_ctor_get(x_137, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_137); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_139, 0); +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_139); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } } } } -block_124: +block_126: { size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_14 = 5; @@ -33050,7 +35507,7 @@ lean_closure_set(x_45, 2, x_39); x_46 = lean_box(0); x_47 = 1; x_48 = 0; -x_49 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_49 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_50 = lean_box(1); lean_inc_ref(x_20); x_51 = lean_alloc_ctor(0, 7, 11); @@ -33096,7 +35553,7 @@ lean_inc(x_25); x_57 = l_Lean_Elab_Term_TermElabM_run___redArg(x_45, x_51, x_52, x_56, x_25, x_9, x_10, x_26); if (lean_obj_tag(x_57) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); @@ -33110,235 +35567,239 @@ lean_dec_ref(x_60); x_62 = lean_ctor_get(x_58, 0); lean_inc(x_62); lean_dec(x_58); -x_63 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_63 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_64 = l_Lean_Name_mkStr3(x_3, x_4, x_63); x_65 = l_Lean_Expr_const___override(x_64, x_30); lean_inc(x_12); x_66 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_62); x_67 = l_Lean_instToExprName___private__1(x_62); -x_68 = l_Lean_mkAppB(x_65, x_66, x_67); -x_69 = l_Lean_declareBuiltin(x_12, x_68, x_9, x_10, x_61); -return x_69; +x_68 = l_Lean_Expr_const___override(x_62, x_30); +x_69 = l_Lean_mkApp3(x_65, x_66, x_67, x_68); +x_70 = l_Lean_declareBuiltin(x_12, x_69, x_9, x_10, x_61); +return x_70; } else { -uint8_t x_70; +uint8_t x_71; lean_dec(x_25); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_70 = !lean_is_exclusive(x_57); -if (x_70 == 0) +x_71 = !lean_is_exclusive(x_57); +if (x_71 == 0) { return x_57; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_57, 0); -x_72 = lean_ctor_get(x_57, 1); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_57, 0); +x_73 = lean_ctor_get(x_57, 1); +lean_inc(x_73); lean_inc(x_72); -lean_inc(x_71); lean_dec(x_57); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_74 = lean_ctor_get(x_23, 0); -x_75 = lean_ctor_get(x_23, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_75 = lean_ctor_get(x_23, 0); +x_76 = lean_ctor_get(x_23, 1); +lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); lean_dec(x_23); -x_76 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_77 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_4); lean_inc_ref(x_3); -x_77 = l_Lean_Name_mkStr3(x_3, x_4, x_76); -x_78 = l_Lean_Level_ofNat(x_1); -x_79 = lean_box(0); -lean_inc(x_78); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); +x_78 = l_Lean_Name_mkStr3(x_3, x_4, x_77); +x_79 = l_Lean_Level_ofNat(x_1); +x_80 = lean_box(0); +lean_inc(x_79); x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Expr_const___override(x_77, x_81); -x_83 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_Expr_const___override(x_78, x_82); +x_84 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_84 = l_Lean_Name_mkStr2(x_3, x_83); -x_85 = l_Lean_Expr_const___override(x_84, x_79); -x_86 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_85 = l_Lean_Name_mkStr2(x_3, x_84); +x_86 = l_Lean_Expr_const___override(x_85, x_80); +x_87 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_87 = l_Lean_Name_mkStr2(x_3, x_86); -x_88 = l_Lean_Expr_const___override(x_87, x_79); -x_89 = l_Lean_mkAppB(x_82, x_85, x_88); -x_90 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_88 = l_Lean_Name_mkStr2(x_3, x_87); +x_89 = l_Lean_Expr_const___override(x_88, x_80); +x_90 = l_Lean_mkAppB(x_83, x_86, x_89); +x_91 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_92 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_92 = l_Lean_Name_mkStr3(x_3, x_90, x_91); -x_93 = l_Lean_Expr_const___override(x_92, x_79); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); -lean_closure_set(x_95, 0, x_6); -lean_closure_set(x_95, 1, x_94); -lean_closure_set(x_95, 2, x_89); -x_96 = lean_box(0); -x_97 = 1; -x_98 = 0; -x_99 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_100 = lean_box(1); +x_93 = l_Lean_Name_mkStr3(x_3, x_91, x_92); +x_94 = l_Lean_Expr_const___override(x_93, x_80); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_96 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); +lean_closure_set(x_96, 0, x_6); +lean_closure_set(x_96, 1, x_95); +lean_closure_set(x_96, 2, x_90); +x_97 = lean_box(0); +x_98 = 1; +x_99 = 0; +x_100 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_101 = lean_box(1); lean_inc_ref(x_20); -x_101 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_101, 0, x_96); -lean_ctor_set(x_101, 1, x_79); -lean_ctor_set(x_101, 2, x_20); -lean_ctor_set(x_101, 3, x_99); -lean_ctor_set(x_101, 4, x_100); -lean_ctor_set(x_101, 5, x_100); -lean_ctor_set(x_101, 6, x_96); -lean_ctor_set_uint8(x_101, sizeof(void*)*7, x_97); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 1, x_97); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 2, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 3, x_97); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 4, x_97); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 5, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 6, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 7, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 8, x_97); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 9, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*7 + 10, x_97); -x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_104 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_104, 0, x_15); -lean_ctor_set(x_104, 1, x_20); -lean_ctor_set(x_104, 2, x_100); -x_105 = lean_mk_empty_array_with_capacity(x_1); -x_106 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_2); -lean_ctor_set(x_106, 2, x_104); -lean_ctor_set(x_106, 3, x_105); -lean_ctor_set(x_106, 4, x_96); -lean_ctor_set(x_106, 5, x_1); -lean_ctor_set(x_106, 6, x_96); -lean_ctor_set_uint8(x_106, sizeof(void*)*7, x_98); -lean_ctor_set_uint8(x_106, sizeof(void*)*7 + 1, x_98); -lean_ctor_set_uint8(x_106, sizeof(void*)*7 + 2, x_98); +x_102 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_102, 0, x_97); +lean_ctor_set(x_102, 1, x_80); +lean_ctor_set(x_102, 2, x_20); +lean_ctor_set(x_102, 3, x_100); +lean_ctor_set(x_102, 4, x_101); +lean_ctor_set(x_102, 5, x_101); +lean_ctor_set(x_102, 6, x_97); +lean_ctor_set_uint8(x_102, sizeof(void*)*7, x_98); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 1, x_98); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 2, x_99); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 3, x_98); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 4, x_98); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 5, x_99); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 6, x_99); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 7, x_99); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 8, x_98); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 9, x_99); +lean_ctor_set_uint8(x_102, sizeof(void*)*7 + 10, x_98); +x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_104 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_105 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_105, 0, x_15); +lean_ctor_set(x_105, 1, x_20); +lean_ctor_set(x_105, 2, x_101); +x_106 = lean_mk_empty_array_with_capacity(x_1); +x_107 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_2); +lean_ctor_set(x_107, 2, x_105); +lean_ctor_set(x_107, 3, x_106); +lean_ctor_set(x_107, 4, x_97); +lean_ctor_set(x_107, 5, x_1); +lean_ctor_set(x_107, 6, x_97); +lean_ctor_set_uint8(x_107, sizeof(void*)*7, x_99); +lean_ctor_set_uint8(x_107, sizeof(void*)*7 + 1, x_99); +lean_ctor_set_uint8(x_107, sizeof(void*)*7 + 2, x_99); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_74); -x_107 = l_Lean_Elab_Term_TermElabM_run___redArg(x_95, x_101, x_102, x_106, x_74, x_9, x_10, x_75); -if (lean_obj_tag(x_107) == 0) +lean_inc(x_75); +x_108 = l_Lean_Elab_Term_TermElabM_run___redArg(x_96, x_102, x_103, x_107, x_75, x_9, x_10, x_76); +if (lean_obj_tag(x_108) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -lean_dec_ref(x_107); -x_110 = lean_st_ref_get(x_74, x_109); -lean_dec(x_74); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec_ref(x_110); -x_112 = lean_ctor_get(x_108, 0); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec_ref(x_108); +x_111 = lean_st_ref_get(x_75, x_110); +lean_dec(x_75); +x_112 = lean_ctor_get(x_111, 1); lean_inc(x_112); -lean_dec(x_108); -x_113 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_114 = l_Lean_Name_mkStr3(x_3, x_4, x_113); -x_115 = l_Lean_Expr_const___override(x_114, x_79); +lean_dec_ref(x_111); +x_113 = lean_ctor_get(x_109, 0); +lean_inc(x_113); +lean_dec(x_109); +x_114 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +x_115 = l_Lean_Name_mkStr3(x_3, x_4, x_114); +x_116 = l_Lean_Expr_const___override(x_115, x_80); lean_inc(x_12); -x_116 = l_Lean_instToExprName___private__1(x_12); -x_117 = l_Lean_instToExprName___private__1(x_112); -x_118 = l_Lean_mkAppB(x_115, x_116, x_117); -x_119 = l_Lean_declareBuiltin(x_12, x_118, x_9, x_10, x_111); -return x_119; +x_117 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_113); +x_118 = l_Lean_instToExprName___private__1(x_113); +x_119 = l_Lean_Expr_const___override(x_113, x_80); +x_120 = l_Lean_mkApp3(x_116, x_117, x_118, x_119); +x_121 = l_Lean_declareBuiltin(x_12, x_120, x_9, x_10, x_112); +return x_121; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_74); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_75); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_120 = lean_ctor_get(x_107, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_107, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_122 = x_107; +x_122 = lean_ctor_get(x_108, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_108, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_124 = x_108; } else { - lean_dec_ref(x_107); - x_122 = lean_box(0); + lean_dec_ref(x_108); + x_124 = lean_box(0); } -if (lean_is_scalar(x_122)) { - x_123 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(1, 2, 0); } else { - x_123 = x_122; + x_125 = x_124; } -lean_ctor_set(x_123, 0, x_120); -lean_ctor_set(x_123, 1, x_121); -return x_123; +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_123); +return x_125; } } } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(3158329193u); +x_1 = lean_unsigned_to_nat(4017012806u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -33346,33 +35807,33 @@ x_1 = lean_mk_string_unchecked("builtin_doc_code_block", 22, 22); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -33381,23 +35842,23 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2____boxed), 11, 5); +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_3); lean_closure_set(x_7, 3, x_5); lean_closure_set(x_7, 4, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_; x_10 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); @@ -33406,16 +35867,1469 @@ x_11 = l_Lean_registerBuiltinAttribute(x_10, x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_8); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +LEAN_EXPORT lean_object* l_Lean_Doc_CodeBlockSuggestion_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_CodeBlockSuggestion_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_CodeBlockSuggestion_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("CodeBlockSuggestion", 19, 19); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_codeBlockSuggestionExt; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_13 = x_10; +} else { + lean_dec_ref(x_10); + x_13 = lean_box(0); +} +x_14 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_14); +lean_dec(x_11); +x_15 = 0; +lean_inc(x_4); +x_16 = l_Lean_Environment_find_x3f(x_14, x_4, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = l_Lean_MessageData_ofConstName(x_4, x_15); +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +if (lean_is_scalar(x_13)) { + x_19 = lean_alloc_ctor(7, 2, 0); +} else { + x_19 = x_13; + lean_ctor_set_tag(x_19, 7); +} +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg(x_19, x_7, x_8, x_12); +lean_dec_ref(x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +lean_dec_ref(x_16); +x_22 = l_Lean_ConstantInfo_type(x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 7) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_22, 1); +lean_inc_ref(x_34); +if (lean_obj_tag(x_34) == 4) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec_ref(x_34); +if (lean_obj_tag(x_35) == 1) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 1) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 1) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_39 = lean_ctor_get(x_22, 2); +lean_inc_ref(x_39); +x_40 = lean_ctor_get_uint8(x_22, sizeof(void*)*3 + 8); +x_41 = lean_ctor_get(x_35, 1); +lean_inc_ref(x_41); +lean_dec_ref(x_35); +x_42 = lean_ctor_get(x_36, 1); +lean_inc_ref(x_42); +lean_dec_ref(x_36); +x_43 = lean_ctor_get(x_37, 1); +lean_inc_ref(x_43); +lean_dec_ref(x_37); +x_44 = lean_string_dec_eq(x_43, x_2); +lean_dec_ref(x_43); +if (x_44 == 0) +{ +lean_dec_ref(x_42); +lean_dec_ref(x_41); +lean_dec_ref(x_39); +goto block_33; +} +else +{ +lean_object* x_45; uint8_t x_46; +x_45 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_46 = lean_string_dec_eq(x_42, x_45); +lean_dec_ref(x_42); +if (x_46 == 0) +{ +lean_dec_ref(x_41); +lean_dec_ref(x_39); +goto block_33; +} +else +{ +lean_object* x_47; uint8_t x_48; +x_47 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_48 = lean_string_dec_eq(x_41, x_47); +lean_dec_ref(x_41); +if (x_48 == 0) +{ +lean_dec_ref(x_39); +goto block_33; +} +else +{ +if (lean_obj_tag(x_39) == 5) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_39, 0); +if (lean_obj_tag(x_49) == 4) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 1) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +if (lean_obj_tag(x_51) == 1) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 1) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 0); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_54 = lean_ctor_get(x_39, 1); +lean_inc_ref(x_54); +lean_dec_ref(x_39); +x_55 = lean_ctor_get(x_50, 1); +lean_inc_ref(x_55); +lean_dec_ref(x_50); +x_56 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_56); +lean_dec_ref(x_51); +x_57 = lean_ctor_get(x_52, 1); +lean_inc_ref(x_57); +lean_dec_ref(x_52); +x_58 = lean_string_dec_eq(x_57, x_2); +lean_dec_ref(x_57); +if (x_58 == 0) +{ +lean_dec_ref(x_56); +lean_dec_ref(x_55); +lean_dec_ref(x_54); +goto block_33; +} +else +{ +uint8_t x_59; +x_59 = lean_string_dec_eq(x_56, x_3); +lean_dec_ref(x_56); +if (x_59 == 0) +{ +lean_dec_ref(x_55); +lean_dec_ref(x_54); +goto block_33; +} +else +{ +lean_object* x_60; uint8_t x_61; +x_60 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__14; +x_61 = lean_string_dec_eq(x_55, x_60); +lean_dec_ref(x_55); +if (x_61 == 0) +{ +lean_dec_ref(x_54); +goto block_33; +} +else +{ +if (lean_obj_tag(x_54) == 5) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_54, 0); +if (lean_obj_tag(x_62) == 4) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +if (lean_obj_tag(x_63) == 1) +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_63, 0); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_ctor_get(x_54, 1); +lean_inc_ref(x_65); +lean_dec_ref(x_54); +x_66 = lean_ctor_get(x_63, 1); +lean_inc_ref(x_66); +lean_dec_ref(x_63); +x_67 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__12; +x_68 = lean_string_dec_eq(x_66, x_67); +lean_dec_ref(x_66); +if (x_68 == 0) +{ +lean_dec_ref(x_65); +goto block_33; +} +else +{ +if (lean_obj_tag(x_65) == 4) +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_65, 0); +lean_inc(x_69); +lean_dec_ref(x_65); +if (lean_obj_tag(x_69) == 1) +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +if (lean_obj_tag(x_70) == 1) +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 1) +{ +lean_object* x_72; +x_72 = lean_ctor_get(x_71, 0); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_73); +lean_dec_ref(x_69); +x_74 = lean_ctor_get(x_70, 1); +lean_inc_ref(x_74); +lean_dec_ref(x_70); +x_75 = lean_ctor_get(x_71, 1); +lean_inc_ref(x_75); +lean_dec_ref(x_71); +x_76 = lean_string_dec_eq(x_75, x_2); +lean_dec_ref(x_75); +if (x_76 == 0) +{ +lean_dec_ref(x_74); +lean_dec_ref(x_73); +goto block_33; +} +else +{ +uint8_t x_77; +x_77 = lean_string_dec_eq(x_74, x_3); +lean_dec_ref(x_74); +if (x_77 == 0) +{ +lean_dec_ref(x_73); +goto block_33; +} +else +{ +lean_object* x_78; uint8_t x_79; +x_78 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_79 = lean_string_dec_eq(x_73, x_78); +lean_dec_ref(x_73); +if (x_79 == 0) +{ +goto block_33; +} +else +{ +if (x_40 == 0) +{ +lean_object* x_80; uint8_t x_81; lean_object* x_82; +lean_dec_ref(x_22); +lean_dec(x_13); +x_80 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_81 = 0; +x_82 = l_Lean_ScopedEnvExtension_add___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__2___redArg(x_80, x_4, x_81, x_7, x_8, x_12); +return x_82; +} +else +{ +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_71); +lean_dec_ref(x_70); +lean_dec_ref(x_69); +goto block_33; +} +} +else +{ +lean_dec(x_71); +lean_dec_ref(x_70); +lean_dec_ref(x_69); +goto block_33; +} +} +else +{ +lean_dec(x_70); +lean_dec_ref(x_69); +goto block_33; +} +} +else +{ +lean_dec(x_69); +goto block_33; +} +} +else +{ +lean_dec_ref(x_65); +goto block_33; +} +} +} +else +{ +lean_dec_ref(x_63); +lean_dec_ref(x_54); +goto block_33; +} +} +else +{ +lean_dec(x_63); +lean_dec_ref(x_54); +goto block_33; +} +} +else +{ +lean_dec_ref(x_54); +goto block_33; +} +} +else +{ +lean_dec_ref(x_54); +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +goto block_33; +} +} +else +{ +lean_dec(x_52); +lean_dec_ref(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +goto block_33; +} +} +else +{ +lean_dec(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +goto block_33; +} +} +else +{ +lean_dec(x_50); +lean_dec_ref(x_39); +goto block_33; +} +} +else +{ +lean_dec_ref(x_39); +goto block_33; +} +} +else +{ +lean_dec_ref(x_39); +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_37); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +goto block_33; +} +} +else +{ +lean_dec(x_37); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +goto block_33; +} +} +else +{ +lean_dec(x_36); +lean_dec_ref(x_35); +goto block_33; +} +} +else +{ +lean_dec(x_35); +goto block_33; +} +} +else +{ +lean_dec_ref(x_34); +goto block_33; +} +} +else +{ +goto block_33; +} +block_33: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_24 = l_Lean_MessageData_ofConstName(x_4, x_15); +if (lean_is_scalar(x_13)) { + x_25 = lean_alloc_ctor(7, 2, 0); +} else { + x_25 = x_13; + lean_ctor_set_tag(x_25, 7); +} +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_instReprExpr_repr(x_22, x_1); +x_29 = l_Lean_MessageData_ofFormat(x_28); +x_30 = l_Lean_indentD(x_29); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg(x_31, x_7, x_8, x_12); +lean_dec_ref(x_7); +return x_32; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(3303397355u); +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(2u); +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("doc_code_block_suggestions", 26, 26); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docstring code block suggestion provider", 40, 40); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 1; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2____boxed), 9, 3); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_7 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_6); +x_9 = l_Lean_registerBuiltinAttribute(x_8, x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_6); +x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_; +x_3 = lean_st_mk_ref(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_builtinCodeBlockSuggestions; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinCodeBlockSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0; +x_5 = lean_st_ref_take(x_4, x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 0, x_1); +x_9 = lean_array_push(x_7, x_5); +x_10 = lean_st_ref_set(x_4, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +x_18 = lean_array_push(x_15, x_17); +x_19 = lean_st_ref_set(x_4, x_18, x_16); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_22 = x_19; +} else { + lean_dec_ref(x_19); + x_22 = lean_box(0); +} +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 2, 0); +} else { + x_23 = x_22; +} +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("addBuiltinCodeBlockSuggestion", 29, 29); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_13 = x_10; +} else { + lean_dec_ref(x_10); + x_13 = lean_box(0); +} +x_14 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_14); +lean_dec(x_11); +x_15 = 0; +lean_inc(x_4); +x_16 = l_Lean_Environment_find_x3f(x_14, x_4, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_17 = l_Lean_MessageData_ofConstName(x_4, x_15); +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +if (lean_is_scalar(x_13)) { + x_19 = lean_alloc_ctor(7, 2, 0); +} else { + x_19 = x_13; + lean_ctor_set_tag(x_19, 7); +} +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg(x_19, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +lean_dec_ref(x_16); +x_22 = l_Lean_ConstantInfo_type(x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 7) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_22, 1); +lean_inc_ref(x_34); +if (lean_obj_tag(x_34) == 4) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec_ref(x_34); +if (lean_obj_tag(x_35) == 1) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 1) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 1) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_39 = lean_ctor_get(x_22, 2); +lean_inc_ref(x_39); +x_40 = lean_ctor_get_uint8(x_22, sizeof(void*)*3 + 8); +x_41 = lean_ctor_get(x_35, 1); +lean_inc_ref(x_41); +lean_dec_ref(x_35); +x_42 = lean_ctor_get(x_36, 1); +lean_inc_ref(x_42); +lean_dec_ref(x_36); +x_43 = lean_ctor_get(x_37, 1); +lean_inc_ref(x_43); +lean_dec_ref(x_37); +x_44 = lean_string_dec_eq(x_43, x_2); +lean_dec_ref(x_43); +if (x_44 == 0) +{ +lean_dec_ref(x_42); +lean_dec_ref(x_41); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +lean_object* x_45; uint8_t x_46; +x_45 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_46 = lean_string_dec_eq(x_42, x_45); +lean_dec_ref(x_42); +if (x_46 == 0) +{ +lean_dec_ref(x_41); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +lean_object* x_47; uint8_t x_48; +x_47 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_48 = lean_string_dec_eq(x_41, x_47); +lean_dec_ref(x_41); +if (x_48 == 0) +{ +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +if (lean_obj_tag(x_39) == 5) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_39, 0); +if (lean_obj_tag(x_49) == 4) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 1) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +if (lean_obj_tag(x_51) == 1) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 1) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 0); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_54 = lean_ctor_get(x_39, 1); +lean_inc_ref(x_54); +lean_dec_ref(x_39); +x_55 = lean_ctor_get(x_50, 1); +lean_inc_ref(x_55); +lean_dec_ref(x_50); +x_56 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_56); +lean_dec_ref(x_51); +x_57 = lean_ctor_get(x_52, 1); +lean_inc_ref(x_57); +lean_dec_ref(x_52); +x_58 = lean_string_dec_eq(x_57, x_2); +lean_dec_ref(x_57); +if (x_58 == 0) +{ +lean_dec_ref(x_56); +lean_dec_ref(x_55); +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +uint8_t x_59; +x_59 = lean_string_dec_eq(x_56, x_3); +lean_dec_ref(x_56); +if (x_59 == 0) +{ +lean_dec_ref(x_55); +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +lean_object* x_60; uint8_t x_61; +x_60 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__14; +x_61 = lean_string_dec_eq(x_55, x_60); +lean_dec_ref(x_55); +if (x_61 == 0) +{ +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +if (lean_obj_tag(x_54) == 5) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_54, 0); +if (lean_obj_tag(x_62) == 4) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +if (lean_obj_tag(x_63) == 1) +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_63, 0); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_ctor_get(x_54, 1); +lean_inc_ref(x_65); +lean_dec_ref(x_54); +x_66 = lean_ctor_get(x_63, 1); +lean_inc_ref(x_66); +lean_dec_ref(x_63); +x_67 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__12; +x_68 = lean_string_dec_eq(x_66, x_67); +lean_dec_ref(x_66); +if (x_68 == 0) +{ +lean_dec_ref(x_65); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +if (lean_obj_tag(x_65) == 4) +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_65, 0); +lean_inc(x_69); +lean_dec_ref(x_65); +if (lean_obj_tag(x_69) == 1) +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +if (lean_obj_tag(x_70) == 1) +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 1) +{ +lean_object* x_72; +x_72 = lean_ctor_get(x_71, 0); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_73); +lean_dec_ref(x_69); +x_74 = lean_ctor_get(x_70, 1); +lean_inc_ref(x_74); +lean_dec_ref(x_70); +x_75 = lean_ctor_get(x_71, 1); +lean_inc_ref(x_75); +lean_dec_ref(x_71); +x_76 = lean_string_dec_eq(x_75, x_2); +lean_dec_ref(x_75); +if (x_76 == 0) +{ +lean_dec_ref(x_74); +lean_dec_ref(x_73); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +uint8_t x_77; +x_77 = lean_string_dec_eq(x_74, x_3); +lean_dec_ref(x_74); +if (x_77 == 0) +{ +lean_dec_ref(x_73); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +lean_object* x_78; uint8_t x_79; +x_78 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_79 = lean_string_dec_eq(x_73, x_78); +lean_dec_ref(x_73); +if (x_79 == 0) +{ +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +else +{ +if (x_40 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec_ref(x_22); +lean_dec(x_13); +x_80 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_81 = l_Lean_Name_mkStr3(x_2, x_3, x_80); +x_82 = lean_box(0); +x_83 = l_Lean_Expr_const___override(x_81, x_82); +lean_inc(x_4); +x_84 = l_Lean_instToExprName___private__1(x_4); +lean_inc(x_4); +x_85 = l_Lean_Expr_const___override(x_4, x_82); +x_86 = l_Lean_mkAppB(x_83, x_84, x_85); +x_87 = l_Lean_declareBuiltin(x_4, x_86, x_7, x_8, x_12); +return x_87; +} +else +{ +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_71); +lean_dec_ref(x_70); +lean_dec_ref(x_69); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_71); +lean_dec_ref(x_70); +lean_dec_ref(x_69); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_70); +lean_dec_ref(x_69); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_69); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_65); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +} +else +{ +lean_dec_ref(x_63); +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_63); +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_54); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_52); +lean_dec_ref(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_50); +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_39); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +} +} +} +else +{ +lean_dec_ref(x_37); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_37); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec(x_35); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_34); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +} +else +{ +lean_dec_ref(x_3); +lean_dec_ref(x_2); +goto block_33; +} +block_33: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__3____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_24 = l_Lean_MessageData_ofConstName(x_4, x_15); +if (lean_is_scalar(x_13)) { + x_25 = lean_alloc_ctor(7, 2, 0); +} else { + x_25 = x_13; + lean_ctor_set_tag(x_25, 7); +} +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_instReprExpr_repr(x_22, x_1); +x_29 = l_Lean_MessageData_ofFormat(x_28); +x_30 = l_Lean_indentD(x_29); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0___redArg(x_31, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_32; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(891821846u); +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(2u); +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("builtin_doc_code_block_suggestions", 34, 34); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("builtin docstring code block suggestion provider", 48, 48); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 1; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2____boxed), 9, 3); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_7 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_; +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_6); +x_9 = l_Lean_registerBuiltinAttribute(x_8, x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_6); +x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +lean_dec(x_5); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -33423,25 +37337,33 @@ x_1 = lean_mk_string_unchecked("block", 5, 5); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_2 = l_Lean_instToExprName___private__1(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_docDirectiveExt; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; @@ -33604,7 +37526,7 @@ x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_inc_ref(x_3); x_35 = l_Lean_Name_mkStr2(x_3, x_34); x_36 = l_Lean_Expr_const___override(x_35, x_29); -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_38 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_23); x_39 = l_Lean_Expr_const___override(x_38, x_23); @@ -33636,7 +37558,7 @@ lean_closure_set(x_55, 2, x_53); x_56 = lean_box(0); x_57 = 1; x_58 = 0; -x_59 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_59 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_60 = lean_box(1); lean_inc_ref(x_20); x_61 = lean_alloc_ctor(0, 7, 11); @@ -33700,7 +37622,7 @@ lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_obje x_73 = lean_ctor_get(x_68, 0); x_74 = lean_ctor_get(x_68, 1); lean_dec(x_74); -x_75 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_75 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; lean_ctor_set(x_68, 1, x_73); lean_ctor_set(x_68, 0, x_12); x_76 = 0; @@ -33714,7 +37636,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_obje x_78 = lean_ctor_get(x_68, 0); lean_inc(x_78); lean_dec(x_68); -x_79 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_79 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_80 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_80, 0, x_12); lean_ctor_set(x_80, 1, x_78); @@ -33776,7 +37698,7 @@ x_97 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_inc_ref(x_3); x_98 = l_Lean_Name_mkStr2(x_3, x_97); x_99 = l_Lean_Expr_const___override(x_98, x_91); -x_100 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_100 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_101 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_95); x_102 = l_Lean_Expr_const___override(x_101, x_95); @@ -33808,7 +37730,7 @@ lean_closure_set(x_118, 2, x_116); x_119 = lean_box(0); x_120 = 1; x_121 = 0; -x_122 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_122 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_123 = lean_box(1); lean_inc_ref(x_20); x_124 = lean_alloc_ctor(0, 7, 11); @@ -33875,7 +37797,7 @@ if (lean_is_exclusive(x_131)) { lean_dec_ref(x_131); x_136 = lean_box(0); } -x_137 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_137 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; if (lean_is_scalar(x_136)) { x_138 = lean_alloc_ctor(0, 2, 0); } else { @@ -33920,47 +37842,47 @@ return x_144; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(3184904991u); +x_1 = lean_unsigned_to_nat(3463645857u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -33968,26 +37890,26 @@ x_1 = lean_mk_string_unchecked("doc_directive", 13, 13); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -33995,14 +37917,14 @@ x_1 = lean_mk_string_unchecked("docstring directive expander", 28, 28); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -34011,23 +37933,23 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2____boxed), 11, 5); +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_3); lean_closure_set(x_7, 3, x_5); lean_closure_set(x_7, 4, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_10 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); @@ -34036,123 +37958,312 @@ x_11 = l_Lean_registerBuiltinAttribute(x_10, x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_8); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocDirective(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0() { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_4 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; -x_5 = lean_st_ref_take(x_4, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec_ref(x_5); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_2, x_1, x_6); -x_9 = lean_st_ref_set(x_4, x_8, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: { -return x_9; +lean_object* x_4; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_9; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0; +x_4 = x_9; +goto block_8; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; +lean_object* x_10; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec_ref(x_3); +x_4 = x_10; +goto block_8; +} +block_8: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +x_6 = lean_array_push(x_4, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; -x_145 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_146 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_147 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -lean_inc_ref(x_3); -x_148 = l_Lean_Name_mkStr4(x_3, x_145, x_146, x_147); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +x_9 = lean_ctor_get(x_4, 3); +x_10 = lean_ctor_get(x_4, 4); +x_11 = l_Lean_Name_quickCmp(x_3, x_7); +switch (x_11) { +case 0: +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_4); +lean_dec(x_6); +x_12 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_1, x_2, x_3, x_9); +x_13 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_12, x_10); +return x_13; +} +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0(x_1, x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +lean_ctor_set(x_4, 2, x_16); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +default: +{ +lean_object* x_17; lean_object* x_18; +lean_free_object(x_4); +lean_dec(x_6); +x_17 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_1, x_2, x_3, x_10); +x_18 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_9, x_17); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_4, 0); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_ctor_get(x_4, 2); +x_22 = lean_ctor_get(x_4, 3); +x_23 = lean_ctor_get(x_4, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_4); +x_24 = l_Lean_Name_quickCmp(x_3, x_20); +switch (x_24) { +case 0: +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +x_25 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_1, x_2, x_3, x_22); +x_26 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_25, x_23); +return x_26; +} +case 1: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0(x_1, x_2, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_3); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set(x_30, 3, x_22); +lean_ctor_set(x_30, 4, x_23); +return x_30; +} +default: +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +x_31 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_1, x_2, x_3, x_23); +x_32 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_22, x_31); +return x_32; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_box(0); +x_34 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0(x_1, x_2, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_3); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_4); +lean_ctor_set(x_37, 4, x_4); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Doc_addBuiltinDocDirective___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_builtinDocDirectives; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocDirective(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = l_Lean_Doc_addBuiltinDocDirective___closed__0; +x_6 = lean_st_ref_take(x_5, x_4); +x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -x_149 = l_Lean_Syntax_isOfKind(x_7, x_148); -lean_dec(x_148); -if (x_149 == 0) +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg(x_2, x_3, x_1, x_7); +x_10 = lean_st_ref_set(x_5, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("addBuiltinDocDirective", 22, 22); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_147 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; +x_148 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_149 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_inc_ref(x_3); +x_150 = l_Lean_Name_mkStr4(x_3, x_147, x_148, x_149); +lean_inc(x_7); +x_151 = l_Lean_Syntax_isOfKind(x_7, x_150); +lean_dec(x_150); +if (x_151 == 0) { lean_dec(x_7); lean_dec(x_5); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_144; +goto block_146; } else { -lean_object* x_150; uint8_t x_151; -x_150 = l_Lean_Syntax_getArg(x_7, x_1); -x_151 = l_Lean_Syntax_matchesIdent(x_150, x_5); -lean_dec(x_150); -if (x_151 == 0) +lean_object* x_152; uint8_t x_153; +x_152 = l_Lean_Syntax_getArg(x_7, x_1); +x_153 = l_Lean_Syntax_matchesIdent(x_152, x_5); +lean_dec(x_152); +if (x_153 == 0) { lean_dec(x_7); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_144; +goto block_146; } else { -lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_152 = lean_unsigned_to_nat(1u); -x_153 = l_Lean_Syntax_getArg(x_7, x_152); +lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_154 = lean_unsigned_to_nat(1u); +x_155 = l_Lean_Syntax_getArg(x_7, x_154); lean_dec(x_7); -lean_inc(x_153); -x_154 = l_Lean_Syntax_matchesNull(x_153, x_152); -if (x_154 == 0) +lean_inc(x_155); +x_156 = l_Lean_Syntax_matchesNull(x_155, x_154); +if (x_156 == 0) { -lean_dec(x_153); +lean_dec(x_155); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_144; +goto block_146; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = l_Lean_Syntax_getArg(x_153, x_1); -lean_dec(x_153); -x_156 = lean_box(0); +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = l_Lean_Syntax_getArg(x_155, x_1); +lean_dec(x_155); +x_158 = lean_box(0); lean_inc(x_10); lean_inc_ref(x_9); -x_157 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_155, x_156, x_9, x_10, x_11); -if (lean_obj_tag(x_157) == 0) +x_159 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_157, x_158, x_9, x_10, x_11); +if (lean_obj_tag(x_159) == 0) { -lean_object* x_158; lean_object* x_159; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec_ref(x_157); -x_12 = x_158; -x_13 = x_159; -goto block_144; +lean_object* x_160; lean_object* x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec_ref(x_159); +x_12 = x_160; +x_13 = x_161; +goto block_146; } else { -uint8_t x_160; +uint8_t x_162; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_6); @@ -34160,29 +38271,29 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_160 = !lean_is_exclusive(x_157); -if (x_160 == 0) +x_162 = !lean_is_exclusive(x_159); +if (x_162 == 0) { -return x_157; +return x_159; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_157, 0); -x_162 = lean_ctor_get(x_157, 1); -lean_inc(x_162); -lean_inc(x_161); -lean_dec(x_157); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_159, 0); +x_164 = lean_ctor_get(x_159, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_159); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; } } } } } -block_144: +block_146: { size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_14 = 5; @@ -34241,7 +38352,7 @@ x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_inc_ref(x_3); x_35 = l_Lean_Name_mkStr2(x_3, x_34); x_36 = l_Lean_Expr_const___override(x_35, x_29); -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; +x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; x_38 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_23); x_39 = l_Lean_Expr_const___override(x_38, x_23); @@ -34275,7 +38386,7 @@ lean_closure_set(x_55, 2, x_53); x_56 = lean_box(0); x_57 = 1; x_58 = 0; -x_59 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_59 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_60 = lean_box(1); lean_inc_ref(x_20); x_61 = lean_alloc_ctor(0, 7, 11); @@ -34321,7 +38432,7 @@ lean_inc(x_25); x_67 = l_Lean_Elab_Term_TermElabM_run___redArg(x_55, x_61, x_62, x_66, x_25, x_9, x_10, x_26); if (lean_obj_tag(x_67) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; x_68 = lean_ctor_get(x_67, 0); lean_inc(x_68); x_69 = lean_ctor_get(x_67, 1); @@ -34335,249 +38446,253 @@ lean_dec_ref(x_70); x_72 = lean_ctor_get(x_68, 0); lean_inc(x_72); lean_dec(x_68); -x_73 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; +x_73 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_74 = l_Lean_Name_mkStr3(x_3, x_4, x_73); x_75 = l_Lean_Expr_const___override(x_74, x_29); lean_inc(x_12); x_76 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_72); x_77 = l_Lean_instToExprName___private__1(x_72); -x_78 = l_Lean_mkAppB(x_75, x_76, x_77); -x_79 = l_Lean_declareBuiltin(x_12, x_78, x_9, x_10, x_71); -return x_79; +x_78 = l_Lean_Expr_const___override(x_72, x_29); +x_79 = l_Lean_mkApp3(x_75, x_76, x_77, x_78); +x_80 = l_Lean_declareBuiltin(x_12, x_79, x_9, x_10, x_71); +return x_80; } else { -uint8_t x_80; +uint8_t x_81; lean_dec(x_25); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_80 = !lean_is_exclusive(x_67); -if (x_80 == 0) +x_81 = !lean_is_exclusive(x_67); +if (x_81 == 0) { return x_67; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_67, 0); -x_82 = lean_ctor_get(x_67, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_67, 0); +x_83 = lean_ctor_get(x_67, 1); +lean_inc(x_83); lean_inc(x_82); -lean_inc(x_81); lean_dec(x_67); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_84 = lean_ctor_get(x_23, 0); -x_85 = lean_ctor_get(x_23, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_85 = lean_ctor_get(x_23, 0); +x_86 = lean_ctor_get(x_23, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); lean_dec(x_23); -x_86 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; +x_87 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10; lean_inc_ref(x_3); -x_87 = l_Lean_Name_mkStr2(x_3, x_86); -x_88 = lean_box(0); -x_89 = l_Lean_Expr_const___override(x_87, x_88); -x_90 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_91 = l_Lean_Level_ofNat(x_1); -lean_inc(x_91); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_88); -lean_inc_ref(x_92); -x_93 = l_Lean_Expr_const___override(x_90, x_92); -x_94 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; +x_88 = l_Lean_Name_mkStr2(x_3, x_87); +x_89 = lean_box(0); +x_90 = l_Lean_Expr_const___override(x_88, x_89); +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__6____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_92 = l_Lean_Level_ofNat(x_1); +lean_inc(x_92); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_89); +lean_inc_ref(x_93); +x_94 = l_Lean_Expr_const___override(x_91, x_93); +x_95 = l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper_build___closed__3; lean_inc_ref(x_3); -x_95 = l_Lean_Name_mkStr2(x_3, x_94); -x_96 = l_Lean_Expr_const___override(x_95, x_88); -x_97 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_98 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -lean_inc_ref(x_92); -x_99 = l_Lean_Expr_const___override(x_98, x_92); -lean_inc_ref(x_96); -x_100 = l_Lean_Expr_app___override(x_99, x_96); -x_101 = l_Lean_mkApp3(x_93, x_96, x_97, x_100); -x_102 = l_Lean_Expr_app___override(x_89, x_101); -x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_96 = l_Lean_Name_mkStr2(x_3, x_95); +x_97 = l_Lean_Expr_const___override(x_96, x_89); +x_98 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_99 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__8____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_inc_ref(x_93); +x_100 = l_Lean_Expr_const___override(x_99, x_93); +lean_inc_ref(x_97); +x_101 = l_Lean_Expr_app___override(x_100, x_97); +x_102 = l_Lean_mkApp3(x_94, x_97, x_98, x_101); +x_103 = l_Lean_Expr_app___override(x_90, x_102); +x_104 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_4); lean_inc_ref(x_3); -x_104 = l_Lean_Name_mkStr3(x_3, x_4, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_91); -lean_ctor_set(x_105, 1, x_92); -x_106 = l_Lean_Expr_const___override(x_104, x_105); -x_107 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_105 = l_Lean_Name_mkStr3(x_3, x_4, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_92); +lean_ctor_set(x_106, 1, x_93); +x_107 = l_Lean_Expr_const___override(x_105, x_106); +x_108 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_108 = l_Lean_Name_mkStr2(x_3, x_107); -x_109 = l_Lean_Expr_const___override(x_108, x_88); -x_110 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_109 = l_Lean_Name_mkStr2(x_3, x_108); +x_110 = l_Lean_Expr_const___override(x_109, x_89); +x_111 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_111 = l_Lean_Name_mkStr2(x_3, x_110); -x_112 = l_Lean_Expr_const___override(x_111, x_88); -x_113 = l_Lean_mkAppB(x_106, x_109, x_112); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_102); -x_115 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); -lean_closure_set(x_115, 0, x_6); -lean_closure_set(x_115, 1, x_114); -lean_closure_set(x_115, 2, x_113); -x_116 = lean_box(0); -x_117 = 1; -x_118 = 0; -x_119 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_120 = lean_box(1); +x_112 = l_Lean_Name_mkStr2(x_3, x_111); +x_113 = l_Lean_Expr_const___override(x_112, x_89); +x_114 = l_Lean_mkAppB(x_107, x_110, x_113); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_103); +x_116 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); +lean_closure_set(x_116, 0, x_6); +lean_closure_set(x_116, 1, x_115); +lean_closure_set(x_116, 2, x_114); +x_117 = lean_box(0); +x_118 = 1; +x_119 = 0; +x_120 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_121 = lean_box(1); lean_inc_ref(x_20); -x_121 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_121, 0, x_116); -lean_ctor_set(x_121, 1, x_88); -lean_ctor_set(x_121, 2, x_20); -lean_ctor_set(x_121, 3, x_119); -lean_ctor_set(x_121, 4, x_120); -lean_ctor_set(x_121, 5, x_120); -lean_ctor_set(x_121, 6, x_116); -lean_ctor_set_uint8(x_121, sizeof(void*)*7, x_117); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 1, x_117); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 2, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 3, x_117); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 4, x_117); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 5, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 6, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 7, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 8, x_117); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 9, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 10, x_117); -x_122 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_123 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_124 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_124, 0, x_15); -lean_ctor_set(x_124, 1, x_20); -lean_ctor_set(x_124, 2, x_120); -x_125 = lean_mk_empty_array_with_capacity(x_1); -x_126 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_126, 0, x_123); -lean_ctor_set(x_126, 1, x_2); -lean_ctor_set(x_126, 2, x_124); -lean_ctor_set(x_126, 3, x_125); -lean_ctor_set(x_126, 4, x_116); -lean_ctor_set(x_126, 5, x_1); -lean_ctor_set(x_126, 6, x_116); -lean_ctor_set_uint8(x_126, sizeof(void*)*7, x_118); -lean_ctor_set_uint8(x_126, sizeof(void*)*7 + 1, x_118); -lean_ctor_set_uint8(x_126, sizeof(void*)*7 + 2, x_118); +x_122 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_89); +lean_ctor_set(x_122, 2, x_20); +lean_ctor_set(x_122, 3, x_120); +lean_ctor_set(x_122, 4, x_121); +lean_ctor_set(x_122, 5, x_121); +lean_ctor_set(x_122, 6, x_117); +lean_ctor_set_uint8(x_122, sizeof(void*)*7, x_118); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 1, x_118); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 2, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 3, x_118); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 4, x_118); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 5, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 6, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 7, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 8, x_118); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 9, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*7 + 10, x_118); +x_123 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_124 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_125 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_125, 0, x_15); +lean_ctor_set(x_125, 1, x_20); +lean_ctor_set(x_125, 2, x_121); +x_126 = lean_mk_empty_array_with_capacity(x_1); +x_127 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_2); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); +lean_ctor_set(x_127, 4, x_117); +lean_ctor_set(x_127, 5, x_1); +lean_ctor_set(x_127, 6, x_117); +lean_ctor_set_uint8(x_127, sizeof(void*)*7, x_119); +lean_ctor_set_uint8(x_127, sizeof(void*)*7 + 1, x_119); +lean_ctor_set_uint8(x_127, sizeof(void*)*7 + 2, x_119); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_84); -x_127 = l_Lean_Elab_Term_TermElabM_run___redArg(x_115, x_121, x_122, x_126, x_84, x_9, x_10, x_85); -if (lean_obj_tag(x_127) == 0) +lean_inc(x_85); +x_128 = l_Lean_Elab_Term_TermElabM_run___redArg(x_116, x_122, x_123, x_127, x_85, x_9, x_10, x_86); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -lean_dec_ref(x_127); -x_130 = lean_st_ref_get(x_84, x_129); -lean_dec(x_84); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec_ref(x_130); -x_132 = lean_ctor_get(x_128, 0); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec_ref(x_128); +x_131 = lean_st_ref_get(x_85, x_130); +lean_dec(x_85); +x_132 = lean_ctor_get(x_131, 1); lean_inc(x_132); -lean_dec(x_128); -x_133 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_; -x_134 = l_Lean_Name_mkStr3(x_3, x_4, x_133); -x_135 = l_Lean_Expr_const___override(x_134, x_88); +lean_dec_ref(x_131); +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +x_135 = l_Lean_Name_mkStr3(x_3, x_4, x_134); +x_136 = l_Lean_Expr_const___override(x_135, x_89); lean_inc(x_12); -x_136 = l_Lean_instToExprName___private__1(x_12); -x_137 = l_Lean_instToExprName___private__1(x_132); -x_138 = l_Lean_mkAppB(x_135, x_136, x_137); -x_139 = l_Lean_declareBuiltin(x_12, x_138, x_9, x_10, x_131); -return x_139; +x_137 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_133); +x_138 = l_Lean_instToExprName___private__1(x_133); +x_139 = l_Lean_Expr_const___override(x_133, x_89); +x_140 = l_Lean_mkApp3(x_136, x_137, x_138, x_139); +x_141 = l_Lean_declareBuiltin(x_12, x_140, x_9, x_10, x_132); +return x_141; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_84); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_85); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_140 = lean_ctor_get(x_127, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_127, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_142 = x_127; +x_142 = lean_ctor_get(x_128, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_128, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_144 = x_128; } else { - lean_dec_ref(x_127); - x_142 = lean_box(0); + lean_dec_ref(x_128); + x_144 = lean_box(0); } -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); } else { - x_143 = x_142; + x_145 = x_144; } -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; } } } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(2166704935u); +x_1 = lean_unsigned_to_nat(1163580549u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -34585,33 +38700,33 @@ x_1 = lean_mk_string_unchecked("builtin_doc_directive", 21, 21); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -34620,23 +38735,23 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2____boxed), 11, 5); +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_3); lean_closure_set(x_7, 3, x_5); lean_closure_set(x_7, 4, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_; x_10 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); @@ -34645,12 +38760,12 @@ x_11 = l_Lean_registerBuiltinAttribute(x_10, x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_8); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } @@ -34658,7 +38773,7 @@ static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___l _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_docCommandExt; +x_1 = l_Lean_Doc_docCommandExt; return x_1; } } @@ -34836,7 +38951,7 @@ lean_closure_set(x_41, 1, x_40); lean_closure_set(x_41, 2, x_39); x_42 = 1; x_43 = 0; -x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_45 = lean_box(1); lean_inc_ref(x_20); x_46 = lean_alloc_ctor(0, 7, 11); @@ -34987,7 +39102,7 @@ lean_closure_set(x_89, 1, x_88); lean_closure_set(x_89, 2, x_87); x_90 = 1; x_91 = 0; -x_92 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_92 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_93 = lean_box(1); lean_inc_ref(x_20); x_94 = lean_alloc_ctor(0, 7, 11); @@ -35161,7 +39276,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -35195,9 +39310,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); @@ -35224,48 +39339,221 @@ x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_E return x_13; } } +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_9; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0; +x_4 = x_9; +goto block_8; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec_ref(x_3); +x_4 = x_10; +goto block_8; +} +block_8: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +x_6 = lean_array_push(x_4, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +x_9 = lean_ctor_get(x_4, 3); +x_10 = lean_ctor_get(x_4, 4); +x_11 = l_Lean_Name_quickCmp(x_3, x_7); +switch (x_11) { +case 0: +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_4); +lean_dec(x_6); +x_12 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_1, x_2, x_3, x_9); +x_13 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_12, x_10); +return x_13; +} +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0(x_1, x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +lean_ctor_set(x_4, 2, x_16); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +default: +{ +lean_object* x_17; lean_object* x_18; +lean_free_object(x_4); +lean_dec(x_6); +x_17 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_1, x_2, x_3, x_10); +x_18 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_7, x_8, x_9, x_17); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_4, 0); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_ctor_get(x_4, 2); +x_22 = lean_ctor_get(x_4, 3); +x_23 = lean_ctor_get(x_4, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_4); +x_24 = l_Lean_Name_quickCmp(x_3, x_20); +switch (x_24) { +case 0: +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +x_25 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_1, x_2, x_3, x_22); +x_26 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_25, x_23); +return x_26; +} +case 1: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0(x_1, x_2, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_3); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set(x_30, 3, x_22); +lean_ctor_set(x_30, 4, x_23); +return x_30; +} +default: +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +x_31 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_1, x_2, x_3, x_23); +x_32 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_20, x_21, x_22, x_31); +return x_32; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_box(0); +x_34 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0(x_1, x_2, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_3); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_4); +lean_ctor_set(x_37, 4, x_4); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} static lean_object* _init_l_Lean_Doc_addBuiltinDocCommand___closed__0() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCommands; +x_1 = l_Lean_Doc_builtinDocCommands; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_4 = l_Lean_Doc_addBuiltinDocCommand___closed__0; -x_5 = lean_st_ref_take(x_4, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = l_Lean_Doc_addBuiltinDocCommand___closed__0; +x_6 = lean_st_ref_take(x_5, x_4); +x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -lean_dec_ref(x_5); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg(x_2, x_1, x_6); -x_9 = lean_st_ref_set(x_4, x_8, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg(x_2, x_3, x_1, x_7); +x_10 = lean_st_ref_set(x_5, x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -return x_9; +return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -35273,81 +39561,81 @@ x_1 = lean_mk_string_unchecked("addBuiltinDocCommand", 20, 20); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_115 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_116 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_117 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +lean_object* x_12; lean_object* x_13; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; +x_117 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; +x_118 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__14____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_119 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__15____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_118 = l_Lean_Name_mkStr4(x_3, x_115, x_116, x_117); +x_120 = l_Lean_Name_mkStr4(x_3, x_117, x_118, x_119); lean_inc(x_7); -x_119 = l_Lean_Syntax_isOfKind(x_7, x_118); -lean_dec(x_118); -if (x_119 == 0) +x_121 = l_Lean_Syntax_isOfKind(x_7, x_120); +lean_dec(x_120); +if (x_121 == 0) { lean_dec(x_7); lean_dec(x_5); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_114; +goto block_116; } else { -lean_object* x_120; uint8_t x_121; -x_120 = l_Lean_Syntax_getArg(x_7, x_1); -x_121 = l_Lean_Syntax_matchesIdent(x_120, x_5); -lean_dec(x_120); -if (x_121 == 0) +lean_object* x_122; uint8_t x_123; +x_122 = l_Lean_Syntax_getArg(x_7, x_1); +x_123 = l_Lean_Syntax_matchesIdent(x_122, x_5); +lean_dec(x_122); +if (x_123 == 0) { lean_dec(x_7); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_114; +goto block_116; } else { -lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_122 = lean_unsigned_to_nat(1u); -x_123 = l_Lean_Syntax_getArg(x_7, x_122); +lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_124 = lean_unsigned_to_nat(1u); +x_125 = l_Lean_Syntax_getArg(x_7, x_124); lean_dec(x_7); -lean_inc(x_123); -x_124 = l_Lean_Syntax_matchesNull(x_123, x_122); -if (x_124 == 0) +lean_inc(x_125); +x_126 = l_Lean_Syntax_matchesNull(x_125, x_124); +if (x_126 == 0) { -lean_dec(x_123); +lean_dec(x_125); lean_inc(x_6); x_12 = x_6; x_13 = x_11; -goto block_114; +goto block_116; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = l_Lean_Syntax_getArg(x_123, x_1); -lean_dec(x_123); -x_126 = lean_box(0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = l_Lean_Syntax_getArg(x_125, x_1); +lean_dec(x_125); +x_128 = lean_box(0); lean_inc(x_10); lean_inc_ref(x_9); -x_127 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_125, x_126, x_9, x_10, x_11); -if (lean_obj_tag(x_127) == 0) +x_129 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_127, x_128, x_9, x_10, x_11); +if (lean_obj_tag(x_129) == 0) { -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec_ref(x_127); -x_12 = x_128; -x_13 = x_129; -goto block_114; +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec_ref(x_129); +x_12 = x_130; +x_13 = x_131; +goto block_116; } else { -uint8_t x_130; +uint8_t x_132; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_6); @@ -35355,29 +39643,29 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_130 = !lean_is_exclusive(x_127); -if (x_130 == 0) +x_132 = !lean_is_exclusive(x_129); +if (x_132 == 0) { -return x_127; +return x_129; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_127, 0); -x_132 = lean_ctor_get(x_127, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_127); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_129, 0); +x_134 = lean_ctor_get(x_129, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_129); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } } } } -block_114: +block_116: { size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_14 = 5; @@ -35449,7 +39737,7 @@ lean_closure_set(x_41, 1, x_40); lean_closure_set(x_41, 2, x_39); x_42 = 1; x_43 = 0; -x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; +x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; x_45 = lean_box(1); lean_inc_ref(x_20); x_46 = lean_alloc_ctor(0, 7, 11); @@ -35495,7 +39783,7 @@ lean_inc(x_25); x_52 = l_Lean_Elab_Term_TermElabM_run___redArg(x_41, x_46, x_47, x_51, x_25, x_9, x_10, x_26); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); @@ -35509,228 +39797,232 @@ lean_dec_ref(x_55); x_57 = lean_ctor_get(x_53, 0); lean_inc(x_57); lean_dec(x_53); -x_58 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_58 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_59 = l_Lean_Name_mkStr3(x_3, x_4, x_58); x_60 = l_Lean_Expr_const___override(x_59, x_30); lean_inc(x_12); x_61 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_57); x_62 = l_Lean_instToExprName___private__1(x_57); -x_63 = l_Lean_mkAppB(x_60, x_61, x_62); -x_64 = l_Lean_declareBuiltin(x_12, x_63, x_9, x_10, x_56); -return x_64; +x_63 = l_Lean_Expr_const___override(x_57, x_30); +x_64 = l_Lean_mkApp3(x_60, x_61, x_62, x_63); +x_65 = l_Lean_declareBuiltin(x_12, x_64, x_9, x_10, x_56); +return x_65; } else { -uint8_t x_65; +uint8_t x_66; lean_dec(x_25); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_65 = !lean_is_exclusive(x_52); -if (x_65 == 0) +x_66 = !lean_is_exclusive(x_52); +if (x_66 == 0) { return x_52; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_52, 0); -x_67 = lean_ctor_get(x_52, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_52, 0); +x_68 = lean_ctor_get(x_52, 1); +lean_inc(x_68); lean_inc(x_67); -lean_inc(x_66); lean_dec(x_52); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_69 = lean_ctor_get(x_23, 0); -x_70 = lean_ctor_get(x_23, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_70 = lean_ctor_get(x_23, 0); +x_71 = lean_ctor_get(x_23, 1); +lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); lean_dec(x_23); -x_71 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_72 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_4); lean_inc_ref(x_3); -x_72 = l_Lean_Name_mkStr3(x_3, x_4, x_71); -x_73 = l_Lean_Level_ofNat(x_1); -x_74 = lean_box(0); -lean_inc(x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); +x_73 = l_Lean_Name_mkStr3(x_3, x_4, x_72); +x_74 = l_Lean_Level_ofNat(x_1); +x_75 = lean_box(0); +lean_inc(x_74); x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Expr_const___override(x_72, x_76); -x_78 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Expr_const___override(x_73, x_77); +x_79 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__10____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_79 = l_Lean_Name_mkStr2(x_3, x_78); -x_80 = l_Lean_Expr_const___override(x_79, x_74); -x_81 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_80 = l_Lean_Name_mkStr2(x_3, x_79); +x_81 = l_Lean_Expr_const___override(x_80, x_75); +x_82 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; lean_inc_ref(x_3); -x_82 = l_Lean_Name_mkStr2(x_3, x_81); -x_83 = l_Lean_Expr_const___override(x_82, x_74); -x_84 = l_Lean_mkAppB(x_77, x_80, x_83); -x_85 = lean_box(0); -x_86 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); -lean_closure_set(x_86, 0, x_6); -lean_closure_set(x_86, 1, x_85); -lean_closure_set(x_86, 2, x_84); -x_87 = 1; -x_88 = 0; -x_89 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_; -x_90 = lean_box(1); +x_83 = l_Lean_Name_mkStr2(x_3, x_82); +x_84 = l_Lean_Expr_const___override(x_83, x_75); +x_85 = l_Lean_mkAppB(x_78, x_81, x_84); +x_86 = lean_box(0); +x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper), 10, 3); +lean_closure_set(x_87, 0, x_6); +lean_closure_set(x_87, 1, x_86); +lean_closure_set(x_87, 2, x_85); +x_88 = 1; +x_89 = 0; +x_90 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_; +x_91 = lean_box(1); lean_inc_ref(x_20); -x_91 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_91, 0, x_85); -lean_ctor_set(x_91, 1, x_74); -lean_ctor_set(x_91, 2, x_20); -lean_ctor_set(x_91, 3, x_89); -lean_ctor_set(x_91, 4, x_90); -lean_ctor_set(x_91, 5, x_90); -lean_ctor_set(x_91, 6, x_85); -lean_ctor_set_uint8(x_91, sizeof(void*)*7, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 1, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 2, x_88); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 3, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 4, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 5, x_88); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 6, x_88); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 7, x_88); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 8, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 9, x_88); -lean_ctor_set_uint8(x_91, sizeof(void*)*7 + 10, x_87); -x_92 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_93 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_15); -lean_ctor_set(x_94, 1, x_20); -lean_ctor_set(x_94, 2, x_90); -x_95 = lean_mk_empty_array_with_capacity(x_1); -x_96 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_2); -lean_ctor_set(x_96, 2, x_94); -lean_ctor_set(x_96, 3, x_95); -lean_ctor_set(x_96, 4, x_85); -lean_ctor_set(x_96, 5, x_1); -lean_ctor_set(x_96, 6, x_85); -lean_ctor_set_uint8(x_96, sizeof(void*)*7, x_88); -lean_ctor_set_uint8(x_96, sizeof(void*)*7 + 1, x_88); -lean_ctor_set_uint8(x_96, sizeof(void*)*7 + 2, x_88); +x_92 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_75); +lean_ctor_set(x_92, 2, x_20); +lean_ctor_set(x_92, 3, x_90); +lean_ctor_set(x_92, 4, x_91); +lean_ctor_set(x_92, 5, x_91); +lean_ctor_set(x_92, 6, x_86); +lean_ctor_set_uint8(x_92, sizeof(void*)*7, x_88); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 1, x_88); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 2, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 3, x_88); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 4, x_88); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 5, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 6, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 7, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 8, x_88); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 9, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*7 + 10, x_88); +x_93 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__11____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_94 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__12____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_15); +lean_ctor_set(x_95, 1, x_20); +lean_ctor_set(x_95, 2, x_91); +x_96 = lean_mk_empty_array_with_capacity(x_1); +x_97 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_2); +lean_ctor_set(x_97, 2, x_95); +lean_ctor_set(x_97, 3, x_96); +lean_ctor_set(x_97, 4, x_86); +lean_ctor_set(x_97, 5, x_1); +lean_ctor_set(x_97, 6, x_86); +lean_ctor_set_uint8(x_97, sizeof(void*)*7, x_89); +lean_ctor_set_uint8(x_97, sizeof(void*)*7 + 1, x_89); +lean_ctor_set_uint8(x_97, sizeof(void*)*7 + 2, x_89); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_69); -x_97 = l_Lean_Elab_Term_TermElabM_run___redArg(x_86, x_91, x_92, x_96, x_69, x_9, x_10, x_70); -if (lean_obj_tag(x_97) == 0) +lean_inc(x_70); +x_98 = l_Lean_Elab_Term_TermElabM_run___redArg(x_87, x_92, x_93, x_97, x_70, x_9, x_10, x_71); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_99 = lean_ctor_get(x_98, 0); lean_inc(x_99); -lean_dec_ref(x_97); -x_100 = lean_st_ref_get(x_69, x_99); -lean_dec(x_69); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec_ref(x_100); -x_102 = lean_ctor_get(x_98, 0); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec_ref(x_98); +x_101 = lean_st_ref_get(x_70, x_100); +lean_dec(x_70); +x_102 = lean_ctor_get(x_101, 1); lean_inc(x_102); -lean_dec(x_98); -x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_104 = l_Lean_Name_mkStr3(x_3, x_4, x_103); -x_105 = l_Lean_Expr_const___override(x_104, x_74); +lean_dec_ref(x_101); +x_103 = lean_ctor_get(x_99, 0); +lean_inc(x_103); +lean_dec(x_99); +x_104 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_105 = l_Lean_Name_mkStr3(x_3, x_4, x_104); +x_106 = l_Lean_Expr_const___override(x_105, x_75); lean_inc(x_12); -x_106 = l_Lean_instToExprName___private__1(x_12); -x_107 = l_Lean_instToExprName___private__1(x_102); -x_108 = l_Lean_mkAppB(x_105, x_106, x_107); -x_109 = l_Lean_declareBuiltin(x_12, x_108, x_9, x_10, x_101); -return x_109; +x_107 = l_Lean_instToExprName___private__1(x_12); +lean_inc(x_103); +x_108 = l_Lean_instToExprName___private__1(x_103); +x_109 = l_Lean_Expr_const___override(x_103, x_75); +x_110 = l_Lean_mkApp3(x_106, x_107, x_108, x_109); +x_111 = l_Lean_declareBuiltin(x_12, x_110, x_9, x_10, x_102); +return x_111; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_69); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_70); lean_dec(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_110 = lean_ctor_get(x_97, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_97, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - x_112 = x_97; +x_112 = lean_ctor_get(x_98, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_98, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_114 = x_98; } else { - lean_dec_ref(x_97); - x_112 = lean_box(0); + lean_dec_ref(x_98); + x_114 = lean_box(0); } -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_113 = x_112; + x_115 = x_114; } -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -return x_113; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } } } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1561009594u); +x_1 = lean_unsigned_to_nat(1833054692u); x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__10____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_3 = l_Lean_Name_str___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_3 = l_Lean_Name_num___override(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -35738,26 +40030,26 @@ x_1 = lean_mk_string_unchecked("builtin_doc_command", 19, 19); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2____boxed), 5, 1); +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2____boxed), 5, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -35765,14 +40057,14 @@ x_1 = lean_mk_string_unchecked("builtin docstring command expander", 34, 34); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -35781,23 +40073,23 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_2 = lean_box(1); -x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2____boxed), 11, 5); +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_6 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2____boxed), 11, 5); lean_closure_set(x_7, 0, x_4); lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_3); lean_closure_set(x_7, 3, x_5); lean_closure_set(x_7, 4, x_6); -x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_; +x_8 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_; x_10 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); @@ -35806,12 +40098,12 @@ x_11 = l_Lean_registerBuiltinAttribute(x_10, x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_8); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } @@ -35973,64 +40265,136 @@ return x_26; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_apply_11(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5___lam__0), 12, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec_ref(x_8); -x_11 = l_Lean_Doc_addBuiltinCodeSuggestion___closed__0; -x_12 = lean_st_ref_get(x_11, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_15); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); lean_dec(x_9); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_17 = lean_ctor_get(x_16, 1); -lean_inc_ref(x_17); -x_18 = lean_ctor_get(x_17, 0); -lean_inc_ref(x_18); -lean_dec_ref(x_17); -x_19 = lean_ctor_get(x_18, 2); -lean_inc(x_19); -lean_dec_ref(x_18); -x_20 = lean_box(1); -x_21 = l_Lean_ScopedEnvExtension_getState___redArg(x_20, x_16, x_15, x_19); -lean_dec(x_19); -x_22 = l_Lean_NameSet_append(x_21, x_13); -if (lean_obj_tag(x_22) == 0) +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__8____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_13 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_13); +x_14 = lean_ctor_get(x_13, 0); +lean_inc_ref(x_14); +lean_dec_ref(x_13); +x_15 = lean_ctor_get(x_14, 2); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = lean_box(1); +x_17 = l_Lean_ScopedEnvExtension_getState___redArg(x_16, x_12, x_11, x_15); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_30; -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -x_23 = x_30; -goto block_29; +lean_object* x_40; +x_40 = lean_ctor_get(x_17, 0); +lean_inc(x_40); +x_18 = x_40; +goto block_39; } else { -lean_object* x_31; -x_31 = lean_unsigned_to_nat(0u); -x_23 = x_31; -goto block_29; +lean_object* x_41; +x_41 = lean_unsigned_to_nat(0u); +x_18 = x_41; +goto block_39; } -block_29: +block_39: { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_24 = lean_mk_empty_array_with_capacity(x_23); -lean_dec(x_23); -x_25 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2_spec__2(x_24, x_22); -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__4(x_26, x_27, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_14); -return x_28; +lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_mk_empty_array_with_capacity(x_18); +lean_dec(x_18); +x_20 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2_spec__2(x_19, x_17); +x_21 = lean_array_size(x_20); +x_22 = 0; +x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__4(x_21, x_22, x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l_Lean_Doc_addBuiltinCodeSuggestion___closed__0; +x_27 = lean_st_ref_get(x_26, x_25); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; size_t x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_array_size(x_29); +x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5(x_30, x_22, x_29); +x_32 = l_Array_append___redArg(x_24, x_31); +lean_dec_ref(x_31); +lean_ctor_set(x_27, 0, x_32); +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_array_size(x_33); +x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5(x_35, x_22, x_33); +x_37 = l_Array_append___redArg(x_24, x_36); +lean_dec_ref(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +else +{ +return x_23; +} } } } @@ -36107,6 +40471,18 @@ lean_dec(x_5); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__5(x_4, x_5, x_3); +return x_6; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -36120,81 +40496,231 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeBlockSuggestions; -return x_1; +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_2, x_1); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec_ref(x_4); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_uget(x_3, x_2); +lean_inc_ref(x_4); +x_14 = l_Lean_evalConst___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__0___redArg(x_13, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_uset(x_3, x_2, x_17); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_18, x_2, x_15); +x_2 = x_20; +x_3 = x_21; +x_10 = x_16; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +return x_14; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_14); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1() { +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_1; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionExt; -return x_1; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_apply_11(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1___lam__0), 12, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec_ref(x_8); -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0; -x_12 = lean_st_ref_get(x_11, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_15); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); lean_dec(x_9); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1; -x_17 = lean_ctor_get(x_16, 1); -lean_inc_ref(x_17); -x_18 = lean_ctor_get(x_17, 0); -lean_inc_ref(x_18); -lean_dec_ref(x_17); -x_19 = lean_ctor_get(x_18, 2); -lean_inc(x_19); -lean_dec_ref(x_18); -x_20 = lean_box(1); -x_21 = l_Lean_ScopedEnvExtension_getState___redArg(x_20, x_16, x_15, x_19); -lean_dec(x_19); -x_22 = l_Lean_NameSet_append(x_21, x_13); -if (lean_obj_tag(x_22) == 0) +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_; +x_13 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_13); +x_14 = lean_ctor_get(x_13, 0); +lean_inc_ref(x_14); +lean_dec_ref(x_13); +x_15 = lean_ctor_get(x_14, 2); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = lean_box(1); +x_17 = l_Lean_ScopedEnvExtension_getState___redArg(x_16, x_12, x_11, x_15); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_30; -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -x_23 = x_30; -goto block_29; +lean_object* x_40; +x_40 = lean_ctor_get(x_17, 0); +lean_inc(x_40); +x_18 = x_40; +goto block_39; } else { -lean_object* x_31; -x_31 = lean_unsigned_to_nat(0u); -x_23 = x_31; -goto block_29; +lean_object* x_41; +x_41 = lean_unsigned_to_nat(0u); +x_18 = x_41; +goto block_39; } -block_29: +block_39: { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_24 = lean_mk_empty_array_with_capacity(x_23); -lean_dec(x_23); -x_25 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2_spec__2(x_24, x_22); -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__4(x_26, x_27, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_14); -return x_28; +lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_mk_empty_array_with_capacity(x_18); +lean_dec(x_18); +x_20 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe_spec__2_spec__2(x_19, x_17); +x_21 = lean_array_size(x_20); +x_22 = 0; +x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0(x_21, x_22, x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0; +x_27 = lean_st_ref_get(x_26, x_25); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; size_t x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_array_size(x_29); +x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1(x_30, x_22, x_29); +x_32 = l_Array_append___redArg(x_24, x_31); +lean_dec_ref(x_31); +lean_ctor_set(x_27, 0, x_32); +return x_27; } +else +{ +lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_array_size(x_33); +x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1(x_35, x_22, x_33); +x_37 = l_Array_append___redArg(x_24, x_36); +lean_dec_ref(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +else +{ +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__0(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe_spec__1(x_4, x_5, x_3); +return x_6; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -36275,7 +40801,44 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_apply_12(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___lam__0), 13, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -36315,108 +40878,376 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___lam__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { -lean_object* x_2; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0; +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_append___redArg(x_4, x_6); +lean_dec_ref(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_17 = lean_st_ref_get(x_7, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); +lean_object* x_9; lean_object* x_10; lean_object* x_16; lean_object* x_17; lean_object* x_27; lean_object* x_28; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_52; lean_object* x_53; +x_52 = lean_box(0); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_1); +x_53 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_52, x_6, x_7, x_8); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_1); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_st_ref_get(x_7, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +x_68 = lean_ctor_get(x_57, 0); +lean_inc_ref(x_68); +lean_dec(x_57); +x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__13____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; +x_70 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_70, 0); +lean_inc_ref(x_71); +lean_dec_ref(x_70); +x_72 = lean_ctor_get(x_71, 2); +lean_inc(x_72); +lean_dec_ref(x_71); +x_73 = lean_box(1); +x_74 = l_Lean_ScopedEnvExtension_getState___redArg(x_73, x_69, x_68, x_72); +lean_dec(x_72); +x_75 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_74, x_54); +lean_dec(x_74); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; +x_76 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_59 = x_76; +goto block_67; +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec_ref(x_75); +x_59 = x_77; +goto block_67; +} +block_67: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = l_Lean_Doc_addBuiltinDocRole___closed__0; +x_61 = lean_st_ref_get(x_60, x_58); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_62, x_54); +lean_dec(x_54); +lean_dec(x_62); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; +x_65 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0; +x_34 = x_63; +x_35 = x_59; +x_36 = x_65; +goto block_51; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec_ref(x_64); +x_34 = x_63; +x_35 = x_59; +x_36 = x_66; +goto block_51; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_96; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_80 = x_53; +} else { + lean_dec_ref(x_53); + x_80 = lean_box(0); +} +x_96 = l_Lean_Exception_isInterrupt(x_78); +if (x_96 == 0) +{ +uint8_t x_97; +x_97 = l_Lean_Exception_isRuntime(x_78); +x_81 = x_97; +goto block_95; +} +else +{ +x_81 = x_96; +goto block_95; +} +block_95: +{ +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_80); +lean_dec(x_78); +x_82 = l_Lean_Doc_addBuiltinDocRole___closed__0; +x_83 = lean_st_ref_get(x_82, x_79); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec_ref(x_83); +x_86 = lean_st_ref_get(x_82, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l_Lean_TSyntax_getId(x_1); +lean_dec(x_1); +x_90 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_84, x_89); +lean_dec(x_84); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3; +x_92 = l_Lean_Name_append(x_91, x_89); +x_93 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_87, x_92); +lean_dec(x_92); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_93; +goto block_33; +} +else +{ +lean_dec(x_89); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_90; +goto block_33; +} +} +else +{ +lean_object* x_94; +lean_dec(x_1); +if (lean_is_scalar(x_80)) { + x_94 = lean_alloc_ctor(1, 2, 0); +} else { + x_94 = x_80; +} +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +return x_94; +} +} +} +block_15: +{ +size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_size(x_10); +x_12 = 0; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(x_11, x_12, x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +block_26: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); lean_dec_ref(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_20); -lean_dec(x_18); -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__13____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_; -x_22 = lean_ctor_get(x_21, 1); -lean_inc_ref(x_22); -x_23 = lean_ctor_get(x_22, 0); -lean_inc_ref(x_23); -lean_dec_ref(x_22); -x_24 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_dec_ref(x_23); -x_35 = lean_box(1); -x_36 = l_Lean_ScopedEnvExtension_getState___redArg(x_35, x_21, x_20, x_24); -lean_dec(x_24); -x_37 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_36, x_1); -lean_dec(x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_box(0); -x_39 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___lam__0(x_38); -x_25 = x_39; -goto block_34; +x_9 = x_16; +x_10 = x_18; +goto block_15; } else { -lean_object* x_40; -x_40 = lean_ctor_get(x_37, 0); -lean_inc(x_40); -lean_dec_ref(x_37); -x_25 = x_40; -goto block_34; -} -block_16: +uint8_t x_22; +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = l_Array_append___redArg(x_9, x_11); -lean_dec_ref(x_11); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -return x_15; -} -block_34: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = l_Lean_Doc_addBuiltinDocRole___closed__0; -x_27 = lean_st_ref_get(x_26, x_19); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -x_30 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_28, x_1); -lean_dec(x_28); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___lam__0(x_31); -x_9 = x_25; -x_10 = x_29; -x_11 = x_32; -goto block_16; +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; } else { -lean_object* x_33; -x_33 = lean_ctor_get(x_30, 0); -lean_inc(x_33); -lean_dec_ref(x_30); -x_9 = x_25; -x_10 = x_29; -x_11 = x_33; -goto block_16; +size_t x_23; size_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3(x_17, x_23, x_24, x_18); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_25; +goto block_15; +} +} +} +block_33: +{ +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1; +x_16 = x_27; +x_17 = x_29; +goto block_26; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2; +x_32 = lean_array_push(x_31, x_30); +x_16 = x_27; +x_17 = x_32; +goto block_26; +} +} +block_51: +{ +size_t x_37; size_t x_38; lean_object* x_39; +x_37 = lean_array_size(x_35); +x_38 = 0; +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__0(x_37, x_38, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_7); +lean_dec_ref(x_6); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_array_size(x_36); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(x_42, x_38, x_36); +x_44 = l_Array_append___redArg(x_41, x_43); +lean_dec_ref(x_43); +lean_ctor_set(x_39, 0, x_44); +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +x_47 = lean_array_size(x_36); +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(x_47, x_38, x_36); +x_49 = l_Array_append___redArg(x_45, x_48); +lean_dec_ref(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_46); +return x_50; +} +} +else +{ +lean_dec_ref(x_36); +return x_39; } } } @@ -36438,37 +41269,59 @@ lean_dec(x_5); return x_13; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__3(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); -lean_dec(x_1); return x_9; } } @@ -36537,99 +41390,395 @@ return x_26; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_apply_12(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1___lam__0), 13, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_append___redArg(x_4, x_6); +lean_dec_ref(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0() { _start: { +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___lam__0(x_1); +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_17 = lean_st_ref_get(x_7, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec_ref(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_20); -lean_dec(x_18); -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -x_22 = lean_ctor_get(x_21, 1); -lean_inc_ref(x_22); -x_23 = lean_ctor_get(x_22, 0); -lean_inc_ref(x_23); -lean_dec_ref(x_22); -x_24 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_dec_ref(x_23); -x_34 = lean_box(1); -x_35 = l_Lean_ScopedEnvExtension_getState___redArg(x_34, x_21, x_20, x_24); -lean_dec(x_24); -x_36 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_35, x_1); -lean_dec(x_35); -if (lean_obj_tag(x_36) == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_16; lean_object* x_17; lean_object* x_27; lean_object* x_28; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_52; lean_object* x_53; +x_52 = lean_box(0); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_1); +x_53 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_52, x_6, x_7, x_8); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_37; -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_25 = x_37; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_1); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_st_ref_get(x_7, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +x_68 = lean_ctor_get(x_57, 0); +lean_inc_ref(x_68); +lean_dec(x_57); +x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; +x_70 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_70, 0); +lean_inc_ref(x_71); +lean_dec_ref(x_70); +x_72 = lean_ctor_get(x_71, 2); +lean_inc(x_72); +lean_dec_ref(x_71); +x_73 = lean_box(1); +x_74 = l_Lean_ScopedEnvExtension_getState___redArg(x_73, x_69, x_68, x_72); +lean_dec(x_72); +x_75 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_74, x_54); +lean_dec(x_74); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; +x_76 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_59 = x_76; +goto block_67; +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec_ref(x_75); +x_59 = x_77; +goto block_67; +} +block_67: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; +x_61 = lean_st_ref_get(x_60, x_58); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_62, x_54); +lean_dec(x_54); +lean_dec(x_62); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; +x_65 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0; +x_34 = x_59; +x_35 = x_63; +x_36 = x_65; +goto block_51; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec_ref(x_64); +x_34 = x_59; +x_35 = x_63; +x_36 = x_66; +goto block_51; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_96; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_80 = x_53; +} else { + lean_dec_ref(x_53); + x_80 = lean_box(0); +} +x_96 = l_Lean_Exception_isInterrupt(x_78); +if (x_96 == 0) +{ +uint8_t x_97; +x_97 = l_Lean_Exception_isRuntime(x_78); +x_81 = x_97; +goto block_95; +} +else +{ +x_81 = x_96; +goto block_95; +} +block_95: +{ +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_80); +lean_dec(x_78); +x_82 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; +x_83 = lean_st_ref_get(x_82, x_79); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec_ref(x_83); +x_86 = lean_st_ref_get(x_82, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l_Lean_TSyntax_getId(x_1); +lean_dec(x_1); +x_90 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_84, x_89); +lean_dec(x_84); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3; +x_92 = l_Lean_Name_append(x_91, x_89); +x_93 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_87, x_92); +lean_dec(x_92); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_93; goto block_33; } else { -lean_object* x_38; -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec_ref(x_36); -x_25 = x_38; +lean_dec(x_89); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_90; goto block_33; } -block_16: +} +else { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = l_Array_append___redArg(x_9, x_11); -lean_dec_ref(x_11); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -return x_15; +lean_object* x_94; +lean_dec(x_1); +if (lean_is_scalar(x_80)) { + x_94 = lean_alloc_ctor(1, 2, 0); +} else { + x_94 = x_80; +} +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +return x_94; +} +} +} +block_15: +{ +size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_size(x_10); +x_12 = 0; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(x_11, x_12, x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +block_26: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +size_t x_23; size_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2(x_17, x_23, x_24, x_18); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_25; +goto block_15; +} +} } block_33: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; -x_27 = lean_st_ref_get(x_26, x_19); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -x_30 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_28, x_1); -lean_dec(x_28); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_28) == 0) { -lean_object* x_31; -x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_9 = x_25; -x_10 = x_29; -x_11 = x_31; -goto block_16; +lean_object* x_29; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1; +x_16 = x_27; +x_17 = x_29; +goto block_26; } else { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec_ref(x_30); -x_9 = x_25; -x_10 = x_29; -x_11 = x_32; -goto block_16; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2; +x_32 = lean_array_push(x_31, x_30); +x_16 = x_27; +x_17 = x_32; +goto block_26; +} +} +block_51: +{ +size_t x_37; size_t x_38; lean_object* x_39; +x_37 = lean_array_size(x_34); +x_38 = 0; +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__0(x_37, x_38, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_35); +lean_dec(x_7); +lean_dec_ref(x_6); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_array_size(x_36); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(x_42, x_38, x_36); +x_44 = l_Array_append___redArg(x_41, x_43); +lean_dec_ref(x_43); +lean_ctor_set(x_39, 0, x_44); +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +x_47 = lean_array_size(x_36); +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(x_47, x_38, x_36); +x_49 = l_Array_append___redArg(x_45, x_48); +lean_dec_ref(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_46); +return x_50; +} +} +else +{ +lean_dec_ref(x_36); +return x_39; } } } @@ -36651,17 +41800,39 @@ lean_dec(x_5); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe_spec__2(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); -lean_dec(x_1); return x_9; } } @@ -36730,90 +41901,395 @@ return x_26; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_apply_12(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1___lam__0), 13, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_append___redArg(x_4, x_6); +lean_dec_ref(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_17 = lean_st_ref_get(x_7, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec_ref(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_20); -lean_dec(x_18); -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_; -x_22 = lean_ctor_get(x_21, 1); -lean_inc_ref(x_22); -x_23 = lean_ctor_get(x_22, 0); -lean_inc_ref(x_23); -lean_dec_ref(x_22); -x_24 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_dec_ref(x_23); -x_34 = lean_box(1); -x_35 = l_Lean_ScopedEnvExtension_getState___redArg(x_34, x_21, x_20, x_24); -lean_dec(x_24); -x_36 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_35, x_1); -lean_dec(x_35); -if (lean_obj_tag(x_36) == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_16; lean_object* x_17; lean_object* x_27; lean_object* x_28; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_52; lean_object* x_53; +x_52 = lean_box(0); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_1); +x_53 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_52, x_6, x_7, x_8); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_37; -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_25 = x_37; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_1); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_st_ref_get(x_7, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +x_68 = lean_ctor_get(x_57, 0); +lean_inc_ref(x_68); +lean_dec(x_57); +x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_; +x_70 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_70, 0); +lean_inc_ref(x_71); +lean_dec_ref(x_70); +x_72 = lean_ctor_get(x_71, 2); +lean_inc(x_72); +lean_dec_ref(x_71); +x_73 = lean_box(1); +x_74 = l_Lean_ScopedEnvExtension_getState___redArg(x_73, x_69, x_68, x_72); +lean_dec(x_72); +x_75 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_74, x_54); +lean_dec(x_74); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; +x_76 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_59 = x_76; +goto block_67; +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec_ref(x_75); +x_59 = x_77; +goto block_67; +} +block_67: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = l_Lean_Doc_addBuiltinDocDirective___closed__0; +x_61 = lean_st_ref_get(x_60, x_58); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_62, x_54); +lean_dec(x_54); +lean_dec(x_62); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; +x_65 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0; +x_34 = x_59; +x_35 = x_63; +x_36 = x_65; +goto block_51; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec_ref(x_64); +x_34 = x_59; +x_35 = x_63; +x_36 = x_66; +goto block_51; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_96; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_80 = x_53; +} else { + lean_dec_ref(x_53); + x_80 = lean_box(0); +} +x_96 = l_Lean_Exception_isInterrupt(x_78); +if (x_96 == 0) +{ +uint8_t x_97; +x_97 = l_Lean_Exception_isRuntime(x_78); +x_81 = x_97; +goto block_95; +} +else +{ +x_81 = x_96; +goto block_95; +} +block_95: +{ +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_80); +lean_dec(x_78); +x_82 = l_Lean_Doc_addBuiltinDocDirective___closed__0; +x_83 = lean_st_ref_get(x_82, x_79); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec_ref(x_83); +x_86 = lean_st_ref_get(x_82, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l_Lean_TSyntax_getId(x_1); +lean_dec(x_1); +x_90 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_84, x_89); +lean_dec(x_84); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3; +x_92 = l_Lean_Name_append(x_91, x_89); +x_93 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_87, x_92); +lean_dec(x_92); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_93; goto block_33; } else { -lean_object* x_38; -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec_ref(x_36); -x_25 = x_38; +lean_dec(x_89); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_90; goto block_33; } -block_16: +} +else { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = l_Array_append___redArg(x_10, x_11); -lean_dec_ref(x_11); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_9); -return x_15; +lean_object* x_94; +lean_dec(x_1); +if (lean_is_scalar(x_80)) { + x_94 = lean_alloc_ctor(1, 2, 0); +} else { + x_94 = x_80; +} +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +return x_94; +} +} +} +block_15: +{ +size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_size(x_10); +x_12 = 0; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(x_11, x_12, x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +block_26: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +size_t x_23; size_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2(x_17, x_23, x_24, x_18); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_25; +goto block_15; +} +} } block_33: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; -x_27 = lean_st_ref_get(x_26, x_19); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -x_30 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_28, x_1); -lean_dec(x_28); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_28) == 0) { -lean_object* x_31; -x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_9 = x_29; -x_10 = x_25; -x_11 = x_31; -goto block_16; +lean_object* x_29; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1; +x_16 = x_27; +x_17 = x_29; +goto block_26; } else { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec_ref(x_30); -x_9 = x_29; -x_10 = x_25; -x_11 = x_32; -goto block_16; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2; +x_32 = lean_array_push(x_31, x_30); +x_16 = x_27; +x_17 = x_32; +goto block_26; +} +} +block_51: +{ +size_t x_37; size_t x_38; lean_object* x_39; +x_37 = lean_array_size(x_34); +x_38 = 0; +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__0(x_37, x_38, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_35); +lean_dec(x_7); +lean_dec_ref(x_6); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_array_size(x_36); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(x_42, x_38, x_36); +x_44 = l_Array_append___redArg(x_41, x_43); +lean_dec_ref(x_43); +lean_ctor_set(x_39, 0, x_44); +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +x_47 = lean_array_size(x_36); +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(x_47, x_38, x_36); +x_49 = l_Array_append___redArg(x_45, x_48); +lean_dec_ref(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_46); +return x_50; +} +} +else +{ +lean_dec_ref(x_36); +return x_39; } } } @@ -36835,17 +42311,39 @@ lean_dec(x_5); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe_spec__2(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); -lean_dec(x_1); return x_9; } } @@ -36914,90 +42412,395 @@ return x_26; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_apply_11(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1___lam__0), 12, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_append___redArg(x_4, x_6); +lean_dec_ref(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_17 = lean_st_ref_get(x_7, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec_ref(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_20); -lean_dec(x_18); -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; -x_22 = lean_ctor_get(x_21, 1); -lean_inc_ref(x_22); -x_23 = lean_ctor_get(x_22, 0); -lean_inc_ref(x_23); -lean_dec_ref(x_22); -x_24 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_dec_ref(x_23); -x_34 = lean_box(1); -x_35 = l_Lean_ScopedEnvExtension_getState___redArg(x_34, x_21, x_20, x_24); -lean_dec(x_24); -x_36 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_35, x_1); -lean_dec(x_35); -if (lean_obj_tag(x_36) == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_16; lean_object* x_17; lean_object* x_27; lean_object* x_28; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_52; lean_object* x_53; +x_52 = lean_box(0); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_1); +x_53 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_52, x_6, x_7, x_8); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_37; -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_25 = x_37; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_1); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_st_ref_get(x_7, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +x_68 = lean_ctor_get(x_57, 0); +lean_inc_ref(x_68); +lean_dec(x_57); +x_69 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_; +x_70 = lean_ctor_get(x_69, 1); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_70, 0); +lean_inc_ref(x_71); +lean_dec_ref(x_70); +x_72 = lean_ctor_get(x_71, 2); +lean_inc(x_72); +lean_dec_ref(x_71); +x_73 = lean_box(1); +x_74 = l_Lean_ScopedEnvExtension_getState___redArg(x_73, x_69, x_68, x_72); +lean_dec(x_72); +x_75 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_74, x_54); +lean_dec(x_74); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; +x_76 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; +x_59 = x_76; +goto block_67; +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec_ref(x_75); +x_59 = x_77; +goto block_67; +} +block_67: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = l_Lean_Doc_addBuiltinDocCommand___closed__0; +x_61 = lean_st_ref_get(x_60, x_58); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_62, x_54); +lean_dec(x_54); +lean_dec(x_62); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; +x_65 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0; +x_34 = x_63; +x_35 = x_59; +x_36 = x_65; +goto block_51; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec_ref(x_64); +x_34 = x_63; +x_35 = x_59; +x_36 = x_66; +goto block_51; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_96; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_80 = x_53; +} else { + lean_dec_ref(x_53); + x_80 = lean_box(0); +} +x_96 = l_Lean_Exception_isInterrupt(x_78); +if (x_96 == 0) +{ +uint8_t x_97; +x_97 = l_Lean_Exception_isRuntime(x_78); +x_81 = x_97; +goto block_95; +} +else +{ +x_81 = x_96; +goto block_95; +} +block_95: +{ +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_80); +lean_dec(x_78); +x_82 = l_Lean_Doc_addBuiltinDocCommand___closed__0; +x_83 = lean_st_ref_get(x_82, x_79); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec_ref(x_83); +x_86 = lean_st_ref_get(x_82, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l_Lean_TSyntax_getId(x_1); +lean_dec(x_1); +x_90 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_84, x_89); +lean_dec(x_84); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3; +x_92 = l_Lean_Name_append(x_91, x_89); +x_93 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__2___redArg(x_87, x_92); +lean_dec(x_92); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_93; goto block_33; } else { -lean_object* x_38; -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec_ref(x_36); -x_25 = x_38; +lean_dec(x_89); +lean_dec(x_87); +x_27 = x_88; +x_28 = x_90; goto block_33; } -block_16: +} +else { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = l_Array_append___redArg(x_10, x_11); -lean_dec_ref(x_11); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_9); -return x_15; +lean_object* x_94; +lean_dec(x_1); +if (lean_is_scalar(x_80)) { + x_94 = lean_alloc_ctor(1, 2, 0); +} else { + x_94 = x_80; +} +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +return x_94; +} +} +} +block_15: +{ +size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_size(x_10); +x_12 = 0; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(x_11, x_12, x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +block_26: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_18; +goto block_15; +} +else +{ +size_t x_23; size_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2(x_17, x_23, x_24, x_18); +lean_dec_ref(x_17); +x_9 = x_16; +x_10 = x_25; +goto block_15; +} +} } block_33: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = l_Lean_Doc_addBuiltinDocCommand___closed__0; -x_27 = lean_st_ref_get(x_26, x_19); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -x_30 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe_spec__1___redArg(x_28, x_1); -lean_dec(x_28); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_28) == 0) { -lean_object* x_31; -x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0; -x_9 = x_29; -x_10 = x_25; -x_11 = x_31; -goto block_16; +lean_object* x_29; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1; +x_16 = x_27; +x_17 = x_29; +goto block_26; } else { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec_ref(x_30); -x_9 = x_29; -x_10 = x_25; -x_11 = x_32; -goto block_16; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2; +x_32 = lean_array_push(x_31, x_30); +x_16 = x_27; +x_17 = x_32; +goto block_26; +} +} +block_51: +{ +size_t x_37; size_t x_38; lean_object* x_39; +x_37 = lean_array_size(x_35); +x_38 = 0; +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__0(x_37, x_38, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_7); +lean_dec_ref(x_6); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_array_size(x_36); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(x_42, x_38, x_36); +x_44 = l_Array_append___redArg(x_41, x_43); +lean_dec_ref(x_43); +lean_ctor_set(x_39, 0, x_44); +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +x_47 = lean_array_size(x_36); +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(x_47, x_38, x_36); +x_49 = l_Array_append___redArg(x_45, x_48); +lean_dec_ref(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_46); +return x_50; +} +} +else +{ +lean_dec_ref(x_36); +return x_39; } } } @@ -37019,17 +42822,39 @@ lean_dec(x_5); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe_spec__2(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); -lean_dec(x_1); return x_9; } } @@ -37107,50 +42932,51 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 5); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 5); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_10, 5, x_15); +x_16 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -x_24 = lean_ctor_get(x_9, 8); -x_25 = lean_ctor_get(x_9, 9); -x_26 = lean_ctor_get(x_9, 10); -x_27 = lean_ctor_get(x_9, 11); -x_28 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_29 = lean_ctor_get(x_9, 12); -x_30 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_31 = lean_ctor_get(x_9, 13); -lean_inc(x_31); -lean_inc(x_29); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +x_19 = lean_ctor_get(x_10, 2); +x_20 = lean_ctor_get(x_10, 3); +x_21 = lean_ctor_get(x_10, 4); +x_22 = lean_ctor_get(x_10, 5); +x_23 = lean_ctor_get(x_10, 6); +x_24 = lean_ctor_get(x_10, 7); +x_25 = lean_ctor_get(x_10, 8); +x_26 = lean_ctor_get(x_10, 9); +x_27 = lean_ctor_get(x_10, 10); +x_28 = lean_ctor_get(x_10, 11); +x_29 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_30 = lean_ctor_get(x_10, 12); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_32 = lean_ctor_get(x_10, 13); +lean_inc(x_32); +lean_inc(x_30); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -37162,38 +42988,37 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_32 = l_Lean_replaceRef(x_1, x_21); -lean_dec(x_21); -x_33 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_33, 0, x_16); -lean_ctor_set(x_33, 1, x_17); -lean_ctor_set(x_33, 2, x_18); -lean_ctor_set(x_33, 3, x_19); -lean_ctor_set(x_33, 4, x_20); -lean_ctor_set(x_33, 5, x_32); -lean_ctor_set(x_33, 6, x_22); -lean_ctor_set(x_33, 7, x_23); -lean_ctor_set(x_33, 8, x_24); -lean_ctor_set(x_33, 9, x_25); -lean_ctor_set(x_33, 10, x_26); -lean_ctor_set(x_33, 11, x_27); -lean_ctor_set(x_33, 12, x_29); -lean_ctor_set(x_33, 13, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*14, x_28); -lean_ctor_set_uint8(x_33, sizeof(void*)*14 + 1, x_30); -x_34 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_33, x_10, x_11); -return x_34; +lean_dec(x_10); +x_33 = l_Lean_replaceRef(x_1, x_22); +lean_dec(x_22); +x_34 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_19); +lean_ctor_set(x_34, 3, x_20); +lean_ctor_set(x_34, 4, x_21); +lean_ctor_set(x_34, 5, x_33); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_24); +lean_ctor_set(x_34, 8, x_25); +lean_ctor_set(x_34, 9, x_26); +lean_ctor_set(x_34, 10, x_27); +lean_ctor_set(x_34, 11, x_28); +lean_ctor_set(x_34, 12, x_30); +lean_ctor_set(x_34, 13, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_29); +lean_ctor_set_uint8(x_34, sizeof(void*)*14 + 1, x_31); +x_35 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_34, x_11, x_12); +return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__0() { @@ -37213,133 +43038,133 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Doc_DocArg_ofSyntax___closed__2; +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Doc_DocArg_ofSyntax___closed__2; lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) +x_13 = l_Lean_Syntax_isOfKind(x_1, x_12); +if (x_13 == 0) { -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Doc_DocArg_ofSyntax___closed__4; +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_Doc_DocArg_ofSyntax___closed__4; lean_inc(x_1); -x_14 = l_Lean_Syntax_isOfKind(x_1, x_13); -if (x_14 == 0) +x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Doc_DocArg_ofSyntax___closed__6; +lean_object* x_16; uint8_t x_17; +x_16 = l_Lean_Doc_DocArg_ofSyntax___closed__6; lean_inc(x_1); -x_16 = l_Lean_Syntax_isOfKind(x_1, x_15); -if (x_16 == 0) +x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; -x_18 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_18; lean_object* x_19; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; +x_19 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_18; +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Doc_DocArg_ofSyntax___closed__10; -lean_inc(x_20); -x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); -if (x_22 == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = l_Lean_Doc_DocArg_ofSyntax___closed__10; +lean_inc(x_21); +x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); +if (x_23 == 0) { -lean_object* x_23; lean_object* x_24; -lean_dec(x_20); -x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; -x_24 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_24; lean_object* x_25; +lean_dec(x_21); +x_24 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; +x_25 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_24; -} -else -{ -lean_object* x_25; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_20); -lean_ctor_set(x_25, 1, x_10); return x_25; } +else +{ +lean_object* x_26; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Lean_Syntax_getArg(x_1, x_26); -x_28 = l_Lean_Doc_DocArg_ofSyntax___closed__12; -lean_inc(x_27); -x_29 = l_Lean_Syntax_isOfKind(x_27, x_28); -if (x_29 == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Lean_Syntax_getArg(x_1, x_27); +x_29 = l_Lean_Doc_DocArg_ofSyntax___closed__12; +lean_inc(x_28); +x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); -x_30 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; -x_31 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; +x_32 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_31; -} -else -{ -lean_object* x_32; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_10); return x_32; } +else +{ +lean_object* x_33; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_11); +return x_33; +} } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_unsigned_to_nat(0u); -x_34 = l_Lean_Syntax_getArg(x_1, x_33); -x_35 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; -lean_inc(x_34); -x_36 = l_Lean_Syntax_isOfKind(x_34, x_35); -if (x_36 == 0) +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Syntax_getArg(x_1, x_34); +x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_35); +x_37 = l_Lean_Syntax_isOfKind(x_35, x_36); +if (x_37 == 0) { -lean_object* x_37; lean_object* x_38; -lean_dec(x_34); -x_37 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; -x_38 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_38; lean_object* x_39; +lean_dec(x_35); +x_38 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1; +x_39 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_38; -} -else -{ -lean_object* x_39; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_34); -lean_ctor_set(x_39, 1, x_10); return x_39; } +else +{ +lean_object* x_40; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_11); +return x_40; +} } } } @@ -37366,46 +43191,50 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); +lean_dec_ref(x_3); return x_13; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_2); -return x_11; +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; } } static lean_object* _init_l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__0() { @@ -37443,7 +43272,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; +lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; x_13 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__0; x_14 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__1; x_62 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__2; @@ -37522,8 +43351,8 @@ lean_dec(x_19); x_33 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_33, 0, x_32); x_34 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_35 = lean_box(x_15); -x_36 = lean_box(x_16); +x_35 = lean_box(x_16); +x_36 = lean_box(x_15); x_37 = lean_box(x_4); x_38 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__6___boxed), 15, 8); lean_closure_set(x_38, 0, x_26); @@ -37637,14 +43466,14 @@ return x_51; block_61: { lean_object* x_59; -x_59 = l_Lean_Syntax_getTailPos_x3f(x_57, x_56); -lean_dec(x_57); +x_59 = l_Lean_Syntax_getTailPos_x3f(x_56, x_57); +lean_dec(x_56); if (lean_obj_tag(x_59) == 0) { lean_inc(x_58); x_15 = x_53; -x_16 = x_55; -x_17 = x_54; +x_16 = x_54; +x_17 = x_55; x_18 = x_58; x_19 = x_58; goto block_52; @@ -37656,8 +43485,8 @@ x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); lean_dec_ref(x_59); x_15 = x_53; -x_16 = x_55; -x_17 = x_54; +x_16 = x_54; +x_17 = x_55; x_18 = x_58; x_19 = x_60; goto block_52; @@ -37688,11 +43517,11 @@ if (lean_obj_tag(x_71) == 0) { lean_object* x_72; x_72 = lean_unsigned_to_nat(0u); -x_53 = x_63; -x_54 = x_69; -x_55 = x_66; -x_56 = x_65; -x_57 = x_70; +x_53 = x_66; +x_54 = x_63; +x_55 = x_69; +x_56 = x_70; +x_57 = x_65; x_58 = x_72; goto block_61; } @@ -37702,11 +43531,11 @@ lean_object* x_73; x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); lean_dec_ref(x_71); -x_53 = x_63; -x_54 = x_69; -x_55 = x_66; -x_56 = x_65; -x_57 = x_70; +x_53 = x_66; +x_54 = x_63; +x_55 = x_69; +x_56 = x_70; +x_57 = x_65; x_58 = x_73; goto block_61; } @@ -37853,22 +43682,22 @@ return x_99; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; +lean_object* x_15; +x_15 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; uint8_t x_13; lean_object* x_14; -x_12 = 1; -x_13 = 0; -x_14 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(x_1, x_2, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = 1; +x_14 = 0; +x_15 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__0() { @@ -37930,7 +43759,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__5; x_2 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__5; x_3 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -38043,188 +43872,188 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Doc_getPositional___redArg___lam__0___closed__1; lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) +x_13 = l_Lean_Syntax_isOfKind(x_1, x_12); +if (x_13 == 0) { -lean_object* x_13; uint8_t x_14; -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__1; +lean_object* x_14; uint8_t x_15; +x_14 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__1; lean_inc(x_1); -x_14 = l_Lean_Syntax_isOfKind(x_1, x_13); -if (x_14 == 0) +x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__3; +lean_object* x_16; uint8_t x_17; +x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_getFlag_asFlag___closed__3; lean_inc(x_1); -x_16 = l_Lean_Syntax_isOfKind(x_1, x_15); -if (x_16 == 0) +x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); +if (x_17 == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; +lean_object* x_18; uint8_t x_19; +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__3; lean_inc(x_1); -x_18 = l_Lean_Syntax_isOfKind(x_1, x_17); -if (x_18 == 0) +x_19 = l_Lean_Syntax_isOfKind(x_1, x_18); +if (x_19 == 0) { -lean_object* x_19; uint8_t x_20; -x_19 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; +lean_object* x_20; uint8_t x_21; +x_20 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1; lean_inc(x_1); -x_20 = l_Lean_Syntax_isOfKind(x_1, x_19); -if (x_20 == 0) +x_21 = l_Lean_Syntax_isOfKind(x_1, x_20); +if (x_21 == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__1; -x_22 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_22; lean_object* x_23; +x_22 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__1; +x_23 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_22; +return x_23; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_unsigned_to_nat(0u); -x_24 = l_Lean_Syntax_getArg(x_1, x_23); -x_25 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; -lean_inc(x_24); -x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); -if (x_26 == 0) +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__3; +lean_inc(x_25); +x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; -lean_dec(x_24); -x_27 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__1; -x_28 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +x_28 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__1; +x_29 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_28; +return x_29; } else { -lean_object* x_29; lean_object* x_30; -x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__4; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_30 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_1, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_30) == 0) +lean_object* x_30; lean_object* x_31; +x_30 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__4; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_31 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_1, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec_ref(x_30); -x_32 = lean_unsigned_to_nat(2u); -x_33 = l_Lean_Syntax_getArg(x_1, x_32); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec_ref(x_31); +x_33 = lean_unsigned_to_nat(2u); +x_34 = l_Lean_Syntax_getArg(x_1, x_33); lean_dec(x_1); -lean_inc_ref(x_8); -x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -if (lean_obj_tag(x_34) == 0) +lean_inc_ref(x_9); +x_35 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_8, 5); -lean_inc(x_37); -lean_dec_ref(x_8); -x_38 = l_Lean_SourceInfo_fromRef(x_37, x_18); -lean_dec(x_37); -x_39 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_40 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_9, 5); lean_inc(x_38); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_38); -lean_ctor_set(x_41, 1, x_40); -x_42 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_38); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_38); -lean_ctor_set(x_43, 1, x_42); -x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_38); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_38); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Syntax_node5(x_38, x_39, x_41, x_24, x_43, x_36, x_45); -lean_ctor_set(x_34, 0, x_46); -return x_34; +lean_dec_ref(x_9); +x_39 = l_Lean_SourceInfo_fromRef(x_38, x_19); +lean_dec(x_38); +x_40 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_41 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_39); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_41); +x_43 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_39); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_39); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_39); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_39); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Syntax_node5(x_39, x_40, x_42, x_25, x_44, x_37, x_46); +lean_ctor_set(x_35, 0, x_47); +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_47 = lean_ctor_get(x_34, 0); -x_48 = lean_ctor_get(x_34, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_34); -x_49 = lean_ctor_get(x_8, 5); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_48 = lean_ctor_get(x_35, 0); +x_49 = lean_ctor_get(x_35, 1); lean_inc(x_49); -lean_dec_ref(x_8); -x_50 = l_Lean_SourceInfo_fromRef(x_49, x_18); -lean_dec(x_49); -x_51 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_52 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_48); +lean_dec(x_35); +x_50 = lean_ctor_get(x_9, 5); lean_inc(x_50); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_50); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_50); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_50); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Syntax_node5(x_50, x_51, x_53, x_24, x_55, x_47, x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_48); -return x_59; +lean_dec_ref(x_9); +x_51 = l_Lean_SourceInfo_fromRef(x_50, x_19); +lean_dec(x_50); +x_52 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_53 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_51); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_51); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +x_57 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_51); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_51); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Syntax_node5(x_51, x_52, x_54, x_25, x_56, x_48, x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_49); +return x_60; } } else { -lean_dec(x_24); -lean_dec_ref(x_8); -return x_34; +lean_dec(x_25); +lean_dec_ref(x_9); +return x_35; } } else { -uint8_t x_60; -lean_dec(x_24); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +uint8_t x_61; +lean_dec(x_25); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); lean_dec(x_1); -x_60 = !lean_is_exclusive(x_30); -if (x_60 == 0) +x_61 = !lean_is_exclusive(x_31); +if (x_61 == 0) { -return x_30; +return x_31; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_30, 0); -x_62 = lean_ctor_get(x_30, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_31, 0); +x_63 = lean_ctor_get(x_31, 1); +lean_inc(x_63); lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_30); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_dec(x_31); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } @@ -38232,232 +44061,232 @@ return x_63; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_unsigned_to_nat(3u); -x_65 = l_Lean_Syntax_getArg(x_1, x_64); -lean_inc_ref(x_8); -x_66 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_66) == 0) +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_unsigned_to_nat(3u); +x_66 = l_Lean_Syntax_getArg(x_1, x_65); +lean_inc_ref(x_9); +x_67 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_67) == 0) { -uint8_t x_67; -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) +uint8_t x_68; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_68 = lean_ctor_get(x_66, 0); -x_69 = lean_ctor_get(x_8, 5); -lean_inc(x_69); -lean_dec_ref(x_8); -x_70 = lean_unsigned_to_nat(1u); -x_71 = l_Lean_Syntax_getArg(x_1, x_70); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_9, 5); +lean_inc(x_70); +lean_dec_ref(x_9); +x_71 = lean_unsigned_to_nat(1u); +x_72 = l_Lean_Syntax_getArg(x_1, x_71); lean_dec(x_1); -x_72 = l_Lean_SourceInfo_fromRef(x_69, x_16); -lean_dec(x_69); -x_73 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_74 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; -lean_inc(x_72); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_74); -x_76 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_72); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_72); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_72); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Syntax_node5(x_72, x_73, x_75, x_71, x_77, x_68, x_79); -lean_ctor_set(x_66, 0, x_80); -return x_66; +x_73 = l_Lean_SourceInfo_fromRef(x_70, x_17); +lean_dec(x_70); +x_74 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_75 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_73); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_75); +x_77 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_73); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_73); +lean_ctor_set(x_78, 1, x_77); +x_79 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_73); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_73); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Syntax_node5(x_73, x_74, x_76, x_72, x_78, x_69, x_80); +lean_ctor_set(x_67, 0, x_81); +return x_67; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_81 = lean_ctor_get(x_66, 0); -x_82 = lean_ctor_get(x_66, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_66); -x_83 = lean_ctor_get(x_8, 5); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_82 = lean_ctor_get(x_67, 0); +x_83 = lean_ctor_get(x_67, 1); lean_inc(x_83); -lean_dec_ref(x_8); -x_84 = lean_unsigned_to_nat(1u); -x_85 = l_Lean_Syntax_getArg(x_1, x_84); +lean_inc(x_82); +lean_dec(x_67); +x_84 = lean_ctor_get(x_9, 5); +lean_inc(x_84); +lean_dec_ref(x_9); +x_85 = lean_unsigned_to_nat(1u); +x_86 = l_Lean_Syntax_getArg(x_1, x_85); lean_dec(x_1); -x_86 = l_Lean_SourceInfo_fromRef(x_83, x_16); -lean_dec(x_83); -x_87 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_88 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; -lean_inc(x_86); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_88); -x_90 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_86); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_86); -lean_ctor_set(x_91, 1, x_90); -x_92 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_86); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_86); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Syntax_node5(x_86, x_87, x_89, x_85, x_91, x_81, x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_82); -return x_95; +x_87 = l_Lean_SourceInfo_fromRef(x_84, x_17); +lean_dec(x_84); +x_88 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_89 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_87); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_89); +x_91 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_87); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_87); +lean_ctor_set(x_92, 1, x_91); +x_93 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_87); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_87); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_Syntax_node5(x_87, x_88, x_90, x_86, x_92, x_82, x_94); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_83); +return x_96; } } else { -lean_dec_ref(x_8); +lean_dec_ref(x_9); lean_dec(x_1); -return x_66; +return x_67; } } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_96 = lean_ctor_get(x_8, 5); -lean_inc(x_96); -x_97 = lean_ctor_get(x_8, 10); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_97 = lean_ctor_get(x_9, 5); lean_inc(x_97); -x_98 = lean_ctor_get(x_8, 11); +x_98 = lean_ctor_get(x_9, 10); lean_inc(x_98); -lean_dec_ref(x_8); -x_99 = lean_unsigned_to_nat(1u); -x_100 = l_Lean_Syntax_getArg(x_1, x_99); +x_99 = lean_ctor_get(x_9, 11); +lean_inc(x_99); +lean_dec_ref(x_9); +x_100 = lean_unsigned_to_nat(1u); +x_101 = l_Lean_Syntax_getArg(x_1, x_100); lean_dec(x_1); -x_101 = l_Lean_SourceInfo_fromRef(x_96, x_14); -lean_dec(x_96); -x_102 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; -lean_inc(x_101); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_101); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_101); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__10; -x_108 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__11; -x_109 = l_Lean_addMacroScope(x_97, x_108, x_98); -x_110 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__13; -lean_inc(x_101); -x_111 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_111, 0, x_101); -lean_ctor_set(x_111, 1, x_107); -lean_ctor_set(x_111, 2, x_109); -lean_ctor_set(x_111, 3, x_110); -x_112 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_101); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_101); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Syntax_node5(x_101, x_102, x_104, x_100, x_106, x_111, x_113); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_10); -return x_115; +x_102 = l_Lean_SourceInfo_fromRef(x_97, x_15); +lean_dec(x_97); +x_103 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_104 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_102); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_105, 1, x_104); +x_106 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_102); +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_102); +lean_ctor_set(x_107, 1, x_106); +x_108 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__10; +x_109 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__11; +x_110 = l_Lean_addMacroScope(x_98, x_109, x_99); +x_111 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__13; +lean_inc(x_102); +x_112 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_112, 0, x_102); +lean_ctor_set(x_112, 1, x_108); +lean_ctor_set(x_112, 2, x_110); +lean_ctor_set(x_112, 3, x_111); +x_113 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_102); +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_102); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_Syntax_node5(x_102, x_103, x_105, x_101, x_107, x_112, x_114); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_11); +return x_116; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_116 = lean_ctor_get(x_8, 5); -lean_inc(x_116); -x_117 = lean_ctor_get(x_8, 10); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_117 = lean_ctor_get(x_9, 5); lean_inc(x_117); -x_118 = lean_ctor_get(x_8, 11); +x_118 = lean_ctor_get(x_9, 10); lean_inc(x_118); -lean_dec_ref(x_8); -x_119 = lean_unsigned_to_nat(1u); -x_120 = l_Lean_Syntax_getArg(x_1, x_119); +x_119 = lean_ctor_get(x_9, 11); +lean_inc(x_119); +lean_dec_ref(x_9); +x_120 = lean_unsigned_to_nat(1u); +x_121 = l_Lean_Syntax_getArg(x_1, x_120); lean_dec(x_1); -x_121 = l_Lean_SourceInfo_fromRef(x_116, x_12); -lean_dec(x_116); -x_122 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; -x_123 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; -lean_inc(x_121); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; -lean_inc(x_121); -x_126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_126, 0, x_121); -lean_ctor_set(x_126, 1, x_125); -x_127 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__14; -x_128 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__15; -x_129 = l_Lean_addMacroScope(x_117, x_128, x_118); -x_130 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__17; -lean_inc(x_121); -x_131 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_131, 0, x_121); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_129); -lean_ctor_set(x_131, 3, x_130); -x_132 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; -lean_inc(x_121); -x_133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_133, 0, x_121); -lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_Syntax_node5(x_121, x_122, x_124, x_120, x_126, x_131, x_133); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_10); -return x_135; +x_122 = l_Lean_SourceInfo_fromRef(x_117, x_13); +lean_dec(x_117); +x_123 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__6; +x_124 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__7; +lean_inc(x_122); +x_125 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +x_126 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__8; +lean_inc(x_122); +x_127 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_127, 0, x_122); +lean_ctor_set(x_127, 1, x_126); +x_128 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__14; +x_129 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__15; +x_130 = l_Lean_addMacroScope(x_118, x_129, x_119); +x_131 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__17; +lean_inc(x_122); +x_132 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_132, 0, x_122); +lean_ctor_set(x_132, 1, x_128); +lean_ctor_set(x_132, 2, x_130); +lean_ctor_set(x_132, 3, x_131); +x_133 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___closed__9; +lean_inc(x_122); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_122); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Syntax_node5(x_122, x_123, x_125, x_121, x_127, x_132, x_134); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_11); +return x_136; } } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_unsigned_to_nat(0u); -x_137 = l_Lean_Syntax_getArg(x_1, x_136); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_unsigned_to_nat(0u); +x_138 = l_Lean_Syntax_getArg(x_1, x_137); lean_dec(x_1); -x_138 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_138) == 0) +x_139 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal(x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_139) == 0) { -uint8_t x_139; -x_139 = !lean_is_exclusive(x_138); -if (x_139 == 0) +uint8_t x_140; +x_140 = !lean_is_exclusive(x_139); +if (x_140 == 0) { -return x_138; +return x_139; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_138, 0); -x_141 = lean_ctor_get(x_138, 1); +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_139, 0); +x_142 = lean_ctor_get(x_139, 1); +lean_inc(x_142); lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_138); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -return x_142; +lean_dec(x_139); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } else { -return x_138; +return x_139; } } } @@ -38474,115 +44303,118 @@ lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_3); -x_15 = lean_unbox(x_4); -x_16 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +x_16 = lean_unbox(x_4); +x_17 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -return x_16; +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); +lean_dec_ref(x_2); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkArg(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -return x_16; +return x_17; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -38603,7 +44435,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__0; x_2 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__5; x_3 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__6_spec__6___closed__4; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -38634,113 +44466,115 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_array_size(x_2); -x_13 = 0; -x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_16 = lean_ctor_get(x_14, 0); -x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__1; -x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__3; -x_19 = lean_box(2); -x_20 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -lean_ctor_set(x_20, 2, x_16); -x_21 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__4; -x_22 = lean_array_push(x_21, x_1); -x_23 = lean_array_push(x_22, x_20); -x_24 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_17); -lean_ctor_set(x_24, 2, x_23); -lean_ctor_set(x_14, 0, x_24); -return x_14; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_25 = lean_ctor_get(x_14, 0); -x_26 = lean_ctor_get(x_14, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_14); -x_27 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__1; -x_28 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__3; -x_29 = lean_box(2); -x_30 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_25); -x_31 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__4; -x_32 = lean_array_push(x_31, x_1); -x_33 = lean_array_push(x_32, x_30); -x_34 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_26); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_14); -if (x_36 == 0) -{ -return x_14; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_14, 0); -x_38 = lean_ctor_get(x_14, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_14); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); +x_13 = lean_array_size(x_2); +x_14 = 0; +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__1; +x_19 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__3; +x_20 = lean_box(2); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_17); +x_22 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__4; +x_23 = lean_array_push(x_22, x_1); +x_24 = lean_array_push(x_23, x_21); +x_25 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 2, x_24); +lean_ctor_set(x_15, 0, x_25); return x_15; } +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__1; +x_29 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__3; +x_30 = lean_box(2); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_26); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___closed__4; +x_33 = lean_array_push(x_32, x_1); +x_34 = lean_array_push(x_33, x_31); +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_28); +lean_ctor_set(x_35, 2, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_27); +return x_36; } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +else +{ +uint8_t x_37; +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_15); +if (x_37 == 0) +{ +return x_15; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_15, 0); +x_39 = lean_ctor_get(x_15, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_15); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkAppStx(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_12; +lean_dec_ref(x_3); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -38884,8 +44718,8 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; x_2 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; x_3 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4036156533____hygCtx___hyg_4_; -x_4 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_5 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_5 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } @@ -38910,73 +44744,289 @@ lean_dec_ref(x_2); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0() { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___redArg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" ", 1, 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1() { -_start: +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Doc_addBuiltinDocRole___closed__0; +x_4 = lean_st_ref_get(x_3, x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_20; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; +x_9 = lean_st_ref_get(x_8, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + x_12 = x_9; +} else { + lean_dec_ref(x_9); + x_12 = lean_box(0); } -} -static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2() { -_start: +x_20 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_1, x_6); +lean_dec(x_6); +if (x_20 == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); +uint8_t x_21; +x_21 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_1, x_10); +lean_dec(x_10); +if (x_21 == 0) +{ +lean_dec(x_12); +lean_ctor_set(x_4, 1, x_11); +lean_ctor_set(x_4, 0, x_1); return x_4; } -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_2 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; -x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_string_utf8_byte_size(x_1); -lean_inc_ref(x_1); -x_5 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -x_6 = lean_unsigned_to_nat(1u); -x_7 = l_Substring_nextn(x_5, x_6, x_3); -lean_dec_ref(x_5); -lean_inc_ref(x_1); -x_8 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_3); -lean_ctor_set(x_8, 2, x_7); -x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2; -x_10 = l_Substring_beq(x_8, x_9); -if (x_10 == 0) -{ -lean_object* x_11; -x_11 = lean_string_append(x_2, x_1); -lean_dec_ref(x_1); -return x_11; -} else { -return x_1; +lean_free_object(x_4); +x_13 = x_1; +goto block_19; +} +} +else +{ +lean_dec(x_10); +lean_free_object(x_4); +x_13 = x_1; +goto block_19; +} +block_19: +{ +if (lean_obj_tag(x_13) == 1) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 1); +lean_inc_ref(x_14); +lean_dec_ref(x_13); +x_15 = lean_box(0); +x_16 = l_Lean_Name_str___override(x_15, x_14); +if (lean_is_scalar(x_12)) { + x_17 = lean_alloc_ctor(0, 2, 0); +} else { + x_17 = x_12; +} +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_11); +return x_17; +} +else +{ +lean_object* x_18; +if (lean_is_scalar(x_12)) { + x_18 = lean_alloc_ctor(0, 2, 0); +} else { + x_18 = x_12; +} +lean_ctor_set(x_18, 0, x_13); +lean_ctor_set(x_18, 1, x_11); +return x_18; } } } -static lean_object* _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0() { +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_36; +x_22 = lean_ctor_get(x_4, 0); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_4); +x_24 = l_Lean_Doc_addBuiltinDocCodeBlock___closed__0; +x_25 = lean_st_ref_get(x_24, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_36 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_1, x_22); +lean_dec(x_22); +if (x_36 == 0) +{ +uint8_t x_37; +x_37 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_1, x_26); +lean_dec(x_26); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_28); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_1); +lean_ctor_set(x_38, 1, x_27); +return x_38; +} +else +{ +x_29 = x_1; +goto block_35; +} +} +else +{ +lean_dec(x_26); +x_29 = x_1; +goto block_35; +} +block_35: +{ +if (lean_obj_tag(x_29) == 1) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 1); +lean_inc_ref(x_30); +lean_dec_ref(x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Name_str___override(x_31, x_30); +if (lean_is_scalar(x_28)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_28; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_27); +return x_33; +} +else +{ +lean_object* x_34; +if (lean_is_scalar(x_28)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_28; +} +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_27); +return x_34; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___redArg(x_1, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_14; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; +x_20 = lean_st_ref_get(x_7, x_8); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc_ref(x_23); +lean_dec(x_21); +x_24 = 1; +lean_inc(x_1); +x_25 = l_Lean_Environment_contains(x_23, x_1, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_inc(x_1); +x_26 = l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___redArg(x_1, x_22); +x_14 = x_26; +goto block_19; +} +else +{ +uint8_t x_27; lean_object* x_28; +x_27 = 0; +lean_inc(x_1); +x_28 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0(x_1, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +x_14 = x_28; +goto block_19; +} +block_13: +{ +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec_ref(x_9); +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName_builtinFallback___redArg(x_1, x_10); +return x_12; +} +else +{ +lean_dec(x_1); +return x_9; +} +} +block_19: +{ +if (lean_obj_tag(x_14) == 0) +{ +lean_dec(x_1); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_14, 0); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +x_17 = l_Lean_Exception_isInterrupt(x_15); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = l_Lean_Exception_isRuntime(x_15); +x_9 = x_14; +x_10 = x_16; +x_11 = x_18; +goto block_13; +} +else +{ +x_9 = x_14; +x_10 = x_16; +x_11 = x_17; +goto block_13; +} +} +} +} +} +static lean_object* _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0() { _start: { lean_object* x_1; @@ -38984,7 +45034,7 @@ x_1 = l_Std_Format_defWidth; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -39015,7 +45065,7 @@ lean_dec_ref(x_7); x_10 = lean_box(0); x_11 = 0; x_12 = l_Lean_Syntax_formatStx(x_8, x_10, x_11); -x_13 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0; +x_13 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0; x_14 = lean_unsigned_to_nat(0u); x_15 = lean_format_pretty(x_12, x_13, x_14, x_14); x_16 = l_Lean_Syntax_formatStx(x_9, x_10, x_11); @@ -39063,7 +45113,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -39077,7 +45127,7 @@ else { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_5 = lean_box(x_4); -x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___boxed), 3, 1); +x_6 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___boxed), 3, 1); lean_closure_set(x_6, 0, x_5); lean_inc(x_2); x_7 = l_Array_qpartition___redArg(x_1, x_6, x_2, x_3); @@ -39090,7 +45140,7 @@ x_10 = lean_nat_dec_le(x_3, x_8); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(x_9, x_2, x_8); +x_11 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(x_9, x_2, x_8); x_12 = lean_unsigned_to_nat(1u); x_13 = lean_nat_add(x_8, x_12); lean_dec(x_8); @@ -39107,15 +45157,15 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(x_2, x_3, x_4); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(x_2, x_3, x_4); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -39149,14 +45199,14 @@ if (x_8 == 0) lean_object* x_9; lean_dec(x_6); lean_inc(x_7); -x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(x_1, x_7, x_7); +x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(x_1, x_7, x_7); lean_dec(x_7); return x_9; } else { lean_object* x_10; -x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(x_1, x_7, x_6); +x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(x_1, x_7, x_6); lean_dec(x_6); return x_10; } @@ -39169,100 +45219,4289 @@ return x_1; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; uint8_t x_5; lean_object* x_6; x_4 = lean_unbox(x_1); -x_5 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0(x_4, x_2, x_3); +x_5 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0(x_4, x_2, x_3); x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg(x_1, x_2, x_3); +x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_12; -x_12 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_7); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_8); +lean_ctor_set(x_14, 2, x_9); +lean_ctor_set(x_14, 3, x_13); +lean_ctor_set(x_14, 4, x_13); +lean_ctor_set(x_14, 5, x_13); +x_15 = 0; +x_16 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_13); +lean_ctor_set(x_16, 2, x_13); +lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_15); +x_17 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_19 = lean_array_uset(x_11, x_2, x_16); +x_2 = x_18; +x_3 = x_19; +goto _start; +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_array_uget(x_2, x_4); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = lean_string_dec_eq(x_14, x_1); +if (x_15 == 0) +{ +uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_unbox(x_13); +lean_dec(x_13); +x_17 = l_Lean_Diff_Action_linePrefix(x_16); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_19 = lean_string_append(x_17, x_18); +x_20 = lean_string_append(x_19, x_14); +lean_dec(x_14); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1; +x_22 = lean_string_append(x_20, x_21); +x_23 = lean_string_append(x_5, x_22); +lean_dec_ref(x_22); +x_6 = x_23; +goto block_10; +} +else +{ +uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_14); +x_24 = lean_unbox(x_13); +lean_dec(x_13); +x_25 = l_Lean_Diff_Action_linePrefix(x_24); +x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1; +x_27 = lean_string_append(x_25, x_26); +x_28 = lean_string_append(x_5, x_27); +lean_dec_ref(x_27); +x_6 = x_28; +goto block_10; +} +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_4, x_7); +x_4 = x_8; +x_5 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; +x_2 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_3 = lean_array_size(x_1); +x_4 = 0; +x_5 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1(x_2, x_1, x_3, x_4, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_string_utf8_at_end(x_1, x_3); +if (x_5 == 0) +{ +uint32_t x_6; uint32_t x_7; uint8_t x_8; +x_6 = lean_string_utf8_get(x_1, x_3); +x_7 = 10; +x_8 = lean_uint32_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_string_utf8_next(x_1, x_3); +lean_dec(x_3); +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_string_utf8_next(x_1, x_3); +x_12 = lean_string_utf8_extract(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_4); +lean_inc(x_11); +x_2 = x_11; +x_3 = x_11; +x_4 = x_13; +goto _start; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_string_utf8_extract(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +x_17 = l_List_reverse___redArg(x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_box(0); +x_4 = l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3(x_1, x_2, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_Diff_0__Lean_Diff_matchPrefix_go___at___Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_10; uint8_t x_11; +x_4 = lean_array_get_size(x_3); +x_10 = l_Subarray_size___redArg(x_1); +x_11 = lean_nat_dec_lt(x_4, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +goto block_9; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Subarray_size___redArg(x_2); +x_13 = lean_nat_dec_lt(x_4, x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +goto block_9; +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Subarray_get___redArg(x_1, x_4); +x_15 = l_Subarray_get___redArg(x_2, x_4); +x_16 = lean_string_dec_eq(x_14, x_15); +lean_dec_ref(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec_ref(x_14); +x_17 = l_Subarray_drop___redArg(x_1, x_4); +x_18 = l_Subarray_drop___redArg(x_2, x_4); +lean_dec(x_4); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_3); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec(x_4); +x_21 = lean_array_push(x_3, x_14); +x_3 = x_21; +goto _start; +} +} +} +block_9: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = l_Subarray_drop___redArg(x_1, x_4); +x_6 = l_Subarray_drop___redArg(x_2, x_4); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0; +x_4 = l___private_Lean_Util_Diff_0__Lean_Diff_matchPrefix_go___at___Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5_spec__5(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_Diff_0__Lean_Diff_matchSuffix_go___at___Lean_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_15; +x_4 = l_Subarray_size___redArg(x_1); +x_15 = lean_nat_dec_lt(x_3, x_4); +if (x_15 == 0) +{ +goto block_14; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Subarray_size___redArg(x_2); +x_17 = lean_nat_dec_lt(x_3, x_16); +if (x_17 == 0) +{ +lean_dec(x_16); +goto block_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_18 = lean_nat_sub(x_4, x_3); +lean_dec(x_4); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_18, x_19); +x_21 = l_Subarray_get___redArg(x_1, x_20); +lean_dec(x_20); +x_22 = lean_nat_sub(x_16, x_3); +lean_dec(x_16); +x_23 = lean_nat_sub(x_22, x_19); +x_24 = l_Subarray_get___redArg(x_2, x_23); +lean_dec(x_23); +x_25 = lean_string_dec_eq(x_21, x_24); +lean_dec_ref(x_24); +lean_dec_ref(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_3); +lean_inc_ref(x_1); +x_26 = l_Subarray_take___redArg(x_1, x_18); +x_27 = l_Subarray_take___redArg(x_2, x_22); +lean_dec(x_22); +x_28 = l_Subarray_drop___redArg(x_1, x_18); +lean_dec(x_18); +x_29 = l_Array_ofSubarray___redArg(x_28); +lean_dec_ref(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +else +{ +lean_object* x_32; +lean_dec(x_22); +lean_dec(x_18); +x_32 = lean_nat_add(x_3, x_19); +lean_dec(x_3); +x_3 = x_32; +goto _start; +} +} +} +block_14: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_nat_sub(x_4, x_3); +lean_dec(x_4); +lean_inc_ref(x_1); +x_6 = l_Subarray_take___redArg(x_1, x_5); +x_7 = l_Subarray_size___redArg(x_2); +x_8 = lean_nat_sub(x_7, x_3); +lean_dec(x_3); +lean_dec(x_7); +x_9 = l_Subarray_take___redArg(x_2, x_8); +lean_dec(x_8); +x_10 = l_Subarray_drop___redArg(x_1, x_5); +lean_dec(x_5); +x_11 = l_Array_ofSubarray___redArg(x_10); +lean_dec_ref(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l___private_Lean_Util_Diff_0__Lean_Diff_matchSuffix_go___at___Lean_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7_spec__7(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_string_dec_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_string_hash(x_2); +x_6 = 32; +x_7 = lean_uint64_shift_right(x_5, x_6); +x_8 = lean_uint64_xor(x_5, x_7); +x_9 = 16; +x_10 = lean_uint64_shift_right(x_8, x_9); +x_11 = lean_uint64_xor(x_8, x_10); +x_12 = lean_uint64_to_usize(x_11); +x_13 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_14 = 1; +x_15 = lean_usize_sub(x_13, x_14); +x_16 = lean_usize_land(x_12, x_15); +x_17 = lean_array_uget(x_3, x_16); +x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg(x_2, x_17); +lean_dec(x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_string_dec_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +return x_6; +} +} +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_string_hash(x_4); +x_8 = 32; +x_9 = lean_uint64_shift_right(x_7, x_8); +x_10 = lean_uint64_xor(x_7, x_9); +x_11 = 16; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = lean_uint64_to_usize(x_13); +x_15 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_16 = 1; +x_17 = lean_usize_sub(x_15, x_16); +x_18 = lean_usize_land(x_14, x_17); +x_19 = lean_array_uget(x_1, x_18); +lean_ctor_set(x_2, 2, x_19); +x_20 = lean_array_uset(x_1, x_18, x_2); +x_1 = x_20; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_22 = lean_ctor_get(x_2, 0); +x_23 = lean_ctor_get(x_2, 1); +x_24 = lean_ctor_get(x_2, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_2); +x_25 = lean_array_get_size(x_1); +x_26 = lean_string_hash(x_22); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_1, x_37); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_23); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_array_uset(x_1, x_37, x_39); +x_1 = x_40; +x_2 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec_ref(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12_spec__12___redArg(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_mul(x_2, x_3); +lean_dec(x_2); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_4, x_6); +x_8 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12_spec__12___redArg(x_5, x_1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12___redArg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_2); +lean_dec_ref(x_1); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_string_dec_eq(x_5, x_1); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(x_1, x_2, x_7); +lean_ctor_set(x_3, 2, x_9); +return x_3; +} +else +{ +lean_dec(x_6); +lean_dec(x_5); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_3, 0); +x_11 = lean_ctor_get(x_3, 1); +x_12 = lean_ctor_get(x_3, 2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_3); +x_13 = lean_string_dec_eq(x_10, x_1); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_apply_1(x_2, x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; +x_14 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(x_1, x_2, x_12); +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_14); +return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_2); +lean_ctor_set(x_16, 2, x_12); +return x_16; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_string_hash(x_2); +x_9 = 32; +x_10 = lean_uint64_shift_right(x_8, x_9); +x_11 = lean_uint64_xor(x_8, x_10); +x_12 = 16; +x_13 = lean_uint64_shift_right(x_11, x_12); +x_14 = lean_uint64_xor(x_11, x_13); +x_15 = lean_uint64_to_usize(x_14); +x_16 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_17 = 1; +x_18 = lean_usize_sub(x_16, x_17); +x_19 = lean_usize_land(x_15, x_18); +x_20 = lean_array_uget(x_6, x_19); +x_21 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(x_2, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_5, x_22); +lean_dec(x_5); +x_24 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_3); +lean_ctor_set(x_24, 2, x_20); +x_25 = lean_array_uset(x_6, x_19, x_24); +x_26 = lean_unsigned_to_nat(4u); +x_27 = lean_nat_mul(x_23, x_26); +x_28 = lean_unsigned_to_nat(3u); +x_29 = lean_nat_div(x_27, x_28); +lean_dec(x_27); +x_30 = lean_array_get_size(x_25); +x_31 = lean_nat_dec_le(x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12___redArg(x_25); +lean_ctor_set(x_1, 1, x_32); +lean_ctor_set(x_1, 0, x_23); +return x_1; +} +else +{ +lean_ctor_set(x_1, 1, x_25); +lean_ctor_set(x_1, 0, x_23); +return x_1; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_box(0); +x_34 = lean_array_uset(x_6, x_19, x_33); +x_35 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(x_2, x_3, x_20); +x_36 = lean_array_uset(x_34, x_19, x_35); +lean_ctor_set(x_1, 1, x_36); +return x_1; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; size_t x_51; lean_object* x_52; uint8_t x_53; +x_37 = lean_ctor_get(x_1, 0); +x_38 = lean_ctor_get(x_1, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_1); +x_39 = lean_array_get_size(x_38); +x_40 = lean_string_hash(x_2); +x_41 = 32; +x_42 = lean_uint64_shift_right(x_40, x_41); +x_43 = lean_uint64_xor(x_40, x_42); +x_44 = 16; +x_45 = lean_uint64_shift_right(x_43, x_44); +x_46 = lean_uint64_xor(x_43, x_45); +x_47 = lean_uint64_to_usize(x_46); +x_48 = lean_usize_of_nat(x_39); +lean_dec(x_39); +x_49 = 1; +x_50 = lean_usize_sub(x_48, x_49); +x_51 = lean_usize_land(x_47, x_50); +x_52 = lean_array_uget(x_38, x_51); +x_53 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(x_2, x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_54 = lean_unsigned_to_nat(1u); +x_55 = lean_nat_add(x_37, x_54); +lean_dec(x_37); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_2); +lean_ctor_set(x_56, 1, x_3); +lean_ctor_set(x_56, 2, x_52); +x_57 = lean_array_uset(x_38, x_51, x_56); +x_58 = lean_unsigned_to_nat(4u); +x_59 = lean_nat_mul(x_55, x_58); +x_60 = lean_unsigned_to_nat(3u); +x_61 = lean_nat_div(x_59, x_60); +lean_dec(x_59); +x_62 = lean_array_get_size(x_57); +x_63 = lean_nat_dec_le(x_61, x_62); +lean_dec(x_62); +lean_dec(x_61); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__12___redArg(x_57); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_55); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +else +{ +lean_object* x_66; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_55); +lean_ctor_set(x_66, 1, x_57); +return x_66; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_box(0); +x_68 = lean_array_uset(x_38, x_51, x_67); +x_69 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__15___redArg(x_2, x_3, x_52); +x_70 = lean_array_uset(x_68, x_51, x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_37); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_6); +lean_ctor_set(x_9, 2, x_7); +lean_ctor_set(x_9, 3, x_8); +x_10 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_9); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_4, 0); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_dec(x_15); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_14, x_16); +lean_dec(x_14); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_12, 1, x_4); +lean_ctor_set(x_12, 0, x_17); +x_18 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_12); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 2); +x_21 = lean_ctor_get(x_12, 3); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_12); -x_18 = lean_apply_1(x_2, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_19, x_22); +lean_dec(x_19); +lean_ctor_set(x_4, 0, x_2); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_4); +lean_ctor_set(x_24, 2, x_20); +lean_ctor_set(x_24, 3, x_21); +x_25 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_24); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_26 = lean_ctor_get(x_4, 0); +lean_inc(x_26); +lean_dec(x_4); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 2); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 3); +lean_inc(x_29); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + lean_ctor_release(x_26, 3); + x_30 = x_26; +} else { + lean_dec_ref(x_26); + x_30 = lean_box(0); +} +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_27, x_31); +lean_dec(x_27); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_2); +if (lean_is_scalar(x_30)) { + x_34 = lean_alloc_ctor(0, 4, 0); +} else { + x_34 = x_30; +} +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_28); +lean_ctor_set(x_34, 3, x_29); +x_35 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___redArg(x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_box(0); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_2); +x_9 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_6); +lean_ctor_set(x_9, 2, x_7); +lean_ctor_set(x_9, 3, x_8); +x_10 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_9); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_4, 0); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 3); +lean_dec(x_15); +x_16 = lean_ctor_get(x_12, 2); +lean_dec(x_16); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_14, x_17); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_12, 3, x_4); +lean_ctor_set(x_12, 2, x_18); +x_19 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_12); return x_19; } +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_12); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_20, x_22); +lean_ctor_set(x_4, 0, x_2); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_21); +lean_ctor_set(x_24, 2, x_23); +lean_ctor_set(x_24, 3, x_4); +x_25 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_24); +return x_25; +} } else { -uint8_t x_20; -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_12); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_4, 0); +lean_inc(x_26); +lean_dec(x_4); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + lean_ctor_release(x_26, 3); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_27, x_30); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_2); +if (lean_is_scalar(x_29)) { + x_33 = lean_alloc_ctor(0, 4, 0); +} else { + x_33 = x_29; +} +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_28); +lean_ctor_set(x_33, 2, x_31); +lean_ctor_set(x_33, 3, x_32); +x_34 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_1, x_3, x_33); +return x_34; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___redArg(x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec_ref(x_1); +x_1 = x_6; +goto _start; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec_ref(x_1); +x_1 = x_9; +goto _start; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_1); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_ctor_get(x_1, 0); +lean_dec(x_13); +x_14 = !lean_is_exclusive(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); +lean_dec(x_16); +x_17 = lean_ctor_get(x_4, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_4, 2); +lean_inc(x_18); +lean_dec(x_4); +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +lean_dec_ref(x_5); +x_20 = !lean_is_exclusive(x_8); if (x_20 == 0) { -return x_12; +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_8, 0); +x_22 = lean_nat_add(x_17, x_18); +lean_dec(x_18); +lean_dec(x_17); +lean_ctor_set(x_3, 1, x_21); +lean_ctor_set(x_3, 0, x_19); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_15); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_1); +lean_ctor_set(x_8, 0, x_23); +x_1 = x_12; +x_2 = x_8; +goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_12); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_8, 0); +lean_inc(x_25); +lean_dec(x_8); +x_26 = lean_nat_add(x_17, x_18); +lean_dec(x_18); +lean_dec(x_17); +lean_ctor_set(x_3, 1, x_25); +lean_ctor_set(x_3, 0, x_19); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_15); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_1); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_1 = x_12; +x_2 = x_28; +goto _start; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_30 = lean_ctor_get(x_3, 0); +lean_inc(x_30); +lean_dec(x_3); +x_31 = lean_ctor_get(x_4, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_4, 2); +lean_inc(x_32); +lean_dec(x_4); +x_33 = lean_ctor_get(x_5, 0); +lean_inc(x_33); +lean_dec_ref(x_5); +x_34 = lean_ctor_get(x_8, 0); +lean_inc(x_34); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + x_35 = x_8; +} else { + lean_dec_ref(x_8); + x_35 = lean_box(0); +} +x_36 = lean_nat_add(x_31, x_32); +lean_dec(x_32); +lean_dec(x_31); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_37); +lean_ctor_set(x_1, 0, x_30); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_1); +if (lean_is_scalar(x_35)) { + x_39 = lean_alloc_ctor(1, 1, 0); +} else { + x_39 = x_35; +} +lean_ctor_set(x_39, 0, x_38); +x_1 = x_12; +x_2 = x_39; +goto _start; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_41 = lean_ctor_get(x_1, 1); +lean_inc(x_41); +lean_dec(x_1); +x_42 = lean_ctor_get(x_3, 0); +lean_inc(x_42); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_43 = x_3; +} else { + lean_dec_ref(x_3); + x_43 = lean_box(0); +} +x_44 = lean_ctor_get(x_4, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_4, 2); +lean_inc(x_45); +lean_dec(x_4); +x_46 = lean_ctor_get(x_5, 0); +lean_inc(x_46); +lean_dec_ref(x_5); +x_47 = lean_ctor_get(x_8, 0); +lean_inc(x_47); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + x_48 = x_8; +} else { + lean_dec_ref(x_8); + x_48 = lean_box(0); +} +x_49 = lean_nat_add(x_44, x_45); +lean_dec(x_45); +lean_dec(x_44); +if (lean_is_scalar(x_43)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_43; +} +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_47); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_42); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_51); +if (lean_is_scalar(x_48)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_48; +} +lean_ctor_set(x_53, 0, x_52); +x_1 = x_41; +x_2 = x_53; +goto _start; +} +} +else +{ +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_2, 0); +lean_inc(x_55); +x_56 = !lean_is_exclusive(x_1); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_1, 1); +x_58 = lean_ctor_get(x_1, 0); +lean_dec(x_58); +x_59 = !lean_is_exclusive(x_3); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_60 = lean_ctor_get(x_3, 0); +x_61 = lean_ctor_get(x_3, 1); +lean_dec(x_61); +x_62 = lean_ctor_get(x_4, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_4, 2); +lean_inc(x_63); +lean_dec(x_4); +x_64 = lean_ctor_get(x_5, 0); +lean_inc(x_64); +lean_dec_ref(x_5); +x_65 = lean_ctor_get(x_8, 0); +lean_inc(x_65); +lean_dec_ref(x_8); +x_66 = !lean_is_exclusive(x_55); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_55, 0); +x_68 = lean_ctor_get(x_55, 1); +lean_dec(x_68); +x_69 = lean_nat_add(x_62, x_63); +lean_dec(x_63); +lean_dec(x_62); +x_70 = lean_nat_dec_lt(x_69, x_67); +lean_dec(x_67); +if (x_70 == 0) +{ +lean_dec(x_69); +lean_free_object(x_55); +lean_dec(x_65); +lean_dec(x_64); +lean_free_object(x_3); +lean_dec(x_60); +lean_free_object(x_1); +x_1 = x_57; +goto _start; +} +else +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_2); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_2, 0); +lean_dec(x_73); +lean_ctor_set(x_55, 1, x_65); +lean_ctor_set(x_55, 0, x_64); +lean_ctor_set(x_3, 1, x_55); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_69); +lean_ctor_set(x_2, 0, x_1); +x_1 = x_57; +goto _start; +} +else +{ +lean_object* x_75; +lean_dec(x_2); +lean_ctor_set(x_55, 1, x_65); +lean_ctor_set(x_55, 0, x_64); +lean_ctor_set(x_3, 1, x_55); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_69); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_1); +x_1 = x_57; +x_2 = x_75; +goto _start; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_77 = lean_ctor_get(x_55, 0); +lean_inc(x_77); +lean_dec(x_55); +x_78 = lean_nat_add(x_62, x_63); +lean_dec(x_63); +lean_dec(x_62); +x_79 = lean_nat_dec_lt(x_78, x_77); +lean_dec(x_77); +if (x_79 == 0) +{ +lean_dec(x_78); +lean_dec(x_65); +lean_dec(x_64); +lean_free_object(x_3); +lean_dec(x_60); +lean_free_object(x_1); +x_1 = x_57; +goto _start; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_81 = x_2; +} else { + lean_dec_ref(x_2); + x_81 = lean_box(0); +} +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_64); +lean_ctor_set(x_82, 1, x_65); +lean_ctor_set(x_3, 1, x_82); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_78); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(1, 1, 0); +} else { + x_83 = x_81; +} +lean_ctor_set(x_83, 0, x_1); +x_1 = x_57; +x_2 = x_83; +goto _start; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_85 = lean_ctor_get(x_3, 0); +lean_inc(x_85); +lean_dec(x_3); +x_86 = lean_ctor_get(x_4, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_4, 2); +lean_inc(x_87); +lean_dec(x_4); +x_88 = lean_ctor_get(x_5, 0); +lean_inc(x_88); +lean_dec_ref(x_5); +x_89 = lean_ctor_get(x_8, 0); +lean_inc(x_89); +lean_dec_ref(x_8); +x_90 = lean_ctor_get(x_55, 0); +lean_inc(x_90); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_91 = x_55; +} else { + lean_dec_ref(x_55); + x_91 = lean_box(0); +} +x_92 = lean_nat_add(x_86, x_87); +lean_dec(x_87); +lean_dec(x_86); +x_93 = lean_nat_dec_lt(x_92, x_90); +lean_dec(x_90); +if (x_93 == 0) +{ +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_85); +lean_free_object(x_1); +x_1 = x_57; +goto _start; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_95 = x_2; +} else { + lean_dec_ref(x_2); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_91; +} +lean_ctor_set(x_96, 0, x_88); +lean_ctor_set(x_96, 1, x_89); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_85); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_97); +lean_ctor_set(x_1, 0, x_92); +if (lean_is_scalar(x_95)) { + x_98 = lean_alloc_ctor(1, 1, 0); +} else { + x_98 = x_95; +} +lean_ctor_set(x_98, 0, x_1); +x_1 = x_57; +x_2 = x_98; +goto _start; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_100 = lean_ctor_get(x_1, 1); +lean_inc(x_100); +lean_dec(x_1); +x_101 = lean_ctor_get(x_3, 0); +lean_inc(x_101); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_102 = x_3; +} else { + lean_dec_ref(x_3); + x_102 = lean_box(0); +} +x_103 = lean_ctor_get(x_4, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_4, 2); +lean_inc(x_104); +lean_dec(x_4); +x_105 = lean_ctor_get(x_5, 0); +lean_inc(x_105); +lean_dec_ref(x_5); +x_106 = lean_ctor_get(x_8, 0); +lean_inc(x_106); +lean_dec_ref(x_8); +x_107 = lean_ctor_get(x_55, 0); +lean_inc(x_107); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_108 = x_55; +} else { + lean_dec_ref(x_55); + x_108 = lean_box(0); +} +x_109 = lean_nat_add(x_103, x_104); +lean_dec(x_104); +lean_dec(x_103); +x_110 = lean_nat_dec_lt(x_109, x_107); +lean_dec(x_107); +if (x_110 == 0) +{ +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_102); +lean_dec(x_101); +x_1 = x_100; +goto _start; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_112 = x_2; +} else { + lean_dec_ref(x_2); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_108; +} +lean_ctor_set(x_113, 0, x_105); +lean_ctor_set(x_113, 1, x_106); +if (lean_is_scalar(x_102)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_102; +} +lean_ctor_set(x_114, 0, x_101); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_109); +lean_ctor_set(x_115, 1, x_114); +if (lean_is_scalar(x_112)) { + x_116 = lean_alloc_ctor(1, 1, 0); +} else { + x_116 = x_112; +} +lean_ctor_set(x_116, 0, x_115); +x_1 = x_100; +x_2 = x_116; +goto _start; } } } } -LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___redArg(x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_inc(x_1); +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 2); +x_6 = l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20(x_1, x_5); +lean_inc(x_4); +lean_inc(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_4); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; +x_6 = 1; +x_7 = lean_usize_sub(x_2, x_6); +x_8 = lean_array_uget(x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20(x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +x_2 = x_7; +x_4 = x_9; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Nat_decLt___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0; +x_8 = l_Subarray_get___redArg(x_2, x_6); +lean_inc(x_6); +x_9 = l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___redArg(x_5, x_6, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_6, x_10); +lean_dec(x_6); +x_12 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_7); +lean_inc(x_11); +lean_inc(x_4); +x_13 = lean_apply_2(x_12, x_4, x_11); +x_14 = lean_unbox(x_13); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_4); +return x_9; +} +else +{ +x_5 = x_9; +x_6 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg(x_1, x_2, x_3, x_8, x_10, x_11); return x_14; } } +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0; +x_8 = l_Subarray_get___redArg(x_3, x_6); +lean_inc(x_6); +x_9 = l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___redArg(x_5, x_6, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_6, x_10); +lean_dec(x_6); +x_12 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_7); +lean_inc(x_11); +lean_inc(x_4); +x_13 = lean_apply_2(x_12, x_4, x_11); +x_14 = lean_unbox(x_13); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_4); +return x_9; +} +else +{ +x_5 = x_9; +x_6 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg(x_1, x_2, x_3, x_8, x_10, x_11); +return x_14; +} +} +static lean_object* _init_l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_41; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_3 = l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5(x_1, x_2); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec_ref(x_3); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = l_Lean_Diff_matchSuffix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__7(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec_ref(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_52 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0; +x_53 = l_Subarray_size___redArg(x_10); +x_62 = lean_unsigned_to_nat(0u); +x_63 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__13; +x_64 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_52); +lean_inc(x_53); +x_65 = lean_apply_2(x_64, x_53, x_62); +x_66 = lean_unbox(x_65); +if (x_66 == 0) +{ +x_54 = x_63; +goto block_61; +} +else +{ +lean_object* x_67; +lean_inc(x_53); +x_67 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg(x_11, x_53, x_10, x_53, x_63, x_62); +x_54 = x_67; +goto block_61; +} +block_40: +{ +lean_object* x_15; +x_15 = l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___redArg(x_14, x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = l_Array_append___redArg(x_5, x_12); +lean_dec(x_12); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = l_Subarray_split___redArg(x_10, x_21); +lean_dec(x_21); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l_Subarray_split___redArg(x_11, x_22); +lean_dec(x_22); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5(x_24, x_27); +x_30 = l_Array_append___redArg(x_5, x_29); +lean_dec_ref(x_29); +x_31 = lean_unsigned_to_nat(1u); +x_32 = l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0; +x_33 = lean_array_push(x_32, x_20); +x_34 = l_Array_append___redArg(x_30, x_33); +lean_dec_ref(x_33); +x_35 = l_Subarray_drop___redArg(x_25, x_31); +x_36 = l_Subarray_drop___redArg(x_28, x_31); +x_37 = l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5(x_35, x_36); +x_38 = l_Array_append___redArg(x_34, x_37); +lean_dec_ref(x_37); +x_39 = l_Array_append___redArg(x_38, x_12); +lean_dec(x_12); +return x_39; +} +} +block_51: +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_42 = lean_ctor_get(x_41, 1); +lean_inc_ref(x_42); +lean_dec_ref(x_41); +x_43 = lean_box(0); +x_44 = lean_box(0); +x_45 = lean_array_get_size(x_42); +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_nat_dec_lt(x_46, x_45); +if (x_47 == 0) +{ +lean_dec(x_45); +lean_dec_ref(x_42); +x_13 = x_43; +x_14 = x_44; +goto block_40; +} +else +{ +size_t x_48; size_t x_49; lean_object* x_50; +x_48 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_49 = 0; +x_50 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21(x_42, x_48, x_49, x_44); +lean_dec_ref(x_42); +x_13 = x_43; +x_14 = x_50; +goto block_40; +} +} +block_61: +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = l_Subarray_size___redArg(x_11); +x_56 = lean_unsigned_to_nat(0u); +x_57 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_52); +lean_inc(x_55); +x_58 = lean_apply_2(x_57, x_55, x_56); +x_59 = lean_unbox(x_58); +if (x_59 == 0) +{ +lean_dec(x_55); +lean_dec(x_53); +x_41 = x_54; +goto block_51; +} +else +{ +lean_object* x_60; +lean_inc(x_55); +x_60 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg(x_55, x_11, x_53, x_55, x_54, x_56); +lean_dec(x_53); +lean_dec(x_55); +x_41 = x_60; +goto block_51; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_21; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_8 = x_5; +} else { + lean_dec_ref(x_5); + x_8 = lean_box(0); +} +x_21 = lean_nat_dec_lt(x_6, x_3); +if (x_21 == 0) +{ +x_9 = x_21; +goto block_20; +} +else +{ +lean_object* x_22; uint8_t x_23; +lean_inc_ref(x_1); +x_22 = lean_array_get_borrowed(x_1, x_2, x_6); +x_23 = lean_string_dec_eq(x_22, x_4); +if (x_23 == 0) +{ +x_9 = x_21; +goto block_20; +} +else +{ +lean_object* x_24; +lean_dec(x_8); +lean_dec_ref(x_1); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_7); +return x_24; +} +} +block_20: +{ +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec_ref(x_1); +if (lean_is_scalar(x_8)) { + x_10 = lean_alloc_ctor(0, 2, 0); +} else { + x_10 = x_8; +} +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = 1; +lean_inc_ref(x_1); +x_12 = lean_array_get_borrowed(x_1, x_2, x_6); +x_13 = lean_box(x_11); +lean_inc_ref(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_array_push(x_7, x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_6, x_16); +lean_dec(x_6); +if (lean_is_scalar(x_8)) { + x_18 = lean_alloc_ctor(0, 2, 0); +} else { + x_18 = x_8; +} +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +x_5 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_21; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_8 = x_5; +} else { + lean_dec_ref(x_5); + x_8 = lean_box(0); +} +x_21 = lean_nat_dec_lt(x_6, x_3); +if (x_21 == 0) +{ +x_9 = x_21; +goto block_20; +} +else +{ +lean_object* x_22; uint8_t x_23; +lean_inc_ref(x_1); +x_22 = lean_array_get_borrowed(x_1, x_2, x_6); +x_23 = lean_string_dec_eq(x_22, x_4); +if (x_23 == 0) +{ +x_9 = x_21; +goto block_20; +} +else +{ +lean_object* x_24; +lean_dec(x_8); +lean_dec_ref(x_1); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_7); +return x_24; +} +} +block_20: +{ +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec_ref(x_1); +if (lean_is_scalar(x_8)) { + x_10 = lean_alloc_ctor(0, 2, 0); +} else { + x_10 = x_8; +} +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = 0; +lean_inc_ref(x_1); +x_12 = lean_array_get_borrowed(x_1, x_2, x_6); +x_13 = lean_box(x_11); +lean_inc_ref(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_array_push(x_7, x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_6, x_16); +lean_dec(x_6); +if (lean_is_scalar(x_8)) { + x_18 = lean_alloc_ctor(0, 2, 0); +} else { + x_18 = x_8; +} +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +x_5 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_8, x_7); +if (x_10 == 0) +{ +lean_dec_ref(x_1); +return x_9; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_9, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_array_uget(x_6, x_8); +lean_ctor_set(x_12, 0, x_14); +lean_inc_ref(x_1); +x_17 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_2, x_3, x_16, x_12); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_17, 0, x_15); +lean_inc_ref(x_1); +x_20 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_4, x_5, x_16, x_17); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = 2; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_16); +x_27 = lean_array_push(x_23, x_26); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_19, x_28); +lean_dec(x_19); +x_30 = lean_nat_add(x_22, x_28); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_27); +lean_ctor_set(x_20, 0, x_30); +lean_ctor_set(x_9, 1, x_20); +lean_ctor_set(x_9, 0, x_29); +x_31 = 1; +x_32 = lean_usize_add(x_8, x_31); +x_8 = x_32; +goto _start; +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; +x_34 = lean_ctor_get(x_20, 0); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_20); +x_36 = 2; +x_37 = lean_box(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_16); +x_39 = lean_array_push(x_35, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_19, x_40); +lean_dec(x_19); +x_42 = lean_nat_add(x_34, x_40); +lean_dec(x_34); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); +lean_ctor_set(x_9, 1, x_43); +lean_ctor_set(x_9, 0, x_41); +x_44 = 1; +x_45 = lean_usize_add(x_8, x_44); +x_8 = x_45; +goto _start; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_15); +lean_ctor_set(x_49, 1, x_48); +lean_inc_ref(x_1); +x_50 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_4, x_5, x_16, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = 2; +x_55 = lean_box(x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_16); +x_57 = lean_array_push(x_52, x_56); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_47, x_58); +lean_dec(x_47); +x_60 = lean_nat_add(x_51, x_58); +lean_dec(x_51); +if (lean_is_scalar(x_53)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_53; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_57); +lean_ctor_set(x_9, 1, x_61); +lean_ctor_set(x_9, 0, x_59); +x_62 = 1; +x_63 = lean_usize_add(x_8, x_62); +x_8 = x_63; +goto _start; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; +x_65 = lean_ctor_get(x_9, 0); +x_66 = lean_ctor_get(x_12, 0); +x_67 = lean_ctor_get(x_12, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_12); +x_68 = lean_array_uget(x_6, x_8); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_67); +lean_inc_ref(x_1); +x_70 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_2, x_3, x_68, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_73 = x_70; +} else { + lean_dec_ref(x_70); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_66); +lean_ctor_set(x_74, 1, x_72); +lean_inc_ref(x_1); +x_75 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_4, x_5, x_68, x_74); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = 2; +x_80 = lean_box(x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_68); +x_82 = lean_array_push(x_77, x_81); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_71, x_83); +lean_dec(x_71); +x_85 = lean_nat_add(x_76, x_83); +lean_dec(x_76); +if (lean_is_scalar(x_78)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_78; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_82); +lean_ctor_set(x_9, 1, x_86); +lean_ctor_set(x_9, 0, x_84); +x_87 = 1; +x_88 = lean_usize_add(x_8, x_87); +x_8 = x_88; +goto _start; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; size_t x_115; size_t x_116; +x_90 = lean_ctor_get(x_9, 1); +x_91 = lean_ctor_get(x_9, 0); +lean_inc(x_90); +lean_inc(x_91); +lean_dec(x_9); +x_92 = lean_ctor_get(x_90, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_94 = x_90; +} else { + lean_dec_ref(x_90); + x_94 = lean_box(0); +} +x_95 = lean_array_uget(x_6, x_8); +if (lean_is_scalar(x_94)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_94; +} +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_93); +lean_inc_ref(x_1); +x_97 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_2, x_3, x_95, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_100 = x_97; +} else { + lean_dec_ref(x_97); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_101, 1, x_99); +lean_inc_ref(x_1); +x_102 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_4, x_5, x_95, x_101); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); + x_105 = lean_box(0); +} +x_106 = 2; +x_107 = lean_box(x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_95); +x_109 = lean_array_push(x_104, x_108); +x_110 = lean_unsigned_to_nat(1u); +x_111 = lean_nat_add(x_98, x_110); +lean_dec(x_98); +x_112 = lean_nat_add(x_103, x_110); +lean_dec(x_103); +if (lean_is_scalar(x_105)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_105; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_109); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_113); +x_115 = 1; +x_116 = lean_usize_add(x_8, x_115); +x_8 = x_116; +x_9 = x_114; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_8, x_7); +if (x_10 == 0) +{ +lean_dec_ref(x_1); +return x_9; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_9, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_array_uget(x_6, x_8); +lean_ctor_set(x_12, 0, x_14); +lean_inc_ref(x_1); +x_17 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_4, x_5, x_16, x_12); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_17, 0, x_15); +lean_inc_ref(x_1); +x_20 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_2, x_3, x_16, x_17); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = 2; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_16); +x_27 = lean_array_push(x_23, x_26); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_19, x_28); +lean_dec(x_19); +x_30 = lean_nat_add(x_22, x_28); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_27); +lean_ctor_set(x_20, 0, x_30); +lean_ctor_set(x_9, 1, x_20); +lean_ctor_set(x_9, 0, x_29); +x_31 = 1; +x_32 = lean_usize_add(x_8, x_31); +x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_32, x_9); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; +x_34 = lean_ctor_get(x_20, 0); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_20); +x_36 = 2; +x_37 = lean_box(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_16); +x_39 = lean_array_push(x_35, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_19, x_40); +lean_dec(x_19); +x_42 = lean_nat_add(x_34, x_40); +lean_dec(x_34); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); +lean_ctor_set(x_9, 1, x_43); +lean_ctor_set(x_9, 0, x_41); +x_44 = 1; +x_45 = lean_usize_add(x_8, x_44); +x_46 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_45, x_9); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_15); +lean_ctor_set(x_49, 1, x_48); +lean_inc_ref(x_1); +x_50 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_2, x_3, x_16, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = 2; +x_55 = lean_box(x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_16); +x_57 = lean_array_push(x_52, x_56); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_47, x_58); +lean_dec(x_47); +x_60 = lean_nat_add(x_51, x_58); +lean_dec(x_51); +if (lean_is_scalar(x_53)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_53; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_57); +lean_ctor_set(x_9, 1, x_61); +lean_ctor_set(x_9, 0, x_59); +x_62 = 1; +x_63 = lean_usize_add(x_8, x_62); +x_64 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_63, x_9); +return x_64; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; +x_65 = lean_ctor_get(x_9, 0); +x_66 = lean_ctor_get(x_12, 0); +x_67 = lean_ctor_get(x_12, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_12); +x_68 = lean_array_uget(x_6, x_8); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_67); +lean_inc_ref(x_1); +x_70 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_4, x_5, x_68, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_73 = x_70; +} else { + lean_dec_ref(x_70); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_66); +lean_ctor_set(x_74, 1, x_72); +lean_inc_ref(x_1); +x_75 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_2, x_3, x_68, x_74); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = 2; +x_80 = lean_box(x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_68); +x_82 = lean_array_push(x_77, x_81); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_71, x_83); +lean_dec(x_71); +x_85 = lean_nat_add(x_76, x_83); +lean_dec(x_76); +if (lean_is_scalar(x_78)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_78; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_82); +lean_ctor_set(x_9, 1, x_86); +lean_ctor_set(x_9, 0, x_84); +x_87 = 1; +x_88 = lean_usize_add(x_8, x_87); +x_89 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_88, x_9); +return x_89; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; size_t x_115; size_t x_116; lean_object* x_117; +x_90 = lean_ctor_get(x_9, 1); +x_91 = lean_ctor_get(x_9, 0); +lean_inc(x_90); +lean_inc(x_91); +lean_dec(x_9); +x_92 = lean_ctor_get(x_90, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_94 = x_90; +} else { + lean_dec_ref(x_90); + x_94 = lean_box(0); +} +x_95 = lean_array_uget(x_6, x_8); +if (lean_is_scalar(x_94)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_94; +} +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_93); +lean_inc_ref(x_1); +x_97 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_4, x_5, x_95, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_100 = x_97; +} else { + lean_dec_ref(x_97); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_101, 1, x_99); +lean_inc_ref(x_1); +x_102 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_2, x_3, x_95, x_101); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); + x_105 = lean_box(0); +} +x_106 = 2; +x_107 = lean_box(x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_95); +x_109 = lean_array_push(x_104, x_108); +x_110 = lean_unsigned_to_nat(1u); +x_111 = lean_nat_add(x_98, x_110); +lean_dec(x_98); +x_112 = lean_nat_add(x_103, x_110); +lean_dec(x_103); +if (lean_is_scalar(x_105)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_105; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_109); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_113); +x_115 = 1; +x_116 = lean_usize_add(x_8, x_115); +x_117 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_116, x_114); +return x_117; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_nat_dec_lt(x_5, x_1); +if (x_7 == 0) +{ +return x_3; +} +else +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = 1; +x_9 = lean_array_fget_borrowed(x_2, x_5); +x_10 = lean_box(x_8); +lean_inc_ref(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_array_push(x_6, x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +lean_ctor_set(x_3, 1, x_12); +lean_ctor_set(x_3, 0, x_14); +goto _start; +} +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_3); +x_18 = lean_nat_dec_lt(x_16, x_1); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_20 = 1; +x_21 = lean_array_fget_borrowed(x_2, x_16); +x_22 = lean_box(x_20); +lean_inc_ref(x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_array_push(x_17, x_23); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_16, x_25); +lean_dec(x_16); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +x_3 = x_27; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_nat_dec_lt(x_5, x_1); +if (x_7 == 0) +{ +return x_3; +} +else +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = 0; +x_9 = lean_array_fget_borrowed(x_2, x_5); +x_10 = lean_box(x_8); +lean_inc_ref(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_array_push(x_6, x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +lean_ctor_set(x_3, 1, x_12); +lean_ctor_set(x_3, 0, x_14); +goto _start; +} +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_3); +x_18 = lean_nat_dec_lt(x_16, x_1); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_20 = 0; +x_21 = lean_array_fget_borrowed(x_2, x_16); +x_22 = lean_box(x_20); +lean_inc_ref(x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_array_push(x_17, x_23); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_16, x_25); +lean_dec(x_16); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +x_3 = x_27; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 0; +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_array_get_size(x_2); +x_6 = lean_nat_dec_lt(x_4, x_5); +x_7 = l_instDecidableNot___redArg(x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; uint8_t x_10; +x_8 = lean_array_get_size(x_3); +x_9 = lean_nat_dec_lt(x_4, x_8); +x_10 = l_instDecidableNot___redArg(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_inc(x_5); +lean_inc_ref(x_2); +x_11 = l_Array_toSubarray___redArg(x_2, x_4, x_5); +lean_inc(x_8); +lean_inc_ref(x_3); +x_12 = l_Array_toSubarray___redArg(x_3, x_4, x_8); +x_13 = l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5(x_11, x_12); +x_14 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2; +x_15 = lean_array_size(x_13); +x_16 = 0; +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27(x_1, x_3, x_8, x_2, x_5, x_13, x_15, x_16, x_14); +lean_dec_ref(x_13); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_18, 0); +lean_ctor_set(x_18, 0, x_19); +x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29(x_5, x_2, x_18); +lean_dec_ref(x_2); +lean_dec(x_5); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_21); +x_25 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(x_8, x_3, x_22); +lean_dec_ref(x_3); +lean_dec(x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec_ref(x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_27); +x_29 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(x_8, x_3, x_28); +lean_dec_ref(x_3); +lean_dec(x_8); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec_ref(x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_31 = lean_ctor_get(x_18, 0); +x_32 = lean_ctor_get(x_18, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_18); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_19); +lean_ctor_set(x_33, 1, x_32); +x_34 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29(x_5, x_2, x_33); +lean_dec_ref(x_2); +lean_dec(x_5); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_35); +x_38 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(x_8, x_3, x_37); +lean_dec_ref(x_3); +lean_dec(x_8); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec_ref(x_38); +return x_39; +} +} +else +{ +size_t x_40; size_t x_41; lean_object* x_42; +lean_dec(x_8); +lean_dec(x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_40 = lean_array_size(x_2); +x_41 = 0; +x_42 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31(x_40, x_41, x_2); +return x_42; +} +} +else +{ +size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_43 = lean_array_size(x_3); +x_44 = 0; +x_45 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32(x_43, x_44, x_3); +return x_45; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_10; +x_10 = lean_usize_dec_eq(x_2, x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; +x_11 = lean_array_uget(x_1, x_2); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = 2; +x_14 = lean_unbox(x_12); +lean_dec(x_12); +x_15 = l_Lean_Diff_instBEqAction_beq(x_14, x_13); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_array_push(x_4, x_11); +x_5 = x_16; +goto block_9; +} +else +{ +lean_dec_ref(x_11); +x_5 = x_4; +goto block_9; +} +} +else +{ +return x_4; +} +block_9: +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_2 = x_7; +x_4 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +lean_dec_ref(x_4); +lean_dec_ref(x_2); +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_9 = lean_array_uget(x_7, x_6); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_7, x_6, x_11); +x_21 = l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(x_1); +x_22 = lean_array_mk(x_21); +lean_inc_ref(x_2); +x_23 = lean_string_append(x_2, x_10); +lean_dec(x_10); +x_24 = lean_string_append(x_23, x_3); +x_25 = l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(x_24); +lean_dec_ref(x_24); +x_26 = lean_array_mk(x_25); +lean_inc_ref(x_4); +x_27 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5(x_4, x_22, x_26); +x_28 = lean_array_get_size(x_27); +x_29 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0; +x_30 = lean_nat_dec_lt(x_11, x_28); +if (x_30 == 0) +{ +lean_dec(x_28); +lean_dec_ref(x_27); +x_13 = x_29; +goto block_20; +} +else +{ +uint8_t x_31; +x_31 = lean_nat_dec_le(x_28, x_28); +if (x_31 == 0) +{ +lean_dec(x_28); +lean_dec_ref(x_27); +x_13 = x_29; +goto block_20; +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; +x_32 = 0; +x_33 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_34 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34(x_27, x_32, x_33, x_29); +lean_dec_ref(x_27); +x_13 = x_34; +goto block_20; +} +} +block_20: +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1(x_13); +lean_dec_ref(x_13); +x_15 = l_Lean_stringToMessageData(x_14); +lean_dec_ref(x_14); +x_16 = 1; +x_17 = lean_usize_add(x_6, x_16); +x_18 = lean_array_uset(x_12, x_6, x_15); +x_6 = x_17; +x_7 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +lean_dec_ref(x_4); +lean_dec_ref(x_2); +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_9 = lean_array_uget(x_7, x_6); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_7, x_6, x_11); +x_21 = l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(x_1); +x_22 = lean_array_mk(x_21); +lean_inc_ref(x_2); +x_23 = lean_string_append(x_2, x_10); +lean_dec(x_10); +x_24 = lean_string_append(x_23, x_3); +x_25 = l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(x_24); +lean_dec_ref(x_24); +x_26 = lean_array_mk(x_25); +lean_inc_ref(x_4); +x_27 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5(x_4, x_22, x_26); +x_28 = lean_array_get_size(x_27); +x_29 = l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0; +x_30 = lean_nat_dec_lt(x_11, x_28); +if (x_30 == 0) +{ +lean_dec(x_28); +lean_dec_ref(x_27); +x_13 = x_29; +goto block_20; +} +else +{ +uint8_t x_31; +x_31 = lean_nat_dec_le(x_28, x_28); +if (x_31 == 0) +{ +lean_dec(x_28); +lean_dec_ref(x_27); +x_13 = x_29; +goto block_20; +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; +x_32 = 0; +x_33 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_34 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34(x_27, x_32, x_33, x_29); +lean_dec_ref(x_27); +x_13 = x_34; +goto block_20; +} +} +block_20: +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1(x_13); +lean_dec_ref(x_13); +x_15 = l_Lean_stringToMessageData(x_14); +lean_dec_ref(x_14); +x_16 = 1; +x_17 = lean_usize_add(x_6, x_16); +x_18 = lean_array_uset(x_12, x_6, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35(x_1, x_2, x_3, x_4, x_5, x_17, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n\nHint: ", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +if (x_13 == 0) +{ +size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_14 = lean_array_size(x_3); +x_15 = 0; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0(x_14, x_15, x_3); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = lean_box(0); +x_19 = 0; +x_20 = lean_box(x_19); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___lam__0___boxed), 12, 5); +lean_closure_set(x_21, 0, x_2); +lean_closure_set(x_21, 1, x_16); +lean_closure_set(x_21, 2, x_17); +lean_closure_set(x_21, 3, x_18); +lean_closure_set(x_21, 4, x_20); +x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_22; +} +else +{ +uint8_t x_23; lean_object* x_24; +x_23 = 0; +x_24 = l_Lean_Syntax_getRange_x3f(x_1, x_23); +lean_dec(x_1); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_25 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_12); +return x_26; +} +else +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec_ref(x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +x_31 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__1; +x_32 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_dec(x_37); +x_38 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_string_utf8_extract(x_36, x_39, x_29); +lean_dec(x_29); +x_41 = lean_string_utf8_byte_size(x_36); +x_42 = lean_string_utf8_extract(x_36, x_30, x_41); +lean_dec(x_41); +lean_dec(x_30); +x_43 = lean_array_size(x_3); +x_44 = 0; +x_45 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(x_36, x_40, x_42, x_38, x_43, x_44, x_3); +lean_dec_ref(x_42); +lean_dec_ref(x_36); +x_46 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2; +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_2); +lean_ctor_set(x_34, 0, x_46); +x_47 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3; +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_47); +lean_ctor_set(x_27, 0, x_34); +x_48 = lean_array_to_list(x_45); +x_49 = l_Lean_MessageData_joinSep(x_48, x_47); +x_50 = l_Lean_indentD(x_49); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_27); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_32, 0, x_51); +return x_32; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_52 = lean_ctor_get(x_34, 0); +lean_inc(x_52); +lean_dec(x_34); +x_53 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_54 = lean_unsigned_to_nat(0u); +x_55 = lean_string_utf8_extract(x_52, x_54, x_29); +lean_dec(x_29); +x_56 = lean_string_utf8_byte_size(x_52); +x_57 = lean_string_utf8_extract(x_52, x_30, x_56); +lean_dec(x_56); +lean_dec(x_30); +x_58 = lean_array_size(x_3); +x_59 = 0; +x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(x_52, x_55, x_57, x_53, x_58, x_59, x_3); +lean_dec_ref(x_57); +lean_dec_ref(x_52); +x_61 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_2); +x_63 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3; +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_63); +lean_ctor_set(x_27, 0, x_62); +x_64 = lean_array_to_list(x_60); +x_65 = l_Lean_MessageData_joinSep(x_64, x_63); +x_66 = l_Lean_indentD(x_65); +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_27); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_32, 0, x_67); +return x_32; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_68 = lean_ctor_get(x_32, 0); +x_69 = lean_ctor_get(x_32, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_32); +x_70 = lean_ctor_get(x_68, 0); +lean_inc_ref(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_71 = x_68; +} else { + lean_dec_ref(x_68); + x_71 = lean_box(0); +} +x_72 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_73 = lean_unsigned_to_nat(0u); +x_74 = lean_string_utf8_extract(x_70, x_73, x_29); +lean_dec(x_29); +x_75 = lean_string_utf8_byte_size(x_70); +x_76 = lean_string_utf8_extract(x_70, x_30, x_75); +lean_dec(x_75); +lean_dec(x_30); +x_77 = lean_array_size(x_3); +x_78 = 0; +x_79 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(x_70, x_74, x_76, x_72, x_77, x_78, x_3); +lean_dec_ref(x_76); +lean_dec_ref(x_70); +x_80 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2; +if (lean_is_scalar(x_71)) { + x_81 = lean_alloc_ctor(7, 2, 0); +} else { + x_81 = x_71; + lean_ctor_set_tag(x_81, 7); +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_2); +x_82 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3; +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_82); +lean_ctor_set(x_27, 0, x_81); +x_83 = lean_array_to_list(x_79); +x_84 = l_Lean_MessageData_joinSep(x_83, x_82); +x_85 = l_Lean_indentD(x_84); +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_27); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_69); +return x_87; +} +} +else +{ +uint8_t x_88; +lean_free_object(x_27); +lean_dec(x_30); +lean_dec(x_29); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_88 = !lean_is_exclusive(x_32); +if (x_88 == 0) +{ +return x_32; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_32, 0); +x_90 = lean_ctor_get(x_32, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_32); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_27, 0); +x_93 = lean_ctor_get(x_27, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_27); +x_94 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0_spec__0___redArg___closed__1; +x_95 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; size_t x_106; size_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_98 = x_95; +} else { + lean_dec_ref(x_95); + x_98 = lean_box(0); +} +x_99 = lean_ctor_get(x_96, 0); +lean_inc_ref(x_99); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_100 = x_96; +} else { + lean_dec_ref(x_96); + x_100 = lean_box(0); +} +x_101 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_102 = lean_unsigned_to_nat(0u); +x_103 = lean_string_utf8_extract(x_99, x_102, x_92); +lean_dec(x_92); +x_104 = lean_string_utf8_byte_size(x_99); +x_105 = lean_string_utf8_extract(x_99, x_93, x_104); +lean_dec(x_104); +lean_dec(x_93); +x_106 = lean_array_size(x_3); +x_107 = 0; +x_108 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(x_99, x_103, x_105, x_101, x_106, x_107, x_3); +lean_dec_ref(x_105); +lean_dec_ref(x_99); +x_109 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2; +if (lean_is_scalar(x_100)) { + x_110 = lean_alloc_ctor(7, 2, 0); +} else { + x_110 = x_100; + lean_ctor_set_tag(x_110, 7); +} +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_2); +x_111 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3; +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_to_list(x_108); +x_114 = l_Lean_MessageData_joinSep(x_113, x_111); +x_115 = l_Lean_indentD(x_114); +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_112); +lean_ctor_set(x_116, 1, x_115); +if (lean_is_scalar(x_98)) { + x_117 = lean_alloc_ctor(0, 2, 0); +} else { + x_117 = x_98; +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_97); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_93); +lean_dec(x_92); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_118 = lean_ctor_get(x_95, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_95, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_120 = x_95; +} else { + lean_dec_ref(x_95); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__0(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3_spec__3(x_1, x_2, x_3, x_4); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_String_split___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__3(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9_spec__9(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Diff_Histogram_addRight___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__18(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_forIn_x27_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__19(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_foldrM___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__20(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__21(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_9); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__23(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_9); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__25(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__26(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27_spec__27(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__27(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__29(x_1, x_2, x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__30(x_1, x_2, x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__31(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__32(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__34(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35_spec__35(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__35(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___lam__0(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_string_utf8_byte_size(x_1); +lean_inc_ref(x_1); +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = l_Substring_nextn(x_5, x_6, x_3); +lean_dec_ref(x_5); +lean_inc_ref(x_1); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_3); +lean_ctor_set(x_8, 2, x_7); +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1; +x_10 = l_Substring_beq(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = lean_string_append(x_2, x_1); +lean_dec_ref(x_1); +return x_11; +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = lean_apply_10(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_apply_1(x_2, x_15); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_apply_1(x_2, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0(lean_object* x_1) { _start: { @@ -39280,551 +49519,633 @@ x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; return x_1; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) { -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); -lean_inc_ref(x_2); -lean_inc_ref(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; -} else { - lean_dec_ref(x_23); - x_35 = lean_box(0); -} -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; -goto block_46; -} -else -{ -x_36 = x_47; -goto block_46; -} -block_46: -{ -if (x_36 == 0) -{ -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); -if (x_40 == 0) -{ -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); -} else { - x_41 = x_35; -} -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; -} -else -{ -size_t x_42; size_t x_43; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); -lean_inc_ref(x_4); -{ -size_t _tmp_6 = x_43; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_16 = x_34; -x_7 = _tmp_6; -x_8 = _tmp_7; -x_17 = _tmp_16; -} -goto _start; -} -} -} -else -{ -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_35; -} -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -return x_45; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); -lean_inc_ref(x_2); -lean_inc_ref(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; -} else { - lean_dec_ref(x_23); - x_35 = lean_box(0); -} -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; -goto block_46; -} -else -{ -x_36 = x_47; -goto block_46; -} -block_46: -{ -if (x_36 == 0) -{ -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); -if (x_40 == 0) -{ -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); -} else { - x_41 = x_35; -} -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; -} -else -{ -size_t x_42; size_t x_43; lean_object* x_44; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); -lean_inc_ref(x_4); -x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_43, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); -return x_44; -} -} -} -else -{ -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_35; -} -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -return x_45; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_21; -x_21 = lean_usize_dec_lt(x_4, x_3); -if (x_21 == 0) -{ -lean_object* x_22; +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_5); -lean_ctor_set(x_22, 1, x_14); -return x_22; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_23; lean_object* x_24; -x_23 = lean_array_uget(x_2, x_4); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec_ref(x_8); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); +lean_inc_ref(x_2); +lean_inc_ref(x_1); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_24 = lean_apply_10(x_23, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec_ref(x_24); -x_27 = l_Array_append___redArg(x_5, x_25); -lean_dec(x_25); -x_15 = x_27; -x_16 = x_26; -goto block_20; -} -else -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_32; -x_28 = lean_ctor_get(x_24, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -x_32 = l_Lean_Exception_isInterrupt(x_28); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = l_Lean_Exception_isRuntime(x_28); -lean_dec(x_28); -x_30 = x_33; -goto block_31; -} -else -{ -lean_dec(x_28); -x_30 = x_32; -goto block_31; -} -block_31: -{ -if (x_30 == 0) -{ -lean_dec_ref(x_24); -x_15 = x_5; -x_16 = x_29; -goto block_20; -} -else -{ -lean_dec(x_29); +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); return x_24; } -} -} -} -block_20: +else { -size_t x_17; size_t x_18; -x_17 = 1; -x_18 = lean_usize_add(x_4, x_17); -x_4 = x_18; -x_5 = x_15; -x_14 = x_16; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; +} else { + lean_dec_ref(x_24); + x_36 = lean_box(0); +} +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; +} +else +{ +x_37 = x_48; +goto block_47; +} +block_47: +{ +if (x_37 == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_36; +} +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +size_t x_43; size_t x_44; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); +lean_inc_ref(x_4); +{ +size_t _tmp_6 = x_44; +lean_object* _tmp_7 = x_4; +lean_object* _tmp_17 = x_35; +x_7 = _tmp_6; +x_8 = _tmp_7; +x_18 = _tmp_17; +} goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +else +{ +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_36; +} +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec_ref(x_8); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); +lean_inc_ref(x_2); +lean_inc_ref(x_1); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; +} else { + lean_dec_ref(x_24); + x_36 = lean_box(0); +} +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; +} +else +{ +x_37 = x_48; +goto block_47; +} +block_47: +{ +if (x_37 == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_36; +} +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); +lean_inc_ref(x_4); +x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_44, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_35); +return x_45; +} +} +} +else +{ +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_36; +} +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_st_ref_take(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 7); +lean_inc_ref(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec_ref(x_9); +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_10, 7); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_1); +x_16 = lean_st_ref_set(x_7, x_10, x_12); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); +x_25 = lean_ctor_get(x_11, 2); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_26 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_25); +lean_ctor_set_uint8(x_26, sizeof(void*)*3, x_1); +lean_ctor_set(x_10, 7, x_26); +x_27 = lean_st_ref_set(x_7, x_10, x_12); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_29 = x_27; +} else { + lean_dec_ref(x_27); + x_29 = lean_box(0); +} +x_30 = lean_box(0); +if (lean_is_scalar(x_29)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_29; +} +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_28); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +x_34 = lean_ctor_get(x_10, 2); +x_35 = lean_ctor_get(x_10, 3); +x_36 = lean_ctor_get(x_10, 4); +x_37 = lean_ctor_get(x_10, 5); +x_38 = lean_ctor_get(x_10, 6); +x_39 = lean_ctor_get(x_10, 8); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +x_40 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_40); +x_41 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_41); +x_42 = lean_ctor_get(x_11, 2); +lean_inc_ref(x_42); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + lean_ctor_release(x_11, 2); + x_43 = x_11; +} else { + lean_dec_ref(x_11); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 3, 1); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +lean_ctor_set(x_44, 2, x_42); +lean_ctor_set_uint8(x_44, sizeof(void*)*3, x_1); +x_45 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_45, 0, x_32); +lean_ctor_set(x_45, 1, x_33); +lean_ctor_set(x_45, 2, x_34); +lean_ctor_set(x_45, 3, x_35); +lean_ctor_set(x_45, 4, x_36); +lean_ctor_set(x_45, 5, x_37); +lean_ctor_set(x_45, 6, x_38); +lean_ctor_set(x_45, 7, x_44); +lean_ctor_set(x_45, 8, x_39); +x_46 = lean_st_ref_set(x_7, x_45, x_12); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_48 = x_46; +} else { + lean_dec_ref(x_46); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_box(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_11, 0, x_10); +x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -39834,7 +50155,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_10, 0); +x_11 = lean_ctor_get(x_10, 7); lean_inc_ref(x_11); lean_dec(x_10); lean_ctor_set(x_8, 0, x_11); @@ -39848,7 +50169,7 @@ x_13 = lean_ctor_get(x_8, 1); lean_inc(x_13); lean_inc(x_12); lean_dec(x_8); -x_14 = lean_ctor_get(x_12, 0); +x_14 = lean_ctor_get(x_12, 7); lean_inc_ref(x_14); lean_dec(x_12); x_15 = lean_alloc_ctor(0, 2, 0); @@ -39858,2037 +50179,469 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 6); -lean_inc(x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 7); -lean_inc(x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0___boxed), 7, 0); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1___boxed), 7, 0); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec_ref(x_15); -x_18 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2___boxed), 7, 0); -x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -x_22 = l_Lean_ResolveName_resolveGlobalName(x_12, x_16, x_21, x_1); -lean_ctor_set(x_19, 0, x_22); -return x_19; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = l_Lean_ResolveName_resolveGlobalName(x_12, x_16, x_23, x_1); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -return x_19; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 0); -x_29 = lean_ctor_get(x_19, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_19); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_12); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_15); -if (x_31 == 0) -{ -return x_15; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_15, 0); -x_33 = lean_ctor_get(x_15, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_15); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_11); -if (x_35 == 0) -{ -return x_11; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_11, 0); -x_37 = lean_ctor_get(x_11, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_11); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_2); -x_18 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4(x_3, x_4, x_5, x_17, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_1, 1); -x_16 = lean_ctor_get(x_1, 2); -x_17 = lean_ctor_get(x_1, 3); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_3); -x_18 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_18, 0, x_3); -lean_ctor_set(x_18, 1, x_15); -lean_ctor_set(x_18, 2, x_16); -lean_ctor_set(x_18, 3, x_17); -if (x_5 == 0) -{ -x_19 = x_5; -goto block_56; -} -else -{ -uint8_t x_57; -x_57 = l_List_isEmpty___redArg(x_4); -if (x_57 == 0) -{ -x_19 = x_5; -goto block_56; -} -else -{ -uint8_t x_58; -x_58 = 0; -x_19 = x_58; -goto block_56; -} -} -block_56: -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(x_19); -lean_inc_ref(x_2); -lean_inc_ref(x_18); -x_21 = lean_apply_2(x_2, x_18, x_20); -if (lean_obj_tag(x_21) == 0) -{ -if (lean_obj_tag(x_3) == 1) -{ -if (x_5 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_3, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_3, 1); -lean_inc_ref(x_23); -lean_dec_ref(x_3); -x_24 = l_Lean_MacroScopesView_review(x_18); -lean_inc(x_13); -lean_inc_ref(x_12); +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0___boxed), 7, 0); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_25 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_25) == 0) +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_box(0); -x_29 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__9_spec__10(x_26, x_28); -x_30 = l_List_isEmpty___redArg(x_29); -lean_dec(x_29); -if (x_30 == 0) +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_30; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get_uint8(x_15, sizeof(void*)*3); +lean_dec(x_15); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_30 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_31 = 1; -x_32 = lean_box(0); -x_33 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(x_23, x_4, x_1, x_2, x_22, x_31, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); -return x_33; -} -else +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec_ref(x_30); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +x_32 = lean_apply_10(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_box(0); -x_35 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(x_23, x_4, x_1, x_2, x_22, x_5, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); -return x_35; -} -} -else +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_35 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_5); +if (lean_obj_tag(x_35) == 0) { uint8_t x_36; -lean_dec_ref(x_23); -lean_dec(x_22); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_4); -lean_dec_ref(x_2); -x_36 = !lean_is_exclusive(x_25); +x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) { -return x_25; +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_33); +return x_35; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_25, 0); -x_38 = lean_ctor_get(x_25, 1); +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_25); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_33); lean_ctor_set(x_39, 1, x_38); return x_39; } } +else +{ +uint8_t x_40; +lean_dec(x_33); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +return x_35; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec_ref(x_18); -x_40 = lean_ctor_get(x_3, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_3, 1); -lean_inc_ref(x_41); -lean_dec_ref(x_3); -x_42 = lean_box(0); -x_43 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(x_41, x_4, x_1, x_2, x_40, x_5, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); return x_43; } } +} else { lean_object* x_44; lean_object* x_45; -lean_dec_ref(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +x_44 = lean_ctor_get(x_32, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_32, 1); +lean_inc(x_45); +lean_dec_ref(x_32); +x_18 = x_44; +x_19 = x_45; +goto block_29; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_14); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_dec_ref(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_3); -lean_dec_ref(x_2); -x_46 = !lean_is_exclusive(x_21); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_21, 0); -x_48 = l_Lean_LocalDecl_toExpr(x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_4); -lean_ctor_set(x_21, 0, x_49); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_21); -lean_ctor_set(x_50, 1, x_14); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_21, 0); -lean_inc(x_51); -lean_dec(x_21); -x_52 = l_Lean_LocalDecl_toExpr(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_4); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_14); -return x_55; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_3, 2); -lean_inc_ref(x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_4); -x_7 = l_Lean_MacroScopesView_review(x_4); -x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__1(x_7, x_5, x_2, x_3, x_4, x_6); -if (lean_obj_tag(x_8) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_9; -x_9 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__0_spec__5(x_8, x_7, x_6); -lean_dec(x_7); -return x_9; -} -else -{ -lean_dec(x_7); -return x_8; -} -} -else -{ -lean_dec(x_7); -return x_8; -} -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_11); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec_ref(x_15); -x_18 = lean_ctor_get(x_16, 2); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec_ref(x_20); -x_23 = l_Lean_extractMacroScopes(x_1); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2___boxed), 5, 3); -lean_closure_set(x_25, 0, x_13); -lean_closure_set(x_25, 1, x_18); -lean_closure_set(x_25, 2, x_21); -x_26 = lean_box(0); -x_27 = 0; -x_28 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4(x_23, x_25, x_24, x_26, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -lean_dec_ref(x_23); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_18); -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_20); -if (x_29 == 0) -{ -return x_20; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_20, 0); -x_31 = lean_ctor_get(x_20, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_20); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_15); -if (x_33 == 0) -{ -return x_15; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_15, 0); -x_35 = lean_ctor_get(x_15, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_15); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec_ref(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_12); -if (x_37 == 0) -{ -return x_12; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_12, 0); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_12); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_15; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_4, 0); -x_17 = lean_ctor_get(x_4, 1); -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_19 = x_5; -} else { - lean_dec_ref(x_5); - x_19 = lean_box(0); -} -x_20 = l_Lean_Name_appendCore(x_16, x_18); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_20); -x_21 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -if (lean_obj_tag(x_22) == 0) -{ -goto block_26; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_22, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec_ref(x_22); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -lean_dec(x_19); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_27, 0); -x_31 = lean_ctor_get(x_27, 1); -lean_dec(x_31); -x_32 = lean_name_eq(x_30, x_2); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_inc(x_1); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_1); -x_4 = x_17; -x_5 = x_27; -x_14 = x_23; -goto _start; -} -else -{ -lean_object* x_34; -lean_inc_ref(x_3); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_20); -x_34 = lean_apply_10(x_3, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec_ref(x_34); -lean_inc(x_1); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_1); -x_4 = x_17; -x_5 = x_27; -x_14 = x_37; -goto _start; -} -else -{ -uint8_t x_39; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -lean_dec(x_40); -lean_inc(x_20); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_20); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_42); -lean_ctor_set(x_34, 0, x_27); -return x_34; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_34, 1); -lean_inc(x_43); -lean_dec(x_34); -lean_inc(x_20); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_20); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_45); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_27); -lean_ctor_set(x_46, 1, x_43); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_free_object(x_27); -lean_dec(x_20); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_34); -if (x_47 == 0) -{ -return x_34; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_34, 0); -x_49 = lean_ctor_get(x_34, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_34); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -} -else -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_ctor_get(x_27, 0); -lean_inc(x_51); -lean_dec(x_27); -x_52 = lean_name_eq(x_51, x_2); -lean_dec(x_51); -if (x_52 == 0) -{ -lean_object* x_53; -lean_inc(x_1); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_1); -lean_ctor_set(x_53, 1, x_20); -x_4 = x_17; -x_5 = x_53; -x_14 = x_23; -goto _start; -} -else -{ -lean_object* x_55; -lean_inc_ref(x_3); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_20); -x_55 = lean_apply_10(x_3, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; uint8_t x_57; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_unbox(x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec_ref(x_55); -lean_inc(x_1); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_20); -x_4 = x_17; -x_5 = x_59; -x_14 = x_58; -goto _start; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_62 = x_55; -} else { - lean_dec_ref(x_55); - x_62 = lean_box(0); -} -lean_inc(x_20); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_20); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_20); -if (lean_is_scalar(x_62)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_62; -} -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_61); -return x_66; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_20); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_67 = lean_ctor_get(x_55, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_55, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_69 = x_55; -} else { - lean_dec_ref(x_55); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 2, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_68); -return x_70; -} -} -} -} -else -{ -lean_dec_ref(x_28); -lean_dec(x_27); -goto block_26; -} -} -block_26: -{ -lean_object* x_24; -lean_inc(x_1); -if (lean_is_scalar(x_19)) { - x_24 = lean_alloc_ctor(0, 2, 0); -} else { - x_24 = x_19; -} -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_20); -x_4 = x_17; -x_5 = x_24; -x_14 = x_23; -goto _start; -} -} -else -{ -uint8_t x_71; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_71 = !lean_is_exclusive(x_21); -if (x_71 == 0) -{ -return x_21; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_21, 0); -x_73 = lean_ctor_get(x_21, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_21); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg(x_1, x_2, x_3, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = l_Lean_Name_hasMacroScopes(x_3); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = l_Lean_privateToUserName(x_3); -x_15 = l_Lean_Name_componentsRev(x_14); -x_16 = lean_box(0); -x_17 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__13___closed__0; -x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg(x_16, x_1, x_2, x_15, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_18, 0); -lean_dec(x_22); -lean_ctor_set(x_18, 0, x_16); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_16); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -lean_dec_ref(x_20); -lean_ctor_set(x_18, 0, x_27); -return x_18; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_dec(x_18); -x_29 = lean_ctor_get(x_20, 0); -lean_inc(x_29); -lean_dec_ref(x_20); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_12); -return x_36; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); lean_dec_ref(x_3); lean_dec_ref(x_2); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec_ref(x_8); -x_20 = lean_array_uget(x_5, x_7); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc_ref(x_2); -x_21 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7(x_1, x_2, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; size_t x_24; size_t x_25; -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = 1; -x_25 = lean_usize_add(x_7, x_24); -lean_inc_ref(x_3); -{ -size_t _tmp_6 = x_25; -lean_object* _tmp_7 = x_3; -lean_object* _tmp_16 = x_23; -x_7 = _tmp_6; -x_8 = _tmp_7; -x_17 = _tmp_16; -} -goto _start; -} -else -{ -uint8_t x_27; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_27 = !lean_is_exclusive(x_21); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_21, 0); -lean_dec(x_28); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_4); -lean_ctor_set(x_21, 0, x_29); -return x_21; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_dec(x_21); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_4); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_33 = !lean_is_exclusive(x_21); -if (x_33 == 0) -{ -return x_21; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_21, 0); -x_35 = lean_ctor_get(x_21, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_21); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_box(0); -x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__0___closed__0; -x_16 = lean_array_size(x_3); -x_17 = 0; -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9(x_1, x_2, x_15, x_14, x_3, x_16, x_17, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_18, 0); -lean_dec(x_22); -lean_ctor_set(x_18, 0, x_1); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -lean_dec_ref(x_20); -lean_ctor_set(x_18, 0, x_27); -return x_18; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_dec(x_18); -x_29 = lean_ctor_get(x_20, 0); -lean_inc(x_29); -lean_dec_ref(x_20); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = lean_apply_11(x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_1, 0); -lean_inc(x_16); -lean_dec_ref(x_1); -x_17 = lean_array_push(x_3, x_16); -x_18 = lean_box(0); -x_19 = lean_apply_11(x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_2); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_12); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_22; lean_object* x_23; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_33; -x_33 = l_Lean_Name_hasMacroScopes(x_1); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0___boxed), 7, 0); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc_ref(x_34); -x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_82; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec_ref(x_35); -lean_inc_ref(x_4); -lean_inc(x_1); -x_38 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__1___boxed), 13, 2); -lean_closure_set(x_38, 0, x_1); -lean_closure_set(x_38, 1, x_4); -lean_inc(x_1); -x_82 = lean_private_to_user_name(x_1); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_36); -x_83 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; -lean_inc(x_1); -x_84 = l_Lean_Name_append(x_83, x_1); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -lean_inc(x_1); -x_39 = x_1; -x_40 = x_85; -goto block_81; -} -else -{ -uint8_t x_86; -x_86 = !lean_is_exclusive(x_82); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = lean_ctor_get(x_82, 0); -lean_inc(x_87); -x_88 = l_Lean_mkPrivateName(x_36, x_87); -lean_dec(x_36); -x_89 = lean_name_eq(x_1, x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; -lean_free_object(x_82); -x_90 = lean_box(0); -x_39 = x_87; -x_40 = x_90; -goto block_81; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; -lean_inc(x_87); -x_92 = l_Lean_Name_append(x_91, x_87); -lean_ctor_set(x_82, 0, x_92); -x_39 = x_87; -x_40 = x_82; -goto block_81; -} -} -else -{ -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_82, 0); -lean_inc(x_93); -lean_dec(x_82); -lean_inc(x_93); -x_94 = l_Lean_mkPrivateName(x_36, x_93); -lean_dec(x_36); -x_95 = lean_name_eq(x_1, x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; -x_96 = lean_box(0); -x_39 = x_93; -x_40 = x_96; -goto block_81; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0; -lean_inc(x_93); -x_98 = l_Lean_Name_append(x_97, x_93); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_39 = x_93; -x_40 = x_99; -goto block_81; -} -} -} -block_81: -{ -if (x_2 == 0) -{ -lean_object* x_41; -lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_41 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec_ref(x_41); -lean_inc_ref(x_38); -lean_inc(x_40); -x_44 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__0), 13, 2); -lean_closure_set(x_44, 0, x_40); -lean_closure_set(x_44, 1, x_38); -x_45 = l_Lean_getRevAliases(x_42, x_1); -x_46 = lean_array_mk(x_45); -if (x_3 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_40); -lean_dec_ref(x_38); -x_47 = lean_unsigned_to_nat(0u); -x_48 = lean_array_get_size(x_46); -x_49 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0; -x_50 = lean_nat_dec_lt(x_47, x_48); -if (x_50 == 0) -{ -lean_dec(x_48); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_44; -x_28 = x_43; -x_29 = x_49; -goto block_32; -} -else -{ -uint8_t x_51; -x_51 = lean_nat_dec_le(x_48, x_48); -if (x_51 == 0) -{ -lean_dec(x_48); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_44; -x_28 = x_43; -x_29 = x_49; -goto block_32; -} -else -{ -size_t x_52; size_t x_53; lean_object* x_54; -x_52 = 0; -x_53 = lean_usize_of_nat(x_48); -lean_dec(x_48); -x_54 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13_spec__16(x_39, x_46, x_52, x_53, x_49); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_44; -x_28 = x_43; -x_29 = x_54; -goto block_32; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec_ref(x_44); -lean_dec(x_39); -x_55 = lean_box(0); -x_56 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__0(x_40, x_38, x_46, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_43); -return x_56; -} -} -else -{ -uint8_t x_57; -lean_dec(x_40); -lean_dec(x_39); -lean_dec_ref(x_38); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_57 = !lean_is_exclusive(x_41); -if (x_57 == 0) -{ -return x_41; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_41, 0); -x_59 = lean_ctor_get(x_41, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_41); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -lean_object* x_61; -lean_dec_ref(x_38); -lean_dec_ref(x_34); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_39); -x_61 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec_ref(x_61); -lean_inc(x_1); -x_64 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__2___boxed), 12, 2); -lean_closure_set(x_64, 0, x_40); -lean_closure_set(x_64, 1, x_1); -if (lean_obj_tag(x_62) == 0) -{ -lean_dec(x_39); -lean_dec_ref(x_4); -lean_dec(x_1); -x_22 = x_63; -x_23 = x_64; -goto block_26; -} -else -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_62, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_62, 1); -lean_inc(x_66); -lean_dec_ref(x_62); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_65, 0); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_name_eq(x_67, x_1); -lean_dec(x_1); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_dec_ref(x_4); -x_14 = x_39; -x_15 = x_64; -x_16 = x_68; -x_17 = x_63; -goto block_21; -} -else -{ -lean_object* x_69; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_39); -x_69 = lean_apply_10(x_4, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_63); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec_ref(x_69); -x_72 = lean_unbox(x_70); -lean_dec(x_70); -x_14 = x_39; -x_15 = x_64; -x_16 = x_72; -x_17 = x_71; -goto block_21; -} -else -{ -uint8_t x_73; -lean_dec_ref(x_64); -lean_dec(x_39); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_73 = !lean_is_exclusive(x_69); -if (x_73 == 0) -{ -return x_69; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_69, 0); -x_75 = lean_ctor_get(x_69, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_69); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -} -else -{ -lean_dec_ref(x_66); -lean_dec(x_65); -lean_dec(x_39); -lean_dec_ref(x_4); -lean_dec(x_1); -x_22 = x_63; -x_23 = x_64; -goto block_26; -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_77 = !lean_is_exclusive(x_61); -if (x_77 == 0) -{ -return x_61; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_61, 0); -x_79 = lean_ctor_get(x_61, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_61); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -} -} -else -{ -uint8_t x_100; -lean_dec_ref(x_34); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_100 = !lean_is_exclusive(x_35); -if (x_100 == 0) -{ -return x_35; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_35, 0); -x_102 = lean_ctor_get(x_35, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_35); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; -} -} -} -else -{ -lean_object* x_104; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_1); -lean_ctor_set(x_104, 1, x_13); -return x_104; -} -block_21: -{ -if (x_16 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -x_18 = lean_box(0); -x_19 = lean_apply_10(x_15, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -return x_19; -} -else +x_46 = lean_ctor_get(x_30, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_30, 1); +lean_inc(x_47); +lean_dec_ref(x_30); +x_18 = x_46; +x_19 = x_47; +goto block_29; +} +block_29: { lean_object* x_20; -lean_dec_ref(x_15); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); +x_20 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); lean_dec(x_5); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_17); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set_tag(x_20, 1); +lean_ctor_set(x_20, 0, x_18); return x_20; } -} -block_26: -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -x_25 = lean_apply_10(x_23, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_25; -} -block_32: -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_box(0); -x_31 = lean_apply_11(x_27, x_29, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); -return x_31; -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = 1; -x_17 = lean_box(x_16); -lean_ctor_set(x_12, 0, x_17); -return x_12; -} else { -lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_dec(x_12); -x_19 = 1; -x_20 = lean_box(x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -return x_21; -} -} -else -{ -uint8_t x_22; -lean_dec_ref(x_13); -x_22 = !lean_is_exclusive(x_12); -if (x_22 == 0) -{ lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_12, 0); -lean_dec(x_23); -x_24 = lean_box(x_1); -lean_ctor_set(x_12, 0, x_24); -return x_12; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec_ref(x_18); +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +return x_20; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_48 = !lean_is_exclusive(x_14); +if (x_48 == 0) +{ +return x_14; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_14, 0); +x_50 = lean_ctor_get(x_14, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_14); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; } else { lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_12, 1); -lean_inc(x_25); -lean_dec(x_12); -x_26 = lean_box(x_1); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); +x_25 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_26 = lean_apply_1(x_25, x_1); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_27 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_2, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = l_Array_append___redArg(x_6, x_28); +lean_dec(x_28); +x_17 = x_30; +x_18 = x_29; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_35; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +x_35 = l_Lean_Exception_isInterrupt(x_31); +if (x_35 == 0) +{ +uint8_t x_36; +x_36 = l_Lean_Exception_isRuntime(x_31); +lean_dec(x_31); +x_33 = x_36; +goto block_34; +} +else +{ +lean_dec(x_31); +x_33 = x_35; +goto block_34; +} +block_34: +{ +if (x_33 == 0) +{ +lean_dec_ref(x_27); +x_17 = x_6; +x_18 = x_32; +goto block_22; +} +else +{ +lean_dec(x_32); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); return x_27; } } } -else +} +block_22: { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_12); -if (x_28 == 0) -{ -return x_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_12, 0); -x_30 = lean_ctor_get(x_12, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_12); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +size_t x_19; size_t x_20; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_5 = x_20; +x_6 = x_17; +x_16 = x_18; +goto _start; } } } -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = 0; -x_13 = lean_box(x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___lam__0___boxed), 11, 1); -lean_closure_set(x_14, 0, x_13); -x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7(x_1, x_2, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_26 = lean_apply_1(x_25, x_1); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_27 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_2, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = l_Array_append___redArg(x_6, x_28); +lean_dec(x_28); +x_17 = x_30; +x_18 = x_29; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_35; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +x_35 = l_Lean_Exception_isInterrupt(x_31); +if (x_35 == 0) +{ +uint8_t x_36; +x_36 = l_Lean_Exception_isRuntime(x_31); +lean_dec(x_31); +x_33 = x_36; +goto block_34; +} +else +{ +lean_dec(x_31); +x_33 = x_35; +goto block_34; +} +block_34: +{ +if (x_33 == 0) +{ +lean_dec_ref(x_27); +x_17 = x_6; +x_18 = x_32; +goto block_22; +} +else +{ +lean_dec(x_32); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +return x_27; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0() { +} +} +block_22: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5(x_1, x_2, x_3, x_4, x_20, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_18); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +_start: +{ +lean_object* x_22; +x_22 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +return x_22; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0() { _start: { lean_object* x_1; @@ -41896,7 +50649,7 @@ x_1 = lean_mk_string_unchecked("{", 1, 1); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1() { _start: { lean_object* x_1; @@ -41904,383 +50657,186 @@ x_1 = lean_mk_string_unchecked("}", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12(uint8_t x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_5, x_4); -if (x_16 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_4, x_3); +if (x_14 == 0) { -lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); +lean_object* x_15; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); -lean_dec(x_7); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_6); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_array_uget(x_6, x_5); -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_array_uget(x_5, x_4); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 2); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 2); -lean_inc(x_21); -lean_dec(x_18); -lean_inc(x_14); -lean_inc_ref(x_13); +lean_dec(x_16); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName), 8, 1); +lean_closure_set(x_20, 0, x_17); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); lean_inc(x_8); -lean_inc(x_7); -x_22 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4(x_19, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_22) == 0) +lean_inc_ref(x_7); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_23 = lean_ctor_get(x_22, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec_ref(x_22); -x_25 = lean_unsigned_to_nat(0u); -x_26 = lean_array_uset(x_6, x_5, x_25); -x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0; -x_40 = l_Lean_Name_toString(x_23, x_2); -x_41 = lean_string_append(x_39, x_40); -lean_dec_ref(x_40); -if (lean_obj_tag(x_20) == 0) +lean_dec_ref(x_21); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_array_uset(x_5, x_4, x_24); +x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0; +x_37 = l_Lean_Name_toString(x_22, x_1); +x_38 = lean_string_append(x_36, x_37); +lean_dec_ref(x_37); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_56; -x_56 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_42 = x_56; -goto block_55; +lean_object* x_52; +x_52 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_39 = x_52; +goto block_51; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_20, 0); -lean_inc(x_57); -lean_dec_ref(x_20); -x_58 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; -x_59 = lean_string_append(x_58, x_57); -lean_dec(x_57); -x_42 = x_59; -goto block_55; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_18, 0); +lean_inc(x_53); +lean_dec_ref(x_18); +x_54 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_55 = lean_string_append(x_54, x_53); +lean_dec(x_53); +x_39 = x_55; +goto block_51; } -block_38: +block_35: { -lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_31, 0, x_27); -lean_ctor_set(x_31, 1, x_28); -lean_ctor_set(x_31, 2, x_29); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_30); -lean_ctor_set(x_31, 5, x_30); -x_32 = 0; -x_33 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_32); -x_34 = 1; -x_35 = lean_usize_add(x_5, x_34); -x_36 = lean_array_uset(x_26, x_5, x_33); -x_5 = x_35; -x_6 = x_36; -x_15 = x_24; +lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = 1; +x_32 = lean_usize_add(x_4, x_31); +x_33 = lean_array_uset(x_25, x_4, x_30); +x_4 = x_32; +x_5 = x_33; +x_13 = x_23; goto _start; } -block_55: +block_51: { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_43 = lean_string_append(x_41, x_42); -lean_dec_ref(x_42); -x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1; -x_45 = lean_string_append(x_43, x_44); -x_46 = lean_string_append(x_45, x_3); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_box(0); -if (lean_obj_tag(x_21) == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_string_append(x_38, x_39); +lean_dec_ref(x_39); +x_41 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1; +x_42 = lean_string_append(x_40, x_41); +x_43 = lean_string_append(x_42, x_2); +x_44 = lean_box(0); +if (lean_obj_tag(x_19) == 0) { -x_27 = x_47; -x_28 = x_48; -x_29 = x_21; -goto block_38; +x_26 = x_44; +x_27 = x_43; +x_28 = x_19; +goto block_35; } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_21); -if (x_49 == 0) +uint8_t x_45; +x_45 = !lean_is_exclusive(x_19); +if (x_45 == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_21, 0); -x_51 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_50); -lean_ctor_set(x_21, 0, x_51); -x_27 = x_47; -x_28 = x_48; -x_29 = x_21; -goto block_38; +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_19, 0); +x_47 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_46); +lean_ctor_set(x_19, 0, x_47); +x_26 = x_44; +x_27 = x_43; +x_28 = x_19; +goto block_35; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_21, 0); -lean_inc(x_52); -lean_dec(x_21); -x_53 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_27 = x_47; -x_28 = x_48; -x_29 = x_54; -goto block_38; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_19, 0); +lean_inc(x_48); +lean_dec(x_19); +x_49 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_48); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_26 = x_44; +x_27 = x_43; +x_28 = x_50; +goto block_35; } } } } else { -uint8_t x_60; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_60 = !lean_is_exclusive(x_22); -if (x_60 == 0) -{ -return x_22; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_22, 0); -x_62 = lean_ctor_get(x_22, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_22); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(uint8_t x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_5, x_4); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_6); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_array_uget(x_6, x_5); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 2); -lean_inc(x_21); +uint8_t x_56; +lean_dec(x_19); lean_dec(x_18); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_22 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4(x_19, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_22) == 0) +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_5); +x_56 = !lean_is_exclusive(x_21); +if (x_56 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec_ref(x_22); -x_25 = lean_unsigned_to_nat(0u); -x_26 = lean_array_uset(x_6, x_5, x_25); -x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0; -x_40 = l_Lean_Name_toString(x_23, x_2); -x_41 = lean_string_append(x_39, x_40); -lean_dec_ref(x_40); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_56; -x_56 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_42 = x_56; -goto block_55; +return x_21; } else { lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); +lean_inc(x_58); lean_inc(x_57); -lean_dec_ref(x_20); -x_58 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0; -x_59 = lean_string_append(x_58, x_57); -lean_dec(x_57); -x_42 = x_59; -goto block_55; -} -block_38: -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_31, 0, x_27); -lean_ctor_set(x_31, 1, x_28); -lean_ctor_set(x_31, 2, x_29); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_30); -lean_ctor_set(x_31, 5, x_30); -x_32 = 0; -x_33 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_32); -x_34 = 1; -x_35 = lean_usize_add(x_5, x_34); -x_36 = lean_array_uset(x_26, x_5, x_33); -x_37 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12(x_1, x_2, x_3, x_4, x_35, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -return x_37; -} -block_55: -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_43 = lean_string_append(x_41, x_42); -lean_dec_ref(x_42); -x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1; -x_45 = lean_string_append(x_43, x_44); -x_46 = lean_string_append(x_45, x_3); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_box(0); -if (lean_obj_tag(x_21) == 0) -{ -x_27 = x_47; -x_28 = x_48; -x_29 = x_21; -goto block_38; -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_21); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_21, 0); -x_51 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_50); -lean_ctor_set(x_21, 0, x_51); -x_27 = x_47; -x_28 = x_48; -x_29 = x_21; -goto block_38; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_21, 0); -lean_inc(x_52); lean_dec(x_21); -x_53 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace(x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_27 = x_47; -x_28 = x_48; -x_29 = x_54; -goto block_38; -} -} -} -} -else -{ -uint8_t x_60; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_60 = !lean_is_exclusive(x_22); -if (x_60 == 0) -{ -return x_22; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_22, 0); -x_62 = lean_ctor_get(x_22, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_22); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_21; -x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_21; +lean_object* x_16; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -42335,119 +50891,174 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = 1; -x_12 = 0; -x_13 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg(x_1, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); +x_14 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_14; } +} +LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = 1; +x_13 = 0; +x_14 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_string_dec_lt(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +lean_dec(x_2); +return x_1; +} else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0___boxed), 2, 0); +lean_inc(x_2); +x_6 = l_Array_qpartition___redArg(x_1, x_5, x_2, x_3); +x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_16 = l_Lean_Doc_elabInline(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +x_9 = lean_nat_dec_le(x_3, x_7); +if (x_9 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_8, x_2, x_7); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_dec(x_7); +x_1 = x_10; +x_2 = x_12; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +lean_dec(x_2); +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: { -return x_16; +lean_object* x_8; +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_17 = l_Lean_Doc_elabInline(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_10; -x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); -return x_10; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; +goto _start; +} +else +{ +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -42459,7 +51070,7 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -42471,14 +51082,6 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); -return x_13; -} -} static lean_object* _init_l_Lean_Doc_elabInline___closed__0() { _start: { @@ -42493,8 +51096,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__0; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42513,8 +51116,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__2; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42533,8 +51136,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__4; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42553,8 +51156,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__6; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42573,8 +51176,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__8; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42593,8 +51196,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__10; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42613,8 +51216,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__12; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42633,8 +51236,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__14; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42653,8 +51256,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__16; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42673,8 +51276,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__18; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42693,8 +51296,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__20; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42783,7 +51386,7 @@ static lean_object* _init_l_Lean_Doc_elabInline___closed__31() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Code element could be marked up.", 32, 32); +x_1 = lean_mk_string_unchecked("Code element could be more specific.", 36, 36); return x_1; } } @@ -42819,8 +51422,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__34; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -42839,302 +51442,322 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabInline___closed__36; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) { -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 5); -x_13 = l_Lean_Doc_elabInline___closed__1; +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 5); +x_14 = l_Lean_Doc_elabInline___closed__1; lean_inc(x_1); -x_14 = l_Lean_Syntax_isOfKind(x_1, x_13); -x_15 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 5, x_15); -if (x_14 == 0) +x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); +x_16 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 5, x_16); +if (x_15 == 0) { -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Doc_elabInline___closed__3; +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_Doc_elabInline___closed__3; lean_inc(x_1); -x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); -if (x_17 == 0) +x_18 = l_Lean_Syntax_isOfKind(x_1, x_17); +if (x_18 == 0) { -lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_Doc_elabInline___closed__5; +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Doc_elabInline___closed__5; lean_inc(x_1); -x_19 = l_Lean_Syntax_isOfKind(x_1, x_18); -if (x_19 == 0) +x_20 = l_Lean_Syntax_isOfKind(x_1, x_19); +if (x_20 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Doc_elabInline___closed__7; +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_Doc_elabInline___closed__7; lean_inc(x_1); -x_21 = l_Lean_Syntax_isOfKind(x_1, x_20); -if (x_21 == 0) +x_22 = l_Lean_Syntax_isOfKind(x_1, x_21); +if (x_22 == 0) { -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Doc_elabInline___closed__9; +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_Doc_elabInline___closed__9; lean_inc(x_1); -x_23 = l_Lean_Syntax_isOfKind(x_1, x_22); -if (x_23 == 0) +x_24 = l_Lean_Syntax_isOfKind(x_1, x_23); +if (x_24 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = l_Lean_Doc_elabInline___closed__11; +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_Doc_elabInline___closed__11; lean_inc(x_1); -x_25 = l_Lean_Syntax_isOfKind(x_1, x_24); -if (x_25 == 0) +x_26 = l_Lean_Syntax_isOfKind(x_1, x_25); +if (x_26 == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = l_Lean_Doc_elabInline___closed__13; +lean_object* x_27; uint8_t x_28; +x_27 = l_Lean_Doc_elabInline___closed__13; lean_inc(x_1); -x_27 = l_Lean_Syntax_isOfKind(x_1, x_26); -if (x_27 == 0) +x_28 = l_Lean_Syntax_isOfKind(x_1, x_27); +if (x_28 == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = l_Lean_Doc_elabInline___closed__15; +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Doc_elabInline___closed__15; lean_inc(x_1); -x_29 = l_Lean_Syntax_isOfKind(x_1, x_28); -if (x_29 == 0) +x_30 = l_Lean_Syntax_isOfKind(x_1, x_29); +if (x_30 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = l_Lean_Doc_elabInline___closed__17; +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Doc_elabInline___closed__17; lean_inc(x_1); -x_31 = l_Lean_Syntax_isOfKind(x_1, x_30); -if (x_31 == 0) +x_32 = l_Lean_Syntax_isOfKind(x_1, x_31); +if (x_32 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Doc_elabInline___closed__19; +lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_Doc_elabInline___closed__19; lean_inc(x_1); -x_33 = l_Lean_Syntax_isOfKind(x_1, x_32); -if (x_33 == 0) +x_34 = l_Lean_Syntax_isOfKind(x_1, x_33); +if (x_34 == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Doc_elabInline___closed__21; +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_Doc_elabInline___closed__21; lean_inc(x_1); -x_35 = l_Lean_Syntax_isOfKind(x_1, x_34); -if (x_35 == 0) +x_36 = l_Lean_Syntax_isOfKind(x_1, x_35); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = l_Lean_Doc_elabInline___closed__23; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_37 = l_Lean_MessageData_ofSyntax(x_1); -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_38 = l_Lean_MessageData_ofSyntax(x_1); +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_39; +return x_40; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_unsigned_to_nat(1u); -x_41 = l_Lean_Syntax_getArg(x_1, x_40); -x_42 = lean_box(0); -lean_inc(x_41); -x_43 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_43, 0, x_41); -lean_closure_set(x_43, 1, x_42); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_44 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_unsigned_to_nat(1u); +x_42 = l_Lean_Syntax_getArg(x_1, x_41); +lean_inc(x_42); +x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_43, 0, x_42); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_44 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); lean_dec_ref(x_44); -x_47 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_47, 0, x_45); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_48 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_46); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec_ref(x_48); -x_51 = lean_unsigned_to_nat(2u); -x_52 = l_Lean_Syntax_getArg(x_1, x_51); -x_53 = lean_unsigned_to_nat(5u); -x_54 = l_Lean_Syntax_getArg(x_1, x_53); +x_47 = lean_unsigned_to_nat(2u); +x_48 = l_Lean_Syntax_getArg(x_1, x_47); +x_49 = lean_unsigned_to_nat(5u); +x_50 = l_Lean_Syntax_getArg(x_1, x_49); lean_dec(x_1); -x_55 = l_Lean_Syntax_getArgs(x_54); -lean_dec(x_54); -x_56 = l_Lean_Syntax_getArgs(x_52); -lean_dec(x_52); -x_57 = lean_box(0); -x_58 = l_Lean_Doc_elabInline___closed__24; -x_59 = lean_array_size(x_49); -x_60 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_51 = l_Lean_Syntax_getArgs(x_50); +lean_dec(x_50); +x_52 = l_Lean_Syntax_getArgs(x_48); +lean_dec(x_48); +x_53 = lean_box(0); +x_54 = l_Lean_Doc_elabInline___closed__24; +x_55 = lean_array_size(x_45); +x_56 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_61 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_55, x_56, x_57, x_58, x_49, x_59, x_60, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -lean_dec(x_49); -if (lean_obj_tag(x_61) == 0) +lean_inc_ref(x_2); +x_57 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_51, x_52, x_53, x_54, x_45, x_55, x_56, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +lean_dec(x_45); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_62; uint8_t x_63; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -lean_dec(x_65); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_66 = lean_ctor_get(x_61, 1); -lean_inc(x_66); -lean_dec_ref(x_61); -x_67 = l_Lean_Doc_elabInline___closed__26; -lean_inc(x_41); -x_68 = l_Lean_MessageData_ofSyntax(x_41); -lean_ctor_set_tag(x_62, 7); -lean_ctor_set(x_62, 1, x_68); -lean_ctor_set(x_62, 0, x_67); -x_69 = l_Lean_Doc_getPositional___redArg___closed__37; -x_70 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_70, 0, x_62); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_41, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_66); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_41); -return x_71; -} -else -{ -uint8_t x_72; -lean_free_object(x_62); -lean_dec(x_41); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_72 = !lean_is_exclusive(x_61); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_61, 0); -lean_dec(x_73); -x_74 = lean_ctor_get(x_64, 0); -lean_inc(x_74); -lean_dec_ref(x_64); -lean_ctor_set(x_61, 0, x_74); -return x_61; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_61, 1); -lean_inc(x_75); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); lean_dec(x_61); -x_76 = lean_ctor_get(x_64, 0); -lean_inc(x_76); -lean_dec_ref(x_64); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -return x_77; +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_62 = lean_ctor_get(x_57, 1); +lean_inc(x_62); +lean_dec_ref(x_57); +x_63 = l_Lean_Doc_elabInline___closed__26; +lean_inc(x_42); +x_64 = l_Lean_MessageData_ofSyntax(x_42); +lean_ctor_set_tag(x_58, 7); +lean_ctor_set(x_58, 1, x_64); +lean_ctor_set(x_58, 0, x_63); +x_65 = l_Lean_Doc_getPositional___redArg___closed__40; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_42, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_62); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_42); +return x_67; +} +else +{ +uint8_t x_68; +lean_free_object(x_58); +lean_dec(x_42); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_68 = !lean_is_exclusive(x_57); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_57, 0); +lean_dec(x_69); +x_70 = lean_ctor_get(x_60, 0); +lean_inc(x_70); +lean_dec_ref(x_60); +lean_ctor_set(x_57, 0, x_70); +return x_57; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_57, 1); +lean_inc(x_71); +lean_dec(x_57); +x_72 = lean_ctor_get(x_60, 0); +lean_inc(x_72); +lean_dec_ref(x_60); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +return x_73; } } } else { -lean_object* x_78; -x_78 = lean_ctor_get(x_62, 0); -lean_inc(x_78); -lean_dec(x_62); -if (lean_obj_tag(x_78) == 0) +lean_object* x_74; +x_74 = lean_ctor_get(x_58, 0); +lean_inc(x_74); +lean_dec(x_58); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_79 = lean_ctor_get(x_61, 1); -lean_inc(x_79); -lean_dec_ref(x_61); -x_80 = l_Lean_Doc_elabInline___closed__26; -lean_inc(x_41); -x_81 = l_Lean_MessageData_ofSyntax(x_41); -x_82 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Doc_getPositional___redArg___closed__37; -x_84 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_41, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_79); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_75 = lean_ctor_get(x_57, 1); +lean_inc(x_75); +lean_dec_ref(x_57); +x_76 = l_Lean_Doc_elabInline___closed__26; +lean_inc(x_42); +x_77 = l_Lean_MessageData_ofSyntax(x_42); +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Doc_getPositional___redArg___closed__40; +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_42, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_75); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_41); +lean_dec_ref(x_2); +lean_dec(x_42); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_42); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_82 = lean_ctor_get(x_57, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_83 = x_57; +} else { + lean_dec_ref(x_57); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get(x_74, 0); +lean_inc(x_84); +lean_dec_ref(x_74); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); return x_85; } +} +} else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_41); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +uint8_t x_86; +lean_dec(x_42); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_86 = lean_ctor_get(x_61, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_87 = x_61; -} else { - lean_dec_ref(x_61); - x_87 = lean_box(0); +lean_dec_ref(x_2); +x_86 = !lean_is_exclusive(x_57); +if (x_86 == 0) +{ +return x_57; } -x_88 = lean_ctor_get(x_78, 0); +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_57, 0); +x_88 = lean_ctor_get(x_57, 1); lean_inc(x_88); -lean_dec_ref(x_78); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_87; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); +lean_inc(x_87); +lean_dec(x_57); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); return x_89; } } @@ -43142,28 +51765,30 @@ return x_89; else { uint8_t x_90; -lean_dec(x_41); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_42); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_90 = !lean_is_exclusive(x_61); +lean_dec_ref(x_2); +lean_dec(x_1); +x_90 = !lean_is_exclusive(x_44); if (x_90 == 0) { -return x_61; +return x_44; } else { lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_61, 0); -x_92 = lean_ctor_get(x_61, 1); +x_91 = lean_ctor_get(x_44, 0); +x_92 = lean_ctor_get(x_44, 1); lean_inc(x_92); lean_inc(x_91); -lean_dec(x_61); +lean_dec(x_44); x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_91); lean_ctor_set(x_93, 1, x_92); @@ -43171,2492 +51796,2436 @@ return x_93; } } } -else -{ -uint8_t x_94; -lean_dec(x_41); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_94 = !lean_is_exclusive(x_48); -if (x_94 == 0) -{ -return x_48; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_48, 0); -x_96 = lean_ctor_get(x_48, 1); -lean_inc(x_96); +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_unsigned_to_nat(1u); +x_95 = l_Lean_Syntax_getArg(x_1, x_94); lean_inc(x_95); -lean_dec(x_48); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -} -else +x_96 = l_Lean_Syntax_isOfKind(x_95, x_29); +if (x_96 == 0) { -uint8_t x_98; -lean_dec(x_41); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_98 = !lean_is_exclusive(x_44); -if (x_98 == 0) -{ -return x_44; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_44, 0); -x_100 = lean_ctor_get(x_44, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_44); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -} -} -else -{ -lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_102 = lean_unsigned_to_nat(1u); -x_103 = l_Lean_Syntax_getArg(x_1, x_102); -lean_inc(x_103); -x_104 = l_Lean_Syntax_isOfKind(x_103, x_28); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_103); -x_105 = l_Lean_Doc_elabInline___closed__23; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_95); +x_97 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_106 = l_Lean_MessageData_ofSyntax(x_1); -x_107 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_107, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_98 = l_Lean_MessageData_ofSyntax(x_1); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_108; +return x_100; } else { -lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_109 = l_Lean_Syntax_getArg(x_103, x_102); -lean_dec(x_103); -x_110 = 1; -x_111 = l_Lean_TSyntax_getString(x_109); -lean_dec(x_109); -x_112 = lean_alloc_ctor(4, 1, 1); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set_uint8(x_112, sizeof(void*)*1, x_110); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_10); -return x_113; +x_101 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_102 = 1; +x_103 = l_Lean_TSyntax_getString(x_101); +lean_dec(x_101); +x_104 = lean_alloc_ctor(4, 1, 1); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_102); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_11); +return x_105; } } } else { -lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_114 = lean_unsigned_to_nat(1u); -x_115 = l_Lean_Syntax_getArg(x_1, x_114); -lean_inc(x_115); -x_116 = l_Lean_Syntax_isOfKind(x_115, x_28); -if (x_116 == 0) +lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_106 = lean_unsigned_to_nat(1u); +x_107 = l_Lean_Syntax_getArg(x_1, x_106); +lean_inc(x_107); +x_108 = l_Lean_Syntax_isOfKind(x_107, x_29); +if (x_108 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_115); -x_117 = l_Lean_Doc_elabInline___closed__23; +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_107); +x_109 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_118 = l_Lean_MessageData_ofSyntax(x_1); -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_110 = l_Lean_MessageData_ofSyntax(x_1); +x_111 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_120; +return x_112; } else { -lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_121 = l_Lean_Syntax_getArg(x_115, x_114); -lean_dec(x_115); -x_122 = 0; -x_123 = l_Lean_TSyntax_getString(x_121); -lean_dec(x_121); -x_124 = lean_alloc_ctor(4, 1, 1); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set_uint8(x_124, sizeof(void*)*1, x_122); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_10); -return x_125; +x_113 = l_Lean_Syntax_getArg(x_107, x_106); +lean_dec(x_107); +x_114 = 0; +x_115 = l_Lean_TSyntax_getString(x_113); +lean_dec(x_113); +x_116 = lean_alloc_ctor(4, 1, 1); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set_uint8(x_116, sizeof(void*)*1, x_114); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_11); +return x_117; } } } else { -lean_object* x_126; lean_object* x_127; -x_126 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__1___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_127 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_126, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_127) == 0) +lean_object* x_118; lean_object* x_119; +x_118 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_119 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_138; uint8_t x_139; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_130 = x_127; +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_130; uint8_t x_131; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; } else { - lean_dec_ref(x_127); - x_130 = lean_box(0); + lean_dec_ref(x_119); + x_122 = lean_box(0); } -x_131 = lean_unsigned_to_nat(1u); -x_132 = l_Lean_Syntax_getArg(x_1, x_131); -x_138 = l_Lean_Doc_elabInline___closed__27; -x_139 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_128, x_138); -lean_dec(x_128); -if (x_139 == 0) +x_123 = lean_unsigned_to_nat(1u); +x_124 = l_Lean_Syntax_getArg(x_1, x_123); +x_130 = l_Lean_Doc_elabInline___closed__27; +x_131 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_120, x_130); +lean_dec(x_120); +if (x_131 == 0) { -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_133 = x_129; -goto block_137; +x_125 = x_121; +goto block_129; } else { -lean_object* x_140; -x_140 = l_Lean_Syntax_getRange_x3f(x_1, x_27); -if (lean_obj_tag(x_140) == 0) +lean_object* x_132; +x_132 = l_Lean_Syntax_getRange_x3f(x_1, x_28); +if (lean_obj_tag(x_132) == 0) { -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_133 = x_129; -goto block_137; +x_125 = x_121; +goto block_129; } else { -uint8_t x_141; -x_141 = !lean_is_exclusive(x_140); -if (x_141 == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +lean_dec_ref(x_132); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_137 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_136, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_142 = lean_ctor_get(x_140, 0); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_146 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_145, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_129); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; lean_object* x_152; -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec_ref(x_146); -x_149 = l_Lean_Doc_elabInline___closed__28; -x_150 = lean_array_size(x_147); -x_151 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; lean_object* x_144; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec_ref(x_137); +x_140 = lean_unsigned_to_nat(0u); +x_141 = l_Lean_Doc_elabInline___closed__28; +x_142 = lean_array_size(x_138); +x_143 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_132); -x_152 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(x_132, x_147, x_150, x_151, x_149, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_148); -lean_dec(x_147); -if (lean_obj_tag(x_152) == 0) +lean_inc_ref(x_2); +lean_inc(x_124); +x_144 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(x_124, x_28, x_138, x_142, x_143, x_141, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_139); +lean_dec(x_138); +if (lean_obj_tag(x_144) == 0) { -lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); +lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec_ref(x_144); +x_147 = l_Array_isEmpty___redArg(x_145); +if (x_147 == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__1___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_149 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_148, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_146); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; size_t x_155; lean_object* x_156; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec_ref(x_149); +x_152 = lean_ctor_get(x_150, 0); +lean_inc_ref(x_152); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_153 = x_150; +} else { + lean_dec_ref(x_150); + x_153 = lean_box(0); +} +x_154 = lean_string_utf8_extract(x_152, x_134, x_135); +lean_dec(x_135); +lean_dec(x_134); lean_dec_ref(x_152); -x_155 = l_Array_isEmpty___redArg(x_153); -if (x_155 == 0) +x_155 = lean_array_size(x_145); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_156 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(x_131, x_154, x_155, x_143, x_145, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_151); +lean_dec_ref(x_154); +if (lean_obj_tag(x_156) == 0) { -lean_object* x_156; lean_object* x_157; -x_156 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__2___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_157 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_156, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_154); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_158 = lean_ctor_get(x_157, 0); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_177; lean_object* x_178; lean_object* x_181; uint8_t x_182; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec_ref(x_157); -x_160 = !lean_is_exclusive(x_158); -if (x_160 == 0) +lean_dec_ref(x_156); +x_181 = lean_array_get_size(x_157); +x_182 = lean_nat_dec_eq(x_181, x_140); +if (x_182 == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; size_t x_164; lean_object* x_165; -x_161 = lean_ctor_get(x_158, 0); -x_162 = lean_ctor_get(x_158, 1); -lean_dec(x_162); -x_163 = lean_string_utf8_extract(x_161, x_143, x_144); -lean_dec(x_144); -lean_dec(x_143); -lean_dec_ref(x_161); -x_164 = lean_array_size(x_153); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_165 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_155, x_139, x_163, x_164, x_151, x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_159); -lean_dec_ref(x_163); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec_ref(x_165); -x_168 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(x_166); -x_169 = l_Lean_Doc_elabInline___closed__30; -lean_ctor_set(x_140, 0, x_1); -x_170 = lean_box(0); -x_171 = lean_box(x_155); -x_172 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__3___boxed), 12, 5); -lean_closure_set(x_172, 0, x_169); -lean_closure_set(x_172, 1, x_168); -lean_closure_set(x_172, 2, x_140); -lean_closure_set(x_172, 3, x_170); -lean_closure_set(x_172, 4, x_171); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_173 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_167); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -lean_dec_ref(x_173); -x_176 = l_Lean_Doc_elabInline___closed__32; -lean_ctor_set_tag(x_158, 7); -lean_ctor_set(x_158, 1, x_174); -lean_ctor_set(x_158, 0, x_176); -x_177 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(x_158, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_175); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -lean_dec_ref(x_177); -x_133 = x_178; -goto block_137; -} -else -{ -uint8_t x_179; -lean_dec(x_132); -lean_dec(x_130); -x_179 = !lean_is_exclusive(x_177); -if (x_179 == 0) -{ -return x_177; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_177, 0); -x_181 = lean_ctor_get(x_177, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_177); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} -} -} -else -{ -uint8_t x_183; -lean_free_object(x_158); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_183 = !lean_is_exclusive(x_173); -if (x_183 == 0) -{ -return x_173; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_173, 0); -x_185 = lean_ctor_get(x_173, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_173); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -} -else -{ -uint8_t x_187; -lean_free_object(x_158); -lean_free_object(x_140); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_187 = !lean_is_exclusive(x_165); +lean_object* x_183; lean_object* x_184; uint8_t x_187; +x_183 = lean_nat_sub(x_181, x_123); +lean_dec(x_181); +x_187 = lean_nat_dec_le(x_140, x_183); if (x_187 == 0) { -return x_165; +lean_inc(x_183); +x_184 = x_183; +goto block_186; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_165, 0); -x_189 = lean_ctor_get(x_165, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_165); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; +x_184 = x_140; +goto block_186; +} +block_186: +{ +uint8_t x_185; +x_185 = lean_nat_dec_le(x_184, x_183); +if (x_185 == 0) +{ +lean_dec(x_183); +lean_inc(x_184); +x_177 = x_184; +x_178 = x_184; +goto block_180; +} +else +{ +x_177 = x_184; +x_178 = x_183; +goto block_180; } } } else { -lean_object* x_191; lean_object* x_192; size_t x_193; lean_object* x_194; -x_191 = lean_ctor_get(x_158, 0); -lean_inc(x_191); -lean_dec(x_158); -x_192 = lean_string_utf8_extract(x_191, x_143, x_144); -lean_dec(x_144); -lean_dec(x_143); -lean_dec_ref(x_191); -x_193 = lean_array_size(x_153); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_194 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_155, x_139, x_192, x_193, x_151, x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_159); -lean_dec_ref(x_192); -if (lean_obj_tag(x_194) == 0) +lean_dec(x_181); +x_159 = x_157; +goto block_176; +} +block_176: { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec_ref(x_194); -x_197 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(x_195); -x_198 = l_Lean_Doc_elabInline___closed__30; -lean_ctor_set(x_140, 0, x_1); -x_199 = lean_box(0); -x_200 = lean_box(x_155); -x_201 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__3___boxed), 12, 5); -lean_closure_set(x_201, 0, x_198); -lean_closure_set(x_201, 1, x_197); -lean_closure_set(x_201, 2, x_140); -lean_closure_set(x_201, 3, x_199); -lean_closure_set(x_201, 4, x_200); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_202 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_201, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_196); -if (lean_obj_tag(x_202) == 0) +lean_object* x_160; lean_object* x_161; +x_160 = l_Lean_Doc_elabInline___closed__30; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_161 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_1, x_160, x_159, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_158); +if (lean_obj_tag(x_161) == 0) { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec_ref(x_202); -x_205 = l_Lean_Doc_elabInline___closed__32; -x_206 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_203); -x_207 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(x_206, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_204); +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec_ref(x_161); +x_164 = l_Lean_Doc_elabInline___closed__32; +if (lean_is_scalar(x_153)) { + x_165 = lean_alloc_ctor(7, 2, 0); +} else { + x_165 = x_153; + lean_ctor_set_tag(x_165, 7); +} +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_162); +x_166 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_163); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_207) == 0) +lean_dec_ref(x_2); +if (lean_obj_tag(x_166) == 0) { -lean_object* x_208; -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -lean_dec_ref(x_207); -x_133 = x_208; -goto block_137; +lean_object* x_167; +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); +lean_dec_ref(x_166); +x_125 = x_167; +goto block_129; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_132); -lean_dec(x_130); -x_209 = lean_ctor_get(x_207, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_211 = x_207; -} else { - lean_dec_ref(x_207); - x_211 = lean_box(0); +uint8_t x_168; +lean_dec(x_124); +lean_dec(x_122); +x_168 = !lean_is_exclusive(x_166); +if (x_168 == 0) +{ +return x_166; } -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); -} else { - x_212 = x_211; +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_166, 0); +x_170 = lean_ctor_get(x_166, 1); +lean_inc(x_170); +lean_inc(x_169); +lean_dec(x_166); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; } -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); +} +} +else +{ +uint8_t x_172; +lean_dec(x_153); +lean_dec(x_124); +lean_dec(x_122); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_172 = !lean_is_exclusive(x_161); +if (x_172 == 0) +{ +return x_161; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_161, 0); +x_174 = lean_ctor_get(x_161, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_161); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; +} +} +} +block_180: +{ +lean_object* x_179; +x_179 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_157, x_177, x_178); +lean_dec(x_178); +x_159 = x_179; +goto block_176; +} +} +else +{ +uint8_t x_188; +lean_dec(x_153); +lean_dec(x_124); +lean_dec(x_122); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_188 = !lean_is_exclusive(x_156); +if (x_188 == 0) +{ +return x_156; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_156, 0); +x_190 = lean_ctor_get(x_156, 1); +lean_inc(x_190); +lean_inc(x_189); +lean_dec(x_156); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +} +else +{ +uint8_t x_192; +lean_dec(x_145); +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_124); +lean_dec(x_122); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_192 = !lean_is_exclusive(x_149); +if (x_192 == 0) +{ +return x_149; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_193 = lean_ctor_get(x_149, 0); +x_194 = lean_ctor_get(x_149, 1); +lean_inc(x_194); +lean_inc(x_193); +lean_dec(x_149); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +} +} +else +{ +lean_dec(x_145); +lean_dec(x_135); +lean_dec(x_134); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_125 = x_146; +goto block_129; +} +} +else +{ +uint8_t x_196; +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_124); +lean_dec(x_122); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_196 = !lean_is_exclusive(x_144); +if (x_196 == 0) +{ +return x_144; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_144, 0); +x_198 = lean_ctor_get(x_144, 1); +lean_inc(x_198); +lean_inc(x_197); +lean_dec(x_144); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +return x_199; +} +} +} +else +{ +uint8_t x_200; +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_124); +lean_dec(x_122); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_200 = !lean_is_exclusive(x_137); +if (x_200 == 0) +{ +return x_137; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_137, 0); +x_202 = lean_ctor_get(x_137, 1); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_137); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +return x_203; +} +} +} +} +block_129: +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = l_Lean_TSyntax_getString(x_124); +lean_dec(x_124); +x_127 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_127, 0, x_126); +if (lean_is_scalar(x_122)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { + x_128 = x_122; +} +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_125); +return x_128; +} +} +else +{ +uint8_t x_204; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_204 = !lean_is_exclusive(x_119); +if (x_204 == 0) +{ +return x_119; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_119, 0); +x_206 = lean_ctor_get(x_119, 1); +lean_inc(x_206); +lean_inc(x_205); +lean_dec(x_119); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +return x_207; +} +} +} +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_208 = lean_unsigned_to_nat(1u); +x_209 = l_Lean_Syntax_getArg(x_1, x_208); +lean_dec(x_1); +x_210 = l_Lean_TSyntax_getString(x_209); +lean_dec(x_209); +x_211 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_211, 0, x_210); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_11); return x_212; } } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_213 = lean_ctor_get(x_202, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_202, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_215 = x_202; -} else { - lean_dec_ref(x_202); - x_215 = lean_box(0); -} -if (lean_is_scalar(x_215)) { - x_216 = lean_alloc_ctor(1, 2, 0); -} else { - x_216 = x_215; -} -lean_ctor_set(x_216, 0, x_213); -lean_ctor_set(x_216, 1, x_214); -return x_216; -} -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_free_object(x_140); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); +x_213 = lean_unsigned_to_nat(1u); +x_214 = l_Lean_Syntax_getArg(x_1, x_213); lean_dec(x_1); -x_217 = lean_ctor_get(x_194, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_194, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_219 = x_194; -} else { - lean_dec_ref(x_194); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 2, 0); -} else { - x_220 = x_219; -} -lean_ctor_set(x_220, 0, x_217); -lean_ctor_set(x_220, 1, x_218); -return x_220; -} +x_215 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote(x_214); +x_216 = l_Lean_Doc_elabInline___closed__33; +x_217 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_217, 0, x_215); +lean_ctor_set(x_217, 1, x_216); +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_11); +return x_218; } } else { -uint8_t x_221; -lean_dec(x_153); -lean_dec(x_144); -lean_dec(x_143); -lean_free_object(x_140); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_221 = !lean_is_exclusive(x_157); -if (x_221 == 0) -{ -return x_157; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_157, 0); -x_223 = lean_ctor_get(x_157, 1); -lean_inc(x_223); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_219 = lean_unsigned_to_nat(1u); +x_220 = l_Lean_Syntax_getArg(x_1, x_219); +x_221 = lean_unsigned_to_nat(3u); +x_222 = l_Lean_Syntax_getArg(x_1, x_221); +x_223 = l_Lean_Doc_elabInline___closed__35; lean_inc(x_222); -lean_dec(x_157); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; -} -} -} -else +x_224 = l_Lean_Syntax_isOfKind(x_222, x_223); +if (x_224 == 0) { -lean_dec(x_153); -lean_dec(x_144); -lean_dec(x_143); -lean_free_object(x_140); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_225; uint8_t x_226; +x_225 = l_Lean_Doc_elabInline___closed__37; +lean_inc(x_222); +x_226 = l_Lean_Syntax_isOfKind(x_222, x_225); +if (x_226 == 0) +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_222); +lean_dec(x_220); +x_227 = l_Lean_Doc_elabInline___closed__23; +lean_inc(x_1); +x_228 = l_Lean_MessageData_ofSyntax(x_1); +x_229 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_229, 0, x_227); +lean_ctor_set(x_229, 1, x_228); +x_230 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_229, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_133 = x_154; -goto block_137; -} +return x_230; } else { -uint8_t x_225; -lean_dec(x_144); -lean_dec(x_143); -lean_free_object(x_140); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_225 = !lean_is_exclusive(x_152); -if (x_225 == 0) -{ -return x_152; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_152, 0); -x_227 = lean_ctor_get(x_152, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_152); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -return x_228; -} +x_231 = l_Lean_Syntax_getArg(x_222, x_219); +lean_dec(x_222); +x_232 = l_Lean_TSyntax_getString(x_220); +lean_dec(x_220); +x_233 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage(x_232, x_231); +x_234 = l_Lean_Doc_elabInline___closed__33; +x_235 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_235, 0, x_233); +lean_ctor_set(x_235, 1, x_234); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_11); +return x_236; } } else { -uint8_t x_229; -lean_dec(x_144); -lean_dec(x_143); -lean_free_object(x_140); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_229 = !lean_is_exclusive(x_146); -if (x_229 == 0) -{ -return x_146; -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_146, 0); -x_231 = lean_ctor_get(x_146, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_146); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -return x_232; +x_237 = l_Lean_Syntax_getArg(x_222, x_219); +lean_dec(x_222); +x_238 = l_Lean_TSyntax_getString(x_220); +lean_dec(x_220); +x_239 = l_Lean_TSyntax_getString(x_237); +lean_dec(x_237); +x_240 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_240, 0, x_238); +lean_ctor_set(x_240, 1, x_239); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_11); +return x_241; } } } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_233 = lean_ctor_get(x_140, 0); -lean_inc(x_233); -lean_dec(x_140); -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_236 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_237 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_236, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_129); -if (lean_obj_tag(x_237) == 0) -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; size_t x_241; size_t x_242; lean_object* x_243; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec_ref(x_237); -x_240 = l_Lean_Doc_elabInline___closed__28; -x_241 = lean_array_size(x_238); -x_242 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_132); -x_243 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(x_132, x_238, x_241, x_242, x_240, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_238); -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; +x_242 = lean_unsigned_to_nat(1u); +x_243 = l_Lean_Syntax_getArg(x_1, x_242); +x_244 = lean_unsigned_to_nat(3u); +x_245 = l_Lean_Syntax_getArg(x_1, x_244); +x_246 = l_Lean_Doc_elabInline___closed__35; lean_inc(x_245); -lean_dec_ref(x_243); -x_246 = l_Array_isEmpty___redArg(x_244); -if (x_246 == 0) +x_247 = l_Lean_Syntax_isOfKind(x_245, x_246); +if (x_247 == 0) { -lean_object* x_247; lean_object* x_248; -x_247 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__2___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_248 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_247, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_245); -if (lean_obj_tag(x_248) == 0) +lean_object* x_248; uint8_t x_249; +x_248 = l_Lean_Doc_elabInline___closed__37; +lean_inc(x_245); +x_249 = l_Lean_Syntax_isOfKind(x_245, x_248); +if (x_249 == 0) { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; size_t x_254; lean_object* x_255; -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec_ref(x_248); -x_251 = lean_ctor_get(x_249, 0); -lean_inc_ref(x_251); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - x_252 = x_249; -} else { - lean_dec_ref(x_249); - x_252 = lean_box(0); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_245); +lean_dec(x_243); +x_250 = l_Lean_Doc_elabInline___closed__23; +lean_inc(x_1); +x_251 = l_Lean_MessageData_ofSyntax(x_1); +x_252 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_251); +x_253 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_252, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_253; } -x_253 = lean_string_utf8_extract(x_251, x_234, x_235); -lean_dec(x_235); -lean_dec(x_234); -lean_dec_ref(x_251); -x_254 = lean_array_size(x_244); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_255 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_246, x_139, x_253, x_254, x_242, x_244, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_250); -lean_dec_ref(x_253); -if (lean_obj_tag(x_255) == 0) +else { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -lean_dec_ref(x_255); -x_258 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(x_256); -x_259 = l_Lean_Doc_elabInline___closed__30; -x_260 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_260, 0, x_1); -x_261 = lean_box(0); -x_262 = lean_box(x_246); -x_263 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__3___boxed), 12, 5); -lean_closure_set(x_263, 0, x_259); -lean_closure_set(x_263, 1, x_258); -lean_closure_set(x_263, 2, x_260); -lean_closure_set(x_263, 3, x_261); -lean_closure_set(x_263, 4, x_262); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_264 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_263, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_257); -if (lean_obj_tag(x_264) == 0) +lean_object* x_254; size_t x_255; size_t x_256; lean_object* x_257; +lean_dec(x_1); +x_254 = l_Lean_Syntax_getArgs(x_243); +lean_dec(x_243); +x_255 = lean_array_size(x_254); +x_256 = 0; +x_257 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_255, x_256, x_254, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_257) == 0) { -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -lean_dec_ref(x_264); -x_267 = l_Lean_Doc_elabInline___closed__32; -if (lean_is_scalar(x_252)) { - x_268 = lean_alloc_ctor(7, 2, 0); -} else { - x_268 = x_252; - lean_ctor_set_tag(x_268, 7); +uint8_t x_258; +x_258 = !lean_is_exclusive(x_257); +if (x_258 == 0) +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_259 = lean_ctor_get(x_257, 0); +x_260 = l_Lean_Syntax_getArg(x_245, x_242); +lean_dec(x_245); +x_261 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_260); +x_262 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_259); +lean_ctor_set(x_257, 0, x_262); +return x_257; } +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_263 = lean_ctor_get(x_257, 0); +x_264 = lean_ctor_get(x_257, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_257); +x_265 = l_Lean_Syntax_getArg(x_245, x_242); +lean_dec(x_245); +x_266 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_265); +x_267 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_263); +x_268 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_265); -x_269 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(x_268, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_266); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec_ref(x_269); -x_133 = x_270; -goto block_137; +lean_ctor_set(x_268, 1, x_264); +return x_268; +} } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_132); -lean_dec(x_130); -x_271 = lean_ctor_get(x_269, 0); +uint8_t x_269; +lean_dec(x_245); +x_269 = !lean_is_exclusive(x_257); +if (x_269 == 0) +{ +return x_257; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_257, 0); +x_271 = lean_ctor_get(x_257, 1); lean_inc(x_271); -x_272 = lean_ctor_get(x_269, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_273 = x_269; -} else { - lean_dec_ref(x_269); - x_273 = lean_box(0); +lean_inc(x_270); +lean_dec(x_257); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +return x_272; } -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(1, 2, 0); -} else { - x_274 = x_273; } -lean_ctor_set(x_274, 0, x_271); -lean_ctor_set(x_274, 1, x_272); -return x_274; } } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -lean_dec(x_252); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_275 = lean_ctor_get(x_264, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_264, 1); -lean_inc(x_276); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_277 = x_264; -} else { - lean_dec_ref(x_264); - x_277 = lean_box(0); -} -if (lean_is_scalar(x_277)) { - x_278 = lean_alloc_ctor(1, 2, 0); -} else { - x_278 = x_277; -} -lean_ctor_set(x_278, 0, x_275); -lean_ctor_set(x_278, 1, x_276); -return x_278; -} -} -else -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -lean_dec(x_252); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_273; size_t x_274; size_t x_275; lean_object* x_276; lean_dec(x_1); -x_279 = lean_ctor_get(x_255, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_255, 1); -lean_inc(x_280); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_281 = x_255; -} else { - lean_dec_ref(x_255); - x_281 = lean_box(0); -} -if (lean_is_scalar(x_281)) { - x_282 = lean_alloc_ctor(1, 2, 0); -} else { - x_282 = x_281; -} -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set(x_282, 1, x_280); -return x_282; -} +x_273 = l_Lean_Syntax_getArgs(x_243); +lean_dec(x_243); +x_274 = lean_array_size(x_273); +x_275 = 0; +x_276 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_274, x_275, x_273, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_276) == 0) +{ +uint8_t x_277; +x_277 = !lean_is_exclusive(x_276); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_278 = lean_ctor_get(x_276, 0); +x_279 = l_Lean_Syntax_getArg(x_245, x_242); +lean_dec(x_245); +x_280 = l_Lean_TSyntax_getString(x_279); +lean_dec(x_279); +x_281 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_281, 0, x_278); +lean_ctor_set(x_281, 1, x_280); +lean_ctor_set(x_276, 0, x_281); +return x_276; } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_dec(x_244); -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_283 = lean_ctor_get(x_248, 0); +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_282 = lean_ctor_get(x_276, 0); +x_283 = lean_ctor_get(x_276, 1); lean_inc(x_283); -x_284 = lean_ctor_get(x_248, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - x_285 = x_248; -} else { - lean_dec_ref(x_248); - x_285 = lean_box(0); -} -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(1, 2, 0); -} else { - x_286 = x_285; -} -lean_ctor_set(x_286, 0, x_283); -lean_ctor_set(x_286, 1, x_284); -return x_286; +lean_inc(x_282); +lean_dec(x_276); +x_284 = l_Lean_Syntax_getArg(x_245, x_242); +lean_dec(x_245); +x_285 = l_Lean_TSyntax_getString(x_284); +lean_dec(x_284); +x_286 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_286, 0, x_282); +lean_ctor_set(x_286, 1, x_285); +x_287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_283); +return x_287; } } else { -lean_dec(x_244); -lean_dec(x_235); -lean_dec(x_234); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +uint8_t x_288; +lean_dec(x_245); +x_288 = !lean_is_exclusive(x_276); +if (x_288 == 0) +{ +return x_276; +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_289 = lean_ctor_get(x_276, 0); +x_290 = lean_ctor_get(x_276, 1); +lean_inc(x_290); +lean_inc(x_289); +lean_dec(x_276); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_290); +return x_291; +} +} +} +} +} +else +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; size_t x_295; size_t x_296; lean_object* x_297; +x_292 = lean_unsigned_to_nat(1u); +x_293 = l_Lean_Syntax_getArg(x_1, x_292); lean_dec(x_1); -x_133 = x_245; -goto block_137; +x_294 = l_Lean_Syntax_getArgs(x_293); +lean_dec(x_293); +x_295 = lean_array_size(x_294); +x_296 = 0; +x_297 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_295, x_296, x_294, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_297) == 0) +{ +uint8_t x_298; +x_298 = !lean_is_exclusive(x_297); +if (x_298 == 0) +{ +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_297, 0); +x_300 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_297, 0, x_300); +return x_297; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_301 = lean_ctor_get(x_297, 0); +x_302 = lean_ctor_get(x_297, 1); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_297); +x_303 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_303, 0, x_301); +x_304 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_302); +return x_304; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_287 = lean_ctor_get(x_243, 0); -lean_inc(x_287); -x_288 = lean_ctor_get(x_243, 1); -lean_inc(x_288); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_289 = x_243; -} else { - lean_dec_ref(x_243); - x_289 = lean_box(0); -} -if (lean_is_scalar(x_289)) { - x_290 = lean_alloc_ctor(1, 2, 0); -} else { - x_290 = x_289; -} -lean_ctor_set(x_290, 0, x_287); -lean_ctor_set(x_290, 1, x_288); -return x_290; -} +uint8_t x_305; +x_305 = !lean_is_exclusive(x_297); +if (x_305 == 0) +{ +return x_297; } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_132); -lean_dec(x_130); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_291 = lean_ctor_get(x_237, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_237, 1); -lean_inc(x_292); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_293 = x_237; -} else { - lean_dec_ref(x_237); - x_293 = lean_box(0); -} -if (lean_is_scalar(x_293)) { - x_294 = lean_alloc_ctor(1, 2, 0); -} else { - x_294 = x_293; -} -lean_ctor_set(x_294, 0, x_291); -lean_ctor_set(x_294, 1, x_292); -return x_294; -} -} -} -} -block_137: -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = l_Lean_TSyntax_getString(x_132); -lean_dec(x_132); -x_135 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_135, 0, x_134); -if (lean_is_scalar(x_130)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_130; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_133); -return x_136; -} -} -else -{ -uint8_t x_295; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_295 = !lean_is_exclusive(x_127); -if (x_295 == 0) -{ -return x_127; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_296 = lean_ctor_get(x_127, 0); -x_297 = lean_ctor_get(x_127, 1); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_127); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_296); -lean_ctor_set(x_298, 1, x_297); -return x_298; -} -} -} -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_299 = lean_unsigned_to_nat(1u); -x_300 = l_Lean_Syntax_getArg(x_1, x_299); -lean_dec(x_1); -x_301 = l_Lean_TSyntax_getString(x_300); -lean_dec(x_300); -x_302 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_302, 0, x_301); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_10); -return x_303; -} -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_304 = lean_unsigned_to_nat(1u); -x_305 = l_Lean_Syntax_getArg(x_1, x_304); -lean_dec(x_1); -x_306 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote(x_305); -x_307 = l_Lean_Doc_elabInline___closed__33; -x_308 = lean_alloc_ctor(10, 2, 0); +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_297, 0); +x_307 = lean_ctor_get(x_297, 1); +lean_inc(x_307); +lean_inc(x_306); +lean_dec(x_297); +x_308 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_308, 0, x_306); lean_ctor_set(x_308, 1, x_307); -x_309 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_10); -return x_309; +return x_308; +} +} } } else { -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_310 = lean_unsigned_to_nat(1u); -x_311 = l_Lean_Syntax_getArg(x_1, x_310); -x_312 = lean_unsigned_to_nat(3u); -x_313 = l_Lean_Syntax_getArg(x_1, x_312); -x_314 = l_Lean_Doc_elabInline___closed__35; -lean_inc(x_313); -x_315 = l_Lean_Syntax_isOfKind(x_313, x_314); +lean_object* x_309; lean_object* x_310; lean_object* x_311; size_t x_312; size_t x_313; lean_object* x_314; +x_309 = lean_unsigned_to_nat(1u); +x_310 = l_Lean_Syntax_getArg(x_1, x_309); +lean_dec(x_1); +x_311 = l_Lean_Syntax_getArgs(x_310); +lean_dec(x_310); +x_312 = lean_array_size(x_311); +x_313 = 0; +x_314 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_312, x_313, x_311, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_314) == 0) +{ +uint8_t x_315; +x_315 = !lean_is_exclusive(x_314); if (x_315 == 0) { -lean_object* x_316; uint8_t x_317; -x_316 = l_Lean_Doc_elabInline___closed__37; -lean_inc(x_313); -x_317 = l_Lean_Syntax_isOfKind(x_313, x_316); -if (x_317 == 0) +lean_object* x_316; lean_object* x_317; +x_316 = lean_ctor_get(x_314, 0); +x_317 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_314, 0, x_317); +return x_314; +} +else { lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_dec(x_313); -lean_dec(x_311); -x_318 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_319 = l_Lean_MessageData_ofSyntax(x_1); -x_320 = lean_alloc_ctor(7, 2, 0); +x_318 = lean_ctor_get(x_314, 0); +x_319 = lean_ctor_get(x_314, 1); +lean_inc(x_319); +lean_inc(x_318); +lean_dec(x_314); +x_320 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -x_321 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_320, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); +x_321 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_319); return x_321; } -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_322 = l_Lean_Syntax_getArg(x_313, x_310); -lean_dec(x_313); -x_323 = l_Lean_TSyntax_getString(x_311); -lean_dec(x_311); -x_324 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage(x_323, x_322); -x_325 = l_Lean_Doc_elabInline___closed__33; -x_326 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -x_327 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_327, 0, x_326); -lean_ctor_set(x_327, 1, x_10); -return x_327; -} } else { -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_328 = l_Lean_Syntax_getArg(x_313, x_310); -lean_dec(x_313); -x_329 = l_Lean_TSyntax_getString(x_311); -lean_dec(x_311); -x_330 = l_Lean_TSyntax_getString(x_328); -lean_dec(x_328); -x_331 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_331, 0, x_329); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_10); -return x_332; +uint8_t x_322; +x_322 = !lean_is_exclusive(x_314); +if (x_322 == 0) +{ +return x_314; +} +else +{ +lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_323 = lean_ctor_get(x_314, 0); +x_324 = lean_ctor_get(x_314, 1); +lean_inc(x_324); +lean_inc(x_323); +lean_dec(x_314); +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_323); +lean_ctor_set(x_325, 1, x_324); +return x_325; +} } } } else { -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; -x_333 = lean_unsigned_to_nat(1u); -x_334 = l_Lean_Syntax_getArg(x_1, x_333); -x_335 = lean_unsigned_to_nat(3u); -x_336 = l_Lean_Syntax_getArg(x_1, x_335); -x_337 = l_Lean_Doc_elabInline___closed__35; -lean_inc(x_336); -x_338 = l_Lean_Syntax_isOfKind(x_336, x_337); -if (x_338 == 0) +lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; +x_326 = lean_unsigned_to_nat(0u); +x_327 = l_Lean_Syntax_getArg(x_1, x_326); +x_328 = l_Lean_Doc_DocArg_ofSyntax___closed__10; +lean_inc(x_327); +x_329 = l_Lean_Syntax_isOfKind(x_327, x_328); +if (x_329 == 0) { -lean_object* x_339; uint8_t x_340; -x_339 = l_Lean_Doc_elabInline___closed__37; -lean_inc(x_336); -x_340 = l_Lean_Syntax_isOfKind(x_336, x_339); -if (x_340 == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -lean_dec(x_336); -lean_dec(x_334); -x_341 = l_Lean_Doc_elabInline___closed__23; +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +lean_dec(x_327); +x_330 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_342 = l_Lean_MessageData_ofSyntax(x_1); -x_343 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_343, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_331 = l_Lean_MessageData_ofSyntax(x_1); +x_332 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_332, 0, x_330); +lean_ctor_set(x_332, 1, x_331); +x_333 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_332, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_344; +return x_333; } else { -lean_object* x_345; size_t x_346; size_t x_347; lean_object* x_348; +lean_object* x_334; lean_object* x_335; lean_object* x_336; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); lean_dec(x_1); -x_345 = l_Lean_Syntax_getArgs(x_334); -lean_dec(x_334); -x_346 = lean_array_size(x_345); -x_347 = 0; -x_348 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_346, x_347, x_345, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_348) == 0) -{ -uint8_t x_349; -x_349 = !lean_is_exclusive(x_348); -if (x_349 == 0) -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_350 = lean_ctor_get(x_348, 0); -x_351 = l_Lean_Syntax_getArg(x_336, x_333); -lean_dec(x_336); -x_352 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_351); -x_353 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_350); -lean_ctor_set(x_348, 0, x_353); -return x_348; +x_334 = l_Lean_TSyntax_getString(x_327); +lean_dec(x_327); +x_335 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_335, 0, x_334); +x_336 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_11); +return x_336; } -else -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_354 = lean_ctor_get(x_348, 0); -x_355 = lean_ctor_get(x_348, 1); -lean_inc(x_355); -lean_inc(x_354); -lean_dec(x_348); -x_356 = l_Lean_Syntax_getArg(x_336, x_333); -lean_dec(x_336); -x_357 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_356); -x_358 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_354); -x_359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_355); -return x_359; } } else { -uint8_t x_360; -lean_dec(x_336); -x_360 = !lean_is_exclusive(x_348); +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; lean_object* x_350; uint8_t x_351; lean_object* x_352; lean_object* x_353; uint8_t x_354; lean_object* x_355; lean_object* x_356; +x_337 = lean_ctor_get(x_9, 0); +x_338 = lean_ctor_get(x_9, 1); +x_339 = lean_ctor_get(x_9, 2); +x_340 = lean_ctor_get(x_9, 3); +x_341 = lean_ctor_get(x_9, 4); +x_342 = lean_ctor_get(x_9, 5); +x_343 = lean_ctor_get(x_9, 6); +x_344 = lean_ctor_get(x_9, 7); +x_345 = lean_ctor_get(x_9, 8); +x_346 = lean_ctor_get(x_9, 9); +x_347 = lean_ctor_get(x_9, 10); +x_348 = lean_ctor_get(x_9, 11); +x_349 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_350 = lean_ctor_get(x_9, 12); +x_351 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_352 = lean_ctor_get(x_9, 13); +lean_inc(x_352); +lean_inc(x_350); +lean_inc(x_348); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_inc(x_342); +lean_inc(x_341); +lean_inc(x_340); +lean_inc(x_339); +lean_inc(x_338); +lean_inc(x_337); +lean_dec(x_9); +x_353 = l_Lean_Doc_elabInline___closed__1; +lean_inc(x_1); +x_354 = l_Lean_Syntax_isOfKind(x_1, x_353); +x_355 = l_Lean_replaceRef(x_1, x_342); +lean_dec(x_342); +x_356 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_356, 0, x_337); +lean_ctor_set(x_356, 1, x_338); +lean_ctor_set(x_356, 2, x_339); +lean_ctor_set(x_356, 3, x_340); +lean_ctor_set(x_356, 4, x_341); +lean_ctor_set(x_356, 5, x_355); +lean_ctor_set(x_356, 6, x_343); +lean_ctor_set(x_356, 7, x_344); +lean_ctor_set(x_356, 8, x_345); +lean_ctor_set(x_356, 9, x_346); +lean_ctor_set(x_356, 10, x_347); +lean_ctor_set(x_356, 11, x_348); +lean_ctor_set(x_356, 12, x_350); +lean_ctor_set(x_356, 13, x_352); +lean_ctor_set_uint8(x_356, sizeof(void*)*14, x_349); +lean_ctor_set_uint8(x_356, sizeof(void*)*14 + 1, x_351); +if (x_354 == 0) +{ +lean_object* x_357; uint8_t x_358; +x_357 = l_Lean_Doc_elabInline___closed__3; +lean_inc(x_1); +x_358 = l_Lean_Syntax_isOfKind(x_1, x_357); +if (x_358 == 0) +{ +lean_object* x_359; uint8_t x_360; +x_359 = l_Lean_Doc_elabInline___closed__5; +lean_inc(x_1); +x_360 = l_Lean_Syntax_isOfKind(x_1, x_359); if (x_360 == 0) { -return x_348; -} -else +lean_object* x_361; uint8_t x_362; +x_361 = l_Lean_Doc_elabInline___closed__7; +lean_inc(x_1); +x_362 = l_Lean_Syntax_isOfKind(x_1, x_361); +if (x_362 == 0) { -lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_361 = lean_ctor_get(x_348, 0); -x_362 = lean_ctor_get(x_348, 1); -lean_inc(x_362); -lean_inc(x_361); -lean_dec(x_348); -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_361); -lean_ctor_set(x_363, 1, x_362); -return x_363; -} -} -} -} -else +lean_object* x_363; uint8_t x_364; +x_363 = l_Lean_Doc_elabInline___closed__9; +lean_inc(x_1); +x_364 = l_Lean_Syntax_isOfKind(x_1, x_363); +if (x_364 == 0) { -lean_object* x_364; size_t x_365; size_t x_366; lean_object* x_367; -lean_dec(x_1); -x_364 = l_Lean_Syntax_getArgs(x_334); -lean_dec(x_334); -x_365 = lean_array_size(x_364); -x_366 = 0; -x_367 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_365, x_366, x_364, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_367) == 0) +lean_object* x_365; uint8_t x_366; +x_365 = l_Lean_Doc_elabInline___closed__11; +lean_inc(x_1); +x_366 = l_Lean_Syntax_isOfKind(x_1, x_365); +if (x_366 == 0) { -uint8_t x_368; -x_368 = !lean_is_exclusive(x_367); +lean_object* x_367; uint8_t x_368; +x_367 = l_Lean_Doc_elabInline___closed__13; +lean_inc(x_1); +x_368 = l_Lean_Syntax_isOfKind(x_1, x_367); if (x_368 == 0) { -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_369 = lean_ctor_get(x_367, 0); -x_370 = l_Lean_Syntax_getArg(x_336, x_333); -lean_dec(x_336); -x_371 = l_Lean_TSyntax_getString(x_370); -lean_dec(x_370); -x_372 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_372, 0, x_369); -lean_ctor_set(x_372, 1, x_371); -lean_ctor_set(x_367, 0, x_372); -return x_367; -} -else +lean_object* x_369; uint8_t x_370; +x_369 = l_Lean_Doc_elabInline___closed__15; +lean_inc(x_1); +x_370 = l_Lean_Syntax_isOfKind(x_1, x_369); +if (x_370 == 0) { -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_373 = lean_ctor_get(x_367, 0); -x_374 = lean_ctor_get(x_367, 1); -lean_inc(x_374); -lean_inc(x_373); -lean_dec(x_367); -x_375 = l_Lean_Syntax_getArg(x_336, x_333); -lean_dec(x_336); -x_376 = l_Lean_TSyntax_getString(x_375); -lean_dec(x_375); -x_377 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_377, 0, x_373); -lean_ctor_set(x_377, 1, x_376); -x_378 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_374); -return x_378; -} -} -else +lean_object* x_371; uint8_t x_372; +x_371 = l_Lean_Doc_elabInline___closed__17; +lean_inc(x_1); +x_372 = l_Lean_Syntax_isOfKind(x_1, x_371); +if (x_372 == 0) { -uint8_t x_379; -lean_dec(x_336); -x_379 = !lean_is_exclusive(x_367); -if (x_379 == 0) +lean_object* x_373; uint8_t x_374; +x_373 = l_Lean_Doc_elabInline___closed__19; +lean_inc(x_1); +x_374 = l_Lean_Syntax_isOfKind(x_1, x_373); +if (x_374 == 0) { -return x_367; -} -else +lean_object* x_375; uint8_t x_376; +x_375 = l_Lean_Doc_elabInline___closed__21; +lean_inc(x_1); +x_376 = l_Lean_Syntax_isOfKind(x_1, x_375); +if (x_376 == 0) { -lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_380 = lean_ctor_get(x_367, 0); -x_381 = lean_ctor_get(x_367, 1); -lean_inc(x_381); -lean_inc(x_380); -lean_dec(x_367); -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -return x_382; -} -} -} -} -} -else -{ -lean_object* x_383; lean_object* x_384; lean_object* x_385; size_t x_386; size_t x_387; lean_object* x_388; -x_383 = lean_unsigned_to_nat(1u); -x_384 = l_Lean_Syntax_getArg(x_1, x_383); +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_377 = l_Lean_Doc_elabInline___closed__23; +lean_inc(x_1); +x_378 = l_Lean_MessageData_ofSyntax(x_1); +x_379 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_379, 0, x_377); +lean_ctor_set(x_379, 1, x_378); +x_380 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_379, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); lean_dec(x_1); -x_385 = l_Lean_Syntax_getArgs(x_384); -lean_dec(x_384); -x_386 = lean_array_size(x_385); -x_387 = 0; -x_388 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_386, x_387, x_385, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_388) == 0) -{ -uint8_t x_389; -x_389 = !lean_is_exclusive(x_388); -if (x_389 == 0) -{ -lean_object* x_390; lean_object* x_391; -x_390 = lean_ctor_get(x_388, 0); -x_391 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_388, 0, x_391); -return x_388; +return x_380; } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -x_392 = lean_ctor_get(x_388, 0); -x_393 = lean_ctor_get(x_388, 1); -lean_inc(x_393); -lean_inc(x_392); +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_381 = lean_unsigned_to_nat(1u); +x_382 = l_Lean_Syntax_getArg(x_1, x_381); +lean_inc(x_382); +x_383 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_383, 0, x_382); +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_384 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_383, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_384) == 0) +{ +lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; size_t x_395; size_t x_396; lean_object* x_397; +x_385 = lean_ctor_get(x_384, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_384, 1); +lean_inc(x_386); +lean_dec_ref(x_384); +x_387 = lean_unsigned_to_nat(2u); +x_388 = l_Lean_Syntax_getArg(x_1, x_387); +x_389 = lean_unsigned_to_nat(5u); +x_390 = l_Lean_Syntax_getArg(x_1, x_389); +lean_dec(x_1); +x_391 = l_Lean_Syntax_getArgs(x_390); +lean_dec(x_390); +x_392 = l_Lean_Syntax_getArgs(x_388); lean_dec(x_388); -x_394 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_394, 0, x_392); -x_395 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -return x_395; -} -} -else +x_393 = lean_box(0); +x_394 = l_Lean_Doc_elabInline___closed__24; +x_395 = lean_array_size(x_385); +x_396 = 0; +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_397 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_391, x_392, x_393, x_394, x_385, x_395, x_396, x_394, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_386); +lean_dec(x_385); +if (lean_obj_tag(x_397) == 0) { -uint8_t x_396; -x_396 = !lean_is_exclusive(x_388); -if (x_396 == 0) -{ -return x_388; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_397 = lean_ctor_get(x_388, 0); -x_398 = lean_ctor_get(x_388, 1); +lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_398 = lean_ctor_get(x_397, 0); lean_inc(x_398); -lean_inc(x_397); -lean_dec(x_388); -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_397); -lean_ctor_set(x_399, 1, x_398); -return x_399; +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); +if (lean_is_exclusive(x_398)) { + lean_ctor_release(x_398, 0); + lean_ctor_release(x_398, 1); + x_400 = x_398; +} else { + lean_dec_ref(x_398); + x_400 = lean_box(0); } -} -} -} -else +if (lean_obj_tag(x_399) == 0) { -lean_object* x_400; lean_object* x_401; lean_object* x_402; size_t x_403; size_t x_404; lean_object* x_405; -x_400 = lean_unsigned_to_nat(1u); -x_401 = l_Lean_Syntax_getArg(x_1, x_400); -lean_dec(x_1); -x_402 = l_Lean_Syntax_getArgs(x_401); -lean_dec(x_401); -x_403 = lean_array_size(x_402); -x_404 = 0; -x_405 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_403, x_404, x_402, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_405) == 0) -{ -uint8_t x_406; -x_406 = !lean_is_exclusive(x_405); -if (x_406 == 0) -{ -lean_object* x_407; lean_object* x_408; -x_407 = lean_ctor_get(x_405, 0); -x_408 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_405, 0, x_408); -return x_405; +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_401 = lean_ctor_get(x_397, 1); +lean_inc(x_401); +lean_dec_ref(x_397); +x_402 = l_Lean_Doc_elabInline___closed__26; +lean_inc(x_382); +x_403 = l_Lean_MessageData_ofSyntax(x_382); +if (lean_is_scalar(x_400)) { + x_404 = lean_alloc_ctor(7, 2, 0); +} else { + x_404 = x_400; + lean_ctor_set_tag(x_404, 7); } -else -{ -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_409 = lean_ctor_get(x_405, 0); -x_410 = lean_ctor_get(x_405, 1); -lean_inc(x_410); -lean_inc(x_409); -lean_dec(x_405); -x_411 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_411, 0, x_409); -x_412 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_412, 0, x_411); -lean_ctor_set(x_412, 1, x_410); -return x_412; -} -} -else -{ -uint8_t x_413; -x_413 = !lean_is_exclusive(x_405); -if (x_413 == 0) -{ -return x_405; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; -x_414 = lean_ctor_get(x_405, 0); -x_415 = lean_ctor_get(x_405, 1); -lean_inc(x_415); -lean_inc(x_414); -lean_dec(x_405); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_414); -lean_ctor_set(x_416, 1, x_415); -return x_416; -} -} -} -} -else -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; uint8_t x_420; -x_417 = lean_unsigned_to_nat(0u); -x_418 = l_Lean_Syntax_getArg(x_1, x_417); -x_419 = l_Lean_Doc_DocArg_ofSyntax___closed__10; -lean_inc(x_418); -x_420 = l_Lean_Syntax_isOfKind(x_418, x_419); -if (x_420 == 0) -{ -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; -lean_dec(x_418); -x_421 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_422 = l_Lean_MessageData_ofSyntax(x_1); -x_423 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_423, 0, x_421); -lean_ctor_set(x_423, 1, x_422); -x_424 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_423, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_ctor_set(x_404, 0, x_402); +lean_ctor_set(x_404, 1, x_403); +x_405 = l_Lean_Doc_getPositional___redArg___closed__40; +x_406 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_406, 0, x_404); +lean_ctor_set(x_406, 1, x_405); +x_407 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_382, x_406, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_401); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_424; +lean_dec_ref(x_2); +lean_dec(x_382); +return x_407; } else { -lean_object* x_425; lean_object* x_426; lean_object* x_427; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_425 = l_Lean_TSyntax_getString(x_418); -lean_dec(x_418); -x_426 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_426, 0, x_425); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_10); -return x_427; -} -} -} -else -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; uint8_t x_440; lean_object* x_441; uint8_t x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; lean_object* x_446; lean_object* x_447; -x_428 = lean_ctor_get(x_8, 0); -x_429 = lean_ctor_get(x_8, 1); -x_430 = lean_ctor_get(x_8, 2); -x_431 = lean_ctor_get(x_8, 3); -x_432 = lean_ctor_get(x_8, 4); -x_433 = lean_ctor_get(x_8, 5); -x_434 = lean_ctor_get(x_8, 6); -x_435 = lean_ctor_get(x_8, 7); -x_436 = lean_ctor_get(x_8, 8); -x_437 = lean_ctor_get(x_8, 9); -x_438 = lean_ctor_get(x_8, 10); -x_439 = lean_ctor_get(x_8, 11); -x_440 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_441 = lean_ctor_get(x_8, 12); -x_442 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_443 = lean_ctor_get(x_8, 13); -lean_inc(x_443); -lean_inc(x_441); -lean_inc(x_439); -lean_inc(x_438); -lean_inc(x_437); -lean_inc(x_436); -lean_inc(x_435); -lean_inc(x_434); -lean_inc(x_433); -lean_inc(x_432); -lean_inc(x_431); -lean_inc(x_430); -lean_inc(x_429); -lean_inc(x_428); +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; +lean_dec(x_400); +lean_dec(x_382); +lean_dec_ref(x_356); +lean_dec(x_10); lean_dec(x_8); -x_444 = l_Lean_Doc_elabInline___closed__1; +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_408 = lean_ctor_get(x_397, 1); +lean_inc(x_408); +if (lean_is_exclusive(x_397)) { + lean_ctor_release(x_397, 0); + lean_ctor_release(x_397, 1); + x_409 = x_397; +} else { + lean_dec_ref(x_397); + x_409 = lean_box(0); +} +x_410 = lean_ctor_get(x_399, 0); +lean_inc(x_410); +lean_dec_ref(x_399); +if (lean_is_scalar(x_409)) { + x_411 = lean_alloc_ctor(0, 2, 0); +} else { + x_411 = x_409; +} +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_408); +return x_411; +} +} +else +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; +lean_dec(x_382); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_412 = lean_ctor_get(x_397, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_397, 1); +lean_inc(x_413); +if (lean_is_exclusive(x_397)) { + lean_ctor_release(x_397, 0); + lean_ctor_release(x_397, 1); + x_414 = x_397; +} else { + lean_dec_ref(x_397); + x_414 = lean_box(0); +} +if (lean_is_scalar(x_414)) { + x_415 = lean_alloc_ctor(1, 2, 0); +} else { + x_415 = x_414; +} +lean_ctor_set(x_415, 0, x_412); +lean_ctor_set(x_415, 1, x_413); +return x_415; +} +} +else +{ +lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +lean_dec(x_382); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_416 = lean_ctor_get(x_384, 0); +lean_inc(x_416); +x_417 = lean_ctor_get(x_384, 1); +lean_inc(x_417); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + x_418 = x_384; +} else { + lean_dec_ref(x_384); + x_418 = lean_box(0); +} +if (lean_is_scalar(x_418)) { + x_419 = lean_alloc_ctor(1, 2, 0); +} else { + x_419 = x_418; +} +lean_ctor_set(x_419, 0, x_416); +lean_ctor_set(x_419, 1, x_417); +return x_419; +} +} +} +else +{ +lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_420 = lean_unsigned_to_nat(1u); +x_421 = l_Lean_Syntax_getArg(x_1, x_420); +lean_inc(x_421); +x_422 = l_Lean_Syntax_isOfKind(x_421, x_369); +if (x_422 == 0) +{ +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_421); +x_423 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_445 = l_Lean_Syntax_isOfKind(x_1, x_444); -x_446 = l_Lean_replaceRef(x_1, x_433); +x_424 = l_Lean_MessageData_ofSyntax(x_1); +x_425 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_425, 0, x_423); +lean_ctor_set(x_425, 1, x_424); +x_426 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_425, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_426; +} +else +{ +lean_object* x_427; uint8_t x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_427 = l_Lean_Syntax_getArg(x_421, x_420); +lean_dec(x_421); +x_428 = 1; +x_429 = l_Lean_TSyntax_getString(x_427); +lean_dec(x_427); +x_430 = lean_alloc_ctor(4, 1, 1); +lean_ctor_set(x_430, 0, x_429); +lean_ctor_set_uint8(x_430, sizeof(void*)*1, x_428); +x_431 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_11); +return x_431; +} +} +} +else +{ +lean_object* x_432; lean_object* x_433; uint8_t x_434; +x_432 = lean_unsigned_to_nat(1u); +x_433 = l_Lean_Syntax_getArg(x_1, x_432); +lean_inc(x_433); +x_434 = l_Lean_Syntax_isOfKind(x_433, x_369); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_dec(x_433); -x_447 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_447, 0, x_428); -lean_ctor_set(x_447, 1, x_429); -lean_ctor_set(x_447, 2, x_430); -lean_ctor_set(x_447, 3, x_431); -lean_ctor_set(x_447, 4, x_432); -lean_ctor_set(x_447, 5, x_446); -lean_ctor_set(x_447, 6, x_434); -lean_ctor_set(x_447, 7, x_435); -lean_ctor_set(x_447, 8, x_436); -lean_ctor_set(x_447, 9, x_437); -lean_ctor_set(x_447, 10, x_438); -lean_ctor_set(x_447, 11, x_439); -lean_ctor_set(x_447, 12, x_441); -lean_ctor_set(x_447, 13, x_443); -lean_ctor_set_uint8(x_447, sizeof(void*)*14, x_440); -lean_ctor_set_uint8(x_447, sizeof(void*)*14 + 1, x_442); -if (x_445 == 0) -{ -lean_object* x_448; uint8_t x_449; -x_448 = l_Lean_Doc_elabInline___closed__3; +x_435 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_449 = l_Lean_Syntax_isOfKind(x_1, x_448); -if (x_449 == 0) +x_436 = l_Lean_MessageData_ofSyntax(x_1); +x_437 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_436); +x_438 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_437, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_438; +} +else { -lean_object* x_450; uint8_t x_451; -x_450 = l_Lean_Doc_elabInline___closed__5; -lean_inc(x_1); -x_451 = l_Lean_Syntax_isOfKind(x_1, x_450); -if (x_451 == 0) +lean_object* x_439; uint8_t x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_439 = l_Lean_Syntax_getArg(x_433, x_432); +lean_dec(x_433); +x_440 = 0; +x_441 = l_Lean_TSyntax_getString(x_439); +lean_dec(x_439); +x_442 = lean_alloc_ctor(4, 1, 1); +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set_uint8(x_442, sizeof(void*)*1, x_440); +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_11); +return x_443; +} +} +} +else { -lean_object* x_452; uint8_t x_453; -x_452 = l_Lean_Doc_elabInline___closed__7; -lean_inc(x_1); -x_453 = l_Lean_Syntax_isOfKind(x_1, x_452); -if (x_453 == 0) +lean_object* x_444; lean_object* x_445; +x_444 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_445 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_444, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_445) == 0) { -lean_object* x_454; uint8_t x_455; -x_454 = l_Lean_Doc_elabInline___closed__9; -lean_inc(x_1); -x_455 = l_Lean_Syntax_isOfKind(x_1, x_454); -if (x_455 == 0) -{ -lean_object* x_456; uint8_t x_457; -x_456 = l_Lean_Doc_elabInline___closed__11; -lean_inc(x_1); -x_457 = l_Lean_Syntax_isOfKind(x_1, x_456); +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_456; uint8_t x_457; +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_445, 1); +lean_inc(x_447); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_448 = x_445; +} else { + lean_dec_ref(x_445); + x_448 = lean_box(0); +} +x_449 = lean_unsigned_to_nat(1u); +x_450 = l_Lean_Syntax_getArg(x_1, x_449); +x_456 = l_Lean_Doc_elabInline___closed__27; +x_457 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_446, x_456); +lean_dec(x_446); if (x_457 == 0) { -lean_object* x_458; uint8_t x_459; -x_458 = l_Lean_Doc_elabInline___closed__13; -lean_inc(x_1); -x_459 = l_Lean_Syntax_isOfKind(x_1, x_458); -if (x_459 == 0) -{ -lean_object* x_460; uint8_t x_461; -x_460 = l_Lean_Doc_elabInline___closed__15; -lean_inc(x_1); -x_461 = l_Lean_Syntax_isOfKind(x_1, x_460); -if (x_461 == 0) -{ -lean_object* x_462; uint8_t x_463; -x_462 = l_Lean_Doc_elabInline___closed__17; -lean_inc(x_1); -x_463 = l_Lean_Syntax_isOfKind(x_1, x_462); -if (x_463 == 0) -{ -lean_object* x_464; uint8_t x_465; -x_464 = l_Lean_Doc_elabInline___closed__19; -lean_inc(x_1); -x_465 = l_Lean_Syntax_isOfKind(x_1, x_464); -if (x_465 == 0) -{ -lean_object* x_466; uint8_t x_467; -x_466 = l_Lean_Doc_elabInline___closed__21; -lean_inc(x_1); -x_467 = l_Lean_Syntax_isOfKind(x_1, x_466); -if (x_467 == 0) -{ -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; -x_468 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_469 = l_Lean_MessageData_ofSyntax(x_1); -x_470 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_470, 0, x_468); -lean_ctor_set(x_470, 1, x_469); -x_471 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_470, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_471; +x_451 = x_447; +goto block_455; } else { -lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; -x_472 = lean_unsigned_to_nat(1u); -x_473 = l_Lean_Syntax_getArg(x_1, x_472); -x_474 = lean_box(0); -lean_inc(x_473); -x_475 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_475, 0, x_473); -lean_closure_set(x_475, 1, x_474); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_476 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_475, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_476) == 0) +lean_object* x_458; +x_458 = l_Lean_Syntax_getRange_x3f(x_1, x_368); +if (lean_obj_tag(x_458) == 0) { -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_477 = lean_ctor_get(x_476, 0); -lean_inc(x_477); -x_478 = lean_ctor_get(x_476, 1); -lean_inc(x_478); -lean_dec_ref(x_476); -x_479 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_479, 0, x_477); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_480 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_479, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_478); -if (lean_obj_tag(x_480) == 0) -{ -lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; size_t x_491; size_t x_492; lean_object* x_493; -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_480, 1); -lean_inc(x_482); -lean_dec_ref(x_480); -x_483 = lean_unsigned_to_nat(2u); -x_484 = l_Lean_Syntax_getArg(x_1, x_483); -x_485 = lean_unsigned_to_nat(5u); -x_486 = l_Lean_Syntax_getArg(x_1, x_485); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); lean_dec(x_1); -x_487 = l_Lean_Syntax_getArgs(x_486); -lean_dec(x_486); -x_488 = l_Lean_Syntax_getArgs(x_484); -lean_dec(x_484); -x_489 = lean_box(0); -x_490 = l_Lean_Doc_elabInline___closed__24; -x_491 = lean_array_size(x_481); -x_492 = 0; -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_451 = x_447; +goto block_455; +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_459 = lean_ctor_get(x_458, 0); +lean_inc(x_459); +lean_dec_ref(x_458); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); +lean_inc(x_461); +lean_dec(x_459); +x_462 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_463 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_462, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_447); +if (lean_obj_tag(x_463) == 0) +{ +lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; size_t x_468; size_t x_469; lean_object* x_470; +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +x_465 = lean_ctor_get(x_463, 1); +lean_inc(x_465); +lean_dec_ref(x_463); +x_466 = lean_unsigned_to_nat(0u); +x_467 = l_Lean_Doc_elabInline___closed__28; +x_468 = lean_array_size(x_464); +x_469 = 0; +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_493 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_487, x_488, x_489, x_490, x_481, x_491, x_492, x_490, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_482); -lean_dec(x_481); -if (lean_obj_tag(x_493) == 0) +lean_inc_ref(x_2); +lean_inc(x_450); +x_470 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(x_450, x_368, x_464, x_468, x_469, x_467, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_465); +lean_dec(x_464); +if (lean_obj_tag(x_470) == 0) { -lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_494, 0); -lean_inc(x_495); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_496 = x_494; -} else { - lean_dec_ref(x_494); - x_496 = lean_box(0); -} -if (lean_obj_tag(x_495) == 0) +lean_object* x_471; lean_object* x_472; uint8_t x_473; +x_471 = lean_ctor_get(x_470, 0); +lean_inc(x_471); +x_472 = lean_ctor_get(x_470, 1); +lean_inc(x_472); +lean_dec_ref(x_470); +x_473 = l_Array_isEmpty___redArg(x_471); +if (x_473 == 0) { -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_497 = lean_ctor_get(x_493, 1); -lean_inc(x_497); -lean_dec_ref(x_493); -x_498 = l_Lean_Doc_elabInline___closed__26; -lean_inc(x_473); -x_499 = l_Lean_MessageData_ofSyntax(x_473); -if (lean_is_scalar(x_496)) { - x_500 = lean_alloc_ctor(7, 2, 0); -} else { - x_500 = x_496; - lean_ctor_set_tag(x_500, 7); -} -lean_ctor_set(x_500, 0, x_498); -lean_ctor_set(x_500, 1, x_499); -x_501 = l_Lean_Doc_getPositional___redArg___closed__37; -x_502 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_502, 0, x_500); -lean_ctor_set(x_502, 1, x_501); -x_503 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_473, x_502, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_497); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_473); -return x_503; -} -else +lean_object* x_474; lean_object* x_475; +x_474 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__1___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_475 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_474, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_472); +if (lean_obj_tag(x_475) == 0) { -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; -lean_dec(x_496); -lean_dec(x_473); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_504 = lean_ctor_get(x_493, 1); -lean_inc(x_504); -if (lean_is_exclusive(x_493)) { - lean_ctor_release(x_493, 0); - lean_ctor_release(x_493, 1); - x_505 = x_493; -} else { - lean_dec_ref(x_493); - x_505 = lean_box(0); -} -x_506 = lean_ctor_get(x_495, 0); -lean_inc(x_506); -lean_dec_ref(x_495); -if (lean_is_scalar(x_505)) { - x_507 = lean_alloc_ctor(0, 2, 0); -} else { - x_507 = x_505; -} -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_504); -return x_507; -} -} -else -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; -lean_dec(x_473); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_508 = lean_ctor_get(x_493, 0); -lean_inc(x_508); -x_509 = lean_ctor_get(x_493, 1); -lean_inc(x_509); -if (lean_is_exclusive(x_493)) { - lean_ctor_release(x_493, 0); - lean_ctor_release(x_493, 1); - x_510 = x_493; -} else { - lean_dec_ref(x_493); - x_510 = lean_box(0); -} -if (lean_is_scalar(x_510)) { - x_511 = lean_alloc_ctor(1, 2, 0); -} else { - x_511 = x_510; -} -lean_ctor_set(x_511, 0, x_508); -lean_ctor_set(x_511, 1, x_509); -return x_511; -} -} -else -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -lean_dec(x_473); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_512 = lean_ctor_get(x_480, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_480, 1); -lean_inc(x_513); -if (lean_is_exclusive(x_480)) { - lean_ctor_release(x_480, 0); - lean_ctor_release(x_480, 1); - x_514 = x_480; -} else { - lean_dec_ref(x_480); - x_514 = lean_box(0); -} -if (lean_is_scalar(x_514)) { - x_515 = lean_alloc_ctor(1, 2, 0); -} else { - x_515 = x_514; -} -lean_ctor_set(x_515, 0, x_512); -lean_ctor_set(x_515, 1, x_513); -return x_515; -} -} -else -{ -lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; -lean_dec(x_473); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_516 = lean_ctor_get(x_476, 0); -lean_inc(x_516); -x_517 = lean_ctor_get(x_476, 1); -lean_inc(x_517); +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; size_t x_481; lean_object* x_482; +x_476 = lean_ctor_get(x_475, 0); +lean_inc(x_476); +x_477 = lean_ctor_get(x_475, 1); +lean_inc(x_477); +lean_dec_ref(x_475); +x_478 = lean_ctor_get(x_476, 0); +lean_inc_ref(x_478); if (lean_is_exclusive(x_476)) { lean_ctor_release(x_476, 0); lean_ctor_release(x_476, 1); - x_518 = x_476; + x_479 = x_476; } else { lean_dec_ref(x_476); - x_518 = lean_box(0); + x_479 = lean_box(0); } -if (lean_is_scalar(x_518)) { - x_519 = lean_alloc_ctor(1, 2, 0); +x_480 = lean_string_utf8_extract(x_478, x_460, x_461); +lean_dec(x_461); +lean_dec(x_460); +lean_dec_ref(x_478); +x_481 = lean_array_size(x_471); +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_482 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(x_457, x_480, x_481, x_469, x_471, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_477); +lean_dec_ref(x_480); +if (lean_obj_tag(x_482) == 0) +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_503; lean_object* x_504; lean_object* x_507; uint8_t x_508; +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +x_484 = lean_ctor_get(x_482, 1); +lean_inc(x_484); +lean_dec_ref(x_482); +x_507 = lean_array_get_size(x_483); +x_508 = lean_nat_dec_eq(x_507, x_466); +if (x_508 == 0) +{ +lean_object* x_509; lean_object* x_510; uint8_t x_513; +x_509 = lean_nat_sub(x_507, x_449); +lean_dec(x_507); +x_513 = lean_nat_dec_le(x_466, x_509); +if (x_513 == 0) +{ +lean_inc(x_509); +x_510 = x_509; +goto block_512; +} +else +{ +x_510 = x_466; +goto block_512; +} +block_512: +{ +uint8_t x_511; +x_511 = lean_nat_dec_le(x_510, x_509); +if (x_511 == 0) +{ +lean_dec(x_509); +lean_inc(x_510); +x_503 = x_510; +x_504 = x_510; +goto block_506; +} +else +{ +x_503 = x_510; +x_504 = x_509; +goto block_506; +} +} +} +else +{ +lean_dec(x_507); +x_485 = x_483; +goto block_502; +} +block_502: +{ +lean_object* x_486; lean_object* x_487; +x_486 = l_Lean_Doc_elabInline___closed__30; +lean_inc(x_10); +lean_inc_ref(x_356); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_487 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_1, x_486, x_485, x_2, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_484); +if (lean_obj_tag(x_487) == 0) +{ +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec_ref(x_487); +x_490 = l_Lean_Doc_elabInline___closed__32; +if (lean_is_scalar(x_479)) { + x_491 = lean_alloc_ctor(7, 2, 0); } else { - x_519 = x_518; + x_491 = x_479; + lean_ctor_set_tag(x_491, 7); } -lean_ctor_set(x_519, 0, x_516); -lean_ctor_set(x_519, 1, x_517); -return x_519; +lean_ctor_set(x_491, 0, x_490); +lean_ctor_set(x_491, 1, x_488); +x_492 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(x_491, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_489); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_obj_tag(x_492) == 0) +{ +lean_object* x_493; +x_493 = lean_ctor_get(x_492, 1); +lean_inc(x_493); +lean_dec_ref(x_492); +x_451 = x_493; +goto block_455; +} +else +{ +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +lean_dec(x_450); +lean_dec(x_448); +x_494 = lean_ctor_get(x_492, 0); +lean_inc(x_494); +x_495 = lean_ctor_get(x_492, 1); +lean_inc(x_495); +if (lean_is_exclusive(x_492)) { + lean_ctor_release(x_492, 0); + lean_ctor_release(x_492, 1); + x_496 = x_492; +} else { + lean_dec_ref(x_492); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 2, 0); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_494); +lean_ctor_set(x_497, 1, x_495); +return x_497; +} +} +else +{ +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; +lean_dec(x_479); +lean_dec(x_450); +lean_dec(x_448); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_498 = lean_ctor_get(x_487, 0); +lean_inc(x_498); +x_499 = lean_ctor_get(x_487, 1); +lean_inc(x_499); +if (lean_is_exclusive(x_487)) { + lean_ctor_release(x_487, 0); + lean_ctor_release(x_487, 1); + x_500 = x_487; +} else { + lean_dec_ref(x_487); + x_500 = lean_box(0); +} +if (lean_is_scalar(x_500)) { + x_501 = lean_alloc_ctor(1, 2, 0); +} else { + x_501 = x_500; +} +lean_ctor_set(x_501, 0, x_498); +lean_ctor_set(x_501, 1, x_499); +return x_501; +} +} +block_506: +{ +lean_object* x_505; +x_505 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_483, x_503, x_504); +lean_dec(x_504); +x_485 = x_505; +goto block_502; +} +} +else +{ +lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; +lean_dec(x_479); +lean_dec(x_450); +lean_dec(x_448); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_514 = lean_ctor_get(x_482, 0); +lean_inc(x_514); +x_515 = lean_ctor_get(x_482, 1); +lean_inc(x_515); +if (lean_is_exclusive(x_482)) { + lean_ctor_release(x_482, 0); + lean_ctor_release(x_482, 1); + x_516 = x_482; +} else { + lean_dec_ref(x_482); + x_516 = lean_box(0); +} +if (lean_is_scalar(x_516)) { + x_517 = lean_alloc_ctor(1, 2, 0); +} else { + x_517 = x_516; +} +lean_ctor_set(x_517, 0, x_514); +lean_ctor_set(x_517, 1, x_515); +return x_517; +} +} +else +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; +lean_dec(x_471); +lean_dec(x_461); +lean_dec(x_460); +lean_dec(x_450); +lean_dec(x_448); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_518 = lean_ctor_get(x_475, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_475, 1); +lean_inc(x_519); +if (lean_is_exclusive(x_475)) { + lean_ctor_release(x_475, 0); + lean_ctor_release(x_475, 1); + x_520 = x_475; +} else { + lean_dec_ref(x_475); + x_520 = lean_box(0); +} +if (lean_is_scalar(x_520)) { + x_521 = lean_alloc_ctor(1, 2, 0); +} else { + x_521 = x_520; +} +lean_ctor_set(x_521, 0, x_518); +lean_ctor_set(x_521, 1, x_519); +return x_521; +} +} +else +{ +lean_dec(x_471); +lean_dec(x_461); +lean_dec(x_460); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_451 = x_472; +goto block_455; +} +} +else +{ +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +lean_dec(x_461); +lean_dec(x_460); +lean_dec(x_450); +lean_dec(x_448); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_522 = lean_ctor_get(x_470, 0); +lean_inc(x_522); +x_523 = lean_ctor_get(x_470, 1); +lean_inc(x_523); +if (lean_is_exclusive(x_470)) { + lean_ctor_release(x_470, 0); + lean_ctor_release(x_470, 1); + x_524 = x_470; +} else { + lean_dec_ref(x_470); + x_524 = lean_box(0); +} +if (lean_is_scalar(x_524)) { + x_525 = lean_alloc_ctor(1, 2, 0); +} else { + x_525 = x_524; +} +lean_ctor_set(x_525, 0, x_522); +lean_ctor_set(x_525, 1, x_523); +return x_525; +} +} +else +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +lean_dec(x_461); +lean_dec(x_460); +lean_dec(x_450); +lean_dec(x_448); +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_526 = lean_ctor_get(x_463, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_463, 1); +lean_inc(x_527); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + x_528 = x_463; +} else { + lean_dec_ref(x_463); + x_528 = lean_box(0); +} +if (lean_is_scalar(x_528)) { + x_529 = lean_alloc_ctor(1, 2, 0); +} else { + x_529 = x_528; +} +lean_ctor_set(x_529, 0, x_526); +lean_ctor_set(x_529, 1, x_527); +return x_529; +} +} +} +block_455: +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; +x_452 = l_Lean_TSyntax_getString(x_450); +lean_dec(x_450); +x_453 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_453, 0, x_452); +if (lean_is_scalar(x_448)) { + x_454 = lean_alloc_ctor(0, 2, 0); +} else { + x_454 = x_448; +} +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_451); +return x_454; +} +} +else +{ +lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_530 = lean_ctor_get(x_445, 0); +lean_inc(x_530); +x_531 = lean_ctor_get(x_445, 1); +lean_inc(x_531); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_532 = x_445; +} else { + lean_dec_ref(x_445); + x_532 = lean_box(0); +} +if (lean_is_scalar(x_532)) { + x_533 = lean_alloc_ctor(1, 2, 0); +} else { + x_533 = x_532; +} +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_531); +return x_533; } } } else { -lean_object* x_520; lean_object* x_521; uint8_t x_522; -x_520 = lean_unsigned_to_nat(1u); -x_521 = l_Lean_Syntax_getArg(x_1, x_520); -lean_inc(x_521); -x_522 = l_Lean_Syntax_isOfKind(x_521, x_460); -if (x_522 == 0) -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -lean_dec(x_521); -x_523 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_524 = l_Lean_MessageData_ofSyntax(x_1); -x_525 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_525, 0, x_523); -lean_ctor_set(x_525, 1, x_524); -x_526 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_525, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); +lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_526; -} -else -{ -lean_object* x_527; uint8_t x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_527 = l_Lean_Syntax_getArg(x_521, x_520); -lean_dec(x_521); -x_528 = 1; -x_529 = l_Lean_TSyntax_getString(x_527); -lean_dec(x_527); -x_530 = lean_alloc_ctor(4, 1, 1); -lean_ctor_set(x_530, 0, x_529); -lean_ctor_set_uint8(x_530, sizeof(void*)*1, x_528); -x_531 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_531, 0, x_530); -lean_ctor_set(x_531, 1, x_10); -return x_531; -} -} -} -else -{ -lean_object* x_532; lean_object* x_533; uint8_t x_534; -x_532 = lean_unsigned_to_nat(1u); -x_533 = l_Lean_Syntax_getArg(x_1, x_532); -lean_inc(x_533); -x_534 = l_Lean_Syntax_isOfKind(x_533, x_460); -if (x_534 == 0) -{ -lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; -lean_dec(x_533); -x_535 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_536 = l_Lean_MessageData_ofSyntax(x_1); -x_537 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_537, 0, x_535); -lean_ctor_set(x_537, 1, x_536); -x_538 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_537, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); +x_534 = lean_unsigned_to_nat(1u); +x_535 = l_Lean_Syntax_getArg(x_1, x_534); lean_dec(x_1); +x_536 = l_Lean_TSyntax_getString(x_535); +lean_dec(x_535); +x_537 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_537, 0, x_536); +x_538 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_538, 0, x_537); +lean_ctor_set(x_538, 1, x_11); return x_538; } +} else { -lean_object* x_539; uint8_t x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); +x_539 = lean_unsigned_to_nat(1u); +x_540 = l_Lean_Syntax_getArg(x_1, x_539); lean_dec(x_1); -x_539 = l_Lean_Syntax_getArg(x_533, x_532); -lean_dec(x_533); -x_540 = 0; -x_541 = l_Lean_TSyntax_getString(x_539); -lean_dec(x_539); -x_542 = lean_alloc_ctor(4, 1, 1); -lean_ctor_set(x_542, 0, x_541); -lean_ctor_set_uint8(x_542, sizeof(void*)*1, x_540); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_10); -return x_543; -} +x_541 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote(x_540); +x_542 = l_Lean_Doc_elabInline___closed__33; +x_543 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_543, 0, x_541); +lean_ctor_set(x_543, 1, x_542); +x_544 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_11); +return x_544; } } else { -lean_object* x_544; lean_object* x_545; -x_544 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__1___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_545 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_544, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_545) == 0) +lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; uint8_t x_550; +x_545 = lean_unsigned_to_nat(1u); +x_546 = l_Lean_Syntax_getArg(x_1, x_545); +x_547 = lean_unsigned_to_nat(3u); +x_548 = l_Lean_Syntax_getArg(x_1, x_547); +x_549 = l_Lean_Doc_elabInline___closed__35; +lean_inc(x_548); +x_550 = l_Lean_Syntax_isOfKind(x_548, x_549); +if (x_550 == 0) { -lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_556; uint8_t x_557; -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -x_547 = lean_ctor_get(x_545, 1); -lean_inc(x_547); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - lean_ctor_release(x_545, 1); - x_548 = x_545; -} else { - lean_dec_ref(x_545); - x_548 = lean_box(0); -} -x_549 = lean_unsigned_to_nat(1u); -x_550 = l_Lean_Syntax_getArg(x_1, x_549); -x_556 = l_Lean_Doc_elabInline___closed__27; -x_557 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_546, x_556); +lean_object* x_551; uint8_t x_552; +x_551 = l_Lean_Doc_elabInline___closed__37; +lean_inc(x_548); +x_552 = l_Lean_Syntax_isOfKind(x_548, x_551); +if (x_552 == 0) +{ +lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; +lean_dec(x_548); lean_dec(x_546); -if (x_557 == 0) -{ -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +x_553 = l_Lean_Doc_elabInline___closed__23; +lean_inc(x_1); +x_554 = l_Lean_MessageData_ofSyntax(x_1); +x_555 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_555, 0, x_553); +lean_ctor_set(x_555, 1, x_554); +x_556 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_555, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_551 = x_547; -goto block_555; +return x_556; } else { -lean_object* x_558; -x_558 = l_Lean_Syntax_getRange_x3f(x_1, x_459); -if (lean_obj_tag(x_558) == 0) -{ -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_551 = x_547; -goto block_555; +x_557 = l_Lean_Syntax_getArg(x_548, x_545); +lean_dec(x_548); +x_558 = l_Lean_TSyntax_getString(x_546); +lean_dec(x_546); +x_559 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage(x_558, x_557); +x_560 = l_Lean_Doc_elabInline___closed__33; +x_561 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_561, 0, x_559); +lean_ctor_set(x_561, 1, x_560); +x_562 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_562, 0, x_561); +lean_ctor_set(x_562, 1, x_11); +return x_562; +} } else { -lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -if (lean_is_exclusive(x_558)) { - lean_ctor_release(x_558, 0); - x_560 = x_558; -} else { - lean_dec_ref(x_558); - x_560 = lean_box(0); +lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_563 = l_Lean_Syntax_getArg(x_548, x_545); +lean_dec(x_548); +x_564 = l_Lean_TSyntax_getString(x_546); +lean_dec(x_546); +x_565 = l_Lean_TSyntax_getString(x_563); +lean_dec(x_563); +x_566 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_566, 0, x_564); +lean_ctor_set(x_566, 1, x_565); +x_567 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_567, 0, x_566); +lean_ctor_set(x_567, 1, x_11); +return x_567; } -x_561 = lean_ctor_get(x_559, 0); -lean_inc(x_561); -x_562 = lean_ctor_get(x_559, 1); -lean_inc(x_562); -lean_dec(x_559); -x_563 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionsUnsafe___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_564 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_563, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_547); -if (lean_obj_tag(x_564) == 0) +} +} +else { -lean_object* x_565; lean_object* x_566; lean_object* x_567; size_t x_568; size_t x_569; lean_object* x_570; -x_565 = lean_ctor_get(x_564, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_564, 1); -lean_inc(x_566); -lean_dec_ref(x_564); -x_567 = l_Lean_Doc_elabInline___closed__28; -x_568 = lean_array_size(x_565); -x_569 = 0; -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_550); -x_570 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(x_550, x_565, x_568, x_569, x_567, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_566); -lean_dec(x_565); -if (lean_obj_tag(x_570) == 0) -{ -lean_object* x_571; lean_object* x_572; uint8_t x_573; -x_571 = lean_ctor_get(x_570, 0); +lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; +x_568 = lean_unsigned_to_nat(1u); +x_569 = l_Lean_Syntax_getArg(x_1, x_568); +x_570 = lean_unsigned_to_nat(3u); +x_571 = l_Lean_Syntax_getArg(x_1, x_570); +x_572 = l_Lean_Doc_elabInline___closed__35; lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 1); -lean_inc(x_572); -lean_dec_ref(x_570); -x_573 = l_Array_isEmpty___redArg(x_571); +x_573 = l_Lean_Syntax_isOfKind(x_571, x_572); if (x_573 == 0) { -lean_object* x_574; lean_object* x_575; -x_574 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__2___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_575 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_574, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_572); -if (lean_obj_tag(x_575) == 0) +lean_object* x_574; uint8_t x_575; +x_574 = l_Lean_Doc_elabInline___closed__37; +lean_inc(x_571); +x_575 = l_Lean_Syntax_isOfKind(x_571, x_574); +if (x_575 == 0) { -lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; size_t x_581; lean_object* x_582; -x_576 = lean_ctor_get(x_575, 0); -lean_inc(x_576); -x_577 = lean_ctor_get(x_575, 1); -lean_inc(x_577); -lean_dec_ref(x_575); -x_578 = lean_ctor_get(x_576, 0); -lean_inc_ref(x_578); -if (lean_is_exclusive(x_576)) { - lean_ctor_release(x_576, 0); - lean_ctor_release(x_576, 1); - x_579 = x_576; -} else { - lean_dec_ref(x_576); - x_579 = lean_box(0); +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; +lean_dec(x_571); +lean_dec(x_569); +x_576 = l_Lean_Doc_elabInline___closed__23; +lean_inc(x_1); +x_577 = l_Lean_MessageData_ofSyntax(x_1); +x_578 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_578, 0, x_576); +lean_ctor_set(x_578, 1, x_577); +x_579 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_578, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_579; } -x_580 = lean_string_utf8_extract(x_578, x_561, x_562); -lean_dec(x_562); -lean_dec(x_561); -lean_dec_ref(x_578); -x_581 = lean_array_size(x_571); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_582 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_573, x_557, x_580, x_581, x_569, x_571, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_577); -lean_dec_ref(x_580); -if (lean_obj_tag(x_582) == 0) +else { -lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; -x_583 = lean_ctor_get(x_582, 0); -lean_inc(x_583); -x_584 = lean_ctor_get(x_582, 1); +lean_object* x_580; size_t x_581; size_t x_582; lean_object* x_583; +lean_dec(x_1); +x_580 = l_Lean_Syntax_getArgs(x_569); +lean_dec(x_569); +x_581 = lean_array_size(x_580); +x_582 = 0; +x_583 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_581, x_582, x_580, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_583) == 0) +{ +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; +x_584 = lean_ctor_get(x_583, 0); lean_inc(x_584); -lean_dec_ref(x_582); -x_585 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions(x_583); -x_586 = l_Lean_Doc_elabInline___closed__30; -if (lean_is_scalar(x_560)) { - x_587 = lean_alloc_ctor(1, 1, 0); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +if (lean_is_exclusive(x_583)) { + lean_ctor_release(x_583, 0); + lean_ctor_release(x_583, 1); + x_586 = x_583; } else { - x_587 = x_560; + lean_dec_ref(x_583); + x_586 = lean_box(0); } -lean_ctor_set(x_587, 0, x_1); -x_588 = lean_box(0); -x_589 = lean_box(x_573); -x_590 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__3___boxed), 12, 5); -lean_closure_set(x_590, 0, x_586); -lean_closure_set(x_590, 1, x_585); -lean_closure_set(x_590, 2, x_587); -lean_closure_set(x_590, 3, x_588); -lean_closure_set(x_590, 4, x_589); -lean_inc(x_9); -lean_inc_ref(x_447); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_591 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_590, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_584); -if (lean_obj_tag(x_591) == 0) +x_587 = l_Lean_Syntax_getArg(x_571, x_568); +lean_dec(x_571); +x_588 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_587); +x_589 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_589, 0, x_588); +lean_ctor_set(x_589, 1, x_584); +if (lean_is_scalar(x_586)) { + x_590 = lean_alloc_ctor(0, 2, 0); +} else { + x_590 = x_586; +} +lean_ctor_set(x_590, 0, x_589); +lean_ctor_set(x_590, 1, x_585); +return x_590; +} +else { -lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; -x_592 = lean_ctor_get(x_591, 0); +lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +lean_dec(x_571); +x_591 = lean_ctor_get(x_583, 0); +lean_inc(x_591); +x_592 = lean_ctor_get(x_583, 1); lean_inc(x_592); -x_593 = lean_ctor_get(x_591, 1); -lean_inc(x_593); -lean_dec_ref(x_591); -x_594 = l_Lean_Doc_elabInline___closed__32; -if (lean_is_scalar(x_579)) { - x_595 = lean_alloc_ctor(7, 2, 0); +if (lean_is_exclusive(x_583)) { + lean_ctor_release(x_583, 0); + lean_ctor_release(x_583, 1); + x_593 = x_583; } else { - x_595 = x_579; - lean_ctor_set_tag(x_595, 7); + lean_dec_ref(x_583); + x_593 = lean_box(0); +} +if (lean_is_scalar(x_593)) { + x_594 = lean_alloc_ctor(1, 2, 0); +} else { + x_594 = x_593; +} +lean_ctor_set(x_594, 0, x_591); +lean_ctor_set(x_594, 1, x_592); +return x_594; +} } -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_592); -x_596 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(x_595, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_593); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_596) == 0) -{ -lean_object* x_597; -x_597 = lean_ctor_get(x_596, 1); -lean_inc(x_597); -lean_dec_ref(x_596); -x_551 = x_597; -goto block_555; } else { -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -lean_dec(x_550); -lean_dec(x_548); -x_598 = lean_ctor_get(x_596, 0); -lean_inc(x_598); -x_599 = lean_ctor_get(x_596, 1); +lean_object* x_595; size_t x_596; size_t x_597; lean_object* x_598; +lean_dec(x_1); +x_595 = l_Lean_Syntax_getArgs(x_569); +lean_dec(x_569); +x_596 = lean_array_size(x_595); +x_597 = 0; +x_598 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_596, x_597, x_595, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_598) == 0) +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; +x_599 = lean_ctor_get(x_598, 0); lean_inc(x_599); -if (lean_is_exclusive(x_596)) { - lean_ctor_release(x_596, 0); - lean_ctor_release(x_596, 1); - x_600 = x_596; +x_600 = lean_ctor_get(x_598, 1); +lean_inc(x_600); +if (lean_is_exclusive(x_598)) { + lean_ctor_release(x_598, 0); + lean_ctor_release(x_598, 1); + x_601 = x_598; } else { - lean_dec_ref(x_596); - x_600 = lean_box(0); + lean_dec_ref(x_598); + x_601 = lean_box(0); } -if (lean_is_scalar(x_600)) { - x_601 = lean_alloc_ctor(1, 2, 0); +x_602 = l_Lean_Syntax_getArg(x_571, x_568); +lean_dec(x_571); +x_603 = l_Lean_TSyntax_getString(x_602); +lean_dec(x_602); +x_604 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_604, 0, x_599); +lean_ctor_set(x_604, 1, x_603); +if (lean_is_scalar(x_601)) { + x_605 = lean_alloc_ctor(0, 2, 0); } else { - x_601 = x_600; + x_605 = x_601; } -lean_ctor_set(x_601, 0, x_598); -lean_ctor_set(x_601, 1, x_599); -return x_601; -} -} -else -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -lean_dec(x_579); -lean_dec(x_550); -lean_dec(x_548); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_602 = lean_ctor_get(x_591, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_591, 1); -lean_inc(x_603); -if (lean_is_exclusive(x_591)) { - lean_ctor_release(x_591, 0); - lean_ctor_release(x_591, 1); - x_604 = x_591; -} else { - lean_dec_ref(x_591); - x_604 = lean_box(0); -} -if (lean_is_scalar(x_604)) { - x_605 = lean_alloc_ctor(1, 2, 0); -} else { - x_605 = x_604; -} -lean_ctor_set(x_605, 0, x_602); -lean_ctor_set(x_605, 1, x_603); +lean_ctor_set(x_605, 0, x_604); +lean_ctor_set(x_605, 1, x_600); return x_605; } -} else { lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; -lean_dec(x_579); -lean_dec(x_560); -lean_dec(x_550); -lean_dec(x_548); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_606 = lean_ctor_get(x_582, 0); +lean_dec(x_571); +x_606 = lean_ctor_get(x_598, 0); lean_inc(x_606); -x_607 = lean_ctor_get(x_582, 1); +x_607 = lean_ctor_get(x_598, 1); lean_inc(x_607); -if (lean_is_exclusive(x_582)) { - lean_ctor_release(x_582, 0); - lean_ctor_release(x_582, 1); - x_608 = x_582; +if (lean_is_exclusive(x_598)) { + lean_ctor_release(x_598, 0); + lean_ctor_release(x_598, 1); + x_608 = x_598; } else { - lean_dec_ref(x_582); + lean_dec_ref(x_598); x_608 = lean_box(0); } if (lean_is_scalar(x_608)) { @@ -45669,670 +54238,180 @@ lean_ctor_set(x_609, 1, x_607); return x_609; } } -else -{ -lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -lean_dec(x_571); -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_560); -lean_dec(x_550); -lean_dec(x_548); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_610 = lean_ctor_get(x_575, 0); -lean_inc(x_610); -x_611 = lean_ctor_get(x_575, 1); -lean_inc(x_611); -if (lean_is_exclusive(x_575)) { - lean_ctor_release(x_575, 0); - lean_ctor_release(x_575, 1); - x_612 = x_575; -} else { - lean_dec_ref(x_575); - x_612 = lean_box(0); -} -if (lean_is_scalar(x_612)) { - x_613 = lean_alloc_ctor(1, 2, 0); -} else { - x_613 = x_612; -} -lean_ctor_set(x_613, 0, x_610); -lean_ctor_set(x_613, 1, x_611); -return x_613; } } else { -lean_dec(x_571); -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_560); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_610; lean_object* x_611; lean_object* x_612; size_t x_613; size_t x_614; lean_object* x_615; +x_610 = lean_unsigned_to_nat(1u); +x_611 = l_Lean_Syntax_getArg(x_1, x_610); lean_dec(x_1); -x_551 = x_572; -goto block_555; +x_612 = l_Lean_Syntax_getArgs(x_611); +lean_dec(x_611); +x_613 = lean_array_size(x_612); +x_614 = 0; +x_615 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_613, x_614, x_612, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_615) == 0) +{ +lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; +x_616 = lean_ctor_get(x_615, 0); +lean_inc(x_616); +x_617 = lean_ctor_get(x_615, 1); +lean_inc(x_617); +if (lean_is_exclusive(x_615)) { + lean_ctor_release(x_615, 0); + lean_ctor_release(x_615, 1); + x_618 = x_615; +} else { + lean_dec_ref(x_615); + x_618 = lean_box(0); } +x_619 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_619, 0, x_616); +if (lean_is_scalar(x_618)) { + x_620 = lean_alloc_ctor(0, 2, 0); +} else { + x_620 = x_618; +} +lean_ctor_set(x_620, 0, x_619); +lean_ctor_set(x_620, 1, x_617); +return x_620; } else { -lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_560); -lean_dec(x_550); -lean_dec(x_548); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_614 = lean_ctor_get(x_570, 0); -lean_inc(x_614); -x_615 = lean_ctor_get(x_570, 1); -lean_inc(x_615); -if (lean_is_exclusive(x_570)) { - lean_ctor_release(x_570, 0); - lean_ctor_release(x_570, 1); - x_616 = x_570; -} else { - lean_dec_ref(x_570); - x_616 = lean_box(0); -} -if (lean_is_scalar(x_616)) { - x_617 = lean_alloc_ctor(1, 2, 0); -} else { - x_617 = x_616; -} -lean_ctor_set(x_617, 0, x_614); -lean_ctor_set(x_617, 1, x_615); -return x_617; -} -} -else -{ -lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_560); -lean_dec(x_550); -lean_dec(x_548); -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_618 = lean_ctor_get(x_564, 0); -lean_inc(x_618); -x_619 = lean_ctor_get(x_564, 1); -lean_inc(x_619); -if (lean_is_exclusive(x_564)) { - lean_ctor_release(x_564, 0); - lean_ctor_release(x_564, 1); - x_620 = x_564; -} else { - lean_dec_ref(x_564); - x_620 = lean_box(0); -} -if (lean_is_scalar(x_620)) { - x_621 = lean_alloc_ctor(1, 2, 0); -} else { - x_621 = x_620; -} -lean_ctor_set(x_621, 0, x_618); -lean_ctor_set(x_621, 1, x_619); -return x_621; -} -} -} -block_555: -{ -lean_object* x_552; lean_object* x_553; lean_object* x_554; -x_552 = l_Lean_TSyntax_getString(x_550); -lean_dec(x_550); -x_553 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_553, 0, x_552); -if (lean_is_scalar(x_548)) { - x_554 = lean_alloc_ctor(0, 2, 0); -} else { - x_554 = x_548; -} -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_551); -return x_554; -} -} -else -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_622 = lean_ctor_get(x_545, 0); +lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; +x_621 = lean_ctor_get(x_615, 0); +lean_inc(x_621); +x_622 = lean_ctor_get(x_615, 1); lean_inc(x_622); -x_623 = lean_ctor_get(x_545, 1); -lean_inc(x_623); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - lean_ctor_release(x_545, 1); - x_624 = x_545; +if (lean_is_exclusive(x_615)) { + lean_ctor_release(x_615, 0); + lean_ctor_release(x_615, 1); + x_623 = x_615; } else { - lean_dec_ref(x_545); - x_624 = lean_box(0); + lean_dec_ref(x_615); + x_623 = lean_box(0); } -if (lean_is_scalar(x_624)) { - x_625 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_623)) { + x_624 = lean_alloc_ctor(1, 2, 0); } else { - x_625 = x_624; + x_624 = x_623; } -lean_ctor_set(x_625, 0, x_622); -lean_ctor_set(x_625, 1, x_623); -return x_625; +lean_ctor_set(x_624, 0, x_621); +lean_ctor_set(x_624, 1, x_622); +return x_624; } } } else { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_626 = lean_unsigned_to_nat(1u); -x_627 = l_Lean_Syntax_getArg(x_1, x_626); +lean_object* x_625; lean_object* x_626; lean_object* x_627; size_t x_628; size_t x_629; lean_object* x_630; +x_625 = lean_unsigned_to_nat(1u); +x_626 = l_Lean_Syntax_getArg(x_1, x_625); lean_dec(x_1); -x_628 = l_Lean_TSyntax_getString(x_627); -lean_dec(x_627); -x_629 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_629, 0, x_628); -x_630 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_10); -return x_630; +x_627 = l_Lean_Syntax_getArgs(x_626); +lean_dec(x_626); +x_628 = lean_array_size(x_627); +x_629 = 0; +x_630 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_628, x_629, x_627, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +if (lean_obj_tag(x_630) == 0) +{ +lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; +x_631 = lean_ctor_get(x_630, 0); +lean_inc(x_631); +x_632 = lean_ctor_get(x_630, 1); +lean_inc(x_632); +if (lean_is_exclusive(x_630)) { + lean_ctor_release(x_630, 0); + lean_ctor_release(x_630, 1); + x_633 = x_630; +} else { + lean_dec_ref(x_630); + x_633 = lean_box(0); +} +x_634 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_634, 0, x_631); +if (lean_is_scalar(x_633)) { + x_635 = lean_alloc_ctor(0, 2, 0); +} else { + x_635 = x_633; +} +lean_ctor_set(x_635, 0, x_634); +lean_ctor_set(x_635, 1, x_632); +return x_635; +} +else +{ +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_636 = lean_ctor_get(x_630, 0); +lean_inc(x_636); +x_637 = lean_ctor_get(x_630, 1); +lean_inc(x_637); +if (lean_is_exclusive(x_630)) { + lean_ctor_release(x_630, 0); + lean_ctor_release(x_630, 1); + x_638 = x_630; +} else { + lean_dec_ref(x_630); + x_638 = lean_box(0); +} +if (lean_is_scalar(x_638)) { + x_639 = lean_alloc_ctor(1, 2, 0); +} else { + x_639 = x_638; +} +lean_ctor_set(x_639, 0, x_636); +lean_ctor_set(x_639, 1, x_637); +return x_639; +} } } else { -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_631 = lean_unsigned_to_nat(1u); -x_632 = l_Lean_Syntax_getArg(x_1, x_631); -lean_dec(x_1); -x_633 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote(x_632); -x_634 = l_Lean_Doc_elabInline___closed__33; -x_635 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_635, 0, x_633); -lean_ctor_set(x_635, 1, x_634); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_10); -return x_636; -} -} -else +lean_object* x_640; lean_object* x_641; lean_object* x_642; uint8_t x_643; +x_640 = lean_unsigned_to_nat(0u); +x_641 = l_Lean_Syntax_getArg(x_1, x_640); +x_642 = l_Lean_Doc_DocArg_ofSyntax___closed__10; +lean_inc(x_641); +x_643 = l_Lean_Syntax_isOfKind(x_641, x_642); +if (x_643 == 0) { -lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; uint8_t x_642; -x_637 = lean_unsigned_to_nat(1u); -x_638 = l_Lean_Syntax_getArg(x_1, x_637); -x_639 = lean_unsigned_to_nat(3u); -x_640 = l_Lean_Syntax_getArg(x_1, x_639); -x_641 = l_Lean_Doc_elabInline___closed__35; -lean_inc(x_640); -x_642 = l_Lean_Syntax_isOfKind(x_640, x_641); -if (x_642 == 0) -{ -lean_object* x_643; uint8_t x_644; -x_643 = l_Lean_Doc_elabInline___closed__37; -lean_inc(x_640); -x_644 = l_Lean_Syntax_isOfKind(x_640, x_643); -if (x_644 == 0) -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -lean_dec(x_640); -lean_dec(x_638); -x_645 = l_Lean_Doc_elabInline___closed__23; +lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; +lean_dec(x_641); +x_644 = l_Lean_Doc_elabInline___closed__23; lean_inc(x_1); -x_646 = l_Lean_MessageData_ofSyntax(x_1); -x_647 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_647, 0, x_645); -lean_ctor_set(x_647, 1, x_646); -x_648 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_647, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); +x_645 = l_Lean_MessageData_ofSyntax(x_1); +x_646 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_646, 0, x_644); +lean_ctor_set(x_646, 1, x_645); +x_647 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_646, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_356, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_648; +return x_647; } else { -lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_648; lean_object* x_649; lean_object* x_650; +lean_dec_ref(x_356); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_649 = l_Lean_Syntax_getArg(x_640, x_637); -lean_dec(x_640); -x_650 = l_Lean_TSyntax_getString(x_638); -lean_dec(x_638); -x_651 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage(x_650, x_649); -x_652 = l_Lean_Doc_elabInline___closed__33; -x_653 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_653, 0, x_651); -lean_ctor_set(x_653, 1, x_652); -x_654 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_654, 0, x_653); -lean_ctor_set(x_654, 1, x_10); -return x_654; -} -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_655 = l_Lean_Syntax_getArg(x_640, x_637); -lean_dec(x_640); -x_656 = l_Lean_TSyntax_getString(x_638); -lean_dec(x_638); -x_657 = l_Lean_TSyntax_getString(x_655); -lean_dec(x_655); -x_658 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_658, 0, x_656); -lean_ctor_set(x_658, 1, x_657); -x_659 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_659, 0, x_658); -lean_ctor_set(x_659, 1, x_10); -return x_659; -} -} -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; uint8_t x_665; -x_660 = lean_unsigned_to_nat(1u); -x_661 = l_Lean_Syntax_getArg(x_1, x_660); -x_662 = lean_unsigned_to_nat(3u); -x_663 = l_Lean_Syntax_getArg(x_1, x_662); -x_664 = l_Lean_Doc_elabInline___closed__35; -lean_inc(x_663); -x_665 = l_Lean_Syntax_isOfKind(x_663, x_664); -if (x_665 == 0) -{ -lean_object* x_666; uint8_t x_667; -x_666 = l_Lean_Doc_elabInline___closed__37; -lean_inc(x_663); -x_667 = l_Lean_Syntax_isOfKind(x_663, x_666); -if (x_667 == 0) -{ -lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; -lean_dec(x_663); -lean_dec(x_661); -x_668 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_669 = l_Lean_MessageData_ofSyntax(x_1); -x_670 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_670, 0, x_668); -lean_ctor_set(x_670, 1, x_669); -x_671 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_670, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_671; -} -else -{ -lean_object* x_672; size_t x_673; size_t x_674; lean_object* x_675; -lean_dec(x_1); -x_672 = l_Lean_Syntax_getArgs(x_661); -lean_dec(x_661); -x_673 = lean_array_size(x_672); -x_674 = 0; -x_675 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_673, x_674, x_672, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_675) == 0) -{ -lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; -x_676 = lean_ctor_get(x_675, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_675, 1); -lean_inc(x_677); -if (lean_is_exclusive(x_675)) { - lean_ctor_release(x_675, 0); - lean_ctor_release(x_675, 1); - x_678 = x_675; -} else { - lean_dec_ref(x_675); - x_678 = lean_box(0); -} -x_679 = l_Lean_Syntax_getArg(x_663, x_660); -lean_dec(x_663); -x_680 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink(x_679); -x_681 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_676); -if (lean_is_scalar(x_678)) { - x_682 = lean_alloc_ctor(0, 2, 0); -} else { - x_682 = x_678; -} -lean_ctor_set(x_682, 0, x_681); -lean_ctor_set(x_682, 1, x_677); -return x_682; -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; -lean_dec(x_663); -x_683 = lean_ctor_get(x_675, 0); -lean_inc(x_683); -x_684 = lean_ctor_get(x_675, 1); -lean_inc(x_684); -if (lean_is_exclusive(x_675)) { - lean_ctor_release(x_675, 0); - lean_ctor_release(x_675, 1); - x_685 = x_675; -} else { - lean_dec_ref(x_675); - x_685 = lean_box(0); -} -if (lean_is_scalar(x_685)) { - x_686 = lean_alloc_ctor(1, 2, 0); -} else { - x_686 = x_685; -} -lean_ctor_set(x_686, 0, x_683); -lean_ctor_set(x_686, 1, x_684); -return x_686; -} -} -} -else -{ -lean_object* x_687; size_t x_688; size_t x_689; lean_object* x_690; -lean_dec(x_1); -x_687 = l_Lean_Syntax_getArgs(x_661); -lean_dec(x_661); -x_688 = lean_array_size(x_687); -x_689 = 0; -x_690 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_688, x_689, x_687, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_690) == 0) -{ -lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_691 = lean_ctor_get(x_690, 0); -lean_inc(x_691); -x_692 = lean_ctor_get(x_690, 1); -lean_inc(x_692); -if (lean_is_exclusive(x_690)) { - lean_ctor_release(x_690, 0); - lean_ctor_release(x_690, 1); - x_693 = x_690; -} else { - lean_dec_ref(x_690); - x_693 = lean_box(0); -} -x_694 = l_Lean_Syntax_getArg(x_663, x_660); -lean_dec(x_663); -x_695 = l_Lean_TSyntax_getString(x_694); -lean_dec(x_694); -x_696 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_696, 0, x_691); -lean_ctor_set(x_696, 1, x_695); -if (lean_is_scalar(x_693)) { - x_697 = lean_alloc_ctor(0, 2, 0); -} else { - x_697 = x_693; -} -lean_ctor_set(x_697, 0, x_696); -lean_ctor_set(x_697, 1, x_692); -return x_697; -} -else -{ -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; -lean_dec(x_663); -x_698 = lean_ctor_get(x_690, 0); -lean_inc(x_698); -x_699 = lean_ctor_get(x_690, 1); -lean_inc(x_699); -if (lean_is_exclusive(x_690)) { - lean_ctor_release(x_690, 0); - lean_ctor_release(x_690, 1); - x_700 = x_690; -} else { - lean_dec_ref(x_690); - x_700 = lean_box(0); -} -if (lean_is_scalar(x_700)) { - x_701 = lean_alloc_ctor(1, 2, 0); -} else { - x_701 = x_700; -} -lean_ctor_set(x_701, 0, x_698); -lean_ctor_set(x_701, 1, x_699); -return x_701; -} -} -} -} -else -{ -lean_object* x_702; lean_object* x_703; lean_object* x_704; size_t x_705; size_t x_706; lean_object* x_707; -x_702 = lean_unsigned_to_nat(1u); -x_703 = l_Lean_Syntax_getArg(x_1, x_702); -lean_dec(x_1); -x_704 = l_Lean_Syntax_getArgs(x_703); -lean_dec(x_703); -x_705 = lean_array_size(x_704); -x_706 = 0; -x_707 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_705, x_706, x_704, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_707) == 0) -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; -x_708 = lean_ctor_get(x_707, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_707, 1); -lean_inc(x_709); -if (lean_is_exclusive(x_707)) { - lean_ctor_release(x_707, 0); - lean_ctor_release(x_707, 1); - x_710 = x_707; -} else { - lean_dec_ref(x_707); - x_710 = lean_box(0); -} -x_711 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_711, 0, x_708); -if (lean_is_scalar(x_710)) { - x_712 = lean_alloc_ctor(0, 2, 0); -} else { - x_712 = x_710; -} -lean_ctor_set(x_712, 0, x_711); -lean_ctor_set(x_712, 1, x_709); -return x_712; -} -else -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -x_713 = lean_ctor_get(x_707, 0); -lean_inc(x_713); -x_714 = lean_ctor_get(x_707, 1); -lean_inc(x_714); -if (lean_is_exclusive(x_707)) { - lean_ctor_release(x_707, 0); - lean_ctor_release(x_707, 1); - x_715 = x_707; -} else { - lean_dec_ref(x_707); - x_715 = lean_box(0); -} -if (lean_is_scalar(x_715)) { - x_716 = lean_alloc_ctor(1, 2, 0); -} else { - x_716 = x_715; -} -lean_ctor_set(x_716, 0, x_713); -lean_ctor_set(x_716, 1, x_714); -return x_716; -} -} -} -else -{ -lean_object* x_717; lean_object* x_718; lean_object* x_719; size_t x_720; size_t x_721; lean_object* x_722; -x_717 = lean_unsigned_to_nat(1u); -x_718 = l_Lean_Syntax_getArg(x_1, x_717); -lean_dec(x_1); -x_719 = l_Lean_Syntax_getArgs(x_718); -lean_dec(x_718); -x_720 = lean_array_size(x_719); -x_721 = 0; -x_722 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_720, x_721, x_719, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -if (lean_obj_tag(x_722) == 0) -{ -lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_722, 1); -lean_inc(x_724); -if (lean_is_exclusive(x_722)) { - lean_ctor_release(x_722, 0); - lean_ctor_release(x_722, 1); - x_725 = x_722; -} else { - lean_dec_ref(x_722); - x_725 = lean_box(0); -} -x_726 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_726, 0, x_723); -if (lean_is_scalar(x_725)) { - x_727 = lean_alloc_ctor(0, 2, 0); -} else { - x_727 = x_725; -} -lean_ctor_set(x_727, 0, x_726); -lean_ctor_set(x_727, 1, x_724); -return x_727; -} -else -{ -lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; -x_728 = lean_ctor_get(x_722, 0); -lean_inc(x_728); -x_729 = lean_ctor_get(x_722, 1); -lean_inc(x_729); -if (lean_is_exclusive(x_722)) { - lean_ctor_release(x_722, 0); - lean_ctor_release(x_722, 1); - x_730 = x_722; -} else { - lean_dec_ref(x_722); - x_730 = lean_box(0); -} -if (lean_is_scalar(x_730)) { - x_731 = lean_alloc_ctor(1, 2, 0); -} else { - x_731 = x_730; -} -lean_ctor_set(x_731, 0, x_728); -lean_ctor_set(x_731, 1, x_729); -return x_731; -} -} -} -else -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; uint8_t x_735; -x_732 = lean_unsigned_to_nat(0u); -x_733 = l_Lean_Syntax_getArg(x_1, x_732); -x_734 = l_Lean_Doc_DocArg_ofSyntax___closed__10; -lean_inc(x_733); -x_735 = l_Lean_Syntax_isOfKind(x_733, x_734); -if (x_735 == 0) -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; -lean_dec(x_733); -x_736 = l_Lean_Doc_elabInline___closed__23; -lean_inc(x_1); -x_737 = l_Lean_MessageData_ofSyntax(x_1); -x_738 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_738, 0, x_736); -lean_ctor_set(x_738, 1, x_737); -x_739 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_738, x_2, x_3, x_4, x_5, x_6, x_7, x_447, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_739; -} -else -{ -lean_object* x_740; lean_object* x_741; lean_object* x_742; -lean_dec_ref(x_447); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_740 = l_Lean_TSyntax_getString(x_733); -lean_dec(x_733); -x_741 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_741, 0, x_740); -x_742 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_742, 0, x_741); -lean_ctor_set(x_742, 1, x_10); -return x_742; +x_648 = l_Lean_TSyntax_getString(x_641); +lean_dec(x_641); +x_649 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_649, 0, x_648); +x_650 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_650, 0, x_649); +lean_ctor_set(x_650, 1, x_11); +return x_650; } } } @@ -46365,16 +54444,17 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); -return x_20; +return x_21; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1___boxed(lean_object** _args) { @@ -46395,299 +54475,117 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__3(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_6); -x_18 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___lam__0(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -return x_18; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_5); -x_16 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_5); -x_7 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___lam__2(x_1, x_2, x_3, x_4, x_6); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_4); -lean_dec(x_2); -return x_15; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7_spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_5); -lean_dec(x_1); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +x_10 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___lam__0(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_2); -x_15 = lean_unbox(x_3); -x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4_spec__7(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_16; +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +x_11 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_1); -x_13 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___lam__0(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_Elab_enableInfoTree___at___Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3_spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_elabInline_spec__4(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +lean_object* x_8; +x_8 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_16 = lean_unbox(x_1); +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +x_14 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_2); +x_15 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; x_17 = lean_unbox(x_2); x_18 = lean_unbox_usize(x_4); lean_dec(x_4); x_19 = lean_unbox_usize(x_5); lean_dec(x_5); -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12(x_16, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5_spec__5(x_1, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_16 = lean_unbox(x_1); +uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; x_17 = lean_unbox(x_2); x_18 = lean_unbox_usize(x_4); lean_dec(x_4); x_19 = lean_unbox_usize(x_5); lean_dec(x_5); -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___redArg(x_16, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___redArg(x_1, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -46708,16 +54606,16 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -uint8_t x_21; uint8_t x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_21 = lean_unbox(x_6); +uint8_t x_22; size_t x_23; size_t x_24; lean_object* x_25; x_22 = lean_unbox(x_7); x_23 = lean_unbox_usize(x_9); lean_dec(x_9); x_24 = lean_unbox_usize(x_10); lean_dec(x_10); -x_25 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12(x_1, x_2, x_3, x_4, x_5, x_21, x_22, x_8, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); lean_dec_ref(x_8); lean_dec_ref(x_5); lean_dec_ref(x_4); @@ -46727,61 +54625,127 @@ lean_dec_ref(x_1); return x_25; } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_1); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg(x_14, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec_ref(x_2); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_1); +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7(x_16, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; uint8_t x_13; lean_object* x_14; x_12 = lean_unbox(x_2); x_13 = lean_unbox(x_3); -x_14 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___redArg(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___redArg(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_2); -x_14 = lean_unbox(x_3); -x_15 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__14_spec__14(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); +x_15 = lean_unbox(x_3); +x_16 = l_Lean_log___at___Lean_logWarning___at___Lean_Doc_elabInline_spec__8_spec__8(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_dec_ref(x_2); +return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___lam__0(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_10; -x_10 = l_Lean_Doc_elabInline___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Doc_elabInline___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); lean_dec_ref(x_3); -return x_10; +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -46798,151 +54762,132 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlock_withSpace(lean_object* x_1) { _start: { -lean_object* x_8; -x_8 = l_Lean_Doc_elabInline___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_string_utf8_byte_size(x_1); +lean_inc(x_4); +lean_inc_ref(x_1); +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +x_6 = lean_unsigned_to_nat(1u); +lean_inc(x_4); +x_7 = l_Substring_prevn(x_5, x_6, x_4); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_elabInline___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +lean_inc_ref(x_1); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +lean_ctor_set(x_8, 2, x_4); +x_9 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1; +x_10 = l_Substring_beq(x_8, x_9); +if (x_10 == 0) { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_5); -x_14 = l_Lean_Doc_elabInline___lam__3(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_11; +x_11 = lean_string_append(x_1, x_2); +return x_11; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_16 = l_Lean_Doc_elabBlock(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +return x_1; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_17 = l_Lean_Doc_elabBlock(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -return x_16; +return x_17; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0(lean_object* x_1) { _start: { lean_object* x_2; @@ -46951,188 +54896,193 @@ lean_inc(x_2); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_6, x_5); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_6, x_5); +if (x_18 == 0) { -lean_object* x_18; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_19; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_7); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec_ref(x_7); -x_19 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_20 = lean_array_uget(x_4, x_6); +x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_21 = lean_array_uget(x_4, x_6); lean_inc_ref(x_1); -x_21 = lean_apply_1(x_20, x_1); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); +x_22 = lean_apply_1(x_21, x_1); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_22 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_21, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +lean_inc_ref(x_8); +x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_23; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +uint8_t x_24; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_2); -lean_ctor_set(x_22, 0, x_26); -return x_22; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_2); +lean_ctor_set(x_23, 0, x_27); +return x_23; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_2); +lean_dec(x_23); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_28); x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; +lean_ctor_set(x_31, 1, x_2); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +return x_32; } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_46; -x_32 = lean_ctor_get(x_22, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_22, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; +x_33 = lean_ctor_get(x_23, 0); lean_inc(x_33); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_34 = x_22; +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_35 = x_23; } else { - lean_dec_ref(x_22); - x_34 = lean_box(0); + lean_dec_ref(x_23); + x_35 = lean_box(0); } -x_46 = l_Lean_Exception_isInterrupt(x_32); -if (x_46 == 0) +x_47 = l_Lean_Exception_isInterrupt(x_33); +if (x_47 == 0) { -uint8_t x_47; -x_47 = l_Lean_Exception_isRuntime(x_32); -x_35 = x_47; -goto block_45; +uint8_t x_48; +x_48 = l_Lean_Exception_isRuntime(x_33); +x_36 = x_48; +goto block_46; } else { -x_35 = x_46; -goto block_45; +x_36 = x_47; +goto block_46; } -block_45: +block_46: { -if (x_35 == 0) +if (x_36 == 0) { -if (lean_obj_tag(x_32) == 0) +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_37; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(1, 2, 0); } else { - x_36 = x_34; + x_37 = x_35; } -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -return x_36; +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +return x_37; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_39 = l_Lean_instBEqInternalExceptionId_beq(x_37, x_38); -if (x_39 == 0) +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_33, 0); +x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); +if (x_40 == 0) { -lean_object* x_40; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_41; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_40 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_35)) { + x_41 = lean_alloc_ctor(1, 2, 0); } else { - x_40 = x_34; + x_41 = x_35; } -lean_ctor_set(x_40, 0, x_32); -lean_ctor_set(x_40, 1, x_33); -return x_40; +lean_ctor_set(x_41, 0, x_33); +lean_ctor_set(x_41, 1, x_34); +return x_41; } else { -size_t x_41; size_t x_42; -lean_dec(x_34); -lean_dec_ref(x_32); -x_41 = 1; -x_42 = lean_usize_add(x_6, x_41); +size_t x_42; size_t x_43; +lean_dec(x_35); +lean_dec_ref(x_33); +x_42 = 1; +x_43 = lean_usize_add(x_6, x_42); lean_inc_ref(x_3); { -size_t _tmp_5 = x_42; +size_t _tmp_5 = x_43; lean_object* _tmp_6 = x_3; -lean_object* _tmp_15 = x_33; +lean_object* _tmp_16 = x_34; x_6 = _tmp_5; x_7 = _tmp_6; -x_16 = _tmp_15; +x_17 = _tmp_16; } goto _start; } @@ -47140,39 +55090,698 @@ goto _start; } else { -lean_object* x_44; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_45; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_44 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_35)) { + x_45 = lean_alloc_ctor(1, 2, 0); } else { - x_44 = x_34; + x_45 = x_35; } -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_33); +lean_ctor_set(x_45, 0, x_33); +lean_ctor_set(x_45, 1, x_34); +return x_45; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_6, x_5); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_7); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec_ref(x_7); +x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_21 = lean_array_uget(x_4, x_6); +lean_inc_ref(x_1); +x_22 = lean_apply_1(x_21, x_1); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_2); +lean_ctor_set(x_23, 0, x_27); +return x_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_23); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_28); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_2); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; +x_33 = lean_ctor_get(x_23, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_35 = x_23; +} else { + lean_dec_ref(x_23); + x_35 = lean_box(0); +} +x_47 = l_Lean_Exception_isInterrupt(x_33); +if (x_47 == 0) +{ +uint8_t x_48; +x_48 = l_Lean_Exception_isRuntime(x_33); +x_36 = x_48; +goto block_46; +} +else +{ +x_36 = x_47; +goto block_46; +} +block_46: +{ +if (x_36 == 0) +{ +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_37; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(1, 2, 0); +} else { + x_37 = x_35; +} +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_33, 0); +x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +if (lean_is_scalar(x_35)) { + x_41 = lean_alloc_ctor(1, 2, 0); +} else { + x_41 = x_35; +} +lean_ctor_set(x_41, 0, x_33); +lean_ctor_set(x_41, 1, x_34); +return x_41; +} +else +{ +size_t x_42; size_t x_43; lean_object* x_44; +lean_dec(x_35); +lean_dec_ref(x_33); +x_42 = 1; +x_43 = lean_usize_add(x_6, x_42); +lean_inc_ref(x_3); +x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_43, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); return x_44; } } } +else +{ +lean_object* x_45; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +if (lean_is_scalar(x_35)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_35; +} +lean_ctor_set(x_45, 0, x_33); +lean_ctor_set(x_45, 1, x_34); +return x_45; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_6, x_5); -if (x_17 == 0) +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) { -lean_object* x_18; +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec_ref(x_8); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); +lean_inc_ref(x_2); +lean_inc(x_1); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; +} else { + lean_dec_ref(x_24); + x_36 = lean_box(0); +} +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; +} +else +{ +x_37 = x_48; +goto block_47; +} +block_47: +{ +if (x_37 == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_36; +} +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +size_t x_43; size_t x_44; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); +lean_inc_ref(x_4); +{ +size_t _tmp_6 = x_44; +lean_object* _tmp_7 = x_4; +lean_object* _tmp_17 = x_35; +x_7 = _tmp_6; +x_8 = _tmp_7; +x_18 = _tmp_17; +} +goto _start; +} +} +} +else +{ +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_36; +} +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec_ref(x_8); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); +lean_inc_ref(x_2); +lean_inc(x_1); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; +} else { + lean_dec_ref(x_24); + x_36 = lean_box(0); +} +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; +} +else +{ +x_37 = x_48; +goto block_47; +} +block_47: +{ +if (x_37 == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_36; +} +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); +lean_inc_ref(x_4); +x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_44, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_35); +return x_45; +} +} +} +else +{ +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_36; +} +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) +{ +lean_object* x_24; lean_dec(x_15); lean_dec_ref(x_14); lean_dec(x_13); @@ -47181,21 +55790,19 @@ lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_dec_ref(x_7); +lean_dec(x_1); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec_ref(x_7); -x_19 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_20 = lean_array_uget(x_4, x_6); -lean_inc_ref(x_1); -x_21 = lean_apply_1(x_20, x_1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_26 = lean_apply_1(x_25, x_1); lean_inc(x_15); lean_inc_ref(x_14); lean_inc(x_13); @@ -47204,87 +55811,56 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc(x_8); -x_22 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_21, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +lean_inc_ref(x_7); +x_27 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_2, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_23; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_2); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_2); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; -} +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = l_Array_append___redArg(x_6, x_28); +lean_dec(x_28); +x_17 = x_30; +x_18 = x_29; +goto block_22; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_46; -x_32 = lean_ctor_get(x_22, 0); +lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_35; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_22, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_34 = x_22; -} else { - lean_dec_ref(x_22); - x_34 = lean_box(0); -} -x_46 = l_Lean_Exception_isInterrupt(x_32); -if (x_46 == 0) -{ -uint8_t x_47; -x_47 = l_Lean_Exception_isRuntime(x_32); -x_35 = x_47; -goto block_45; -} -else -{ -x_35 = x_46; -goto block_45; -} -block_45: -{ +x_35 = l_Lean_Exception_isInterrupt(x_31); if (x_35 == 0) { -if (lean_obj_tag(x_32) == 0) +uint8_t x_36; +x_36 = l_Lean_Exception_isRuntime(x_31); +lean_dec(x_31); +x_33 = x_36; +goto block_34; +} +else { -lean_object* x_36; +lean_dec(x_31); +x_33 = x_35; +goto block_34; +} +block_34: +{ +if (x_33 == 0) +{ +lean_dec_ref(x_27); +x_17 = x_6; +x_18 = x_32; +goto block_22; +} +else +{ +lean_dec(x_32); lean_dec(x_15); lean_dec_ref(x_14); lean_dec(x_13); @@ -47293,705 +55869,514 @@ lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(1, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_39 = l_Lean_instBEqInternalExceptionId_beq(x_37, x_38); -if (x_39 == 0) -{ -lean_object* x_40; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_40 = lean_alloc_ctor(1, 2, 0); -} else { - x_40 = x_34; -} -lean_ctor_set(x_40, 0, x_32); -lean_ctor_set(x_40, 1, x_33); -return x_40; -} -else -{ -size_t x_41; size_t x_42; lean_object* x_43; -lean_dec(x_34); -lean_dec_ref(x_32); -x_41 = 1; -x_42 = lean_usize_add(x_6, x_41); -lean_inc_ref(x_3); -x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_42, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_33); -return x_43; -} -} -} -else -{ -lean_object* x_44; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -if (lean_is_scalar(x_34)) { - x_44 = lean_alloc_ctor(1, 2, 0); -} else { - x_44 = x_34; -} -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_33); -return x_44; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); +lean_dec_ref(x_7); +lean_dec_ref(x_6); lean_dec(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); -lean_inc_ref(x_2); -lean_inc(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; +return x_27; } } -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; -} else { - lean_dec_ref(x_23); - x_35 = lean_box(0); } -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; -goto block_46; } -else +block_22: { -x_36 = x_47; -goto block_46; -} -block_46: -{ -if (x_36 == 0) -{ -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); -if (x_40 == 0) -{ -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); -} else { - x_41 = x_35; -} -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; -} -else -{ -size_t x_42; size_t x_43; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); -lean_inc_ref(x_4); -{ -size_t _tmp_6 = x_43; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_16 = x_34; -x_7 = _tmp_6; -x_8 = _tmp_7; -x_17 = _tmp_16; -} +size_t x_19; size_t x_20; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_5 = x_20; +x_6 = x_17; +x_16 = x_18; goto _start; } } } -else -{ -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_35; -} -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -return x_45; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) { -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); +lean_object* x_24; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); -lean_inc_ref(x_2); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_array_uget(x_3, x_5); lean_inc(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); +x_26 = lean_apply_1(x_25, x_1); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_27 = l_Lean_Elab_withEnableInfoTree___at___Lean_Doc_elabInline_spec__3___redArg(x_2, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = l_Array_append___redArg(x_6, x_28); +lean_dec(x_28); +x_17 = x_30; +x_18 = x_29; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_35; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +x_35 = l_Lean_Exception_isInterrupt(x_31); +if (x_35 == 0) +{ +uint8_t x_36; +x_36 = l_Lean_Exception_isRuntime(x_31); +lean_dec(x_31); +x_33 = x_36; +goto block_34; +} +else +{ +lean_dec(x_31); +x_33 = x_35; +goto block_34; +} +block_34: +{ +if (x_33 == 0) +{ +lean_dec_ref(x_27); +x_17 = x_6; +x_18 = x_32; +goto block_22; +} +else +{ +lean_dec(x_32); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +return x_27; +} +} +} +} +block_22: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5(x_1, x_2, x_3, x_4, x_20, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_18); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +_start: +{ +lean_object* x_22; +x_22 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +return x_22; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_4, x_3); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_array_uget(x_5, x_4); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 2); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_suggestionName), 8, 1); +lean_closure_set(x_20, 0, x_17); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_array_uset(x_5, x_4, x_24); +x_36 = l_Lean_Name_toString(x_22, x_1); +lean_inc_ref(x_2); +x_37 = lean_string_append(x_2, x_36); +lean_dec_ref(x_36); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; -} else { - lean_dec_ref(x_23); - x_35 = lean_box(0); -} -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; +lean_object* x_47; +x_47 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_38 = x_47; goto block_46; } else { -x_36 = x_47; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_18, 0); +lean_inc(x_48); +lean_dec_ref(x_18); +x_49 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0; +x_50 = lean_string_append(x_49, x_48); +lean_dec(x_48); +x_38 = x_50; goto block_46; } +block_35: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_29); +x_31 = 1; +x_32 = lean_usize_add(x_4, x_31); +x_33 = lean_array_uset(x_25, x_4, x_30); +x_4 = x_32; +x_5 = x_33; +x_13 = x_23; +goto _start; +} block_46: { -if (x_36 == 0) +lean_object* x_39; +x_39 = lean_string_append(x_37, x_38); +lean_dec_ref(x_38); +if (lean_obj_tag(x_19) == 0) { -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; +x_26 = x_39; +x_27 = x_19; +goto block_35; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); +uint8_t x_40; +x_40 = !lean_is_exclusive(x_19); if (x_40 == 0) { -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); -} else { - x_41 = x_35; -} -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_19, 0); +x_42 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlock_withSpace(x_41); +lean_ctor_set(x_19, 0, x_42); +x_26 = x_39; +x_27 = x_19; +goto block_35; } else { -size_t x_42; size_t x_43; lean_object* x_44; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); -lean_inc_ref(x_4); -x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_43, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); -return x_44; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_19, 0); +lean_inc(x_43); +lean_dec(x_19); +x_44 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlock_withSpace(x_43); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_26 = x_39; +x_27 = x_45; +goto block_35; +} } } } else { -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); +uint8_t x_51; +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_5); lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_35; +x_51 = !lean_is_exclusive(x_21); +if (x_51 == 0) +{ +return x_21; } -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -return x_45; +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_21, 0); +x_53 = lean_ctor_get(x_21, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_21); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } } } -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) +lean_object* x_16; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: { -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); lean_inc_ref(x_2); lean_inc_ref(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); +return x_24; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; } else { - lean_dec_ref(x_23); - x_35 = lean_box(0); + lean_dec_ref(x_24); + x_36 = lean_box(0); } -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) { -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; -goto block_46; +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; } else { -x_36 = x_47; -goto block_46; +x_37 = x_48; +goto block_47; } -block_46: +block_47: { -if (x_36 == 0) +if (x_37 == 0) { -if (lean_obj_tag(x_33) == 0) +if (lean_obj_tag(x_34) == 0) { -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); -if (x_40 == 0) +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) { -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); } else { - x_41 = x_35; + x_42 = x_36; } -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; } else { -size_t x_42; size_t x_43; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); +size_t x_43; size_t x_44; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); lean_inc_ref(x_4); { -size_t _tmp_6 = x_43; +size_t _tmp_6 = x_44; lean_object* _tmp_7 = x_4; -lean_object* _tmp_16 = x_34; +lean_object* _tmp_17 = x_35; x_7 = _tmp_6; x_8 = _tmp_7; -x_17 = _tmp_16; +x_18 = _tmp_17; } goto _start; } @@ -47999,281 +56384,253 @@ goto _start; } else { -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); } else { - x_45 = x_35; + x_46 = x_36; } -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -return x_45; +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) { -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec_ref(x_8); -x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed), 1, 0); -x_21 = lean_array_uget(x_5, x_7); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed), 1, 0); +x_22 = lean_array_uget(x_5, x_7); lean_inc_ref(x_2); lean_inc_ref(x_1); -x_22 = lean_apply_2(x_21, x_1, x_2); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); +x_23 = lean_apply_2(x_22, x_1, x_2); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_22, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) +lean_inc_ref(x_9); +x_24 = l_Functor_mapRev___at___Lean_Doc_elabInline_spec__0___redArg(x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_24; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +uint8_t x_25; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_23, 0, x_27); -return x_23; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_24, 0, x_28); +return x_24; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; +lean_ctor_set(x_32, 1, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_47; -x_33 = lean_ctor_get(x_23, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_48; +x_34 = lean_ctor_get(x_24, 0); lean_inc(x_34); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_35 = x_23; +x_35 = lean_ctor_get(x_24, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_36 = x_24; } else { - lean_dec_ref(x_23); - x_35 = lean_box(0); + lean_dec_ref(x_24); + x_36 = lean_box(0); } -x_47 = l_Lean_Exception_isInterrupt(x_33); -if (x_47 == 0) +x_48 = l_Lean_Exception_isInterrupt(x_34); +if (x_48 == 0) { -uint8_t x_48; -x_48 = l_Lean_Exception_isRuntime(x_33); -x_36 = x_48; -goto block_46; +uint8_t x_49; +x_49 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_49; +goto block_47; } else { -x_36 = x_47; -goto block_46; +x_37 = x_48; +goto block_47; } -block_46: +block_47: { -if (x_36 == 0) +if (x_37 == 0) { -if (lean_obj_tag(x_33) == 0) +if (lean_obj_tag(x_34) == 0) { -lean_object* x_37; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_38; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; -x_40 = l_Lean_instBEqInternalExceptionId_beq(x_38, x_39); -if (x_40 == 0) +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_41 = l_Lean_instBEqInternalExceptionId_beq(x_39, x_40); +if (x_41 == 0) { -lean_object* x_41; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_42; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_41 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_42 = lean_alloc_ctor(1, 2, 0); } else { - x_41 = x_35; + x_42 = x_36; } -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -return x_41; +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +return x_42; } else { -size_t x_42; size_t x_43; lean_object* x_44; -lean_dec(x_35); -lean_dec_ref(x_33); -x_42 = 1; -x_43 = lean_usize_add(x_7, x_42); +size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_36); +lean_dec_ref(x_34); +x_43 = 1; +x_44 = lean_usize_add(x_7, x_43); lean_inc_ref(x_4); -x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_43, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); -return x_44; -} -} -} -else -{ -lean_object* x_45; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -if (lean_is_scalar(x_35)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_35; -} -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); +x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_44, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_35); return x_45; } } } -} -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} else { -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_string_dec_eq(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; +lean_object* x_46; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +if (lean_is_scalar(x_36)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_36; } -else -{ -return x_6; +lean_ctor_set(x_46, 0, x_34); +lean_ctor_set(x_46, 1, x_35); +return x_46; } } } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(x_2, x_3); -return x_4; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; uint8_t x_18; @@ -48293,400 +56650,51 @@ x_14 = 1; x_15 = lean_usize_sub(x_13, x_14); x_16 = lean_usize_land(x_12, x_15); x_17 = lean_array_uget(x_3, x_16); -x_18 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(x_2, x_17); +x_18 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11_spec__11___redArg(x_2, x_17); lean_dec(x_17); return x_18; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_2, x_3); +x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2) { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0() { _start: { -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = lean_string_hash(x_4); -x_8 = 32; -x_9 = lean_uint64_shift_right(x_7, x_8); -x_10 = lean_uint64_xor(x_7, x_9); -x_11 = 16; -x_12 = lean_uint64_shift_right(x_10, x_11); -x_13 = lean_uint64_xor(x_10, x_12); -x_14 = lean_uint64_to_usize(x_13); -x_15 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_16 = 1; -x_17 = lean_usize_sub(x_15, x_16); -x_18 = lean_usize_land(x_14, x_17); -x_19 = lean_array_uget(x_1, x_18); -lean_ctor_set(x_2, 2, x_19); -x_20 = lean_array_uset(x_1, x_18, x_2); -x_1 = x_20; -x_2 = x_5; -goto _start; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_22 = lean_ctor_get(x_2, 0); -x_23 = lean_ctor_get(x_2, 1); -x_24 = lean_ctor_get(x_2, 2); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_2); -x_25 = lean_array_get_size(x_1); -x_26 = lean_string_hash(x_22); -x_27 = 32; -x_28 = lean_uint64_shift_right(x_26, x_27); -x_29 = lean_uint64_xor(x_26, x_28); -x_30 = 16; -x_31 = lean_uint64_shift_right(x_29, x_30); -x_32 = lean_uint64_xor(x_29, x_31); -x_33 = lean_uint64_to_usize(x_32); -x_34 = lean_usize_of_nat(x_25); -lean_dec(x_25); -x_35 = 1; -x_36 = lean_usize_sub(x_34, x_35); -x_37 = lean_usize_land(x_33, x_36); -x_38 = lean_array_uget(x_1, x_37); -x_39 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_39, 0, x_22); -lean_ctor_set(x_39, 1, x_23); -lean_ctor_set(x_39, 2, x_38); -x_40 = lean_array_uset(x_1, x_37, x_39); -x_1 = x_40; -x_2 = x_24; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10___redArg(x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec_ref(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_____private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10_spec__10___redArg(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10___redArg(x_2, x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10___redArg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = lean_array_get_size(x_1); -x_3 = lean_unsigned_to_nat(2u); -x_4 = lean_nat_mul(x_2, x_3); -lean_dec(x_2); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_4, x_6); -x_8 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10_spec__10___redArg(x_5, x_1, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10___redArg(x_2); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg(lean_object* x_1) { _start: { -if (lean_obj_tag(x_3) == 0) -{ -lean_dec(x_2); -lean_dec_ref(x_1); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 2); -x_8 = lean_string_dec_eq(x_5, x_1); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(x_1, x_2, x_7); -lean_ctor_set(x_3, 2, x_9); -return x_3; -} -else -{ -lean_dec(x_6); -lean_dec(x_5); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_3, 0); -x_11 = lean_ctor_get(x_3, 1); -x_12 = lean_ctor_get(x_3, 2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_3); -x_13 = lean_string_dec_eq(x_10, x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(x_1, x_2, x_12); -x_15 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_11); -lean_ctor_set(x_15, 2, x_14); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_10); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); -lean_ctor_set(x_16, 2, x_12); -return x_16; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_5; -x_5 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(x_2, x_3, x_4); -return x_5; +lean_object* x_12; +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg(x_11); +return x_12; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_string_hash(x_2); -x_9 = 32; -x_10 = lean_uint64_shift_right(x_8, x_9); -x_11 = lean_uint64_xor(x_8, x_10); -x_12 = 16; -x_13 = lean_uint64_shift_right(x_11, x_12); -x_14 = lean_uint64_xor(x_11, x_13); -x_15 = lean_uint64_to_usize(x_14); -x_16 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_17 = 1; -x_18 = lean_usize_sub(x_16, x_17); -x_19 = lean_usize_land(x_15, x_18); -x_20 = lean_array_uget(x_6, x_19); -x_21 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(x_2, x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_5, x_22); -lean_dec(x_5); -x_24 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_24, 0, x_2); -lean_ctor_set(x_24, 1, x_3); -lean_ctor_set(x_24, 2, x_20); -x_25 = lean_array_uset(x_6, x_19, x_24); -x_26 = lean_unsigned_to_nat(4u); -x_27 = lean_nat_mul(x_23, x_26); -x_28 = lean_unsigned_to_nat(3u); -x_29 = lean_nat_div(x_27, x_28); -lean_dec(x_27); -x_30 = lean_array_get_size(x_25); -x_31 = lean_nat_dec_le(x_29, x_30); -lean_dec(x_30); -lean_dec(x_29); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10___redArg(x_25); -lean_ctor_set(x_1, 1, x_32); -lean_ctor_set(x_1, 0, x_23); -return x_1; -} -else -{ -lean_ctor_set(x_1, 1, x_25); -lean_ctor_set(x_1, 0, x_23); -return x_1; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_box(0); -x_34 = lean_array_uset(x_6, x_19, x_33); -x_35 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(x_2, x_3, x_20); -x_36 = lean_array_uset(x_34, x_19, x_35); -lean_ctor_set(x_1, 1, x_36); -return x_1; -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; size_t x_51; lean_object* x_52; uint8_t x_53; -x_37 = lean_ctor_get(x_1, 0); -x_38 = lean_ctor_get(x_1, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_1); -x_39 = lean_array_get_size(x_38); -x_40 = lean_string_hash(x_2); -x_41 = 32; -x_42 = lean_uint64_shift_right(x_40, x_41); -x_43 = lean_uint64_xor(x_40, x_42); -x_44 = 16; -x_45 = lean_uint64_shift_right(x_43, x_44); -x_46 = lean_uint64_xor(x_43, x_45); -x_47 = lean_uint64_to_usize(x_46); -x_48 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_49 = 1; -x_50 = lean_usize_sub(x_48, x_49); -x_51 = lean_usize_land(x_47, x_50); -x_52 = lean_array_uget(x_38, x_51); -x_53 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(x_2, x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_add(x_37, x_54); -lean_dec(x_37); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_2); -lean_ctor_set(x_56, 1, x_3); -lean_ctor_set(x_56, 2, x_52); -x_57 = lean_array_uset(x_38, x_51, x_56); -x_58 = lean_unsigned_to_nat(4u); -x_59 = lean_nat_mul(x_55, x_58); -x_60 = lean_unsigned_to_nat(3u); -x_61 = lean_nat_div(x_59, x_60); -lean_dec(x_59); -x_62 = lean_array_get_size(x_57); -x_63 = lean_nat_dec_le(x_61, x_62); -lean_dec(x_62); -lean_dec(x_61); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__10___redArg(x_57); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_55); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -else -{ -lean_object* x_66; -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_55); -lean_ctor_set(x_66, 1, x_57); -return x_66; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = lean_box(0); -x_68 = lean_array_uset(x_38, x_51, x_67); -x_69 = l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10_spec__13___redArg(x_2, x_3, x_52); -x_70 = lean_array_uset(x_68, x_51, x_69); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_37); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0() { _start: { lean_object* x_1; @@ -48694,257 +56702,11 @@ x_1 = lean_mk_string_unchecked("desc", 4, 4); return x_1; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_6, x_5); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -x_21 = lean_ctor_get(x_14, 2); -x_22 = lean_ctor_get(x_14, 3); -x_23 = lean_ctor_get(x_14, 4); -x_24 = lean_ctor_get(x_14, 5); -x_25 = lean_ctor_get(x_14, 6); -x_26 = lean_ctor_get(x_14, 7); -x_27 = lean_ctor_get(x_14, 8); -x_28 = lean_ctor_get(x_14, 9); -x_29 = lean_ctor_get(x_14, 10); -x_30 = lean_ctor_get(x_14, 11); -x_31 = lean_ctor_get_uint8(x_14, sizeof(void*)*14); -x_32 = lean_ctor_get(x_14, 12); -x_33 = lean_ctor_get_uint8(x_14, sizeof(void*)*14 + 1); -x_34 = lean_ctor_get(x_14, 13); -x_35 = lean_array_uget(x_7, x_6); -x_36 = lean_unsigned_to_nat(0u); -x_37 = lean_array_uset(x_7, x_6, x_36); -x_45 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0; -lean_inc_ref(x_4); -lean_inc_ref(x_3); -lean_inc_ref(x_2); -x_46 = l_Lean_Name_mkStr4(x_2, x_3, x_4, x_45); -lean_inc(x_35); -x_47 = l_Lean_Syntax_isOfKind(x_35, x_46); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -lean_dec_ref(x_37); -lean_dec(x_35); -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_48 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_16); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -return x_48; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_48); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; size_t x_57; size_t x_58; lean_object* x_59; -x_53 = l_Lean_replaceRef(x_35, x_24); -lean_inc_ref(x_34); -lean_inc(x_32); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc_ref(x_19); -x_54 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_54, 0, x_19); -lean_ctor_set(x_54, 1, x_20); -lean_ctor_set(x_54, 2, x_21); -lean_ctor_set(x_54, 3, x_22); -lean_ctor_set(x_54, 4, x_23); -lean_ctor_set(x_54, 5, x_53); -lean_ctor_set(x_54, 6, x_25); -lean_ctor_set(x_54, 7, x_26); -lean_ctor_set(x_54, 8, x_27); -lean_ctor_set(x_54, 9, x_28); -lean_ctor_set(x_54, 10, x_29); -lean_ctor_set(x_54, 11, x_30); -lean_ctor_set(x_54, 12, x_32); -lean_ctor_set(x_54, 13, x_34); -lean_ctor_set_uint8(x_54, sizeof(void*)*14, x_31); -lean_ctor_set_uint8(x_54, sizeof(void*)*14 + 1, x_33); -x_55 = l_Lean_Syntax_getArg(x_35, x_1); -x_56 = l_Lean_Syntax_getArgs(x_55); -lean_dec(x_55); -x_57 = lean_array_size(x_56); -x_58 = 0; -lean_inc(x_15); -lean_inc_ref(x_54); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_59 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_57, x_58, x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_54, x_15, x_16); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; lean_object* x_66; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec_ref(x_59); -x_62 = lean_unsigned_to_nat(3u); -x_63 = l_Lean_Syntax_getArg(x_35, x_62); -lean_dec(x_35); -x_64 = l_Lean_Syntax_getArgs(x_63); -lean_dec(x_63); -x_65 = lean_array_size(x_64); -lean_inc(x_15); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_66 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_65, x_58, x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_54, x_15, x_61); -if (lean_obj_tag(x_66) == 0) -{ -uint8_t x_67; -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_66, 0); -x_69 = lean_ctor_get(x_66, 1); -lean_ctor_set(x_66, 1, x_68); -lean_ctor_set(x_66, 0, x_60); -x_38 = x_66; -x_39 = x_69; -goto block_44; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_66, 0); -x_71 = lean_ctor_get(x_66, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_66); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_60); -lean_ctor_set(x_72, 1, x_70); -x_38 = x_72; -x_39 = x_71; -goto block_44; -} -} -else -{ -lean_dec(x_60); -lean_dec_ref(x_37); -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_66; -} -} -else -{ -lean_dec_ref(x_54); -lean_dec_ref(x_37); -lean_dec(x_35); -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_59; -} -} -block_44: -{ -size_t x_40; size_t x_41; lean_object* x_42; -x_40 = 1; -x_41 = lean_usize_add(x_6, x_40); -x_42 = lean_array_uset(x_37, x_6, x_38); -x_6 = x_41; -x_7 = x_42; -x_16 = x_39; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -lean_object* x_18; -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_18; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); +x_18 = lean_usize_dec_lt(x_6, x_5); if (x_18 == 0) { lean_object* x_19; @@ -48955,11 +56717,12 @@ lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec_ref(x_5); +lean_dec_ref(x_8); lean_dec_ref(x_4); lean_dec_ref(x_3); +lean_dec_ref(x_2); x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); +lean_ctor_set(x_19, 0, x_7); lean_ctor_set(x_19, 1, x_17); return x_19; } @@ -48982,14 +56745,14 @@ x_32 = lean_ctor_get_uint8(x_15, sizeof(void*)*14); x_33 = lean_ctor_get(x_15, 12); x_34 = lean_ctor_get_uint8(x_15, sizeof(void*)*14 + 1); x_35 = lean_ctor_get(x_15, 13); -x_36 = lean_array_uget(x_8, x_7); +x_36 = lean_array_uget(x_7, x_6); x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_array_uset(x_8, x_7, x_37); -x_46 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0; -lean_inc_ref(x_5); +x_38 = lean_array_uset(x_7, x_6, x_37); +x_46 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0; lean_inc_ref(x_4); lean_inc_ref(x_3); -x_47 = l_Lean_Name_mkStr4(x_3, x_4, x_5, x_46); +lean_inc_ref(x_2); +x_47 = l_Lean_Name_mkStr4(x_2, x_3, x_4, x_46); lean_inc(x_36); x_48 = l_Lean_Syntax_isOfKind(x_36, x_47); lean_dec(x_47); @@ -49005,10 +56768,11 @@ lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec_ref(x_5); +lean_dec_ref(x_8); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_49 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_17); +lean_dec_ref(x_2); +x_49 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg(x_17); x_50 = !lean_is_exclusive(x_49); if (x_50 == 0) { @@ -49075,7 +56839,8 @@ lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc(x_9); -x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_58, x_59, x_57, x_9, x_10, x_11, x_12, x_13, x_14, x_55, x_16, x_17); +lean_inc_ref(x_8); +x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_58, x_59, x_57, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55, x_16, x_17); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; size_t x_66; lean_object* x_67; @@ -49097,7 +56862,8 @@ lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc(x_9); -x_67 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_66, x_59, x_65, x_9, x_10, x_11, x_12, x_13, x_14, x_55, x_16, x_62); +lean_inc_ref(x_8); +x_67 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_66, x_59, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55, x_16, x_62); if (lean_obj_tag(x_67) == 0) { uint8_t x_68; @@ -49140,9 +56906,10 @@ lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec_ref(x_5); +lean_dec_ref(x_8); lean_dec_ref(x_4); lean_dec_ref(x_3); +lean_dec_ref(x_2); return x_67; } } @@ -49158,25 +56925,278 @@ lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec_ref(x_5); +lean_dec_ref(x_8); lean_dec_ref(x_4); lean_dec_ref(x_3); +lean_dec_ref(x_2); return x_60; } } block_45: { -size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +size_t x_41; size_t x_42; lean_object* x_43; x_41 = 1; -x_42 = lean_usize_add(x_7, x_41); -x_43 = lean_array_uset(x_38, x_7, x_39); -x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg(x_1, x_3, x_4, x_5, x_6, x_42, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_40); -return x_44; +x_42 = lean_usize_add(x_6, x_41); +x_43 = lean_array_uset(x_38, x_6, x_39); +x_6 = x_42; +x_7 = x_43; +x_17 = x_40; +goto _start; } } } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +x_23 = lean_ctor_get(x_16, 2); +x_24 = lean_ctor_get(x_16, 3); +x_25 = lean_ctor_get(x_16, 4); +x_26 = lean_ctor_get(x_16, 5); +x_27 = lean_ctor_get(x_16, 6); +x_28 = lean_ctor_get(x_16, 7); +x_29 = lean_ctor_get(x_16, 8); +x_30 = lean_ctor_get(x_16, 9); +x_31 = lean_ctor_get(x_16, 10); +x_32 = lean_ctor_get(x_16, 11); +x_33 = lean_ctor_get_uint8(x_16, sizeof(void*)*14); +x_34 = lean_ctor_get(x_16, 12); +x_35 = lean_ctor_get_uint8(x_16, sizeof(void*)*14 + 1); +x_36 = lean_ctor_get(x_16, 13); +x_37 = lean_array_uget(x_8, x_7); +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_array_uset(x_8, x_7, x_38); +x_47 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0; +lean_inc_ref(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_3); +x_48 = l_Lean_Name_mkStr4(x_3, x_4, x_5, x_47); +lean_inc(x_37); +x_49 = l_Lean_Syntax_isOfKind(x_37, x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; uint8_t x_51; +lean_dec_ref(x_39); +lean_dec(x_37); +lean_dec(x_17); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_50 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg(x_18); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +return x_50; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_50); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; +x_55 = l_Lean_replaceRef(x_37, x_26); +lean_inc_ref(x_36); +lean_inc(x_34); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc_ref(x_22); +lean_inc_ref(x_21); +x_56 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_56, 0, x_21); +lean_ctor_set(x_56, 1, x_22); +lean_ctor_set(x_56, 2, x_23); +lean_ctor_set(x_56, 3, x_24); +lean_ctor_set(x_56, 4, x_25); +lean_ctor_set(x_56, 5, x_55); +lean_ctor_set(x_56, 6, x_27); +lean_ctor_set(x_56, 7, x_28); +lean_ctor_set(x_56, 8, x_29); +lean_ctor_set(x_56, 9, x_30); +lean_ctor_set(x_56, 10, x_31); +lean_ctor_set(x_56, 11, x_32); +lean_ctor_set(x_56, 12, x_34); +lean_ctor_set(x_56, 13, x_36); +lean_ctor_set_uint8(x_56, sizeof(void*)*14, x_33); +lean_ctor_set_uint8(x_56, sizeof(void*)*14 + 1, x_35); +x_57 = l_Lean_Syntax_getArg(x_37, x_1); +x_58 = l_Lean_Syntax_getArgs(x_57); +lean_dec(x_57); +x_59 = lean_array_size(x_58); +x_60 = 0; +lean_inc(x_17); +lean_inc_ref(x_56); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_61 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_59, x_60, x_58, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_56, x_17, x_18); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; lean_object* x_68; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = lean_unsigned_to_nat(3u); +x_65 = l_Lean_Syntax_getArg(x_37, x_64); +lean_dec(x_37); +x_66 = l_Lean_Syntax_getArgs(x_65); +lean_dec(x_65); +x_67 = lean_array_size(x_66); +lean_inc(x_17); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_68 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_67, x_60, x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_56, x_17, x_63); +if (lean_obj_tag(x_68) == 0) +{ +uint8_t x_69; +x_69 = !lean_is_exclusive(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_68, 0); +x_71 = lean_ctor_get(x_68, 1); +lean_ctor_set(x_68, 1, x_70); +lean_ctor_set(x_68, 0, x_62); +x_40 = x_68; +x_41 = x_71; +goto block_46; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_68, 0); +x_73 = lean_ctor_get(x_68, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_68); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_62); +lean_ctor_set(x_74, 1, x_72); +x_40 = x_74; +x_41 = x_73; +goto block_46; +} +} +else +{ +lean_dec(x_62); +lean_dec_ref(x_39); +lean_dec(x_17); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_68; +} +} +else +{ +lean_dec_ref(x_56); +lean_dec_ref(x_39); +lean_dec(x_37); +lean_dec(x_17); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_61; +} +} +block_46: +{ +size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; +x_42 = 1; +x_43 = lean_usize_add(x_7, x_42); +x_44 = lean_array_uset(x_39, x_7, x_40); +x_45 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg(x_1, x_3, x_4, x_5, x_6, x_43, x_44, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_41); +return x_45; +} +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0() { _start: { lean_object* x_1; @@ -49184,7 +57204,7 @@ x_1 = lean_mk_string_unchecked("li", 2, 2); return x_1; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -49203,7 +57223,7 @@ else { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_array_uget(x_7, x_6); -x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0; +x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0; lean_inc_ref(x_3); lean_inc_ref(x_2); lean_inc_ref(x_1); @@ -49241,145 +57261,151 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_dec_ref(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_array_size(x_15); -x_17 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) +lean_inc_ref(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_17, x_18, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_3, x_2, x_21); -x_23 = 1; -x_24 = lean_usize_add(x_2, x_23); -x_25 = lean_array_uset(x_22, x_2, x_19); -x_2 = x_24; -x_3 = x_25; -x_12 = x_20; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_3, x_2, x_22); +x_24 = 1; +x_25 = lean_usize_add(x_2, x_24); +x_26 = lean_array_uset(x_23, x_2, x_20); +x_2 = x_25; +x_3 = x_26; +x_13 = x_21; goto _start; } else { -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_3); -return x_18; +return x_19; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_dec_ref(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_array_size(x_15); -x_17 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) +lean_inc_ref(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_17, x_18, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_3, x_2, x_21); -x_23 = 1; -x_24 = lean_usize_add(x_2, x_23); -x_25 = lean_array_uset(x_22, x_2, x_19); -x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18(x_1, x_24, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -return x_26; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_3, x_2, x_22); +x_24 = 1; +x_25 = lean_usize_add(x_2, x_24); +x_26 = lean_array_uset(x_23, x_2, x_20); +x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(x_1, x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +return x_27; } else { -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec_ref(x_3); -return x_18; +return x_19; } } } } -LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_elabBlock_spec__20(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_elabBlock_spec__17(lean_object* x_1) { _start: { lean_object* x_2; @@ -49409,8 +57435,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__1; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49429,8 +57455,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__3; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49449,8 +57475,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__5; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49469,8 +57495,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__7; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49489,8 +57515,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__9; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49509,8 +57535,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__11; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49529,8 +57555,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__13; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49549,8 +57575,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__15; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49569,8 +57595,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Doc_elabBlock___closed__17; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -49578,6 +57604,23 @@ return x_5; static lean_object* _init_l_Lean_Doc_elabBlock___closed__19() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unsupported syntax: ", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_elabBlock___closed__19; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__21() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = lean_box(0); @@ -49587,28 +57630,11 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_elabBlock___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("No document command elaborator for `", 36, 36); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_elabBlock___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_elabBlock___closed__20; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Doc_elabBlock___closed__22() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("No code block expander for `", 28, 28); +x_1 = lean_mk_string_unchecked("No document command elaborator for `", 36, 36); return x_1; } } @@ -49625,7 +57651,7 @@ static lean_object* _init_l_Lean_Doc_elabBlock___closed__24() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("No directive expander for `", 27, 27); +x_1 = lean_mk_string_unchecked("No code block expander for `", 28, 28); return x_1; } } @@ -49642,7 +57668,7 @@ static lean_object* _init_l_Lean_Doc_elabBlock___closed__26() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Reference already found", 23, 23); +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 7, 0); return x_1; } } @@ -49650,3201 +57676,4135 @@ static lean_object* _init_l_Lean_Doc_elabBlock___closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_elabBlock___closed__26; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Insert a specific kind of code block:", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_elabBlock___closed__29; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_elabBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_Doc_elabBlock___closed__31() { _start: { -lean_object* x_11; lean_object* x_15; uint8_t x_19; -x_19 = !lean_is_exclusive(x_8); -if (x_19 == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Code block could be more specific.", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__32() { +_start: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_8, 5); -x_21 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_22 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_23 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_24 = l_Lean_Doc_elabBlock___closed__2; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_elabBlock___closed__31; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("No directive expander for `", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_elabBlock___closed__33; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Reference already found", 23, 23); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_elabBlock___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_elabBlock___closed__35; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_elabBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_16; uint8_t x_20; +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_9, 5); +x_22 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_23 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_24 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_25 = l_Lean_Doc_elabBlock___closed__2; lean_inc(x_1); -x_25 = l_Lean_Syntax_isOfKind(x_1, x_24); -x_26 = l_Lean_replaceRef(x_1, x_20); -lean_dec(x_20); -lean_ctor_set(x_8, 5, x_26); -if (x_25 == 0) +x_26 = l_Lean_Syntax_isOfKind(x_1, x_25); +x_27 = l_Lean_replaceRef(x_1, x_21); +lean_dec(x_21); +lean_ctor_set(x_9, 5, x_27); +if (x_26 == 0) { -lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Doc_elabBlock___closed__4; +lean_object* x_28; uint8_t x_29; +x_28 = l_Lean_Doc_elabBlock___closed__4; lean_inc(x_1); -x_28 = l_Lean_Syntax_isOfKind(x_1, x_27); -if (x_28 == 0) +x_29 = l_Lean_Syntax_isOfKind(x_1, x_28); +if (x_29 == 0) { -lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Doc_elabBlock___closed__6; +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Doc_elabBlock___closed__6; lean_inc(x_1); -x_30 = l_Lean_Syntax_isOfKind(x_1, x_29); -if (x_30 == 0) +x_31 = l_Lean_Syntax_isOfKind(x_1, x_30); +if (x_31 == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Doc_elabBlock___closed__8; +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Doc_elabBlock___closed__8; lean_inc(x_1); -x_32 = l_Lean_Syntax_isOfKind(x_1, x_31); -if (x_32 == 0) +x_33 = l_Lean_Syntax_isOfKind(x_1, x_32); +if (x_33 == 0) { -lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Doc_elabBlock___closed__10; +lean_object* x_34; uint8_t x_35; +x_34 = l_Lean_Doc_elabBlock___closed__10; lean_inc(x_1); -x_34 = l_Lean_Syntax_isOfKind(x_1, x_33); -if (x_34 == 0) +x_35 = l_Lean_Syntax_isOfKind(x_1, x_34); +if (x_35 == 0) { -lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_Doc_elabBlock___closed__12; +lean_object* x_36; uint8_t x_37; +x_36 = l_Lean_Doc_elabBlock___closed__12; lean_inc(x_1); -x_36 = l_Lean_Syntax_isOfKind(x_1, x_35); -if (x_36 == 0) +x_37 = l_Lean_Syntax_isOfKind(x_1, x_36); +if (x_37 == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Doc_elabBlock___closed__14; +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_Doc_elabBlock___closed__14; lean_inc(x_1); -x_38 = l_Lean_Syntax_isOfKind(x_1, x_37); -if (x_38 == 0) +x_39 = l_Lean_Syntax_isOfKind(x_1, x_38); +if (x_39 == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = l_Lean_Doc_elabBlock___closed__16; +lean_object* x_40; uint8_t x_41; +x_40 = l_Lean_Doc_elabBlock___closed__16; lean_inc(x_1); -x_40 = l_Lean_Syntax_isOfKind(x_1, x_39); -if (x_40 == 0) +x_41 = l_Lean_Syntax_isOfKind(x_1, x_40); +if (x_41 == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = l_Lean_Doc_elabBlock___closed__18; +lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Doc_elabBlock___closed__18; lean_inc(x_1); -x_42 = l_Lean_Syntax_isOfKind(x_1, x_41); -if (x_42 == 0) +x_43 = l_Lean_Syntax_isOfKind(x_1, x_42); +if (x_43 == 0) { -lean_object* x_43; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_45 = l_Lean_MessageData_ofSyntax(x_1); +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_43 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_43; +return x_47; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_unsigned_to_nat(1u); -x_45 = l_Lean_Syntax_getArg(x_1, x_44); -x_46 = lean_box(0); -lean_inc(x_45); -x_47 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_47, 0, x_45); -lean_closure_set(x_47, 1, x_46); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_48 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_48, 0); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_unsigned_to_nat(1u); +x_49 = l_Lean_Syntax_getArg(x_1, x_48); lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec_ref(x_48); -x_51 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_51, 0, x_49); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_52 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -if (lean_obj_tag(x_52) == 0) +x_50 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_50, 0, x_49); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_51 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; -x_53 = lean_ctor_get(x_52, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec_ref(x_52); -x_55 = lean_unsigned_to_nat(2u); -x_56 = l_Lean_Syntax_getArg(x_1, x_55); +lean_dec_ref(x_51); +x_54 = lean_unsigned_to_nat(2u); +x_55 = l_Lean_Syntax_getArg(x_1, x_54); lean_dec(x_1); -x_57 = l_Lean_Syntax_getArgs(x_56); -lean_dec(x_56); -x_58 = lean_box(0); -x_59 = l_Lean_Doc_elabBlock___closed__19; -x_60 = lean_array_size(x_53); -x_61 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_56 = l_Lean_Syntax_getArgs(x_55); +lean_dec(x_55); +x_57 = lean_box(0); +x_58 = l_Lean_Doc_elabBlock___closed__21; +x_59 = lean_array_size(x_52); +x_60 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_62 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2(x_57, x_58, x_59, x_53, x_60, x_61, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_54); -lean_dec(x_53); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_63, 0); -x_66 = lean_ctor_get(x_63, 1); -lean_dec(x_66); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_67 = lean_ctor_get(x_62, 1); -lean_inc(x_67); -lean_dec_ref(x_62); -x_68 = l_Lean_Doc_elabBlock___closed__21; -lean_inc(x_45); -x_69 = l_Lean_MessageData_ofSyntax(x_45); -lean_ctor_set_tag(x_63, 7); -lean_ctor_set(x_63, 1, x_69); -lean_ctor_set(x_63, 0, x_68); -x_70 = l_Lean_Doc_getPositional___redArg___closed__37; -x_71 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_71, 0, x_63); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_45, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_67); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_45); -return x_72; -} -else -{ -uint8_t x_73; -lean_free_object(x_63); -lean_dec(x_45); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_73 = !lean_is_exclusive(x_62); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_62, 0); -lean_dec(x_74); -x_75 = lean_ctor_get(x_65, 0); -lean_inc(x_75); -lean_dec_ref(x_65); -lean_ctor_set(x_62, 0, x_75); -return x_62; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_62, 1); -lean_inc(x_76); -lean_dec(x_62); -x_77 = lean_ctor_get(x_65, 0); -lean_inc(x_77); -lean_dec_ref(x_65); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -} -else -{ -lean_object* x_79; -x_79 = lean_ctor_get(x_63, 0); -lean_inc(x_79); -lean_dec(x_63); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_80 = lean_ctor_get(x_62, 1); -lean_inc(x_80); -lean_dec_ref(x_62); -x_81 = l_Lean_Doc_elabBlock___closed__21; -lean_inc(x_45); -x_82 = l_Lean_MessageData_ofSyntax(x_45); -x_83 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Doc_getPositional___redArg___closed__37; -x_85 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_45, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_45); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_45); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_87 = lean_ctor_get(x_62, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_88 = x_62; -} else { - lean_dec_ref(x_62); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get(x_79, 0); -lean_inc(x_89); -lean_dec_ref(x_79); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; -} -} -} -else -{ -uint8_t x_91; -lean_dec(x_45); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_91 = !lean_is_exclusive(x_62); -if (x_91 == 0) -{ -return x_62; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_62, 0); -x_93 = lean_ctor_get(x_62, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_62); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_45); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_52); -if (x_95 == 0) -{ -return x_52; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_52, 0); -x_97 = lean_ctor_get(x_52, 1); -lean_inc(x_97); -lean_inc(x_96); +lean_inc_ref(x_2); +x_61 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1(x_56, x_57, x_58, x_52, x_59, x_60, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_53); lean_dec(x_52); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -} -else +if (lean_obj_tag(x_61) == 0) { -uint8_t x_99; -lean_dec(x_45); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ctor_get(x_62, 1); +lean_dec(x_65); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_dec_ref(x_61); +x_67 = l_Lean_Doc_elabBlock___closed__23; +lean_inc(x_49); +x_68 = l_Lean_MessageData_ofSyntax(x_49); +lean_ctor_set_tag(x_62, 7); +lean_ctor_set(x_62, 1, x_68); +lean_ctor_set(x_62, 0, x_67); +x_69 = l_Lean_Doc_getPositional___redArg___closed__40; +x_70 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_70, 0, x_62); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_49, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_66); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_99 = !lean_is_exclusive(x_48); -if (x_99 == 0) -{ -return x_48; +lean_dec_ref(x_2); +lean_dec(x_49); +return x_71; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_48, 0); -x_101 = lean_ctor_get(x_48, 1); -lean_inc(x_101); +uint8_t x_72; +lean_free_object(x_62); +lean_dec(x_49); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_72 = !lean_is_exclusive(x_61); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_61, 0); +lean_dec(x_73); +x_74 = lean_ctor_get(x_64, 0); +lean_inc(x_74); +lean_dec_ref(x_64); +lean_ctor_set(x_61, 0, x_74); +return x_61; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_61, 1); +lean_inc(x_75); +lean_dec(x_61); +x_76 = lean_ctor_get(x_64, 0); +lean_inc(x_76); +lean_dec_ref(x_64); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_62, 0); +lean_inc(x_78); +lean_dec(x_62); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_79 = lean_ctor_get(x_61, 1); +lean_inc(x_79); +lean_dec_ref(x_61); +x_80 = l_Lean_Doc_elabBlock___closed__23; +lean_inc(x_49); +x_81 = l_Lean_MessageData_ofSyntax(x_49); +x_82 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_Doc_getPositional___redArg___closed__40; +x_84 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_49, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_79); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_49); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_49); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_86 = lean_ctor_get(x_61, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_87 = x_61; +} else { + lean_dec_ref(x_61); + x_87 = lean_box(0); +} +x_88 = lean_ctor_get(x_78, 0); +lean_inc(x_88); +lean_dec_ref(x_78); +if (lean_is_scalar(x_87)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_87; +} +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_86); +return x_89; +} +} +} +else +{ +uint8_t x_90; +lean_dec(x_49); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_90 = !lean_is_exclusive(x_61); +if (x_90 == 0) +{ +return x_61; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_61, 0); +x_92 = lean_ctor_get(x_61, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_61); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_49); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_51); +if (x_94 == 0) +{ +return x_51; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_51, 0); +x_96 = lean_ctor_get(x_51, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_51); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_unsigned_to_nat(0u); +x_99 = lean_unsigned_to_nat(1u); +x_100 = l_Lean_Syntax_getArg(x_1, x_99); lean_inc(x_100); -lean_dec(x_48); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; -} -} -} -} -else +x_101 = l_Lean_Syntax_matchesNull(x_100, x_98); +if (x_101 == 0) { -lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_103 = lean_unsigned_to_nat(1u); -x_104 = l_Lean_Syntax_getArg(x_1, x_103); -x_105 = lean_unsigned_to_nat(2u); -lean_inc(x_104); -x_106 = l_Lean_Syntax_matchesNull(x_104, x_105); -if (x_106 == 0) +lean_object* x_102; uint8_t x_103; +x_102 = lean_unsigned_to_nat(2u); +lean_inc(x_100); +x_103 = l_Lean_Syntax_matchesNull(x_100, x_102); +if (x_103 == 0) { -lean_object* x_107; -lean_dec(x_104); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_100); +x_104 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_105 = l_Lean_MessageData_ofSyntax(x_1); +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_107 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); return x_107; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_108 = lean_unsigned_to_nat(0u); -x_109 = l_Lean_Syntax_getArg(x_104, x_108); -x_110 = lean_box(0); -lean_inc(x_109); -x_111 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_111, 0, x_109); -lean_closure_set(x_111, 1, x_110); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_112 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_111, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_112) == 0) +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = l_Lean_Syntax_getArg(x_100, x_98); +lean_inc(x_108); +x_109 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_109, 0, x_108); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_110 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_109, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_110) == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec_ref(x_112); -x_115 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_115, 0, x_113); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_116 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_114); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; size_t x_125; size_t x_126; lean_object* x_127; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec_ref(x_116); -x_119 = l_Lean_Syntax_getArg(x_104, x_103); -lean_dec(x_104); -x_120 = lean_unsigned_to_nat(3u); -x_121 = l_Lean_Syntax_getArg(x_1, x_120); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; size_t x_119; size_t x_120; lean_object* x_121; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec_ref(x_110); +x_113 = l_Lean_Syntax_getArg(x_100, x_99); +lean_dec(x_100); +x_114 = lean_unsigned_to_nat(3u); +x_115 = l_Lean_Syntax_getArg(x_1, x_114); lean_dec(x_1); -x_122 = l_Lean_Syntax_getArgs(x_119); -lean_dec(x_119); -x_123 = lean_box(0); -x_124 = l_Lean_Doc_elabBlock___closed__19; -x_125 = lean_array_size(x_117); -x_126 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_116 = l_Lean_Syntax_getArgs(x_113); +lean_dec(x_113); +x_117 = lean_box(0); +x_118 = l_Lean_Doc_elabBlock___closed__21; +x_119 = lean_array_size(x_111); +x_120 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4(x_121, x_122, x_123, x_124, x_117, x_125, x_126, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_118); -lean_dec(x_117); -if (lean_obj_tag(x_127) == 0) +lean_inc_ref(x_2); +x_121 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3(x_115, x_116, x_117, x_118, x_111, x_119, x_120, x_118, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_112); +lean_dec(x_111); +if (lean_obj_tag(x_121) == 0) { -lean_object* x_128; uint8_t x_129; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) +lean_object* x_122; uint8_t x_123; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = !lean_is_exclusive(x_122); +if (x_123 == 0) { -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_dec(x_131); -if (lean_obj_tag(x_130) == 0) +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_122, 0); +x_125 = lean_ctor_get(x_122, 1); +lean_dec(x_125); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_132 = lean_ctor_get(x_127, 1); -lean_inc(x_132); -lean_dec_ref(x_127); -x_133 = l_Lean_Doc_elabBlock___closed__23; -lean_inc(x_109); -x_134 = l_Lean_MessageData_ofSyntax(x_109); -lean_ctor_set_tag(x_128, 7); -lean_ctor_set(x_128, 1, x_134); -lean_ctor_set(x_128, 0, x_133); -x_135 = l_Lean_Doc_getPositional___redArg___closed__37; -x_136 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_136, 0, x_128); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_109, x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_132); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_126 = lean_ctor_get(x_121, 1); +lean_inc(x_126); +lean_dec_ref(x_121); +x_127 = l_Lean_Doc_elabBlock___closed__25; +lean_inc(x_108); +x_128 = l_Lean_MessageData_ofSyntax(x_108); +lean_ctor_set_tag(x_122, 7); +lean_ctor_set(x_122, 1, x_128); +lean_ctor_set(x_122, 0, x_127); +x_129 = l_Lean_Doc_getPositional___redArg___closed__40; +x_130 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_130, 0, x_122); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_108, x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_126); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_109); +lean_dec_ref(x_2); +lean_dec(x_108); +return x_131; +} +else +{ +uint8_t x_132; +lean_free_object(x_122); +lean_dec(x_108); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_132 = !lean_is_exclusive(x_121); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; +x_133 = lean_ctor_get(x_121, 0); +lean_dec(x_133); +x_134 = lean_ctor_get(x_124, 0); +lean_inc(x_134); +lean_dec_ref(x_124); +lean_ctor_set(x_121, 0, x_134); +return x_121; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_121, 1); +lean_inc(x_135); +lean_dec(x_121); +x_136 = lean_ctor_get(x_124, 0); +lean_inc(x_136); +lean_dec_ref(x_124); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); return x_137; } +} +} else { -uint8_t x_138; -lean_free_object(x_128); -lean_dec(x_109); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_138; +x_138 = lean_ctor_get(x_122, 0); +lean_inc(x_138); +lean_dec(x_122); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_139 = lean_ctor_get(x_121, 1); +lean_inc(x_139); +lean_dec_ref(x_121); +x_140 = l_Lean_Doc_elabBlock___closed__25; +lean_inc(x_108); +x_141 = l_Lean_MessageData_ofSyntax(x_108); +x_142 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Lean_Doc_getPositional___redArg___closed__40; +x_144 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_108, x_144, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_139); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_138 = !lean_is_exclusive(x_127); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; -x_139 = lean_ctor_get(x_127, 0); -lean_dec(x_139); -x_140 = lean_ctor_get(x_130, 0); -lean_inc(x_140); -lean_dec_ref(x_130); -lean_ctor_set(x_127, 0, x_140); -return x_127; +lean_dec_ref(x_2); +lean_dec(x_108); +return x_145; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_127, 1); -lean_inc(x_141); -lean_dec(x_127); -x_142 = lean_ctor_get(x_130, 0); -lean_inc(x_142); -lean_dec_ref(x_130); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -return x_143; -} -} -} -else -{ -lean_object* x_144; -x_144 = lean_ctor_get(x_128, 0); -lean_inc(x_144); -lean_dec(x_128); -if (lean_obj_tag(x_144) == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_145 = lean_ctor_get(x_127, 1); -lean_inc(x_145); -lean_dec_ref(x_127); -x_146 = l_Lean_Doc_elabBlock___closed__23; -lean_inc(x_109); -x_147 = l_Lean_MessageData_ofSyntax(x_109); -x_148 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_Doc_getPositional___redArg___closed__37; -x_150 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_109, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_145); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_108); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_109); -return x_151; +lean_dec_ref(x_2); +x_146 = lean_ctor_get(x_121, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_147 = x_121; +} else { + lean_dec_ref(x_121); + x_147 = lean_box(0); +} +x_148 = lean_ctor_get(x_138, 0); +lean_inc(x_148); +lean_dec_ref(x_138); +if (lean_is_scalar(x_147)) { + x_149 = lean_alloc_ctor(0, 2, 0); +} else { + x_149 = x_147; +} +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_146); +return x_149; +} +} } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_109); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +uint8_t x_150; +lean_dec(x_108); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_152 = lean_ctor_get(x_127, 1); +lean_dec_ref(x_2); +x_150 = !lean_is_exclusive(x_121); +if (x_150 == 0) +{ +return x_121; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_121, 0); +x_152 = lean_ctor_get(x_121, 1); lean_inc(x_152); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_153 = x_127; -} else { - lean_dec_ref(x_127); - x_153 = lean_box(0); -} -x_154 = lean_ctor_get(x_144, 0); -lean_inc(x_154); -lean_dec_ref(x_144); -if (lean_is_scalar(x_153)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_153; -} -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_152); -return x_155; +lean_inc(x_151); +lean_dec(x_121); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +return x_153; } } } else { -uint8_t x_156; -lean_dec(x_109); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +uint8_t x_154; +lean_dec(x_108); +lean_dec(x_100); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_156 = !lean_is_exclusive(x_127); -if (x_156 == 0) -{ -return x_127; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_127, 0); -x_158 = lean_ctor_get(x_127, 1); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_127); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -return x_159; -} -} -} -else -{ -uint8_t x_160; -lean_dec(x_109); -lean_dec(x_104); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_160 = !lean_is_exclusive(x_116); -if (x_160 == 0) +x_154 = !lean_is_exclusive(x_110); +if (x_154 == 0) { -return x_116; +return x_110; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_116, 0); -x_162 = lean_ctor_get(x_116, 1); -lean_inc(x_162); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_110, 0); +x_156 = lean_ctor_get(x_110, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_110); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; +} +} +} +} +else +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_100); +x_158 = l_Lean_Doc_elabBlock___closed__26; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_159 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_158, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_170; uint8_t x_171; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); lean_inc(x_161); -lean_dec(x_116); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_162 = x_159; +} else { + lean_dec_ref(x_159); + x_162 = lean_box(0); } -} -} -else +x_163 = lean_unsigned_to_nat(3u); +x_164 = l_Lean_Syntax_getArg(x_1, x_163); +x_170 = l_Lean_Doc_elabInline___closed__27; +x_171 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_160, x_170); +lean_dec(x_160); +if (x_171 == 0) { -uint8_t x_164; -lean_dec(x_109); -lean_dec(x_104); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -x_164 = !lean_is_exclusive(x_112); -if (x_164 == 0) -{ -return x_112; +x_165 = x_161; +goto block_169; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_112, 0); -x_166 = lean_ctor_get(x_112, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_112); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -return x_167; -} -} -} -} +lean_object* x_172; lean_object* x_173; +x_172 = l_Lean_Syntax_getArg(x_1, x_98); +lean_dec(x_1); +x_173 = l_Lean_Syntax_getRange_x3f(x_172, x_39); +if (lean_obj_tag(x_173) == 0) +{ +lean_dec(x_172); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_165 = x_161; +goto block_169; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_168 = lean_unsigned_to_nat(1u); -x_169 = l_Lean_Syntax_getArg(x_1, x_168); -x_170 = lean_box(0); -lean_inc(x_169); -x_171 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_171, 0, x_169); -lean_closure_set(x_171, 1, x_170); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_172 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_171, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_172) == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); -lean_dec_ref(x_172); -x_175 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_175, 0, x_173); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_176 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_175, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_174); -if (lean_obj_tag(x_176) == 0) +lean_dec_ref(x_173); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_178 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_161); +if (lean_obj_tag(x_178) == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; size_t x_187; size_t x_188; lean_object* x_189; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec_ref(x_176); -x_179 = lean_unsigned_to_nat(2u); -x_180 = l_Lean_Syntax_getArg(x_1, x_179); -x_181 = lean_unsigned_to_nat(4u); -x_182 = l_Lean_Syntax_getArg(x_1, x_181); -lean_dec(x_1); -x_183 = l_Lean_Syntax_getArgs(x_182); -lean_dec(x_182); -x_184 = l_Lean_Syntax_getArgs(x_180); -lean_dec(x_180); -x_185 = lean_box(0); -x_186 = l_Lean_Doc_elabBlock___closed__19; -x_187 = lean_array_size(x_177); -x_188 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +lean_object* x_179; lean_object* x_180; lean_object* x_181; size_t x_182; size_t x_183; lean_object* x_184; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec_ref(x_178); +x_181 = l_Lean_Doc_elabBlock___closed__27; +x_182 = lean_array_size(x_179); +x_183 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_189 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6(x_183, x_184, x_185, x_186, x_177, x_187, x_188, x_186, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_178); -lean_dec(x_177); +lean_inc_ref(x_2); +lean_inc(x_164); +x_184 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(x_164, x_39, x_179, x_182, x_183, x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_180); +lean_dec(x_179); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; lean_object* x_186; uint8_t x_187; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec_ref(x_184); +x_187 = l_Array_isEmpty___redArg(x_185); +if (x_187 == 0) +{ +lean_object* x_188; lean_object* x_189; +x_188 = l_Lean_Doc_elabBlock___closed__28; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_189 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_188, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_186); if (lean_obj_tag(x_189) == 0) { -lean_object* x_190; uint8_t x_191; +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; size_t x_195; lean_object* x_196; x_190 = lean_ctor_get(x_189, 0); lean_inc(x_190); -x_191 = !lean_is_exclusive(x_190); -if (x_191 == 0) -{ -lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec_ref(x_189); x_192 = lean_ctor_get(x_190, 0); -x_193 = lean_ctor_get(x_190, 1); -lean_dec(x_193); -if (lean_obj_tag(x_192) == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_194 = lean_ctor_get(x_189, 1); -lean_inc(x_194); -lean_dec_ref(x_189); -x_195 = l_Lean_Doc_elabBlock___closed__25; -lean_inc(x_169); -x_196 = l_Lean_MessageData_ofSyntax(x_169); -lean_ctor_set_tag(x_190, 7); -lean_ctor_set(x_190, 1, x_196); -lean_ctor_set(x_190, 0, x_195); -x_197 = l_Lean_Doc_getPositional___redArg___closed__37; -x_198 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_198, 0, x_190); -lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_169, x_198, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_194); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_169); -return x_199; -} -else -{ -uint8_t x_200; -lean_free_object(x_190); -lean_dec(x_169); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_200 = !lean_is_exclusive(x_189); -if (x_200 == 0) -{ -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_189, 0); -lean_dec(x_201); -x_202 = lean_ctor_get(x_192, 0); -lean_inc(x_202); -lean_dec_ref(x_192); -lean_ctor_set(x_189, 0, x_202); -return x_189; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_189, 1); -lean_inc(x_203); -lean_dec(x_189); -x_204 = lean_ctor_get(x_192, 0); -lean_inc(x_204); -lean_dec_ref(x_192); -x_205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_203); -return x_205; -} -} -} -else -{ -lean_object* x_206; -x_206 = lean_ctor_get(x_190, 0); -lean_inc(x_206); -lean_dec(x_190); -if (lean_obj_tag(x_206) == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_207 = lean_ctor_get(x_189, 1); -lean_inc(x_207); -lean_dec_ref(x_189); -x_208 = l_Lean_Doc_elabBlock___closed__25; -lean_inc(x_169); -x_209 = l_Lean_MessageData_ofSyntax(x_169); -x_210 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -x_211 = l_Lean_Doc_getPositional___redArg___closed__37; -x_212 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -x_213 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_169, x_212, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_207); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_169); -return x_213; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_dec(x_169); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_214 = lean_ctor_get(x_189, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - lean_ctor_release(x_189, 1); - x_215 = x_189; +lean_inc_ref(x_192); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_193 = x_190; } else { - lean_dec_ref(x_189); - x_215 = lean_box(0); + lean_dec_ref(x_190); + x_193 = lean_box(0); } -x_216 = lean_ctor_get(x_206, 0); -lean_inc(x_216); -lean_dec_ref(x_206); -if (lean_is_scalar(x_215)) { - x_217 = lean_alloc_ctor(0, 2, 0); -} else { - x_217 = x_215; -} -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_214); -return x_217; -} -} -} -else +x_194 = lean_string_utf8_extract(x_192, x_175, x_176); +lean_dec(x_176); +lean_dec(x_175); +lean_dec_ref(x_192); +x_195 = lean_array_size(x_185); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_196 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(x_171, x_194, x_195, x_183, x_185, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_191); +if (lean_obj_tag(x_196) == 0) { -uint8_t x_218; -lean_dec(x_169); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_218 = !lean_is_exclusive(x_189); -if (x_218 == 0) -{ -return x_189; -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_189, 0); -x_220 = lean_ctor_get(x_189, 1); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_189); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -return x_221; -} -} -} -else -{ -uint8_t x_222; -lean_dec(x_169); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_222 = !lean_is_exclusive(x_176); +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_217; lean_object* x_218; lean_object* x_221; uint8_t x_222; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec_ref(x_196); +x_221 = lean_array_get_size(x_197); +x_222 = lean_nat_dec_eq(x_221, x_98); if (x_222 == 0) { -return x_176; -} -else +lean_object* x_223; lean_object* x_224; uint8_t x_227; +x_223 = lean_nat_sub(x_221, x_99); +lean_dec(x_221); +x_227 = lean_nat_dec_le(x_98, x_223); +if (x_227 == 0) { -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_176, 0); -x_224 = lean_ctor_get(x_176, 1); -lean_inc(x_224); lean_inc(x_223); -lean_dec(x_176); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_223); -lean_ctor_set(x_225, 1, x_224); -return x_225; +x_224 = x_223; +goto block_226; +} +else +{ +x_224 = x_98; +goto block_226; +} +block_226: +{ +uint8_t x_225; +x_225 = lean_nat_dec_le(x_224, x_223); +if (x_225 == 0) +{ +lean_dec(x_223); +lean_inc(x_224); +x_217 = x_224; +x_218 = x_224; +goto block_220; +} +else +{ +x_217 = x_224; +x_218 = x_223; +goto block_220; } } } else { -uint8_t x_226; -lean_dec(x_169); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_221); +x_199 = x_197; +goto block_216; +} +block_216: +{ +lean_object* x_200; lean_object* x_201; +x_200 = l_Lean_Doc_elabBlock___closed__30; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_201 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_172, x_200, x_199, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_198); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec_ref(x_201); +x_204 = l_Lean_Doc_elabBlock___closed__32; +if (lean_is_scalar(x_193)) { + x_205 = lean_alloc_ctor(7, 2, 0); +} else { + x_205 = x_193; + lean_ctor_set_tag(x_205, 7); +} +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_202); +x_206 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(x_205, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_203); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_226 = !lean_is_exclusive(x_172); -if (x_226 == 0) +lean_dec_ref(x_2); +if (lean_obj_tag(x_206) == 0) { -return x_172; +lean_object* x_207; +x_207 = lean_ctor_get(x_206, 1); +lean_inc(x_207); +lean_dec_ref(x_206); +x_165 = x_207; +goto block_169; } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_172, 0); -x_228 = lean_ctor_get(x_172, 1); -lean_inc(x_228); -lean_inc(x_227); +uint8_t x_208; +lean_dec(x_164); +lean_dec(x_162); +x_208 = !lean_is_exclusive(x_206); +if (x_208 == 0) +{ +return x_206; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_206, 0); +x_210 = lean_ctor_get(x_206, 1); +lean_inc(x_210); +lean_inc(x_209); +lean_dec(x_206); +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_209); +lean_ctor_set(x_211, 1, x_210); +return x_211; +} +} +} +else +{ +uint8_t x_212; +lean_dec(x_193); +lean_dec(x_164); +lean_dec(x_162); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_212 = !lean_is_exclusive(x_201); +if (x_212 == 0) +{ +return x_201; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_201, 0); +x_214 = lean_ctor_get(x_201, 1); +lean_inc(x_214); +lean_inc(x_213); +lean_dec(x_201); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +return x_215; +} +} +} +block_220: +{ +lean_object* x_219; +x_219 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_197, x_217, x_218); +lean_dec(x_218); +x_199 = x_219; +goto block_216; +} +} +else +{ +uint8_t x_228; +lean_dec(x_193); lean_dec(x_172); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_227); -lean_ctor_set(x_229, 1, x_228); -return x_229; +lean_dec(x_164); +lean_dec(x_162); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_228 = !lean_is_exclusive(x_196); +if (x_228 == 0) +{ +return x_196; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_229 = lean_ctor_get(x_196, 0); +x_230 = lean_ctor_get(x_196, 1); +lean_inc(x_230); +lean_inc(x_229); +lean_dec(x_196); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +return x_231; +} +} +} +else +{ +uint8_t x_232; +lean_dec(x_185); +lean_dec(x_176); +lean_dec(x_175); +lean_dec(x_172); +lean_dec(x_164); +lean_dec(x_162); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_232 = !lean_is_exclusive(x_189); +if (x_232 == 0) +{ +return x_189; +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_189, 0); +x_234 = lean_ctor_get(x_189, 1); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_189); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_233); +lean_ctor_set(x_235, 1, x_234); +return x_235; +} +} +} +else +{ +lean_dec(x_185); +lean_dec(x_176); +lean_dec(x_175); +lean_dec(x_172); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_165 = x_186; +goto block_169; +} +} +else +{ +uint8_t x_236; +lean_dec(x_176); +lean_dec(x_175); +lean_dec(x_172); +lean_dec(x_164); +lean_dec(x_162); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_236 = !lean_is_exclusive(x_184); +if (x_236 == 0) +{ +return x_184; +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; +x_237 = lean_ctor_get(x_184, 0); +x_238 = lean_ctor_get(x_184, 1); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_184); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_237); +lean_ctor_set(x_239, 1, x_238); +return x_239; +} +} +} +else +{ +uint8_t x_240; +lean_dec(x_176); +lean_dec(x_175); +lean_dec(x_172); +lean_dec(x_164); +lean_dec(x_162); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_240 = !lean_is_exclusive(x_178); +if (x_240 == 0) +{ +return x_178; +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_241 = lean_ctor_get(x_178, 0); +x_242 = lean_ctor_get(x_178, 1); +lean_inc(x_242); +lean_inc(x_241); +lean_dec(x_178); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_241); +lean_ctor_set(x_243, 1, x_242); +return x_243; +} +} +} +} +block_169: +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = l_Lean_TSyntax_getString(x_164); +lean_dec(x_164); +x_167 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_167, 0, x_166); +if (lean_is_scalar(x_162)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_162; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_165); +return x_168; +} +} +else +{ +uint8_t x_244; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_244 = !lean_is_exclusive(x_159); +if (x_244 == 0) +{ +return x_159; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_245 = lean_ctor_get(x_159, 0); +x_246 = lean_ctor_get(x_159, 1); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_159); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +return x_247; +} } } } } else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_230 = lean_st_ref_get(x_2, x_10); -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec_ref(x_230); -x_233 = lean_ctor_get(x_231, 1); -lean_inc_ref(x_233); -lean_dec(x_231); -x_234 = lean_unsigned_to_nat(1u); -x_235 = l_Lean_Syntax_getArg(x_1, x_234); -x_236 = l_Lean_TSyntax_getString(x_235); -x_237 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_233, x_236); -lean_dec_ref(x_233); -if (x_237 == 0) -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -x_238 = lean_st_ref_take(x_2, x_232); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec_ref(x_238); -x_241 = !lean_is_exclusive(x_239); -if (x_241 == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_242 = lean_ctor_get(x_239, 1); -x_243 = lean_unsigned_to_nat(3u); -x_244 = l_Lean_Syntax_getArg(x_1, x_243); -lean_dec(x_1); -x_245 = l_Lean_TSyntax_getString(x_244); -lean_dec(x_244); -x_246 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_235); -lean_ctor_set_uint8(x_246, sizeof(void*)*2, x_237); -x_247 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_242, x_236, x_246); -lean_ctor_set(x_239, 1, x_247); -x_248 = lean_st_ref_set(x_2, x_239, x_240); -lean_dec(x_2); -x_249 = lean_ctor_get(x_248, 1); +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_248 = lean_unsigned_to_nat(1u); +x_249 = l_Lean_Syntax_getArg(x_1, x_248); lean_inc(x_249); -lean_dec_ref(x_248); -x_11 = x_249; -goto block_14; -} -else +x_250 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_250, 0, x_249); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_251 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_250, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_251) == 0) { -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_250 = lean_ctor_get(x_239, 0); -x_251 = lean_ctor_get(x_239, 1); -lean_inc(x_251); -lean_inc(x_250); -lean_dec(x_239); -x_252 = lean_unsigned_to_nat(3u); -x_253 = l_Lean_Syntax_getArg(x_1, x_252); +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; size_t x_262; size_t x_263; lean_object* x_264; +x_252 = lean_ctor_get(x_251, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_251, 1); +lean_inc(x_253); +lean_dec_ref(x_251); +x_254 = lean_unsigned_to_nat(2u); +x_255 = l_Lean_Syntax_getArg(x_1, x_254); +x_256 = lean_unsigned_to_nat(4u); +x_257 = l_Lean_Syntax_getArg(x_1, x_256); lean_dec(x_1); -x_254 = l_Lean_TSyntax_getString(x_253); -lean_dec(x_253); -x_255 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_235); -lean_ctor_set_uint8(x_255, sizeof(void*)*2, x_237); -x_256 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_251, x_236, x_255); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_250); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_st_ref_set(x_2, x_257, x_240); -lean_dec(x_2); -x_259 = lean_ctor_get(x_258, 1); -lean_inc(x_259); -lean_dec_ref(x_258); -x_11 = x_259; -goto block_14; -} -} -else +x_258 = l_Lean_Syntax_getArgs(x_257); +lean_dec(x_257); +x_259 = l_Lean_Syntax_getArgs(x_255); +lean_dec(x_255); +x_260 = lean_box(0); +x_261 = l_Lean_Doc_elabBlock___closed__21; +x_262 = lean_array_size(x_252); +x_263 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_264 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8(x_258, x_259, x_260, x_261, x_252, x_262, x_263, x_261, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_253); +lean_dec(x_252); +if (lean_obj_tag(x_264) == 0) { -lean_object* x_260; lean_object* x_261; uint8_t x_262; -lean_dec_ref(x_236); -lean_dec(x_1); -x_260 = l_Lean_Doc_elabBlock___closed__27; -x_261 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_235, x_260, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_232); +lean_object* x_265; uint8_t x_266; +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = !lean_is_exclusive(x_265); +if (x_266 == 0) +{ +lean_object* x_267; lean_object* x_268; +x_267 = lean_ctor_get(x_265, 0); +x_268 = lean_ctor_get(x_265, 1); +lean_dec(x_268); +if (lean_obj_tag(x_267) == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_269 = lean_ctor_get(x_264, 1); +lean_inc(x_269); +lean_dec_ref(x_264); +x_270 = l_Lean_Doc_elabBlock___closed__34; +lean_inc(x_249); +x_271 = l_Lean_MessageData_ofSyntax(x_249); +lean_ctor_set_tag(x_265, 7); +lean_ctor_set(x_265, 1, x_271); +lean_ctor_set(x_265, 0, x_270); +x_272 = l_Lean_Doc_getPositional___redArg___closed__40; +x_273 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_273, 0, x_265); +lean_ctor_set(x_273, 1, x_272); +x_274 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_249, x_273, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_269); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_235); -x_262 = !lean_is_exclusive(x_261); -if (x_262 == 0) -{ -return x_261; +lean_dec_ref(x_2); +lean_dec(x_249); +return x_274; } else { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_261, 0); -x_264 = lean_ctor_get(x_261, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_261); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; +uint8_t x_275; +lean_free_object(x_265); +lean_dec(x_249); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_275 = !lean_is_exclusive(x_264); +if (x_275 == 0) +{ +lean_object* x_276; lean_object* x_277; +x_276 = lean_ctor_get(x_264, 0); +lean_dec(x_276); +x_277 = lean_ctor_get(x_267, 0); +lean_inc(x_277); +lean_dec_ref(x_267); +lean_ctor_set(x_264, 0, x_277); +return x_264; } +else +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_278 = lean_ctor_get(x_264, 1); +lean_inc(x_278); +lean_dec(x_264); +x_279 = lean_ctor_get(x_267, 0); +lean_inc(x_279); +lean_dec_ref(x_267); +x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +return x_280; } } } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_266 = lean_st_ref_get(x_2, x_10); -x_267 = lean_ctor_get(x_266, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_266, 1); -lean_inc(x_268); -lean_dec_ref(x_266); -x_269 = lean_ctor_get(x_267, 0); -lean_inc_ref(x_269); -lean_dec(x_267); -x_270 = lean_unsigned_to_nat(1u); -x_271 = l_Lean_Syntax_getArg(x_1, x_270); -x_272 = l_Lean_TSyntax_getString(x_271); -x_273 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_269, x_272); -lean_dec_ref(x_269); -if (x_273 == 0) -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; size_t x_277; size_t x_278; lean_object* x_279; -x_274 = lean_unsigned_to_nat(3u); -x_275 = l_Lean_Syntax_getArg(x_1, x_274); -lean_dec(x_1); -x_276 = l_Lean_Syntax_getArgs(x_275); -lean_dec(x_275); -x_277 = lean_array_size(x_276); -x_278 = 0; -lean_inc(x_2); -x_279 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_277, x_278, x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_268); -if (lean_obj_tag(x_279) == 0) -{ -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; uint8_t x_285; -x_280 = lean_ctor_get(x_279, 0); -lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 1); +lean_object* x_281; +x_281 = lean_ctor_get(x_265, 0); lean_inc(x_281); -lean_dec_ref(x_279); -x_282 = lean_st_ref_take(x_2, x_281); -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -lean_dec_ref(x_282); -x_285 = !lean_is_exclusive(x_283); -if (x_285 == 0) +lean_dec(x_265); +if (lean_obj_tag(x_281) == 0) { -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_286 = lean_ctor_get(x_283, 0); -x_287 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_287, 0, x_280); -x_288 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_271); -lean_ctor_set_uint8(x_288, sizeof(void*)*2, x_273); -x_289 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_286, x_272, x_288); -lean_ctor_set(x_283, 0, x_289); -x_290 = lean_st_ref_set(x_2, x_283, x_284); -lean_dec(x_2); -x_291 = lean_ctor_get(x_290, 1); +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_282 = lean_ctor_get(x_264, 1); +lean_inc(x_282); +lean_dec_ref(x_264); +x_283 = l_Lean_Doc_elabBlock___closed__34; +lean_inc(x_249); +x_284 = l_Lean_MessageData_ofSyntax(x_249); +x_285 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +x_286 = l_Lean_Doc_getPositional___redArg___closed__40; +x_287 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +x_288 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_249, x_287, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_282); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_249); +return x_288; +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +lean_dec(x_249); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_289 = lean_ctor_get(x_264, 1); +lean_inc(x_289); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_290 = x_264; +} else { + lean_dec_ref(x_264); + x_290 = lean_box(0); +} +x_291 = lean_ctor_get(x_281, 0); lean_inc(x_291); -lean_dec_ref(x_290); -x_15 = x_291; -goto block_18; +lean_dec_ref(x_281); +if (lean_is_scalar(x_290)) { + x_292 = lean_alloc_ctor(0, 2, 0); +} else { + x_292 = x_290; +} +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_289); +return x_292; +} +} } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_292 = lean_ctor_get(x_283, 0); -x_293 = lean_ctor_get(x_283, 1); -lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_283); -x_294 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_294, 0, x_280); -x_295 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_271); -lean_ctor_set_uint8(x_295, sizeof(void*)*2, x_273); -x_296 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_292, x_272, x_295); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_293); -x_298 = lean_st_ref_set(x_2, x_297, x_284); -lean_dec(x_2); -x_299 = lean_ctor_get(x_298, 1); +uint8_t x_293; +lean_dec(x_249); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_293 = !lean_is_exclusive(x_264); +if (x_293 == 0) +{ +return x_264; +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_294 = lean_ctor_get(x_264, 0); +x_295 = lean_ctor_get(x_264, 1); +lean_inc(x_295); +lean_inc(x_294); +lean_dec(x_264); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +return x_296; +} +} +} +else +{ +uint8_t x_297; +lean_dec(x_249); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_297 = !lean_is_exclusive(x_251); +if (x_297 == 0) +{ +return x_251; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_298 = lean_ctor_get(x_251, 0); +x_299 = lean_ctor_get(x_251, 1); lean_inc(x_299); -lean_dec_ref(x_298); -x_15 = x_299; -goto block_18; +lean_inc(x_298); +lean_dec(x_251); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_298); +lean_ctor_set(x_300, 1, x_299); +return x_300; +} +} } } else { -uint8_t x_300; -lean_dec_ref(x_272); -lean_dec(x_271); -lean_dec(x_2); -x_300 = !lean_is_exclusive(x_279); -if (x_300 == 0) -{ -return x_279; -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = lean_ctor_get(x_279, 0); -x_302 = lean_ctor_get(x_279, 1); +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +x_301 = lean_st_ref_get(x_3, x_11); +x_302 = lean_ctor_get(x_301, 0); lean_inc(x_302); -lean_inc(x_301); -lean_dec(x_279); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_301); -lean_ctor_set(x_303, 1, x_302); -return x_303; -} -} -} -else +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec_ref(x_301); +x_304 = lean_ctor_get(x_302, 1); +lean_inc_ref(x_304); +lean_dec(x_302); +x_305 = lean_unsigned_to_nat(1u); +x_306 = l_Lean_Syntax_getArg(x_1, x_305); +x_307 = l_Lean_TSyntax_getString(x_306); +x_308 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_304, x_307); +lean_dec_ref(x_304); +if (x_308 == 0) { -lean_object* x_304; lean_object* x_305; uint8_t x_306; -lean_dec_ref(x_272); +lean_object* x_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +x_309 = lean_st_ref_take(x_3, x_303); +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_309, 1); +lean_inc(x_311); +lean_dec_ref(x_309); +x_312 = !lean_is_exclusive(x_310); +if (x_312 == 0) +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_313 = lean_ctor_get(x_310, 1); +x_314 = lean_unsigned_to_nat(3u); +x_315 = l_Lean_Syntax_getArg(x_1, x_314); lean_dec(x_1); -x_304 = l_Lean_Doc_elabBlock___closed__27; -x_305 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_271, x_304, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_268); +x_316 = l_Lean_TSyntax_getString(x_315); +lean_dec(x_315); +x_317 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_306); +lean_ctor_set_uint8(x_317, sizeof(void*)*2, x_308); +x_318 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_313, x_307, x_317); +lean_ctor_set(x_310, 1, x_318); +x_319 = lean_st_ref_set(x_3, x_310, x_311); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_271); -x_306 = !lean_is_exclusive(x_305); -if (x_306 == 0) -{ -return x_305; -} -else -{ -lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_307 = lean_ctor_get(x_305, 0); -x_308 = lean_ctor_get(x_305, 1); -lean_inc(x_308); -lean_inc(x_307); -lean_dec(x_305); -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_307); -lean_ctor_set(x_309, 1, x_308); -return x_309; -} -} -} -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; size_t x_314; size_t x_315; lean_object* x_316; -x_310 = lean_unsigned_to_nat(1u); -x_311 = l_Lean_Syntax_getArg(x_1, x_310); -lean_dec(x_1); -x_312 = lean_box(0); -x_313 = l_Lean_Syntax_getArgs(x_311); -lean_dec(x_311); -x_314 = lean_array_size(x_313); -x_315 = 0; -x_316 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_310, x_312, x_21, x_22, x_23, x_314, x_315, x_313, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec_ref(x_8); -if (lean_obj_tag(x_316) == 0) -{ -uint8_t x_317; -x_317 = !lean_is_exclusive(x_316); -if (x_317 == 0) -{ -lean_object* x_318; lean_object* x_319; -x_318 = lean_ctor_get(x_316, 0); -x_319 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_316, 0, x_319); -return x_316; -} -else -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_320 = lean_ctor_get(x_316, 0); -x_321 = lean_ctor_get(x_316, 1); -lean_inc(x_321); +x_320 = lean_ctor_get(x_319, 1); lean_inc(x_320); -lean_dec(x_316); -x_322 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_322, 0, x_320); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_321); -return x_323; -} +lean_dec_ref(x_319); +x_12 = x_320; +goto block_15; } else { -uint8_t x_324; -x_324 = !lean_is_exclusive(x_316); -if (x_324 == 0) -{ -return x_316; -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; -x_325 = lean_ctor_get(x_316, 0); -x_326 = lean_ctor_get(x_316, 1); -lean_inc(x_326); -lean_inc(x_325); -lean_dec(x_316); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_325); -lean_ctor_set(x_327, 1, x_326); -return x_327; -} -} -} -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; size_t x_332; size_t x_333; lean_object* x_334; -x_328 = lean_unsigned_to_nat(1u); -x_329 = lean_unsigned_to_nat(4u); -x_330 = l_Lean_Syntax_getArg(x_1, x_329); -x_331 = l_Lean_Syntax_getArgs(x_330); -lean_dec(x_330); -x_332 = lean_array_size(x_331); -x_333 = 0; -x_334 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(x_21, x_22, x_23, x_328, x_332, x_333, x_331); -if (lean_obj_tag(x_334) == 0) -{ -lean_object* x_335; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_321 = lean_ctor_get(x_310, 0); +x_322 = lean_ctor_get(x_310, 1); +lean_inc(x_322); +lean_inc(x_321); +lean_dec(x_310); +x_323 = lean_unsigned_to_nat(3u); +x_324 = l_Lean_Syntax_getArg(x_1, x_323); lean_dec(x_1); -x_335 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_335; +x_325 = l_Lean_TSyntax_getString(x_324); +lean_dec(x_324); +x_326 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_306); +lean_ctor_set_uint8(x_326, sizeof(void*)*2, x_308); +x_327 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_322, x_307, x_326); +x_328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_328, 0, x_321); +lean_ctor_set(x_328, 1, x_327); +x_329 = lean_st_ref_set(x_3, x_328, x_311); +lean_dec(x_3); +x_330 = lean_ctor_get(x_329, 1); +lean_inc(x_330); +lean_dec_ref(x_329); +x_12 = x_330; +goto block_15; +} } else { -lean_object* x_336; size_t x_337; lean_object* x_338; -x_336 = lean_ctor_get(x_334, 0); -lean_inc(x_336); -lean_dec_ref(x_334); -x_337 = lean_array_size(x_336); -x_338 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_337, x_333, x_336, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_338) == 0) +lean_object* x_331; lean_object* x_332; uint8_t x_333; +lean_dec_ref(x_307); +lean_dec(x_1); +x_331 = l_Lean_Doc_elabBlock___closed__36; +x_332 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_306, x_331, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_303); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_306); +x_333 = !lean_is_exclusive(x_332); +if (x_333 == 0) { -uint8_t x_339; -x_339 = !lean_is_exclusive(x_338); -if (x_339 == 0) +return x_332; +} +else { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; +lean_object* x_334; lean_object* x_335; lean_object* x_336; +x_334 = lean_ctor_get(x_332, 0); +x_335 = lean_ctor_get(x_332, 1); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_332); +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_334); +lean_ctor_set(x_336, 1, x_335); +return x_336; +} +} +} +} +else +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; +x_337 = lean_st_ref_get(x_3, x_11); +x_338 = lean_ctor_get(x_337, 0); +lean_inc(x_338); +x_339 = lean_ctor_get(x_337, 1); +lean_inc(x_339); +lean_dec_ref(x_337); x_340 = lean_ctor_get(x_338, 0); -x_341 = l_Lean_Syntax_getArg(x_1, x_328); -lean_dec(x_1); -x_342 = l_Lean_TSyntax_getNat(x_341); -lean_dec(x_341); -x_343 = lean_nat_to_int(x_342); -x_344 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_340); -lean_ctor_set(x_338, 0, x_344); -return x_338; -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; -x_345 = lean_ctor_get(x_338, 0); -x_346 = lean_ctor_get(x_338, 1); -lean_inc(x_346); -lean_inc(x_345); +lean_inc_ref(x_340); lean_dec(x_338); -x_347 = l_Lean_Syntax_getArg(x_1, x_328); +x_341 = lean_unsigned_to_nat(1u); +x_342 = l_Lean_Syntax_getArg(x_1, x_341); +x_343 = l_Lean_TSyntax_getString(x_342); +x_344 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_340, x_343); +lean_dec_ref(x_340); +if (x_344 == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; size_t x_348; size_t x_349; lean_object* x_350; +x_345 = lean_unsigned_to_nat(3u); +x_346 = l_Lean_Syntax_getArg(x_1, x_345); lean_dec(x_1); -x_348 = l_Lean_TSyntax_getNat(x_347); -lean_dec(x_347); -x_349 = lean_nat_to_int(x_348); -x_350 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_345); -x_351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_346); -return x_351; -} -} -else +x_347 = l_Lean_Syntax_getArgs(x_346); +lean_dec(x_346); +x_348 = lean_array_size(x_347); +x_349 = 0; +lean_inc(x_3); +x_350 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_348, x_349, x_347, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_339); +if (lean_obj_tag(x_350) == 0) { -uint8_t x_352; -lean_dec(x_1); -x_352 = !lean_is_exclusive(x_338); -if (x_352 == 0) -{ -return x_338; -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_353 = lean_ctor_get(x_338, 0); -x_354 = lean_ctor_get(x_338, 1); +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; uint8_t x_356; +x_351 = lean_ctor_get(x_350, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_350, 1); +lean_inc(x_352); +lean_dec_ref(x_350); +x_353 = lean_st_ref_take(x_3, x_352); +x_354 = lean_ctor_get(x_353, 0); lean_inc(x_354); -lean_inc(x_353); -lean_dec(x_338); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set(x_355, 1, x_354); -return x_355; -} -} -} -} -} -else +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec_ref(x_353); +x_356 = !lean_is_exclusive(x_354); +if (x_356 == 0) { -lean_object* x_356; lean_object* x_357; lean_object* x_358; size_t x_359; size_t x_360; lean_object* x_361; -x_356 = lean_unsigned_to_nat(1u); -x_357 = l_Lean_Syntax_getArg(x_1, x_356); -lean_dec(x_1); -x_358 = l_Lean_Syntax_getArgs(x_357); -lean_dec(x_357); -x_359 = lean_array_size(x_358); -x_360 = 0; -x_361 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(x_21, x_22, x_23, x_356, x_359, x_360, x_358); -if (lean_obj_tag(x_361) == 0) -{ -lean_object* x_362; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_357 = lean_ctor_get(x_354, 0); +x_358 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_358, 0, x_351); +x_359 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_342); +lean_ctor_set_uint8(x_359, sizeof(void*)*2, x_344); +x_360 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_357, x_343, x_359); +lean_ctor_set(x_354, 0, x_360); +x_361 = lean_st_ref_set(x_3, x_354, x_355); lean_dec(x_3); -lean_dec(x_2); -x_362 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_362; +x_362 = lean_ctor_get(x_361, 1); +lean_inc(x_362); +lean_dec_ref(x_361); +x_16 = x_362; +goto block_19; } else { -uint8_t x_363; -x_363 = !lean_is_exclusive(x_361); -if (x_363 == 0) -{ -lean_object* x_364; size_t x_365; lean_object* x_366; -x_364 = lean_ctor_get(x_361, 0); -x_365 = lean_array_size(x_364); -x_366 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_365, x_360, x_364, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_366) == 0) -{ -uint8_t x_367; -x_367 = !lean_is_exclusive(x_366); -if (x_367 == 0) -{ -lean_object* x_368; -x_368 = lean_ctor_get(x_366, 0); -lean_ctor_set_tag(x_361, 2); -lean_ctor_set(x_361, 0, x_368); -lean_ctor_set(x_366, 0, x_361); -return x_366; -} -else -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_369 = lean_ctor_get(x_366, 0); -x_370 = lean_ctor_get(x_366, 1); +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +x_363 = lean_ctor_get(x_354, 0); +x_364 = lean_ctor_get(x_354, 1); +lean_inc(x_364); +lean_inc(x_363); +lean_dec(x_354); +x_365 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_365, 0, x_351); +x_366 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_342); +lean_ctor_set_uint8(x_366, sizeof(void*)*2, x_344); +x_367 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_363, x_343, x_366); +x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_364); +x_369 = lean_st_ref_set(x_3, x_368, x_355); +lean_dec(x_3); +x_370 = lean_ctor_get(x_369, 1); lean_inc(x_370); -lean_inc(x_369); -lean_dec(x_366); -lean_ctor_set_tag(x_361, 2); -lean_ctor_set(x_361, 0, x_369); -x_371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_371, 0, x_361); -lean_ctor_set(x_371, 1, x_370); -return x_371; +lean_dec_ref(x_369); +x_16 = x_370; +goto block_19; } } else { -uint8_t x_372; -lean_free_object(x_361); -x_372 = !lean_is_exclusive(x_366); -if (x_372 == 0) +uint8_t x_371; +lean_dec_ref(x_343); +lean_dec(x_342); +lean_dec(x_3); +x_371 = !lean_is_exclusive(x_350); +if (x_371 == 0) { -return x_366; +return x_350; } else { -lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_373 = lean_ctor_get(x_366, 0); -x_374 = lean_ctor_get(x_366, 1); -lean_inc(x_374); +lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_372 = lean_ctor_get(x_350, 0); +x_373 = lean_ctor_get(x_350, 1); lean_inc(x_373); -lean_dec(x_366); -x_375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_375, 0, x_373); -lean_ctor_set(x_375, 1, x_374); -return x_375; +lean_inc(x_372); +lean_dec(x_350); +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_372); +lean_ctor_set(x_374, 1, x_373); +return x_374; } } } else { -lean_object* x_376; size_t x_377; lean_object* x_378; -x_376 = lean_ctor_get(x_361, 0); -lean_inc(x_376); -lean_dec(x_361); -x_377 = lean_array_size(x_376); -x_378 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_377, x_360, x_376, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_378) == 0) +lean_object* x_375; lean_object* x_376; uint8_t x_377; +lean_dec_ref(x_343); +lean_dec(x_1); +x_375 = l_Lean_Doc_elabBlock___closed__36; +x_376 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_342, x_375, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_339); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_342); +x_377 = !lean_is_exclusive(x_376); +if (x_377 == 0) { -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_379 = lean_ctor_get(x_378, 0); +return x_376; +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_378 = lean_ctor_get(x_376, 0); +x_379 = lean_ctor_get(x_376, 1); lean_inc(x_379); -x_380 = lean_ctor_get(x_378, 1); -lean_inc(x_380); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - x_381 = x_378; -} else { - lean_dec_ref(x_378); - x_381 = lean_box(0); +lean_inc(x_378); +lean_dec(x_376); +x_380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_380, 0, x_378); +lean_ctor_set(x_380, 1, x_379); +return x_380; +} } -x_382 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_382, 0, x_379); -if (lean_is_scalar(x_381)) { - x_383 = lean_alloc_ctor(0, 2, 0); -} else { - x_383 = x_381; } -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_380); -return x_383; } else { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_384 = lean_ctor_get(x_378, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_378, 1); -lean_inc(x_385); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - x_386 = x_378; -} else { - lean_dec_ref(x_378); - x_386 = lean_box(0); -} -if (lean_is_scalar(x_386)) { - x_387 = lean_alloc_ctor(1, 2, 0); -} else { - x_387 = x_386; -} -lean_ctor_set(x_387, 0, x_384); -lean_ctor_set(x_387, 1, x_385); +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; size_t x_385; size_t x_386; lean_object* x_387; +x_381 = lean_unsigned_to_nat(1u); +x_382 = l_Lean_Syntax_getArg(x_1, x_381); +lean_dec(x_1); +x_383 = lean_box(0); +x_384 = l_Lean_Syntax_getArgs(x_382); +lean_dec(x_382); +x_385 = lean_array_size(x_384); +x_386 = 0; +x_387 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12(x_381, x_383, x_22, x_23, x_24, x_385, x_386, x_384, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_9); +if (lean_obj_tag(x_387) == 0) +{ +uint8_t x_388; +x_388 = !lean_is_exclusive(x_387); +if (x_388 == 0) +{ +lean_object* x_389; lean_object* x_390; +x_389 = lean_ctor_get(x_387, 0); +x_390 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_387, 0, x_390); return x_387; } -} -} +else +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_391 = lean_ctor_get(x_387, 0); +x_392 = lean_ctor_get(x_387, 1); +lean_inc(x_392); +lean_inc(x_391); +lean_dec(x_387); +x_393 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_393, 0, x_391); +x_394 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_392); +return x_394; } } else { -lean_object* x_388; lean_object* x_389; lean_object* x_390; size_t x_391; size_t x_392; lean_object* x_393; -x_388 = lean_unsigned_to_nat(1u); -x_389 = l_Lean_Syntax_getArg(x_1, x_388); -lean_dec(x_1); -x_390 = l_Lean_Syntax_getArgs(x_389); -lean_dec(x_389); -x_391 = lean_array_size(x_390); -x_392 = 0; -x_393 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_391, x_392, x_390, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_393) == 0) +uint8_t x_395; +x_395 = !lean_is_exclusive(x_387); +if (x_395 == 0) { -uint8_t x_394; -x_394 = !lean_is_exclusive(x_393); -if (x_394 == 0) -{ -lean_object* x_395; lean_object* x_396; -x_395 = lean_ctor_get(x_393, 0); -x_396 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_393, 0, x_396); -return x_393; +return x_387; } else { -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_397 = lean_ctor_get(x_393, 0); -x_398 = lean_ctor_get(x_393, 1); -lean_inc(x_398); +lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_396 = lean_ctor_get(x_387, 0); +x_397 = lean_ctor_get(x_387, 1); lean_inc(x_397); -lean_dec(x_393); -x_399 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_399, 0, x_397); -x_400 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -return x_400; -} -} -else -{ -uint8_t x_401; -x_401 = !lean_is_exclusive(x_393); -if (x_401 == 0) -{ -return x_393; -} -else -{ -lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_402 = lean_ctor_get(x_393, 0); -x_403 = lean_ctor_get(x_393, 1); -lean_inc(x_403); -lean_inc(x_402); -lean_dec(x_393); -x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_402); -lean_ctor_set(x_404, 1, x_403); -return x_404; +lean_inc(x_396); +lean_dec(x_387); +x_398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_398, 0, x_396); +lean_ctor_set(x_398, 1, x_397); +return x_398; } } } } else { -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; lean_object* x_418; uint8_t x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; lean_object* x_426; lean_object* x_427; -x_405 = lean_ctor_get(x_8, 0); -x_406 = lean_ctor_get(x_8, 1); -x_407 = lean_ctor_get(x_8, 2); -x_408 = lean_ctor_get(x_8, 3); -x_409 = lean_ctor_get(x_8, 4); -x_410 = lean_ctor_get(x_8, 5); -x_411 = lean_ctor_get(x_8, 6); -x_412 = lean_ctor_get(x_8, 7); -x_413 = lean_ctor_get(x_8, 8); -x_414 = lean_ctor_get(x_8, 9); -x_415 = lean_ctor_get(x_8, 10); -x_416 = lean_ctor_get(x_8, 11); -x_417 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_418 = lean_ctor_get(x_8, 12); -x_419 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_420 = lean_ctor_get(x_8, 13); -lean_inc(x_420); -lean_inc(x_418); -lean_inc(x_416); -lean_inc(x_415); -lean_inc(x_414); -lean_inc(x_413); -lean_inc(x_412); -lean_inc(x_411); +lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; size_t x_403; size_t x_404; lean_object* x_405; +x_399 = lean_unsigned_to_nat(1u); +x_400 = lean_unsigned_to_nat(4u); +x_401 = l_Lean_Syntax_getArg(x_1, x_400); +x_402 = l_Lean_Syntax_getArgs(x_401); +lean_dec(x_401); +x_403 = lean_array_size(x_402); +x_404 = 0; +x_405 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(x_22, x_23, x_24, x_399, x_403, x_404, x_402); +if (lean_obj_tag(x_405) == 0) +{ +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_406 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_407 = l_Lean_MessageData_ofSyntax(x_1); +x_408 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +x_409 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_408, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_409; +} +else +{ +lean_object* x_410; size_t x_411; lean_object* x_412; +x_410 = lean_ctor_get(x_405, 0); lean_inc(x_410); -lean_inc(x_409); -lean_inc(x_408); -lean_inc(x_407); -lean_inc(x_406); -lean_inc(x_405); -lean_dec(x_8); -x_421 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_422 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_423 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_424 = l_Lean_Doc_elabBlock___closed__2; -lean_inc(x_1); -x_425 = l_Lean_Syntax_isOfKind(x_1, x_424); -x_426 = l_Lean_replaceRef(x_1, x_410); -lean_dec(x_410); -x_427 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_427, 0, x_405); -lean_ctor_set(x_427, 1, x_406); -lean_ctor_set(x_427, 2, x_407); -lean_ctor_set(x_427, 3, x_408); -lean_ctor_set(x_427, 4, x_409); -lean_ctor_set(x_427, 5, x_426); -lean_ctor_set(x_427, 6, x_411); -lean_ctor_set(x_427, 7, x_412); -lean_ctor_set(x_427, 8, x_413); -lean_ctor_set(x_427, 9, x_414); -lean_ctor_set(x_427, 10, x_415); -lean_ctor_set(x_427, 11, x_416); -lean_ctor_set(x_427, 12, x_418); -lean_ctor_set(x_427, 13, x_420); -lean_ctor_set_uint8(x_427, sizeof(void*)*14, x_417); -lean_ctor_set_uint8(x_427, sizeof(void*)*14 + 1, x_419); -if (x_425 == 0) +lean_dec_ref(x_405); +x_411 = lean_array_size(x_410); +x_412 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_411, x_404, x_410, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_412) == 0) { -lean_object* x_428; uint8_t x_429; -x_428 = l_Lean_Doc_elabBlock___closed__4; -lean_inc(x_1); -x_429 = l_Lean_Syntax_isOfKind(x_1, x_428); -if (x_429 == 0) +uint8_t x_413; +x_413 = !lean_is_exclusive(x_412); +if (x_413 == 0) { -lean_object* x_430; uint8_t x_431; -x_430 = l_Lean_Doc_elabBlock___closed__6; -lean_inc(x_1); -x_431 = l_Lean_Syntax_isOfKind(x_1, x_430); -if (x_431 == 0) -{ -lean_object* x_432; uint8_t x_433; -x_432 = l_Lean_Doc_elabBlock___closed__8; -lean_inc(x_1); -x_433 = l_Lean_Syntax_isOfKind(x_1, x_432); -if (x_433 == 0) -{ -lean_object* x_434; uint8_t x_435; -x_434 = l_Lean_Doc_elabBlock___closed__10; -lean_inc(x_1); -x_435 = l_Lean_Syntax_isOfKind(x_1, x_434); -if (x_435 == 0) -{ -lean_object* x_436; uint8_t x_437; -x_436 = l_Lean_Doc_elabBlock___closed__12; -lean_inc(x_1); -x_437 = l_Lean_Syntax_isOfKind(x_1, x_436); -if (x_437 == 0) -{ -lean_object* x_438; uint8_t x_439; -x_438 = l_Lean_Doc_elabBlock___closed__14; -lean_inc(x_1); -x_439 = l_Lean_Syntax_isOfKind(x_1, x_438); -if (x_439 == 0) -{ -lean_object* x_440; uint8_t x_441; -x_440 = l_Lean_Doc_elabBlock___closed__16; -lean_inc(x_1); -x_441 = l_Lean_Syntax_isOfKind(x_1, x_440); -if (x_441 == 0) -{ -lean_object* x_442; uint8_t x_443; -x_442 = l_Lean_Doc_elabBlock___closed__18; -lean_inc(x_1); -x_443 = l_Lean_Syntax_isOfKind(x_1, x_442); -if (x_443 == 0) -{ -lean_object* x_444; -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_414 = lean_ctor_get(x_412, 0); +x_415 = l_Lean_Syntax_getArg(x_1, x_399); lean_dec(x_1); -x_444 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_444; +x_416 = l_Lean_TSyntax_getNat(x_415); +lean_dec(x_415); +x_417 = lean_nat_to_int(x_416); +x_418 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_414); +lean_ctor_set(x_412, 0, x_418); +return x_412; } else { -lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_445 = lean_unsigned_to_nat(1u); -x_446 = l_Lean_Syntax_getArg(x_1, x_445); -x_447 = lean_box(0); -lean_inc(x_446); -x_448 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_448, 0, x_446); -lean_closure_set(x_448, 1, x_447); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_449 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_448, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_449) == 0) -{ -lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec_ref(x_449); -x_452 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_452, 0, x_450); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_453 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_452, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_451); -if (lean_obj_tag(x_453) == 0) -{ -lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; size_t x_461; size_t x_462; lean_object* x_463; -x_454 = lean_ctor_get(x_453, 0); -lean_inc(x_454); -x_455 = lean_ctor_get(x_453, 1); -lean_inc(x_455); -lean_dec_ref(x_453); -x_456 = lean_unsigned_to_nat(2u); -x_457 = l_Lean_Syntax_getArg(x_1, x_456); +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; +x_419 = lean_ctor_get(x_412, 0); +x_420 = lean_ctor_get(x_412, 1); +lean_inc(x_420); +lean_inc(x_419); +lean_dec(x_412); +x_421 = l_Lean_Syntax_getArg(x_1, x_399); lean_dec(x_1); -x_458 = l_Lean_Syntax_getArgs(x_457); -lean_dec(x_457); -x_459 = lean_box(0); -x_460 = l_Lean_Doc_elabBlock___closed__19; -x_461 = lean_array_size(x_454); -x_462 = 0; -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_463 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2(x_458, x_459, x_460, x_454, x_461, x_462, x_460, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_455); -lean_dec(x_454); -if (lean_obj_tag(x_463) == 0) -{ -lean_object* x_464; lean_object* x_465; lean_object* x_466; -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - x_466 = x_464; -} else { - lean_dec_ref(x_464); - x_466 = lean_box(0); +x_422 = l_Lean_TSyntax_getNat(x_421); +lean_dec(x_421); +x_423 = lean_nat_to_int(x_422); +x_424 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_419); +x_425 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_425, 0, x_424); +lean_ctor_set(x_425, 1, x_420); +return x_425; } -if (lean_obj_tag(x_465) == 0) -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_467 = lean_ctor_get(x_463, 1); -lean_inc(x_467); -lean_dec_ref(x_463); -x_468 = l_Lean_Doc_elabBlock___closed__21; -lean_inc(x_446); -x_469 = l_Lean_MessageData_ofSyntax(x_446); -if (lean_is_scalar(x_466)) { - x_470 = lean_alloc_ctor(7, 2, 0); -} else { - x_470 = x_466; - lean_ctor_set_tag(x_470, 7); } -lean_ctor_set(x_470, 0, x_468); -lean_ctor_set(x_470, 1, x_469); -x_471 = l_Lean_Doc_getPositional___redArg___closed__37; -x_472 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_472, 0, x_470); -lean_ctor_set(x_472, 1, x_471); -x_473 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_446, x_472, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_467); +else +{ +uint8_t x_426; +lean_dec(x_1); +x_426 = !lean_is_exclusive(x_412); +if (x_426 == 0) +{ +return x_412; +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; +x_427 = lean_ctor_get(x_412, 0); +x_428 = lean_ctor_get(x_412, 1); +lean_inc(x_428); +lean_inc(x_427); +lean_dec(x_412); +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_427); +lean_ctor_set(x_429, 1, x_428); +return x_429; +} +} +} +} +} +else +{ +lean_object* x_430; lean_object* x_431; lean_object* x_432; size_t x_433; size_t x_434; lean_object* x_435; +x_430 = lean_unsigned_to_nat(1u); +x_431 = l_Lean_Syntax_getArg(x_1, x_430); +x_432 = l_Lean_Syntax_getArgs(x_431); +lean_dec(x_431); +x_433 = lean_array_size(x_432); +x_434 = 0; +x_435 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(x_22, x_23, x_24, x_430, x_433, x_434, x_432); +if (lean_obj_tag(x_435) == 0) +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_436 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_437 = l_Lean_MessageData_ofSyntax(x_1); +x_438 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_438, 0, x_436); +lean_ctor_set(x_438, 1, x_437); +x_439 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_438, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_446); -return x_473; +lean_dec_ref(x_2); +lean_dec(x_1); +return x_439; +} +else +{ +uint8_t x_440; +lean_dec(x_1); +x_440 = !lean_is_exclusive(x_435); +if (x_440 == 0) +{ +lean_object* x_441; size_t x_442; lean_object* x_443; +x_441 = lean_ctor_get(x_435, 0); +x_442 = lean_array_size(x_441); +x_443 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_442, x_434, x_441, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_443) == 0) +{ +uint8_t x_444; +x_444 = !lean_is_exclusive(x_443); +if (x_444 == 0) +{ +lean_object* x_445; +x_445 = lean_ctor_get(x_443, 0); +lean_ctor_set_tag(x_435, 2); +lean_ctor_set(x_435, 0, x_445); +lean_ctor_set(x_443, 0, x_435); +return x_443; +} +else +{ +lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_446 = lean_ctor_get(x_443, 0); +x_447 = lean_ctor_get(x_443, 1); +lean_inc(x_447); +lean_inc(x_446); +lean_dec(x_443); +lean_ctor_set_tag(x_435, 2); +lean_ctor_set(x_435, 0, x_446); +x_448 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_448, 0, x_435); +lean_ctor_set(x_448, 1, x_447); +return x_448; +} +} +else +{ +uint8_t x_449; +lean_free_object(x_435); +x_449 = !lean_is_exclusive(x_443); +if (x_449 == 0) +{ +return x_443; +} +else +{ +lean_object* x_450; lean_object* x_451; lean_object* x_452; +x_450 = lean_ctor_get(x_443, 0); +x_451 = lean_ctor_get(x_443, 1); +lean_inc(x_451); +lean_inc(x_450); +lean_dec(x_443); +x_452 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_452, 0, x_450); +lean_ctor_set(x_452, 1, x_451); +return x_452; +} +} +} +else +{ +lean_object* x_453; size_t x_454; lean_object* x_455; +x_453 = lean_ctor_get(x_435, 0); +lean_inc(x_453); +lean_dec(x_435); +x_454 = lean_array_size(x_453); +x_455 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_454, x_434, x_453, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_455) == 0) +{ +lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; +x_456 = lean_ctor_get(x_455, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_455, 1); +lean_inc(x_457); +if (lean_is_exclusive(x_455)) { + lean_ctor_release(x_455, 0); + lean_ctor_release(x_455, 1); + x_458 = x_455; +} else { + lean_dec_ref(x_455); + x_458 = lean_box(0); +} +x_459 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_459, 0, x_456); +if (lean_is_scalar(x_458)) { + x_460 = lean_alloc_ctor(0, 2, 0); +} else { + x_460 = x_458; +} +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_457); +return x_460; +} +else +{ +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; +x_461 = lean_ctor_get(x_455, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_455, 1); +lean_inc(x_462); +if (lean_is_exclusive(x_455)) { + lean_ctor_release(x_455, 0); + lean_ctor_release(x_455, 1); + x_463 = x_455; +} else { + lean_dec_ref(x_455); + x_463 = lean_box(0); +} +if (lean_is_scalar(x_463)) { + x_464 = lean_alloc_ctor(1, 2, 0); +} else { + x_464 = x_463; +} +lean_ctor_set(x_464, 0, x_461); +lean_ctor_set(x_464, 1, x_462); +return x_464; +} +} +} +} +} +else +{ +lean_object* x_465; lean_object* x_466; lean_object* x_467; size_t x_468; size_t x_469; lean_object* x_470; +x_465 = lean_unsigned_to_nat(1u); +x_466 = l_Lean_Syntax_getArg(x_1, x_465); +lean_dec(x_1); +x_467 = l_Lean_Syntax_getArgs(x_466); +lean_dec(x_466); +x_468 = lean_array_size(x_467); +x_469 = 0; +x_470 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_468, x_469, x_467, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_470) == 0) +{ +uint8_t x_471; +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) +{ +lean_object* x_472; lean_object* x_473; +x_472 = lean_ctor_get(x_470, 0); +x_473 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_470, 0, x_473); +return x_470; } else { lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -lean_dec(x_466); -lean_dec(x_446); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_474 = lean_ctor_get(x_463, 1); +x_474 = lean_ctor_get(x_470, 0); +x_475 = lean_ctor_get(x_470, 1); +lean_inc(x_475); lean_inc(x_474); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - x_475 = x_463; -} else { - lean_dec_ref(x_463); - x_475 = lean_box(0); -} -x_476 = lean_ctor_get(x_465, 0); -lean_inc(x_476); -lean_dec_ref(x_465); -if (lean_is_scalar(x_475)) { - x_477 = lean_alloc_ctor(0, 2, 0); -} else { - x_477 = x_475; -} +lean_dec(x_470); +x_476 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_476, 0, x_474); +x_477 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_477, 0, x_476); -lean_ctor_set(x_477, 1, x_474); +lean_ctor_set(x_477, 1, x_475); return x_477; } } else { -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -lean_dec(x_446); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_478 = lean_ctor_get(x_463, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_463, 1); +uint8_t x_478; +x_478 = !lean_is_exclusive(x_470); +if (x_478 == 0) +{ +return x_470; +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; +x_479 = lean_ctor_get(x_470, 0); +x_480 = lean_ctor_get(x_470, 1); +lean_inc(x_480); lean_inc(x_479); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - x_480 = x_463; -} else { - lean_dec_ref(x_463); - x_480 = lean_box(0); -} -if (lean_is_scalar(x_480)) { - x_481 = lean_alloc_ctor(1, 2, 0); -} else { - x_481 = x_480; -} -lean_ctor_set(x_481, 0, x_478); -lean_ctor_set(x_481, 1, x_479); +lean_dec(x_470); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_479); +lean_ctor_set(x_481, 1, x_480); return x_481; } } -else -{ -lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; -lean_dec(x_446); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_482 = lean_ctor_get(x_453, 0); -lean_inc(x_482); -x_483 = lean_ctor_get(x_453, 1); -lean_inc(x_483); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_484 = x_453; -} else { - lean_dec_ref(x_453); - x_484 = lean_box(0); -} -if (lean_is_scalar(x_484)) { - x_485 = lean_alloc_ctor(1, 2, 0); -} else { - x_485 = x_484; -} -lean_ctor_set(x_485, 0, x_482); -lean_ctor_set(x_485, 1, x_483); -return x_485; } } else { -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -lean_dec(x_446); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_486 = lean_ctor_get(x_449, 0); -lean_inc(x_486); -x_487 = lean_ctor_get(x_449, 1); -lean_inc(x_487); -if (lean_is_exclusive(x_449)) { - lean_ctor_release(x_449, 0); - lean_ctor_release(x_449, 1); - x_488 = x_449; -} else { - lean_dec_ref(x_449); - x_488 = lean_box(0); -} -if (lean_is_scalar(x_488)) { - x_489 = lean_alloc_ctor(1, 2, 0); -} else { - x_489 = x_488; -} -lean_ctor_set(x_489, 0, x_486); -lean_ctor_set(x_489, 1, x_487); -return x_489; -} -} -} -else -{ -lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; -x_490 = lean_unsigned_to_nat(1u); -x_491 = l_Lean_Syntax_getArg(x_1, x_490); -x_492 = lean_unsigned_to_nat(2u); +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; uint8_t x_502; lean_object* x_503; lean_object* x_504; +x_482 = lean_ctor_get(x_9, 0); +x_483 = lean_ctor_get(x_9, 1); +x_484 = lean_ctor_get(x_9, 2); +x_485 = lean_ctor_get(x_9, 3); +x_486 = lean_ctor_get(x_9, 4); +x_487 = lean_ctor_get(x_9, 5); +x_488 = lean_ctor_get(x_9, 6); +x_489 = lean_ctor_get(x_9, 7); +x_490 = lean_ctor_get(x_9, 8); +x_491 = lean_ctor_get(x_9, 9); +x_492 = lean_ctor_get(x_9, 10); +x_493 = lean_ctor_get(x_9, 11); +x_494 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_495 = lean_ctor_get(x_9, 12); +x_496 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_497 = lean_ctor_get(x_9, 13); +lean_inc(x_497); +lean_inc(x_495); +lean_inc(x_493); +lean_inc(x_492); lean_inc(x_491); -x_493 = l_Lean_Syntax_matchesNull(x_491, x_492); -if (x_493 == 0) -{ -lean_object* x_494; -lean_dec(x_491); -lean_dec_ref(x_427); +lean_inc(x_490); +lean_inc(x_489); +lean_inc(x_488); +lean_inc(x_487); +lean_inc(x_486); +lean_inc(x_485); +lean_inc(x_484); +lean_inc(x_483); +lean_inc(x_482); lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_494 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_494; -} -else +x_498 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_499 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_500 = l_Lean_Doc_DocArg_ofSyntax___closed__0; +x_501 = l_Lean_Doc_elabBlock___closed__2; +lean_inc(x_1); +x_502 = l_Lean_Syntax_isOfKind(x_1, x_501); +x_503 = l_Lean_replaceRef(x_1, x_487); +lean_dec(x_487); +x_504 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_504, 0, x_482); +lean_ctor_set(x_504, 1, x_483); +lean_ctor_set(x_504, 2, x_484); +lean_ctor_set(x_504, 3, x_485); +lean_ctor_set(x_504, 4, x_486); +lean_ctor_set(x_504, 5, x_503); +lean_ctor_set(x_504, 6, x_488); +lean_ctor_set(x_504, 7, x_489); +lean_ctor_set(x_504, 8, x_490); +lean_ctor_set(x_504, 9, x_491); +lean_ctor_set(x_504, 10, x_492); +lean_ctor_set(x_504, 11, x_493); +lean_ctor_set(x_504, 12, x_495); +lean_ctor_set(x_504, 13, x_497); +lean_ctor_set_uint8(x_504, sizeof(void*)*14, x_494); +lean_ctor_set_uint8(x_504, sizeof(void*)*14 + 1, x_496); +if (x_502 == 0) { -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_495 = lean_unsigned_to_nat(0u); -x_496 = l_Lean_Syntax_getArg(x_491, x_495); -x_497 = lean_box(0); -lean_inc(x_496); -x_498 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_498, 0, x_496); -lean_closure_set(x_498, 1, x_497); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_499 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_498, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_499) == 0) +lean_object* x_505; uint8_t x_506; +x_505 = l_Lean_Doc_elabBlock___closed__4; +lean_inc(x_1); +x_506 = l_Lean_Syntax_isOfKind(x_1, x_505); +if (x_506 == 0) { -lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_500 = lean_ctor_get(x_499, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); -lean_dec_ref(x_499); -x_502 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_502, 0, x_500); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_503 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_502, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_501); -if (lean_obj_tag(x_503) == 0) +lean_object* x_507; uint8_t x_508; +x_507 = l_Lean_Doc_elabBlock___closed__6; +lean_inc(x_1); +x_508 = l_Lean_Syntax_isOfKind(x_1, x_507); +if (x_508 == 0) { -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; size_t x_512; size_t x_513; lean_object* x_514; -x_504 = lean_ctor_get(x_503, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_503, 1); -lean_inc(x_505); -lean_dec_ref(x_503); -x_506 = l_Lean_Syntax_getArg(x_491, x_490); -lean_dec(x_491); -x_507 = lean_unsigned_to_nat(3u); -x_508 = l_Lean_Syntax_getArg(x_1, x_507); -lean_dec(x_1); -x_509 = l_Lean_Syntax_getArgs(x_506); -lean_dec(x_506); -x_510 = lean_box(0); -x_511 = l_Lean_Doc_elabBlock___closed__19; -x_512 = lean_array_size(x_504); -x_513 = 0; -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_514 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4(x_508, x_509, x_510, x_511, x_504, x_512, x_513, x_511, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_505); -lean_dec(x_504); -if (lean_obj_tag(x_514) == 0) +lean_object* x_509; uint8_t x_510; +x_509 = l_Lean_Doc_elabBlock___closed__8; +lean_inc(x_1); +x_510 = l_Lean_Syntax_isOfKind(x_1, x_509); +if (x_510 == 0) { -lean_object* x_515; lean_object* x_516; lean_object* x_517; -x_515 = lean_ctor_get(x_514, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_515, 0); -lean_inc(x_516); -if (lean_is_exclusive(x_515)) { - lean_ctor_release(x_515, 0); - lean_ctor_release(x_515, 1); - x_517 = x_515; -} else { - lean_dec_ref(x_515); - x_517 = lean_box(0); -} -if (lean_obj_tag(x_516) == 0) +lean_object* x_511; uint8_t x_512; +x_511 = l_Lean_Doc_elabBlock___closed__10; +lean_inc(x_1); +x_512 = l_Lean_Syntax_isOfKind(x_1, x_511); +if (x_512 == 0) { -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -x_518 = lean_ctor_get(x_514, 1); -lean_inc(x_518); -lean_dec_ref(x_514); -x_519 = l_Lean_Doc_elabBlock___closed__23; -lean_inc(x_496); -x_520 = l_Lean_MessageData_ofSyntax(x_496); -if (lean_is_scalar(x_517)) { - x_521 = lean_alloc_ctor(7, 2, 0); -} else { - x_521 = x_517; - lean_ctor_set_tag(x_521, 7); -} -lean_ctor_set(x_521, 0, x_519); -lean_ctor_set(x_521, 1, x_520); -x_522 = l_Lean_Doc_getPositional___redArg___closed__37; +lean_object* x_513; uint8_t x_514; +x_513 = l_Lean_Doc_elabBlock___closed__12; +lean_inc(x_1); +x_514 = l_Lean_Syntax_isOfKind(x_1, x_513); +if (x_514 == 0) +{ +lean_object* x_515; uint8_t x_516; +x_515 = l_Lean_Doc_elabBlock___closed__14; +lean_inc(x_1); +x_516 = l_Lean_Syntax_isOfKind(x_1, x_515); +if (x_516 == 0) +{ +lean_object* x_517; uint8_t x_518; +x_517 = l_Lean_Doc_elabBlock___closed__16; +lean_inc(x_1); +x_518 = l_Lean_Syntax_isOfKind(x_1, x_517); +if (x_518 == 0) +{ +lean_object* x_519; uint8_t x_520; +x_519 = l_Lean_Doc_elabBlock___closed__18; +lean_inc(x_1); +x_520 = l_Lean_Syntax_isOfKind(x_1, x_519); +if (x_520 == 0) +{ +lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_521 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_522 = l_Lean_MessageData_ofSyntax(x_1); x_523 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_523, 0, x_521); lean_ctor_set(x_523, 1, x_522); -x_524 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_496, x_523, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_518); +x_524 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_523, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_496); +lean_dec_ref(x_2); +lean_dec(x_1); return x_524; } else { lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; -lean_dec(x_517); -lean_dec(x_496); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_525 = lean_ctor_get(x_514, 1); -lean_inc(x_525); -if (lean_is_exclusive(x_514)) { - lean_ctor_release(x_514, 0); - lean_ctor_release(x_514, 1); - x_526 = x_514; -} else { - lean_dec_ref(x_514); - x_526 = lean_box(0); -} -x_527 = lean_ctor_get(x_516, 0); -lean_inc(x_527); -lean_dec_ref(x_516); -if (lean_is_scalar(x_526)) { - x_528 = lean_alloc_ctor(0, 2, 0); -} else { - x_528 = x_526; -} -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_525); -return x_528; -} -} -else +x_525 = lean_unsigned_to_nat(1u); +x_526 = l_Lean_Syntax_getArg(x_1, x_525); +lean_inc(x_526); +x_527 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_527, 0, x_526); +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_528 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_527, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_528) == 0) { -lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; -lean_dec(x_496); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_529 = lean_ctor_get(x_514, 0); +lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; size_t x_536; size_t x_537; lean_object* x_538; +x_529 = lean_ctor_get(x_528, 0); lean_inc(x_529); -x_530 = lean_ctor_get(x_514, 1); +x_530 = lean_ctor_get(x_528, 1); lean_inc(x_530); -if (lean_is_exclusive(x_514)) { - lean_ctor_release(x_514, 0); - lean_ctor_release(x_514, 1); - x_531 = x_514; -} else { - lean_dec_ref(x_514); - x_531 = lean_box(0); -} -if (lean_is_scalar(x_531)) { - x_532 = lean_alloc_ctor(1, 2, 0); -} else { - x_532 = x_531; -} -lean_ctor_set(x_532, 0, x_529); -lean_ctor_set(x_532, 1, x_530); -return x_532; -} -} -else -{ -lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; -lean_dec(x_496); -lean_dec(x_491); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_528); +x_531 = lean_unsigned_to_nat(2u); +x_532 = l_Lean_Syntax_getArg(x_1, x_531); lean_dec(x_1); -x_533 = lean_ctor_get(x_503, 0); -lean_inc(x_533); -x_534 = lean_ctor_get(x_503, 1); -lean_inc(x_534); -if (lean_is_exclusive(x_503)) { - lean_ctor_release(x_503, 0); - lean_ctor_release(x_503, 1); - x_535 = x_503; -} else { - lean_dec_ref(x_503); - x_535 = lean_box(0); -} -if (lean_is_scalar(x_535)) { - x_536 = lean_alloc_ctor(1, 2, 0); -} else { - x_536 = x_535; -} -lean_ctor_set(x_536, 0, x_533); -lean_ctor_set(x_536, 1, x_534); -return x_536; -} -} -else -{ -lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -lean_dec(x_496); -lean_dec(x_491); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_537 = lean_ctor_get(x_499, 0); -lean_inc(x_537); -x_538 = lean_ctor_get(x_499, 1); -lean_inc(x_538); -if (lean_is_exclusive(x_499)) { - lean_ctor_release(x_499, 0); - lean_ctor_release(x_499, 1); - x_539 = x_499; -} else { - lean_dec_ref(x_499); - x_539 = lean_box(0); -} -if (lean_is_scalar(x_539)) { - x_540 = lean_alloc_ctor(1, 2, 0); -} else { - x_540 = x_539; -} -lean_ctor_set(x_540, 0, x_537); -lean_ctor_set(x_540, 1, x_538); -return x_540; -} -} -} -} -else -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; -x_541 = lean_unsigned_to_nat(1u); -x_542 = l_Lean_Syntax_getArg(x_1, x_541); -x_543 = lean_box(0); -lean_inc(x_542); -x_544 = lean_alloc_closure((void*)(l_Lean_Doc_elabInline___lam__0___boxed), 9, 2); -lean_closure_set(x_544, 0, x_542); -lean_closure_set(x_544, 1, x_543); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_545 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_544, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_545) == 0) -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -x_547 = lean_ctor_get(x_545, 1); -lean_inc(x_547); -lean_dec_ref(x_545); -x_548 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed), 8, 1); -lean_closure_set(x_548, 0, x_546); -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_549 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_548, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_547); -if (lean_obj_tag(x_549) == 0) -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; size_t x_560; size_t x_561; lean_object* x_562; -x_550 = lean_ctor_get(x_549, 0); -lean_inc(x_550); -x_551 = lean_ctor_get(x_549, 1); -lean_inc(x_551); -lean_dec_ref(x_549); -x_552 = lean_unsigned_to_nat(2u); -x_553 = l_Lean_Syntax_getArg(x_1, x_552); -x_554 = lean_unsigned_to_nat(4u); -x_555 = l_Lean_Syntax_getArg(x_1, x_554); -lean_dec(x_1); -x_556 = l_Lean_Syntax_getArgs(x_555); -lean_dec(x_555); -x_557 = l_Lean_Syntax_getArgs(x_553); -lean_dec(x_553); -x_558 = lean_box(0); -x_559 = l_Lean_Doc_elabBlock___closed__19; -x_560 = lean_array_size(x_550); -x_561 = 0; -lean_inc(x_9); -lean_inc_ref(x_427); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_533 = l_Lean_Syntax_getArgs(x_532); +lean_dec(x_532); +x_534 = lean_box(0); +x_535 = l_Lean_Doc_elabBlock___closed__21; +x_536 = lean_array_size(x_529); +x_537 = 0; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_562 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6(x_556, x_557, x_558, x_559, x_550, x_560, x_561, x_559, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_551); -lean_dec(x_550); -if (lean_obj_tag(x_562) == 0) +lean_inc_ref(x_2); +x_538 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1(x_533, x_534, x_535, x_529, x_536, x_537, x_535, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_530); +lean_dec(x_529); +if (lean_obj_tag(x_538) == 0) { -lean_object* x_563; lean_object* x_564; lean_object* x_565; -x_563 = lean_ctor_get(x_562, 0); -lean_inc(x_563); -x_564 = lean_ctor_get(x_563, 0); -lean_inc(x_564); -if (lean_is_exclusive(x_563)) { - lean_ctor_release(x_563, 0); - lean_ctor_release(x_563, 1); - x_565 = x_563; +lean_object* x_539; lean_object* x_540; lean_object* x_541; +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_539, 0); +lean_inc(x_540); +if (lean_is_exclusive(x_539)) { + lean_ctor_release(x_539, 0); + lean_ctor_release(x_539, 1); + x_541 = x_539; } else { - lean_dec_ref(x_563); - x_565 = lean_box(0); + lean_dec_ref(x_539); + x_541 = lean_box(0); } -if (lean_obj_tag(x_564) == 0) +if (lean_obj_tag(x_540) == 0) { -lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_566 = lean_ctor_get(x_562, 1); -lean_inc(x_566); -lean_dec_ref(x_562); -x_567 = l_Lean_Doc_elabBlock___closed__25; +lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +x_542 = lean_ctor_get(x_538, 1); lean_inc(x_542); -x_568 = l_Lean_MessageData_ofSyntax(x_542); -if (lean_is_scalar(x_565)) { - x_569 = lean_alloc_ctor(7, 2, 0); +lean_dec_ref(x_538); +x_543 = l_Lean_Doc_elabBlock___closed__23; +lean_inc(x_526); +x_544 = l_Lean_MessageData_ofSyntax(x_526); +if (lean_is_scalar(x_541)) { + x_545 = lean_alloc_ctor(7, 2, 0); } else { - x_569 = x_565; - lean_ctor_set_tag(x_569, 7); + x_545 = x_541; + lean_ctor_set_tag(x_545, 7); } +lean_ctor_set(x_545, 0, x_543); +lean_ctor_set(x_545, 1, x_544); +x_546 = l_Lean_Doc_getPositional___redArg___closed__40; +x_547 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_547, 0, x_545); +lean_ctor_set(x_547, 1, x_546); +x_548 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_526, x_547, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_542); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_526); +return x_548; +} +else +{ +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; +lean_dec(x_541); +lean_dec(x_526); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_549 = lean_ctor_get(x_538, 1); +lean_inc(x_549); +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_550 = x_538; +} else { + lean_dec_ref(x_538); + x_550 = lean_box(0); +} +x_551 = lean_ctor_get(x_540, 0); +lean_inc(x_551); +lean_dec_ref(x_540); +if (lean_is_scalar(x_550)) { + x_552 = lean_alloc_ctor(0, 2, 0); +} else { + x_552 = x_550; +} +lean_ctor_set(x_552, 0, x_551); +lean_ctor_set(x_552, 1, x_549); +return x_552; +} +} +else +{ +lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; +lean_dec(x_526); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_553 = lean_ctor_get(x_538, 0); +lean_inc(x_553); +x_554 = lean_ctor_get(x_538, 1); +lean_inc(x_554); +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_555 = x_538; +} else { + lean_dec_ref(x_538); + x_555 = lean_box(0); +} +if (lean_is_scalar(x_555)) { + x_556 = lean_alloc_ctor(1, 2, 0); +} else { + x_556 = x_555; +} +lean_ctor_set(x_556, 0, x_553); +lean_ctor_set(x_556, 1, x_554); +return x_556; +} +} +else +{ +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; +lean_dec(x_526); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_557 = lean_ctor_get(x_528, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_528, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + lean_ctor_release(x_528, 1); + x_559 = x_528; +} else { + lean_dec_ref(x_528); + x_559 = lean_box(0); +} +if (lean_is_scalar(x_559)) { + x_560 = lean_alloc_ctor(1, 2, 0); +} else { + x_560 = x_559; +} +lean_ctor_set(x_560, 0, x_557); +lean_ctor_set(x_560, 1, x_558); +return x_560; +} +} +} +else +{ +lean_object* x_561; lean_object* x_562; lean_object* x_563; uint8_t x_564; +x_561 = lean_unsigned_to_nat(0u); +x_562 = lean_unsigned_to_nat(1u); +x_563 = l_Lean_Syntax_getArg(x_1, x_562); +lean_inc(x_563); +x_564 = l_Lean_Syntax_matchesNull(x_563, x_561); +if (x_564 == 0) +{ +lean_object* x_565; uint8_t x_566; +x_565 = lean_unsigned_to_nat(2u); +lean_inc(x_563); +x_566 = l_Lean_Syntax_matchesNull(x_563, x_565); +if (x_566 == 0) +{ +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; +lean_dec(x_563); +x_567 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_568 = l_Lean_MessageData_ofSyntax(x_1); +x_569 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_569, 0, x_567); lean_ctor_set(x_569, 1, x_568); -x_570 = l_Lean_Doc_getPositional___redArg___closed__37; -x_571 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_571, 0, x_569); -lean_ctor_set(x_571, 1, x_570); -x_572 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_542, x_571, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_566); +x_570 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_569, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_542); -return x_572; +lean_dec_ref(x_2); +lean_dec(x_1); +return x_570; } else { -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; -lean_dec(x_565); -lean_dec(x_542); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_573 = lean_ctor_get(x_562, 1); -lean_inc(x_573); -if (lean_is_exclusive(x_562)) { - lean_ctor_release(x_562, 0); - lean_ctor_release(x_562, 1); - x_574 = x_562; -} else { - lean_dec_ref(x_562); - x_574 = lean_box(0); -} -x_575 = lean_ctor_get(x_564, 0); +lean_object* x_571; lean_object* x_572; lean_object* x_573; +x_571 = l_Lean_Syntax_getArg(x_563, x_561); +lean_inc(x_571); +x_572 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_572, 0, x_571); +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_573 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_572, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_573) == 0) +{ +lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; size_t x_582; size_t x_583; lean_object* x_584; +x_574 = lean_ctor_get(x_573, 0); +lean_inc(x_574); +x_575 = lean_ctor_get(x_573, 1); lean_inc(x_575); -lean_dec_ref(x_564); -if (lean_is_scalar(x_574)) { - x_576 = lean_alloc_ctor(0, 2, 0); -} else { - x_576 = x_574; -} -lean_ctor_set(x_576, 0, x_575); -lean_ctor_set(x_576, 1, x_573); -return x_576; -} -} -else -{ -lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; -lean_dec(x_542); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_577 = lean_ctor_get(x_562, 0); -lean_inc(x_577); -x_578 = lean_ctor_get(x_562, 1); -lean_inc(x_578); -if (lean_is_exclusive(x_562)) { - lean_ctor_release(x_562, 0); - lean_ctor_release(x_562, 1); - x_579 = x_562; -} else { - lean_dec_ref(x_562); - x_579 = lean_box(0); -} -if (lean_is_scalar(x_579)) { - x_580 = lean_alloc_ctor(1, 2, 0); -} else { - x_580 = x_579; -} -lean_ctor_set(x_580, 0, x_577); -lean_ctor_set(x_580, 1, x_578); -return x_580; -} -} -else -{ -lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; -lean_dec(x_542); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_573); +x_576 = l_Lean_Syntax_getArg(x_563, x_562); +lean_dec(x_563); +x_577 = lean_unsigned_to_nat(3u); +x_578 = l_Lean_Syntax_getArg(x_1, x_577); lean_dec(x_1); -x_581 = lean_ctor_get(x_549, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_549, 1); -lean_inc(x_582); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_583 = x_549; -} else { - lean_dec_ref(x_549); - x_583 = lean_box(0); -} -if (lean_is_scalar(x_583)) { - x_584 = lean_alloc_ctor(1, 2, 0); -} else { - x_584 = x_583; -} -lean_ctor_set(x_584, 0, x_581); -lean_ctor_set(x_584, 1, x_582); -return x_584; -} -} -else +x_579 = l_Lean_Syntax_getArgs(x_576); +lean_dec(x_576); +x_580 = lean_box(0); +x_581 = l_Lean_Doc_elabBlock___closed__21; +x_582 = lean_array_size(x_574); +x_583 = 0; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_584 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3(x_578, x_579, x_580, x_581, x_574, x_582, x_583, x_581, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_575); +lean_dec(x_574); +if (lean_obj_tag(x_584) == 0) { -lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; -lean_dec(x_542); -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_585 = lean_ctor_get(x_545, 0); +lean_object* x_585; lean_object* x_586; lean_object* x_587; +x_585 = lean_ctor_get(x_584, 0); lean_inc(x_585); -x_586 = lean_ctor_get(x_545, 1); +x_586 = lean_ctor_get(x_585, 0); lean_inc(x_586); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - lean_ctor_release(x_545, 1); - x_587 = x_545; +if (lean_is_exclusive(x_585)) { + lean_ctor_release(x_585, 0); + lean_ctor_release(x_585, 1); + x_587 = x_585; } else { - lean_dec_ref(x_545); + lean_dec_ref(x_585); x_587 = lean_box(0); } +if (lean_obj_tag(x_586) == 0) +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_588 = lean_ctor_get(x_584, 1); +lean_inc(x_588); +lean_dec_ref(x_584); +x_589 = l_Lean_Doc_elabBlock___closed__25; +lean_inc(x_571); +x_590 = l_Lean_MessageData_ofSyntax(x_571); if (lean_is_scalar(x_587)) { - x_588 = lean_alloc_ctor(1, 2, 0); + x_591 = lean_alloc_ctor(7, 2, 0); } else { - x_588 = x_587; + x_591 = x_587; + lean_ctor_set_tag(x_591, 7); } -lean_ctor_set(x_588, 0, x_585); -lean_ctor_set(x_588, 1, x_586); -return x_588; +lean_ctor_set(x_591, 0, x_589); +lean_ctor_set(x_591, 1, x_590); +x_592 = l_Lean_Doc_getPositional___redArg___closed__40; +x_593 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_593, 0, x_591); +lean_ctor_set(x_593, 1, x_592); +x_594 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_571, x_593, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_588); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_571); +return x_594; } +else +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; +lean_dec(x_587); +lean_dec(x_571); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_595 = lean_ctor_get(x_584, 1); +lean_inc(x_595); +if (lean_is_exclusive(x_584)) { + lean_ctor_release(x_584, 0); + lean_ctor_release(x_584, 1); + x_596 = x_584; +} else { + lean_dec_ref(x_584); + x_596 = lean_box(0); +} +x_597 = lean_ctor_get(x_586, 0); +lean_inc(x_597); +lean_dec_ref(x_586); +if (lean_is_scalar(x_596)) { + x_598 = lean_alloc_ctor(0, 2, 0); +} else { + x_598 = x_596; +} +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_595); +return x_598; } } else { -lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; uint8_t x_596; -x_589 = lean_st_ref_get(x_2, x_10); -x_590 = lean_ctor_get(x_589, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_589, 1); -lean_inc(x_591); -lean_dec_ref(x_589); -x_592 = lean_ctor_get(x_590, 1); -lean_inc_ref(x_592); -lean_dec(x_590); -x_593 = lean_unsigned_to_nat(1u); -x_594 = l_Lean_Syntax_getArg(x_1, x_593); -x_595 = l_Lean_TSyntax_getString(x_594); -x_596 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_592, x_595); -lean_dec_ref(x_592); -if (x_596 == 0) -{ -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; +lean_dec(x_571); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -x_597 = lean_st_ref_take(x_2, x_591); -x_598 = lean_ctor_get(x_597, 0); -lean_inc(x_598); -x_599 = lean_ctor_get(x_597, 1); +lean_dec_ref(x_2); +x_599 = lean_ctor_get(x_584, 0); lean_inc(x_599); -lean_dec_ref(x_597); -x_600 = lean_ctor_get(x_598, 0); -lean_inc_ref(x_600); -x_601 = lean_ctor_get(x_598, 1); -lean_inc_ref(x_601); -if (lean_is_exclusive(x_598)) { - lean_ctor_release(x_598, 0); - lean_ctor_release(x_598, 1); - x_602 = x_598; +x_600 = lean_ctor_get(x_584, 1); +lean_inc(x_600); +if (lean_is_exclusive(x_584)) { + lean_ctor_release(x_584, 0); + lean_ctor_release(x_584, 1); + x_601 = x_584; } else { - lean_dec_ref(x_598); - x_602 = lean_box(0); + lean_dec_ref(x_584); + x_601 = lean_box(0); } -x_603 = lean_unsigned_to_nat(3u); -x_604 = l_Lean_Syntax_getArg(x_1, x_603); -lean_dec(x_1); -x_605 = l_Lean_TSyntax_getString(x_604); -lean_dec(x_604); -x_606 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_606, 0, x_605); -lean_ctor_set(x_606, 1, x_594); -lean_ctor_set_uint8(x_606, sizeof(void*)*2, x_596); -x_607 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_601, x_595, x_606); -if (lean_is_scalar(x_602)) { - x_608 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_601)) { + x_602 = lean_alloc_ctor(1, 2, 0); } else { - x_608 = x_602; + x_602 = x_601; +} +lean_ctor_set(x_602, 0, x_599); +lean_ctor_set(x_602, 1, x_600); +return x_602; } -lean_ctor_set(x_608, 0, x_600); -lean_ctor_set(x_608, 1, x_607); -x_609 = lean_st_ref_set(x_2, x_608, x_599); -lean_dec(x_2); -x_610 = lean_ctor_get(x_609, 1); -lean_inc(x_610); -lean_dec_ref(x_609); -x_11 = x_610; -goto block_14; } else { -lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; -lean_dec_ref(x_595); -lean_dec(x_1); -x_611 = l_Lean_Doc_elabBlock___closed__27; -x_612 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_594, x_611, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_591); +lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +lean_dec(x_571); +lean_dec(x_563); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_594); -x_613 = lean_ctor_get(x_612, 0); -lean_inc(x_613); -x_614 = lean_ctor_get(x_612, 1); -lean_inc(x_614); -if (lean_is_exclusive(x_612)) { - lean_ctor_release(x_612, 0); - lean_ctor_release(x_612, 1); - x_615 = x_612; +lean_dec_ref(x_2); +lean_dec(x_1); +x_603 = lean_ctor_get(x_573, 0); +lean_inc(x_603); +x_604 = lean_ctor_get(x_573, 1); +lean_inc(x_604); +if (lean_is_exclusive(x_573)) { + lean_ctor_release(x_573, 0); + lean_ctor_release(x_573, 1); + x_605 = x_573; } else { - lean_dec_ref(x_612); - x_615 = lean_box(0); + lean_dec_ref(x_573); + x_605 = lean_box(0); } -if (lean_is_scalar(x_615)) { - x_616 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_605)) { + x_606 = lean_alloc_ctor(1, 2, 0); } else { - x_616 = x_615; + x_606 = x_605; } -lean_ctor_set(x_616, 0, x_613); -lean_ctor_set(x_616, 1, x_614); -return x_616; +lean_ctor_set(x_606, 0, x_603); +lean_ctor_set(x_606, 1, x_604); +return x_606; } } } else { -lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; uint8_t x_624; -x_617 = lean_st_ref_get(x_2, x_10); -x_618 = lean_ctor_get(x_617, 0); -lean_inc(x_618); -x_619 = lean_ctor_get(x_617, 1); -lean_inc(x_619); -lean_dec_ref(x_617); -x_620 = lean_ctor_get(x_618, 0); -lean_inc_ref(x_620); -lean_dec(x_618); -x_621 = lean_unsigned_to_nat(1u); -x_622 = l_Lean_Syntax_getArg(x_1, x_621); -x_623 = l_Lean_TSyntax_getString(x_622); -x_624 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_620, x_623); -lean_dec_ref(x_620); -if (x_624 == 0) +lean_object* x_607; lean_object* x_608; +lean_dec(x_563); +x_607 = l_Lean_Doc_elabBlock___closed__26; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_608 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_607, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_608) == 0) { -lean_object* x_625; lean_object* x_626; lean_object* x_627; size_t x_628; size_t x_629; lean_object* x_630; -x_625 = lean_unsigned_to_nat(3u); -x_626 = l_Lean_Syntax_getArg(x_1, x_625); +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_619; uint8_t x_620; +x_609 = lean_ctor_get(x_608, 0); +lean_inc(x_609); +x_610 = lean_ctor_get(x_608, 1); +lean_inc(x_610); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_611 = x_608; +} else { + lean_dec_ref(x_608); + x_611 = lean_box(0); +} +x_612 = lean_unsigned_to_nat(3u); +x_613 = l_Lean_Syntax_getArg(x_1, x_612); +x_619 = l_Lean_Doc_elabInline___closed__27; +x_620 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_getNames_spec__0_spec__0_spec__1_spec__1(x_609, x_619); +lean_dec(x_609); +if (x_620 == 0) +{ +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); lean_dec(x_1); -x_627 = l_Lean_Syntax_getArgs(x_626); -lean_dec(x_626); -x_628 = lean_array_size(x_627); -x_629 = 0; -lean_inc(x_2); -x_630 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_628, x_629, x_627, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_619); -if (lean_obj_tag(x_630) == 0) +x_614 = x_610; +goto block_618; +} +else { -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_631 = lean_ctor_get(x_630, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 1); -lean_inc(x_632); -lean_dec_ref(x_630); -x_633 = lean_st_ref_take(x_2, x_632); +lean_object* x_621; lean_object* x_622; +x_621 = l_Lean_Syntax_getArg(x_1, x_561); +lean_dec(x_1); +x_622 = l_Lean_Syntax_getRange_x3f(x_621, x_516); +if (lean_obj_tag(x_622) == 0) +{ +lean_dec(x_621); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_614 = x_610; +goto block_618; +} +else +{ +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; +x_623 = lean_ctor_get(x_622, 0); +lean_inc(x_623); +lean_dec_ref(x_622); +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +lean_dec(x_623); +x_626 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_627 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_626, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_610); +if (lean_obj_tag(x_627) == 0) +{ +lean_object* x_628; lean_object* x_629; lean_object* x_630; size_t x_631; size_t x_632; lean_object* x_633; +x_628 = lean_ctor_get(x_627, 0); +lean_inc(x_628); +x_629 = lean_ctor_get(x_627, 1); +lean_inc(x_629); +lean_dec_ref(x_627); +x_630 = l_Lean_Doc_elabBlock___closed__27; +x_631 = lean_array_size(x_628); +x_632 = 0; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +lean_inc(x_613); +x_633 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(x_613, x_516, x_628, x_631, x_632, x_630, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_629); +lean_dec(x_628); +if (lean_obj_tag(x_633) == 0) +{ +lean_object* x_634; lean_object* x_635; uint8_t x_636; x_634 = lean_ctor_get(x_633, 0); lean_inc(x_634); x_635 = lean_ctor_get(x_633, 1); lean_inc(x_635); lean_dec_ref(x_633); -x_636 = lean_ctor_get(x_634, 0); -lean_inc_ref(x_636); -x_637 = lean_ctor_get(x_634, 1); -lean_inc_ref(x_637); -if (lean_is_exclusive(x_634)) { - lean_ctor_release(x_634, 0); - lean_ctor_release(x_634, 1); - x_638 = x_634; -} else { - lean_dec_ref(x_634); - x_638 = lean_box(0); -} -x_639 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_639, 0, x_631); -x_640 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_640, 0, x_639); -lean_ctor_set(x_640, 1, x_622); -lean_ctor_set_uint8(x_640, sizeof(void*)*2, x_624); -x_641 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_636, x_623, x_640); -if (lean_is_scalar(x_638)) { - x_642 = lean_alloc_ctor(0, 2, 0); -} else { - x_642 = x_638; -} -lean_ctor_set(x_642, 0, x_641); -lean_ctor_set(x_642, 1, x_637); -x_643 = lean_st_ref_set(x_2, x_642, x_635); -lean_dec(x_2); -x_644 = lean_ctor_get(x_643, 1); -lean_inc(x_644); -lean_dec_ref(x_643); -x_15 = x_644; -goto block_18; -} -else +x_636 = l_Array_isEmpty___redArg(x_634); +if (x_636 == 0) { -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -lean_dec_ref(x_623); -lean_dec(x_622); -lean_dec(x_2); -x_645 = lean_ctor_get(x_630, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_630, 1); +lean_object* x_637; lean_object* x_638; +x_637 = l_Lean_Doc_elabBlock___closed__28; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_638 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_637, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_635); +if (lean_obj_tag(x_638) == 0) +{ +lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; size_t x_644; lean_object* x_645; +x_639 = lean_ctor_get(x_638, 0); +lean_inc(x_639); +x_640 = lean_ctor_get(x_638, 1); +lean_inc(x_640); +lean_dec_ref(x_638); +x_641 = lean_ctor_get(x_639, 0); +lean_inc_ref(x_641); +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + lean_ctor_release(x_639, 1); + x_642 = x_639; +} else { + lean_dec_ref(x_639); + x_642 = lean_box(0); +} +x_643 = lean_string_utf8_extract(x_641, x_624, x_625); +lean_dec(x_625); +lean_dec(x_624); +lean_dec_ref(x_641); +x_644 = lean_array_size(x_634); +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_645 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(x_620, x_643, x_644, x_632, x_634, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_640); +if (lean_obj_tag(x_645) == 0) +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_666; lean_object* x_667; lean_object* x_670; uint8_t x_671; +x_646 = lean_ctor_get(x_645, 0); lean_inc(x_646); -if (lean_is_exclusive(x_630)) { - lean_ctor_release(x_630, 0); - lean_ctor_release(x_630, 1); - x_647 = x_630; -} else { - lean_dec_ref(x_630); - x_647 = lean_box(0); +x_647 = lean_ctor_get(x_645, 1); +lean_inc(x_647); +lean_dec_ref(x_645); +x_670 = lean_array_get_size(x_646); +x_671 = lean_nat_dec_eq(x_670, x_561); +if (x_671 == 0) +{ +lean_object* x_672; lean_object* x_673; uint8_t x_676; +x_672 = lean_nat_sub(x_670, x_562); +lean_dec(x_670); +x_676 = lean_nat_dec_le(x_561, x_672); +if (x_676 == 0) +{ +lean_inc(x_672); +x_673 = x_672; +goto block_675; } -if (lean_is_scalar(x_647)) { - x_648 = lean_alloc_ctor(1, 2, 0); -} else { - x_648 = x_647; +else +{ +x_673 = x_561; +goto block_675; +} +block_675: +{ +uint8_t x_674; +x_674 = lean_nat_dec_le(x_673, x_672); +if (x_674 == 0) +{ +lean_dec(x_672); +lean_inc(x_673); +x_666 = x_673; +x_667 = x_673; +goto block_669; +} +else +{ +x_666 = x_673; +x_667 = x_672; +goto block_669; } -lean_ctor_set(x_648, 0, x_645); -lean_ctor_set(x_648, 1, x_646); -return x_648; } } else { -lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -lean_dec_ref(x_623); -lean_dec(x_1); -x_649 = l_Lean_Doc_elabBlock___closed__27; -x_650 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_622, x_649, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_619); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_622); +lean_dec(x_670); +x_648 = x_646; +goto block_665; +} +block_665: +{ +lean_object* x_649; lean_object* x_650; +x_649 = l_Lean_Doc_elabBlock___closed__30; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_650 = l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg(x_621, x_649, x_648, x_2, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_647); +if (lean_obj_tag(x_650) == 0) +{ +lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; x_651 = lean_ctor_get(x_650, 0); lean_inc(x_651); x_652 = lean_ctor_get(x_650, 1); lean_inc(x_652); +lean_dec_ref(x_650); +x_653 = l_Lean_Doc_elabBlock___closed__32; +if (lean_is_scalar(x_642)) { + x_654 = lean_alloc_ctor(7, 2, 0); +} else { + x_654 = x_642; + lean_ctor_set_tag(x_654, 7); +} +lean_ctor_set(x_654, 0, x_653); +lean_ctor_set(x_654, 1, x_651); +x_655 = l_Lean_logWarning___at___Lean_Doc_elabInline_spec__8(x_654, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_652); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_obj_tag(x_655) == 0) +{ +lean_object* x_656; +x_656 = lean_ctor_get(x_655, 1); +lean_inc(x_656); +lean_dec_ref(x_655); +x_614 = x_656; +goto block_618; +} +else +{ +lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; +lean_dec(x_613); +lean_dec(x_611); +x_657 = lean_ctor_get(x_655, 0); +lean_inc(x_657); +x_658 = lean_ctor_get(x_655, 1); +lean_inc(x_658); +if (lean_is_exclusive(x_655)) { + lean_ctor_release(x_655, 0); + lean_ctor_release(x_655, 1); + x_659 = x_655; +} else { + lean_dec_ref(x_655); + x_659 = lean_box(0); +} +if (lean_is_scalar(x_659)) { + x_660 = lean_alloc_ctor(1, 2, 0); +} else { + x_660 = x_659; +} +lean_ctor_set(x_660, 0, x_657); +lean_ctor_set(x_660, 1, x_658); +return x_660; +} +} +else +{ +lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; +lean_dec(x_642); +lean_dec(x_613); +lean_dec(x_611); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_661 = lean_ctor_get(x_650, 0); +lean_inc(x_661); +x_662 = lean_ctor_get(x_650, 1); +lean_inc(x_662); if (lean_is_exclusive(x_650)) { lean_ctor_release(x_650, 0); lean_ctor_release(x_650, 1); - x_653 = x_650; + x_663 = x_650; } else { lean_dec_ref(x_650); - x_653 = lean_box(0); + x_663 = lean_box(0); } -if (lean_is_scalar(x_653)) { - x_654 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_663)) { + x_664 = lean_alloc_ctor(1, 2, 0); } else { - x_654 = x_653; + x_664 = x_663; } -lean_ctor_set(x_654, 0, x_651); -lean_ctor_set(x_654, 1, x_652); -return x_654; +lean_ctor_set(x_664, 0, x_661); +lean_ctor_set(x_664, 1, x_662); +return x_664; } } +block_669: +{ +lean_object* x_668; +x_668 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_elabInline_spec__10___redArg(x_646, x_666, x_667); +lean_dec(x_667); +x_648 = x_668; +goto block_665; +} } else { -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; size_t x_659; size_t x_660; lean_object* x_661; -x_655 = lean_unsigned_to_nat(1u); -x_656 = l_Lean_Syntax_getArg(x_1, x_655); -lean_dec(x_1); -x_657 = lean_box(0); -x_658 = l_Lean_Syntax_getArgs(x_656); -lean_dec(x_656); -x_659 = lean_array_size(x_658); -x_660 = 0; -x_661 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_655, x_657, x_421, x_422, x_423, x_659, x_660, x_658, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -lean_dec_ref(x_427); -if (lean_obj_tag(x_661) == 0) -{ -lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; -x_662 = lean_ctor_get(x_661, 0); -lean_inc(x_662); -x_663 = lean_ctor_get(x_661, 1); -lean_inc(x_663); -if (lean_is_exclusive(x_661)) { - lean_ctor_release(x_661, 0); - lean_ctor_release(x_661, 1); - x_664 = x_661; -} else { - lean_dec_ref(x_661); - x_664 = lean_box(0); -} -x_665 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_665, 0, x_662); -if (lean_is_scalar(x_664)) { - x_666 = lean_alloc_ctor(0, 2, 0); -} else { - x_666 = x_664; -} -lean_ctor_set(x_666, 0, x_665); -lean_ctor_set(x_666, 1, x_663); -return x_666; -} -else -{ -lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; -x_667 = lean_ctor_get(x_661, 0); -lean_inc(x_667); -x_668 = lean_ctor_get(x_661, 1); -lean_inc(x_668); -if (lean_is_exclusive(x_661)) { - lean_ctor_release(x_661, 0); - lean_ctor_release(x_661, 1); - x_669 = x_661; -} else { - lean_dec_ref(x_661); - x_669 = lean_box(0); -} -if (lean_is_scalar(x_669)) { - x_670 = lean_alloc_ctor(1, 2, 0); -} else { - x_670 = x_669; -} -lean_ctor_set(x_670, 0, x_667); -lean_ctor_set(x_670, 1, x_668); -return x_670; -} -} -} -else -{ -lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; size_t x_675; size_t x_676; lean_object* x_677; -x_671 = lean_unsigned_to_nat(1u); -x_672 = lean_unsigned_to_nat(4u); -x_673 = l_Lean_Syntax_getArg(x_1, x_672); -x_674 = l_Lean_Syntax_getArgs(x_673); -lean_dec(x_673); -x_675 = lean_array_size(x_674); -x_676 = 0; -x_677 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(x_421, x_422, x_423, x_671, x_675, x_676, x_674); -if (lean_obj_tag(x_677) == 0) -{ -lean_object* x_678; -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_dec(x_642); +lean_dec(x_621); +lean_dec(x_613); +lean_dec(x_611); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_678 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_678; +lean_dec_ref(x_2); +x_677 = lean_ctor_get(x_645, 0); +lean_inc(x_677); +x_678 = lean_ctor_get(x_645, 1); +lean_inc(x_678); +if (lean_is_exclusive(x_645)) { + lean_ctor_release(x_645, 0); + lean_ctor_release(x_645, 1); + x_679 = x_645; +} else { + lean_dec_ref(x_645); + x_679 = lean_box(0); +} +if (lean_is_scalar(x_679)) { + x_680 = lean_alloc_ctor(1, 2, 0); +} else { + x_680 = x_679; +} +lean_ctor_set(x_680, 0, x_677); +lean_ctor_set(x_680, 1, x_678); +return x_680; +} } else { -lean_object* x_679; size_t x_680; lean_object* x_681; -x_679 = lean_ctor_get(x_677, 0); -lean_inc(x_679); -lean_dec_ref(x_677); -x_680 = lean_array_size(x_679); -x_681 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_680, x_676, x_679, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_681) == 0) -{ -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; -x_682 = lean_ctor_get(x_681, 0); +lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; +lean_dec(x_634); +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_621); +lean_dec(x_613); +lean_dec(x_611); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_681 = lean_ctor_get(x_638, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_638, 1); lean_inc(x_682); -x_683 = lean_ctor_get(x_681, 1); -lean_inc(x_683); -if (lean_is_exclusive(x_681)) { - lean_ctor_release(x_681, 0); - lean_ctor_release(x_681, 1); - x_684 = x_681; +if (lean_is_exclusive(x_638)) { + lean_ctor_release(x_638, 0); + lean_ctor_release(x_638, 1); + x_683 = x_638; } else { - lean_dec_ref(x_681); - x_684 = lean_box(0); + lean_dec_ref(x_638); + x_683 = lean_box(0); } -x_685 = l_Lean_Syntax_getArg(x_1, x_671); -lean_dec(x_1); -x_686 = l_Lean_TSyntax_getNat(x_685); -lean_dec(x_685); -x_687 = lean_nat_to_int(x_686); -x_688 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_682); -if (lean_is_scalar(x_684)) { - x_689 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_683)) { + x_684 = lean_alloc_ctor(1, 2, 0); } else { - x_689 = x_684; + x_684 = x_683; +} +lean_ctor_set(x_684, 0, x_681); +lean_ctor_set(x_684, 1, x_682); +return x_684; } -lean_ctor_set(x_689, 0, x_688); -lean_ctor_set(x_689, 1, x_683); -return x_689; } else { -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; -lean_dec(x_1); -x_690 = lean_ctor_get(x_681, 0); +lean_dec(x_634); +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_621); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_614 = x_635; +goto block_618; +} +} +else +{ +lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_621); +lean_dec(x_613); +lean_dec(x_611); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_685 = lean_ctor_get(x_633, 0); +lean_inc(x_685); +x_686 = lean_ctor_get(x_633, 1); +lean_inc(x_686); +if (lean_is_exclusive(x_633)) { + lean_ctor_release(x_633, 0); + lean_ctor_release(x_633, 1); + x_687 = x_633; +} else { + lean_dec_ref(x_633); + x_687 = lean_box(0); +} +if (lean_is_scalar(x_687)) { + x_688 = lean_alloc_ctor(1, 2, 0); +} else { + x_688 = x_687; +} +lean_ctor_set(x_688, 0, x_685); +lean_ctor_set(x_688, 1, x_686); +return x_688; +} +} +else +{ +lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_621); +lean_dec(x_613); +lean_dec(x_611); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_689 = lean_ctor_get(x_627, 0); +lean_inc(x_689); +x_690 = lean_ctor_get(x_627, 1); lean_inc(x_690); -x_691 = lean_ctor_get(x_681, 1); -lean_inc(x_691); -if (lean_is_exclusive(x_681)) { - lean_ctor_release(x_681, 0); - lean_ctor_release(x_681, 1); - x_692 = x_681; +if (lean_is_exclusive(x_627)) { + lean_ctor_release(x_627, 0); + lean_ctor_release(x_627, 1); + x_691 = x_627; } else { - lean_dec_ref(x_681); - x_692 = lean_box(0); + lean_dec_ref(x_627); + x_691 = lean_box(0); } -if (lean_is_scalar(x_692)) { - x_693 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_691)) { + x_692 = lean_alloc_ctor(1, 2, 0); } else { - x_693 = x_692; + x_692 = x_691; } -lean_ctor_set(x_693, 0, x_690); -lean_ctor_set(x_693, 1, x_691); -return x_693; +lean_ctor_set(x_692, 0, x_689); +lean_ctor_set(x_692, 1, x_690); +return x_692; } } } +block_618: +{ +lean_object* x_615; lean_object* x_616; lean_object* x_617; +x_615 = l_Lean_TSyntax_getString(x_613); +lean_dec(x_613); +x_616 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_616, 0, x_615); +if (lean_is_scalar(x_611)) { + x_617 = lean_alloc_ctor(0, 2, 0); +} else { + x_617 = x_611; +} +lean_ctor_set(x_617, 0, x_616); +lean_ctor_set(x_617, 1, x_614); +return x_617; +} } else { -lean_object* x_694; lean_object* x_695; lean_object* x_696; size_t x_697; size_t x_698; lean_object* x_699; -x_694 = lean_unsigned_to_nat(1u); -x_695 = l_Lean_Syntax_getArg(x_1, x_694); -lean_dec(x_1); -x_696 = l_Lean_Syntax_getArgs(x_695); -lean_dec(x_695); -x_697 = lean_array_size(x_696); -x_698 = 0; -x_699 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(x_421, x_422, x_423, x_694, x_697, x_698, x_696); -if (lean_obj_tag(x_699) == 0) -{ -lean_object* x_700; -lean_dec_ref(x_427); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_700 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg(x_10); -return x_700; +lean_dec_ref(x_2); +lean_dec(x_1); +x_693 = lean_ctor_get(x_608, 0); +lean_inc(x_693); +x_694 = lean_ctor_get(x_608, 1); +lean_inc(x_694); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_695 = x_608; +} else { + lean_dec_ref(x_608); + x_695 = lean_box(0); +} +if (lean_is_scalar(x_695)) { + x_696 = lean_alloc_ctor(1, 2, 0); +} else { + x_696 = x_695; +} +lean_ctor_set(x_696, 0, x_693); +lean_ctor_set(x_696, 1, x_694); +return x_696; +} +} +} } else { -lean_object* x_701; lean_object* x_702; size_t x_703; lean_object* x_704; -x_701 = lean_ctor_get(x_699, 0); +lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; +x_697 = lean_unsigned_to_nat(1u); +x_698 = l_Lean_Syntax_getArg(x_1, x_697); +lean_inc(x_698); +x_699 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___boxed), 8, 1); +lean_closure_set(x_699, 0, x_698); +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_700 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_699, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_700) == 0) +{ +lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; size_t x_711; size_t x_712; lean_object* x_713; +x_701 = lean_ctor_get(x_700, 0); lean_inc(x_701); -if (lean_is_exclusive(x_699)) { - lean_ctor_release(x_699, 0); - x_702 = x_699; -} else { - lean_dec_ref(x_699); - x_702 = lean_box(0); -} -x_703 = lean_array_size(x_701); -x_704 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_703, x_698, x_701, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_704) == 0) -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; -x_705 = lean_ctor_get(x_704, 0); -lean_inc(x_705); -x_706 = lean_ctor_get(x_704, 1); -lean_inc(x_706); -if (lean_is_exclusive(x_704)) { - lean_ctor_release(x_704, 0); - lean_ctor_release(x_704, 1); - x_707 = x_704; -} else { - lean_dec_ref(x_704); - x_707 = lean_box(0); -} -if (lean_is_scalar(x_702)) { - x_708 = lean_alloc_ctor(2, 1, 0); -} else { - x_708 = x_702; - lean_ctor_set_tag(x_708, 2); -} -lean_ctor_set(x_708, 0, x_705); -if (lean_is_scalar(x_707)) { - x_709 = lean_alloc_ctor(0, 2, 0); -} else { - x_709 = x_707; -} -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_706); -return x_709; -} -else -{ -lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; -lean_dec(x_702); -x_710 = lean_ctor_get(x_704, 0); -lean_inc(x_710); -x_711 = lean_ctor_get(x_704, 1); -lean_inc(x_711); -if (lean_is_exclusive(x_704)) { - lean_ctor_release(x_704, 0); - lean_ctor_release(x_704, 1); - x_712 = x_704; -} else { - lean_dec_ref(x_704); - x_712 = lean_box(0); -} -if (lean_is_scalar(x_712)) { - x_713 = lean_alloc_ctor(1, 2, 0); -} else { - x_713 = x_712; -} -lean_ctor_set(x_713, 0, x_710); -lean_ctor_set(x_713, 1, x_711); -return x_713; -} -} -} -} -else -{ -lean_object* x_714; lean_object* x_715; lean_object* x_716; size_t x_717; size_t x_718; lean_object* x_719; -x_714 = lean_unsigned_to_nat(1u); -x_715 = l_Lean_Syntax_getArg(x_1, x_714); +x_702 = lean_ctor_get(x_700, 1); +lean_inc(x_702); +lean_dec_ref(x_700); +x_703 = lean_unsigned_to_nat(2u); +x_704 = l_Lean_Syntax_getArg(x_1, x_703); +x_705 = lean_unsigned_to_nat(4u); +x_706 = l_Lean_Syntax_getArg(x_1, x_705); lean_dec(x_1); -x_716 = l_Lean_Syntax_getArgs(x_715); -lean_dec(x_715); -x_717 = lean_array_size(x_716); -x_718 = 0; -x_719 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_717, x_718, x_716, x_2, x_3, x_4, x_5, x_6, x_7, x_427, x_9, x_10); -if (lean_obj_tag(x_719) == 0) +x_707 = l_Lean_Syntax_getArgs(x_706); +lean_dec(x_706); +x_708 = l_Lean_Syntax_getArgs(x_704); +lean_dec(x_704); +x_709 = lean_box(0); +x_710 = l_Lean_Doc_elabBlock___closed__21; +x_711 = lean_array_size(x_701); +x_712 = 0; +lean_inc(x_10); +lean_inc_ref(x_504); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_713 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8(x_707, x_708, x_709, x_710, x_701, x_711, x_712, x_710, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_702); +lean_dec(x_701); +if (lean_obj_tag(x_713) == 0) { -lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; -x_720 = lean_ctor_get(x_719, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_719, 1); -lean_inc(x_721); -if (lean_is_exclusive(x_719)) { - lean_ctor_release(x_719, 0); - lean_ctor_release(x_719, 1); - x_722 = x_719; +lean_object* x_714; lean_object* x_715; lean_object* x_716; +x_714 = lean_ctor_get(x_713, 0); +lean_inc(x_714); +x_715 = lean_ctor_get(x_714, 0); +lean_inc(x_715); +if (lean_is_exclusive(x_714)) { + lean_ctor_release(x_714, 0); + lean_ctor_release(x_714, 1); + x_716 = x_714; } else { - lean_dec_ref(x_719); - x_722 = lean_box(0); + lean_dec_ref(x_714); + x_716 = lean_box(0); } -x_723 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_723, 0, x_720); -if (lean_is_scalar(x_722)) { - x_724 = lean_alloc_ctor(0, 2, 0); +if (lean_obj_tag(x_715) == 0) +{ +lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; +x_717 = lean_ctor_get(x_713, 1); +lean_inc(x_717); +lean_dec_ref(x_713); +x_718 = l_Lean_Doc_elabBlock___closed__34; +lean_inc(x_698); +x_719 = l_Lean_MessageData_ofSyntax(x_698); +if (lean_is_scalar(x_716)) { + x_720 = lean_alloc_ctor(7, 2, 0); } else { - x_724 = x_722; + x_720 = x_716; + lean_ctor_set_tag(x_720, 7); } -lean_ctor_set(x_724, 0, x_723); -lean_ctor_set(x_724, 1, x_721); -return x_724; -} -else -{ -lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; -x_725 = lean_ctor_get(x_719, 0); -lean_inc(x_725); -x_726 = lean_ctor_get(x_719, 1); -lean_inc(x_726); -if (lean_is_exclusive(x_719)) { - lean_ctor_release(x_719, 0); - lean_ctor_release(x_719, 1); - x_727 = x_719; -} else { - lean_dec_ref(x_719); - x_727 = lean_box(0); -} -if (lean_is_scalar(x_727)) { - x_728 = lean_alloc_ctor(1, 2, 0); -} else { - x_728 = x_727; -} -lean_ctor_set(x_728, 0, x_725); -lean_ctor_set(x_728, 1, x_726); -return x_728; -} -} -} -block_14: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Doc_elabBlock___closed__0; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -block_18: -{ -lean_object* x_16; lean_object* x_17; -x_16 = l_Lean_Doc_elabBlock___closed__0; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_ctor_set(x_720, 0, x_718); +lean_ctor_set(x_720, 1, x_719); +x_721 = l_Lean_Doc_getPositional___redArg___closed__40; +x_722 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_722, 0, x_720); +lean_ctor_set(x_722, 1, x_721); +x_723 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_698, x_722, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_717); +lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_698); +return x_723; +} +else +{ +lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; +lean_dec(x_716); +lean_dec(x_698); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_724 = lean_ctor_get(x_713, 1); +lean_inc(x_724); +if (lean_is_exclusive(x_713)) { + lean_ctor_release(x_713, 0); + lean_ctor_release(x_713, 1); + x_725 = x_713; +} else { + lean_dec_ref(x_713); + x_725 = lean_box(0); +} +x_726 = lean_ctor_get(x_715, 0); +lean_inc(x_726); +lean_dec_ref(x_715); +if (lean_is_scalar(x_725)) { + x_727 = lean_alloc_ctor(0, 2, 0); +} else { + x_727 = x_725; +} +lean_ctor_set(x_727, 0, x_726); +lean_ctor_set(x_727, 1, x_724); +return x_727; +} +} +else +{ +lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; +lean_dec(x_698); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_728 = lean_ctor_get(x_713, 0); +lean_inc(x_728); +x_729 = lean_ctor_get(x_713, 1); +lean_inc(x_729); +if (lean_is_exclusive(x_713)) { + lean_ctor_release(x_713, 0); + lean_ctor_release(x_713, 1); + x_730 = x_713; +} else { + lean_dec_ref(x_713); + x_730 = lean_box(0); +} +if (lean_is_scalar(x_730)) { + x_731 = lean_alloc_ctor(1, 2, 0); +} else { + x_731 = x_730; +} +lean_ctor_set(x_731, 0, x_728); +lean_ctor_set(x_731, 1, x_729); +return x_731; +} +} +else +{ +lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; +lean_dec(x_698); +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_732 = lean_ctor_get(x_700, 0); +lean_inc(x_732); +x_733 = lean_ctor_get(x_700, 1); +lean_inc(x_733); +if (lean_is_exclusive(x_700)) { + lean_ctor_release(x_700, 0); + lean_ctor_release(x_700, 1); + x_734 = x_700; +} else { + lean_dec_ref(x_700); + x_734 = lean_box(0); +} +if (lean_is_scalar(x_734)) { + x_735 = lean_alloc_ctor(1, 2, 0); +} else { + x_735 = x_734; +} +lean_ctor_set(x_735, 0, x_732); +lean_ctor_set(x_735, 1, x_733); +return x_735; +} +} +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; uint8_t x_743; +x_736 = lean_st_ref_get(x_3, x_11); +x_737 = lean_ctor_get(x_736, 0); +lean_inc(x_737); +x_738 = lean_ctor_get(x_736, 1); +lean_inc(x_738); +lean_dec_ref(x_736); +x_739 = lean_ctor_get(x_737, 1); +lean_inc_ref(x_739); +lean_dec(x_737); +x_740 = lean_unsigned_to_nat(1u); +x_741 = l_Lean_Syntax_getArg(x_1, x_740); +x_742 = l_Lean_TSyntax_getString(x_741); +x_743 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_739, x_742); +lean_dec_ref(x_739); +if (x_743 == 0) +{ +lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; +lean_dec_ref(x_504); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +x_744 = lean_st_ref_take(x_3, x_738); +x_745 = lean_ctor_get(x_744, 0); +lean_inc(x_745); +x_746 = lean_ctor_get(x_744, 1); +lean_inc(x_746); +lean_dec_ref(x_744); +x_747 = lean_ctor_get(x_745, 0); +lean_inc_ref(x_747); +x_748 = lean_ctor_get(x_745, 1); +lean_inc_ref(x_748); +if (lean_is_exclusive(x_745)) { + lean_ctor_release(x_745, 0); + lean_ctor_release(x_745, 1); + x_749 = x_745; +} else { + lean_dec_ref(x_745); + x_749 = lean_box(0); +} +x_750 = lean_unsigned_to_nat(3u); +x_751 = l_Lean_Syntax_getArg(x_1, x_750); +lean_dec(x_1); +x_752 = l_Lean_TSyntax_getString(x_751); +lean_dec(x_751); +x_753 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_741); +lean_ctor_set_uint8(x_753, sizeof(void*)*2, x_743); +x_754 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_748, x_742, x_753); +if (lean_is_scalar(x_749)) { + x_755 = lean_alloc_ctor(0, 2, 0); +} else { + x_755 = x_749; +} +lean_ctor_set(x_755, 0, x_747); +lean_ctor_set(x_755, 1, x_754); +x_756 = lean_st_ref_set(x_3, x_755, x_746); +lean_dec(x_3); +x_757 = lean_ctor_get(x_756, 1); +lean_inc(x_757); +lean_dec_ref(x_756); +x_12 = x_757; +goto block_15; +} +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; +lean_dec_ref(x_742); +lean_dec(x_1); +x_758 = l_Lean_Doc_elabBlock___closed__36; +x_759 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_741, x_758, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_738); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_741); +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + lean_ctor_release(x_759, 1); + x_762 = x_759; +} else { + lean_dec_ref(x_759); + x_762 = lean_box(0); +} +if (lean_is_scalar(x_762)) { + x_763 = lean_alloc_ctor(1, 2, 0); +} else { + x_763 = x_762; +} +lean_ctor_set(x_763, 0, x_760); +lean_ctor_set(x_763, 1, x_761); +return x_763; +} +} +} +else +{ +lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; uint8_t x_771; +x_764 = lean_st_ref_get(x_3, x_11); +x_765 = lean_ctor_get(x_764, 0); +lean_inc(x_765); +x_766 = lean_ctor_get(x_764, 1); +lean_inc(x_766); +lean_dec_ref(x_764); +x_767 = lean_ctor_get(x_765, 0); +lean_inc_ref(x_767); +lean_dec(x_765); +x_768 = lean_unsigned_to_nat(1u); +x_769 = l_Lean_Syntax_getArg(x_1, x_768); +x_770 = l_Lean_TSyntax_getString(x_769); +x_771 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_767, x_770); +lean_dec_ref(x_767); +if (x_771 == 0) +{ +lean_object* x_772; lean_object* x_773; lean_object* x_774; size_t x_775; size_t x_776; lean_object* x_777; +x_772 = lean_unsigned_to_nat(3u); +x_773 = l_Lean_Syntax_getArg(x_1, x_772); +lean_dec(x_1); +x_774 = l_Lean_Syntax_getArgs(x_773); +lean_dec(x_773); +x_775 = lean_array_size(x_774); +x_776 = 0; +lean_inc(x_3); +x_777 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_775, x_776, x_774, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_766); +if (lean_obj_tag(x_777) == 0) +{ +lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; +x_778 = lean_ctor_get(x_777, 0); +lean_inc(x_778); +x_779 = lean_ctor_get(x_777, 1); +lean_inc(x_779); +lean_dec_ref(x_777); +x_780 = lean_st_ref_take(x_3, x_779); +x_781 = lean_ctor_get(x_780, 0); +lean_inc(x_781); +x_782 = lean_ctor_get(x_780, 1); +lean_inc(x_782); +lean_dec_ref(x_780); +x_783 = lean_ctor_get(x_781, 0); +lean_inc_ref(x_783); +x_784 = lean_ctor_get(x_781, 1); +lean_inc_ref(x_784); +if (lean_is_exclusive(x_781)) { + lean_ctor_release(x_781, 0); + lean_ctor_release(x_781, 1); + x_785 = x_781; +} else { + lean_dec_ref(x_781); + x_785 = lean_box(0); +} +x_786 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_786, 0, x_778); +x_787 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_787, 0, x_786); +lean_ctor_set(x_787, 1, x_769); +lean_ctor_set_uint8(x_787, sizeof(void*)*2, x_771); +x_788 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_783, x_770, x_787); +if (lean_is_scalar(x_785)) { + x_789 = lean_alloc_ctor(0, 2, 0); +} else { + x_789 = x_785; +} +lean_ctor_set(x_789, 0, x_788); +lean_ctor_set(x_789, 1, x_784); +x_790 = lean_st_ref_set(x_3, x_789, x_782); +lean_dec(x_3); +x_791 = lean_ctor_get(x_790, 1); +lean_inc(x_791); +lean_dec_ref(x_790); +x_16 = x_791; +goto block_19; +} +else +{ +lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; +lean_dec_ref(x_770); +lean_dec(x_769); +lean_dec(x_3); +x_792 = lean_ctor_get(x_777, 0); +lean_inc(x_792); +x_793 = lean_ctor_get(x_777, 1); +lean_inc(x_793); +if (lean_is_exclusive(x_777)) { + lean_ctor_release(x_777, 0); + lean_ctor_release(x_777, 1); + x_794 = x_777; +} else { + lean_dec_ref(x_777); + x_794 = lean_box(0); +} +if (lean_is_scalar(x_794)) { + x_795 = lean_alloc_ctor(1, 2, 0); +} else { + x_795 = x_794; +} +lean_ctor_set(x_795, 0, x_792); +lean_ctor_set(x_795, 1, x_793); +return x_795; +} +} +else +{ +lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; +lean_dec_ref(x_770); +lean_dec(x_1); +x_796 = l_Lean_Doc_elabBlock___closed__36; +x_797 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_769, x_796, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_766); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_769); +x_798 = lean_ctor_get(x_797, 0); +lean_inc(x_798); +x_799 = lean_ctor_get(x_797, 1); +lean_inc(x_799); +if (lean_is_exclusive(x_797)) { + lean_ctor_release(x_797, 0); + lean_ctor_release(x_797, 1); + x_800 = x_797; +} else { + lean_dec_ref(x_797); + x_800 = lean_box(0); +} +if (lean_is_scalar(x_800)) { + x_801 = lean_alloc_ctor(1, 2, 0); +} else { + x_801 = x_800; +} +lean_ctor_set(x_801, 0, x_798); +lean_ctor_set(x_801, 1, x_799); +return x_801; +} +} +} +else +{ +lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; size_t x_806; size_t x_807; lean_object* x_808; +x_802 = lean_unsigned_to_nat(1u); +x_803 = l_Lean_Syntax_getArg(x_1, x_802); +lean_dec(x_1); +x_804 = lean_box(0); +x_805 = l_Lean_Syntax_getArgs(x_803); +lean_dec(x_803); +x_806 = lean_array_size(x_805); +x_807 = 0; +x_808 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12(x_802, x_804, x_498, x_499, x_500, x_806, x_807, x_805, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +lean_dec_ref(x_504); +if (lean_obj_tag(x_808) == 0) +{ +lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; +x_809 = lean_ctor_get(x_808, 0); +lean_inc(x_809); +x_810 = lean_ctor_get(x_808, 1); +lean_inc(x_810); +if (lean_is_exclusive(x_808)) { + lean_ctor_release(x_808, 0); + lean_ctor_release(x_808, 1); + x_811 = x_808; +} else { + lean_dec_ref(x_808); + x_811 = lean_box(0); +} +x_812 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_812, 0, x_809); +if (lean_is_scalar(x_811)) { + x_813 = lean_alloc_ctor(0, 2, 0); +} else { + x_813 = x_811; +} +lean_ctor_set(x_813, 0, x_812); +lean_ctor_set(x_813, 1, x_810); +return x_813; +} +else +{ +lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_814 = lean_ctor_get(x_808, 0); +lean_inc(x_814); +x_815 = lean_ctor_get(x_808, 1); +lean_inc(x_815); +if (lean_is_exclusive(x_808)) { + lean_ctor_release(x_808, 0); + lean_ctor_release(x_808, 1); + x_816 = x_808; +} else { + lean_dec_ref(x_808); + x_816 = lean_box(0); +} +if (lean_is_scalar(x_816)) { + x_817 = lean_alloc_ctor(1, 2, 0); +} else { + x_817 = x_816; +} +lean_ctor_set(x_817, 0, x_814); +lean_ctor_set(x_817, 1, x_815); +return x_817; +} +} +} +else +{ +lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; size_t x_822; size_t x_823; lean_object* x_824; +x_818 = lean_unsigned_to_nat(1u); +x_819 = lean_unsigned_to_nat(4u); +x_820 = l_Lean_Syntax_getArg(x_1, x_819); +x_821 = l_Lean_Syntax_getArgs(x_820); +lean_dec(x_820); +x_822 = lean_array_size(x_821); +x_823 = 0; +x_824 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(x_498, x_499, x_500, x_818, x_822, x_823, x_821); +if (lean_obj_tag(x_824) == 0) +{ +lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; +x_825 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_826 = l_Lean_MessageData_ofSyntax(x_1); +x_827 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_827, 0, x_825); +lean_ctor_set(x_827, 1, x_826); +x_828 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_827, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_828; +} +else +{ +lean_object* x_829; size_t x_830; lean_object* x_831; +x_829 = lean_ctor_get(x_824, 0); +lean_inc(x_829); +lean_dec_ref(x_824); +x_830 = lean_array_size(x_829); +x_831 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_830, x_823, x_829, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_831) == 0) +{ +lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; +x_832 = lean_ctor_get(x_831, 0); +lean_inc(x_832); +x_833 = lean_ctor_get(x_831, 1); +lean_inc(x_833); +if (lean_is_exclusive(x_831)) { + lean_ctor_release(x_831, 0); + lean_ctor_release(x_831, 1); + x_834 = x_831; +} else { + lean_dec_ref(x_831); + x_834 = lean_box(0); +} +x_835 = l_Lean_Syntax_getArg(x_1, x_818); +lean_dec(x_1); +x_836 = l_Lean_TSyntax_getNat(x_835); +lean_dec(x_835); +x_837 = lean_nat_to_int(x_836); +x_838 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_838, 0, x_837); +lean_ctor_set(x_838, 1, x_832); +if (lean_is_scalar(x_834)) { + x_839 = lean_alloc_ctor(0, 2, 0); +} else { + x_839 = x_834; +} +lean_ctor_set(x_839, 0, x_838); +lean_ctor_set(x_839, 1, x_833); +return x_839; +} +else +{ +lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; +lean_dec(x_1); +x_840 = lean_ctor_get(x_831, 0); +lean_inc(x_840); +x_841 = lean_ctor_get(x_831, 1); +lean_inc(x_841); +if (lean_is_exclusive(x_831)) { + lean_ctor_release(x_831, 0); + lean_ctor_release(x_831, 1); + x_842 = x_831; +} else { + lean_dec_ref(x_831); + x_842 = lean_box(0); +} +if (lean_is_scalar(x_842)) { + x_843 = lean_alloc_ctor(1, 2, 0); +} else { + x_843 = x_842; +} +lean_ctor_set(x_843, 0, x_840); +lean_ctor_set(x_843, 1, x_841); +return x_843; +} +} +} +} +else +{ +lean_object* x_844; lean_object* x_845; lean_object* x_846; size_t x_847; size_t x_848; lean_object* x_849; +x_844 = lean_unsigned_to_nat(1u); +x_845 = l_Lean_Syntax_getArg(x_1, x_844); +x_846 = l_Lean_Syntax_getArgs(x_845); +lean_dec(x_845); +x_847 = lean_array_size(x_846); +x_848 = 0; +x_849 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(x_498, x_499, x_500, x_844, x_847, x_848, x_846); +if (lean_obj_tag(x_849) == 0) +{ +lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; +x_850 = l_Lean_Doc_elabBlock___closed__20; +lean_inc(x_1); +x_851 = l_Lean_MessageData_ofSyntax(x_1); +x_852 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_852, 0, x_850); +lean_ctor_set(x_852, 1, x_851); +x_853 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0___redArg(x_1, x_852, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_853; +} +else +{ +lean_object* x_854; lean_object* x_855; size_t x_856; lean_object* x_857; +lean_dec(x_1); +x_854 = lean_ctor_get(x_849, 0); +lean_inc(x_854); +if (lean_is_exclusive(x_849)) { + lean_ctor_release(x_849, 0); + x_855 = x_849; +} else { + lean_dec_ref(x_849); + x_855 = lean_box(0); +} +x_856 = lean_array_size(x_854); +x_857 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_856, x_848, x_854, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_857) == 0) +{ +lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; +x_858 = lean_ctor_get(x_857, 0); +lean_inc(x_858); +x_859 = lean_ctor_get(x_857, 1); +lean_inc(x_859); +if (lean_is_exclusive(x_857)) { + lean_ctor_release(x_857, 0); + lean_ctor_release(x_857, 1); + x_860 = x_857; +} else { + lean_dec_ref(x_857); + x_860 = lean_box(0); +} +if (lean_is_scalar(x_855)) { + x_861 = lean_alloc_ctor(2, 1, 0); +} else { + x_861 = x_855; + lean_ctor_set_tag(x_861, 2); +} +lean_ctor_set(x_861, 0, x_858); +if (lean_is_scalar(x_860)) { + x_862 = lean_alloc_ctor(0, 2, 0); +} else { + x_862 = x_860; +} +lean_ctor_set(x_862, 0, x_861); +lean_ctor_set(x_862, 1, x_859); +return x_862; +} +else +{ +lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; +lean_dec(x_855); +x_863 = lean_ctor_get(x_857, 0); +lean_inc(x_863); +x_864 = lean_ctor_get(x_857, 1); +lean_inc(x_864); +if (lean_is_exclusive(x_857)) { + lean_ctor_release(x_857, 0); + lean_ctor_release(x_857, 1); + x_865 = x_857; +} else { + lean_dec_ref(x_857); + x_865 = lean_box(0); +} +if (lean_is_scalar(x_865)) { + x_866 = lean_alloc_ctor(1, 2, 0); +} else { + x_866 = x_865; +} +lean_ctor_set(x_866, 0, x_863); +lean_ctor_set(x_866, 1, x_864); +return x_866; +} +} +} +} +else +{ +lean_object* x_867; lean_object* x_868; lean_object* x_869; size_t x_870; size_t x_871; lean_object* x_872; +x_867 = lean_unsigned_to_nat(1u); +x_868 = l_Lean_Syntax_getArg(x_1, x_867); +lean_dec(x_1); +x_869 = l_Lean_Syntax_getArgs(x_868); +lean_dec(x_868); +x_870 = lean_array_size(x_869); +x_871 = 0; +x_872 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_870, x_871, x_869, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_504, x_10, x_11); +if (lean_obj_tag(x_872) == 0) +{ +lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; +x_873 = lean_ctor_get(x_872, 0); +lean_inc(x_873); +x_874 = lean_ctor_get(x_872, 1); +lean_inc(x_874); +if (lean_is_exclusive(x_872)) { + lean_ctor_release(x_872, 0); + lean_ctor_release(x_872, 1); + x_875 = x_872; +} else { + lean_dec_ref(x_872); + x_875 = lean_box(0); +} +x_876 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_876, 0, x_873); +if (lean_is_scalar(x_875)) { + x_877 = lean_alloc_ctor(0, 2, 0); +} else { + x_877 = x_875; +} +lean_ctor_set(x_877, 0, x_876); +lean_ctor_set(x_877, 1, x_874); +return x_877; +} +else +{ +lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; +x_878 = lean_ctor_get(x_872, 0); +lean_inc(x_878); +x_879 = lean_ctor_get(x_872, 1); +lean_inc(x_879); +if (lean_is_exclusive(x_872)) { + lean_ctor_release(x_872, 0); + lean_ctor_release(x_872, 1); + x_880 = x_872; +} else { + lean_dec_ref(x_872); + x_880 = lean_box(0); +} +if (lean_is_scalar(x_880)) { + x_881 = lean_alloc_ctor(1, 2, 0); +} else { + x_881 = x_880; +} +lean_ctor_set(x_881, 0, x_878); +lean_ctor_set(x_881, 1, x_879); +return x_881; +} +} +} +block_15: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_elabBlock___closed__0; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +block_19: +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Doc_elabBlock___closed__0; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_11; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___lam__0(x_1); +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___lam__0(x_1); lean_dec_ref(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2_spec__2(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1_spec__1(x_1, x_2, x_3, x_4, x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec_ref(x_4); -return x_19; +return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__2(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__1(x_1, x_2, x_3, x_4, x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec_ref(x_4); -return x_19; +return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -52862,19 +61822,20 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -52892,19 +61853,48 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__4(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__3(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_17 = lean_unbox(x_2); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5_spec__5(x_1, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_17 = lean_unbox(x_2); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___redArg(x_1, x_17, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec_ref(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -52922,107 +61912,191 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6_spec__6(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +uint8_t x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_22 = lean_unbox(x_7); +x_23 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_24 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec_ref(x_8); lean_dec_ref(x_5); -return x_20; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__6(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_5); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___redArg(x_1, x_2); -lean_dec(x_2); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); lean_dec_ref(x_1); -x_4 = lean_box(x_3); -return x_4; +return x_25; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_4; lean_object* x_5; -x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8_spec__8(x_1, x_2, x_3); +uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_1); +x_15 = lean_unbox_usize(x_3); lean_dec(x_3); -lean_dec_ref(x_2); -x_5 = lean_box(x_4); -return x_5; +x_16 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___redArg(x_14, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +return x_17; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_1); +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__7(x_16, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_5); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabBlock_spec__8(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_5); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___redArg(x_1, x_2); +x_3 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___redArg(x_1, x_2); lean_dec_ref(x_2); lean_dec_ref(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__8(x_1, x_2, x_3); +x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___Lean_Doc_elabBlock_spec__10(x_1, x_2, x_3); lean_dec_ref(x_3); lean_dec_ref(x_2); x_5 = lean_box(x_4); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); +lean_object* x_12; +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec_ref(x_14); +x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg(x_1, x_2, x_3, x_4, x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec_ref(x_15); lean_dec(x_1); -return x_19; +return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -53040,21 +62114,22 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_15); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_16); lean_dec(x_2); lean_dec(x_1); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -53072,21 +62147,22 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_15); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_16); lean_dec(x_2); lean_dec(x_1); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { size_t x_8; size_t x_9; lean_object* x_10; @@ -53094,33 +62170,33 @@ x_8 = lean_unbox_usize(x_5); lean_dec(x_5); x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14(x_1, x_2, x_3, x_4, x_8, x_9, x_7); lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18_spec__18(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__18(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(lean_object* x_1) { @@ -53217,8 +62293,8 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__0; x_2 = l_Lean_Doc_DocArg_ofSyntax___closed__0; -x_3 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_4 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; +x_3 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_4 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -53240,3403 +62316,3467 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_32; -x_20 = lean_ctor_get(x_3, 1); -lean_inc(x_20); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_33; +x_21 = lean_ctor_get(x_3, 1); +lean_inc(x_21); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_21 = x_3; + x_22 = x_3; } else { lean_dec_ref(x_3); - x_21 = lean_box(0); + x_22 = lean_box(0); } -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); +x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_24 = x_20; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_25 = x_21; } else { - lean_dec_ref(x_20); - x_24 = lean_box(0); + lean_dec_ref(x_21); + x_25 = lean_box(0); } -x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(x_4); -if (lean_obj_tag(x_32) == 0) +x_33 = l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(x_4); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_34; lean_object* x_35; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_22); -lean_ctor_set(x_33, 1, x_23); +lean_dec_ref(x_5); x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_33); -x_14 = x_34; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_34, 0, x_23); +lean_ctor_set(x_34, 1, x_24); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_34); +x_15 = x_35; +x_16 = x_4; +x_17 = x_14; +goto block_20; } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_32, 0); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 0); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -x_40 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_38); -x_41 = l_Lean_Syntax_isOfKind(x_38, x_40); -if (x_41 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +x_41 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_39); +x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); +if (x_42 == 0) { -lean_object* x_42; -lean_free_object(x_36); -lean_free_object(x_32); +lean_object* x_43; +lean_free_object(x_37); +lean_free_object(x_33); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_42 = l_Lean_Doc_elabBlock(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_42) == 0) +lean_inc_ref(x_5); +x_43 = l_Lean_Doc_elabBlock(x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = lean_array_push(x_22, x_43); -x_25 = x_45; -x_26 = x_39; -x_27 = x_44; -goto block_31; +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = lean_array_push(x_23, x_44); +x_26 = x_46; +x_27 = x_40; +x_28 = x_45; +goto block_32; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_62; -x_46 = lean_ctor_get(x_42, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_42, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_63; +x_47 = lean_ctor_get(x_43, 0); lean_inc(x_47); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_48 = x_42; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_49 = x_43; } else { - lean_dec_ref(x_42); - x_48 = lean_box(0); + lean_dec_ref(x_43); + x_49 = lean_box(0); } -x_62 = l_Lean_Exception_isInterrupt(x_46); -if (x_62 == 0) +x_63 = l_Lean_Exception_isInterrupt(x_47); +if (x_63 == 0) { -uint8_t x_63; -x_63 = l_Lean_Exception_isRuntime(x_46); -x_49 = x_63; -goto block_61; +uint8_t x_64; +x_64 = l_Lean_Exception_isRuntime(x_47); +x_50 = x_64; +goto block_62; } else { -x_49 = x_62; -goto block_61; +x_50 = x_63; +goto block_62; } -block_61: +block_62: { -if (x_49 == 0) +if (x_50 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_48); -x_50 = l_Lean_Exception_getRef(x_46); -x_51 = l_Lean_Exception_toMessageData(x_46); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_52 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_50, x_51, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -lean_dec(x_50); -if (lean_obj_tag(x_52) == 0) +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_49); +x_51 = l_Lean_Exception_getRef(x_47); +x_52 = l_Lean_Exception_toMessageData(x_47); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_53 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_51, x_52, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_48); +lean_dec(x_51); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec_ref(x_52); x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -lean_dec(x_53); -x_25 = x_22; -x_26 = x_55; -x_27 = x_54; -goto block_31; +lean_dec_ref(x_53); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_26 = x_23; +x_27 = x_56; +x_28 = x_55; +goto block_32; } else { -uint8_t x_56; +uint8_t x_57; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_52); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_53); +if (x_57 == 0) { -return x_52; +return x_53; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 0); -x_58 = lean_ctor_get(x_52, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_53, 0); +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; -lean_dec(x_39); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -if (lean_is_scalar(x_48)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_48; -} -lean_ctor_set(x_60, 0, x_46); -lean_ctor_set(x_60, 1, x_47); +lean_dec(x_53); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); return x_60; } } } +else +{ +lean_object* x_61; +lean_dec(x_40); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +if (lean_is_scalar(x_49)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_49; +} +lean_ctor_set(x_61, 0, x_47); +lean_ctor_set(x_61, 1, x_48); +return x_61; +} +} +} } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_dec(x_24); -lean_dec(x_21); -x_64 = lean_unsigned_to_nat(1u); -x_65 = l_Lean_Syntax_getArg(x_38, x_64); -x_66 = l_Lean_TSyntax_getNat(x_65); -lean_dec(x_65); -x_67 = lean_nat_dec_lt(x_66, x_2); -if (x_67 == 0) -{ -uint8_t x_68; -lean_free_object(x_36); -lean_free_object(x_32); -x_68 = lean_nat_dec_eq(x_66, x_2); +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_25); +lean_dec(x_22); +x_65 = lean_unsigned_to_nat(1u); +x_66 = l_Lean_Syntax_getArg(x_39, x_65); +x_67 = l_Lean_TSyntax_getNat(x_66); lean_dec(x_66); +x_68 = lean_nat_dec_lt(x_67, x_2); if (x_68 == 0) { -lean_object* x_69; lean_object* x_70; uint32_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_69 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_70 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_71 = 35; -x_72 = lean_nat_add(x_2, x_64); -x_73 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_71, x_72, x_70); -x_74 = l_Lean_stringToMessageData(x_73); -lean_dec_ref(x_73); -x_75 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Doc_getPositional___redArg___closed__37; -x_77 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_78 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_38, x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_38); -if (lean_obj_tag(x_78) == 0) +uint8_t x_69; +lean_free_object(x_37); +lean_free_object(x_33); +x_69 = lean_nat_dec_eq(x_67, x_2); +lean_dec(x_67); +if (x_69 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec_ref(x_78); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_22); -lean_ctor_set(x_80, 1, x_23); -lean_inc(x_1); +lean_object* x_70; lean_object* x_71; uint32_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_70 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_71 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_72 = 35; +x_73 = lean_nat_add(x_2, x_65); +x_74 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_72, x_73, x_71); +x_75 = l_Lean_stringToMessageData(x_74); +lean_dec_ref(x_74); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_70); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Doc_getPositional___redArg___closed__40; +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_79 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_39, x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_39); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec_ref(x_79); x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_1); -lean_ctor_set(x_81, 1, x_80); -x_3 = x_81; -x_4 = x_39; -x_13 = x_79; +lean_ctor_set(x_81, 0, x_23); +lean_ctor_set(x_81, 1, x_24); +lean_inc(x_1); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_1); +lean_ctor_set(x_82, 1, x_81); +x_3 = x_82; +x_4 = x_40; +x_14 = x_80; goto _start; } else { -uint8_t x_83; -lean_dec(x_39); +uint8_t x_84; +lean_dec(x_40); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_83 = !lean_is_exclusive(x_78); -if (x_83 == 0) +x_84 = !lean_is_exclusive(x_79); +if (x_84 == 0) { -return x_78; +return x_79; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_78, 0); -x_85 = lean_ctor_get(x_78, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_79, 0); +x_86 = lean_ctor_get(x_79, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_78); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_dec(x_79); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -lean_object* x_87; lean_object* x_88; +lean_object* x_88; lean_object* x_89; lean_dec_ref(x_4); -x_87 = lean_nat_add(x_2, x_64); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_88 = lean_nat_add(x_2, x_65); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_88 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_87, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_87); -if (lean_obj_tag(x_88) == 0) +lean_inc_ref(x_5); +x_89 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_88, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_88); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -x_91 = lean_ctor_get(x_88, 1); +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec_ref(x_88); -x_92 = !lean_is_exclusive(x_89); -if (x_92 == 0) +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec_ref(x_89); +x_93 = !lean_is_exclusive(x_90); +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_89, 1); -x_94 = lean_ctor_get(x_89, 0); -lean_dec(x_94); -x_95 = !lean_is_exclusive(x_90); -if (x_95 == 0) +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_90, 1); +x_95 = lean_ctor_get(x_90, 0); +lean_dec(x_95); +x_96 = !lean_is_exclusive(x_91); +if (x_96 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; -x_96 = lean_ctor_get(x_90, 0); -x_97 = lean_ctor_get(x_90, 1); -x_98 = lean_unsigned_to_nat(4u); -x_99 = l_Lean_Syntax_getArg(x_38, x_98); -lean_dec(x_38); -x_100 = l_Lean_Syntax_getArgs(x_99); -lean_dec(x_99); -x_101 = lean_array_size(x_100); -x_102 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; size_t x_102; size_t x_103; lean_object* x_104; +x_97 = lean_ctor_get(x_91, 0); +x_98 = lean_ctor_get(x_91, 1); +x_99 = lean_unsigned_to_nat(4u); +x_100 = l_Lean_Syntax_getArg(x_39, x_99); +lean_dec(x_39); +x_101 = l_Lean_Syntax_getArgs(x_100); +lean_dec(x_100); +x_102 = lean_array_size(x_101); +x_103 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_101, x_102, x_100, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_103) == 0) +lean_inc_ref(x_5); +x_104 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_102, x_103, x_101, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec_ref(x_103); -x_106 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_108, 0, x_104); -lean_ctor_set(x_108, 1, x_106); -lean_ctor_set(x_108, 2, x_107); -lean_ctor_set(x_108, 3, x_96); -lean_ctor_set(x_108, 4, x_97); -x_109 = lean_array_push(x_23, x_108); -lean_ctor_set(x_90, 1, x_109); -lean_ctor_set(x_90, 0, x_22); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +x_107 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_108 = lean_box(0); +x_109 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_109, 0, x_105); +lean_ctor_set(x_109, 1, x_107); +lean_ctor_set(x_109, 2, x_108); +lean_ctor_set(x_109, 3, x_97); +lean_ctor_set(x_109, 4, x_98); +x_110 = lean_array_push(x_24, x_109); +lean_ctor_set(x_91, 1, x_110); +lean_ctor_set(x_91, 0, x_23); lean_inc(x_1); -lean_ctor_set(x_89, 1, x_90); -lean_ctor_set(x_89, 0, x_1); -x_3 = x_89; -x_4 = x_93; -x_13 = x_105; +lean_ctor_set(x_90, 1, x_91); +lean_ctor_set(x_90, 0, x_1); +x_3 = x_90; +x_4 = x_94; +x_14 = x_106; goto _start; } else { -uint8_t x_111; -lean_free_object(x_90); +uint8_t x_112; +lean_free_object(x_91); +lean_dec(x_98); lean_dec(x_97); -lean_dec(x_96); -lean_free_object(x_89); -lean_dec(x_93); +lean_free_object(x_90); +lean_dec(x_94); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_103); -if (x_111 == 0) +x_112 = !lean_is_exclusive(x_104); +if (x_112 == 0) { -return x_103; +return x_104; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_103, 0); -x_113 = lean_ctor_get(x_103, 1); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_104, 0); +x_114 = lean_ctor_get(x_104, 1); +lean_inc(x_114); lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_103); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_dec(x_104); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; lean_object* x_122; -x_115 = lean_ctor_get(x_90, 0); -x_116 = lean_ctor_get(x_90, 1); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; size_t x_121; size_t x_122; lean_object* x_123; +x_116 = lean_ctor_get(x_91, 0); +x_117 = lean_ctor_get(x_91, 1); +lean_inc(x_117); lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_90); -x_117 = lean_unsigned_to_nat(4u); -x_118 = l_Lean_Syntax_getArg(x_38, x_117); -lean_dec(x_38); -x_119 = l_Lean_Syntax_getArgs(x_118); -lean_dec(x_118); -x_120 = lean_array_size(x_119); -x_121 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_dec(x_91); +x_118 = lean_unsigned_to_nat(4u); +x_119 = l_Lean_Syntax_getArg(x_39, x_118); +lean_dec(x_39); +x_120 = l_Lean_Syntax_getArgs(x_119); +lean_dec(x_119); +x_121 = lean_array_size(x_120); +x_122 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_122 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_120, x_121, x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_122) == 0) +lean_inc_ref(x_5); +x_123 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_121, x_122, x_120, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_123) == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); -lean_dec_ref(x_122); -x_125 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_126 = lean_box(0); -x_127 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_127, 0, x_123); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_126); -lean_ctor_set(x_127, 3, x_115); -lean_ctor_set(x_127, 4, x_116); -x_128 = lean_array_push(x_23, x_127); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_22); -lean_ctor_set(x_129, 1, x_128); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec_ref(x_123); +x_126 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_127 = lean_box(0); +x_128 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_128, 0, x_124); +lean_ctor_set(x_128, 1, x_126); +lean_ctor_set(x_128, 2, x_127); +lean_ctor_set(x_128, 3, x_116); +lean_ctor_set(x_128, 4, x_117); +x_129 = lean_array_push(x_24, x_128); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_23); +lean_ctor_set(x_130, 1, x_129); lean_inc(x_1); -lean_ctor_set(x_89, 1, x_129); -lean_ctor_set(x_89, 0, x_1); -x_3 = x_89; -x_4 = x_93; -x_13 = x_124; +lean_ctor_set(x_90, 1, x_130); +lean_ctor_set(x_90, 0, x_1); +x_3 = x_90; +x_4 = x_94; +x_14 = x_125; goto _start; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_117); lean_dec(x_116); -lean_dec(x_115); -lean_free_object(x_89); -lean_dec(x_93); +lean_free_object(x_90); +lean_dec(x_94); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_131 = lean_ctor_get(x_122, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_123, 0); lean_inc(x_132); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_133 = x_122; +x_133 = lean_ctor_get(x_123, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_134 = x_123; } else { - lean_dec_ref(x_122); - x_133 = lean_box(0); + lean_dec_ref(x_123); + x_134 = lean_box(0); } -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); } else { - x_134 = x_133; + x_135 = x_134; } -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return x_134; +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; } } } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; lean_object* x_144; -x_135 = lean_ctor_get(x_89, 1); -lean_inc(x_135); -lean_dec(x_89); -x_136 = lean_ctor_get(x_90, 0); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; size_t x_143; size_t x_144; lean_object* x_145; +x_136 = lean_ctor_get(x_90, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_90, 1); +lean_dec(x_90); +x_137 = lean_ctor_get(x_91, 0); lean_inc(x_137); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_138 = x_90; +x_138 = lean_ctor_get(x_91, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_139 = x_91; } else { - lean_dec_ref(x_90); - x_138 = lean_box(0); + lean_dec_ref(x_91); + x_139 = lean_box(0); } -x_139 = lean_unsigned_to_nat(4u); -x_140 = l_Lean_Syntax_getArg(x_38, x_139); -lean_dec(x_38); -x_141 = l_Lean_Syntax_getArgs(x_140); -lean_dec(x_140); -x_142 = lean_array_size(x_141); -x_143 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_140 = lean_unsigned_to_nat(4u); +x_141 = l_Lean_Syntax_getArg(x_39, x_140); +lean_dec(x_39); +x_142 = l_Lean_Syntax_getArgs(x_141); +lean_dec(x_141); +x_143 = lean_array_size(x_142); +x_144 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_144 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_142, x_143, x_141, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_144) == 0) +lean_inc_ref(x_5); +x_145 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_143, x_144, x_142, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_145) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); -lean_dec_ref(x_144); -x_147 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_148 = lean_box(0); -x_149 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_149, 0, x_145); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_149, 2, x_148); -lean_ctor_set(x_149, 3, x_136); -lean_ctor_set(x_149, 4, x_137); -x_150 = lean_array_push(x_23, x_149); -if (lean_is_scalar(x_138)) { - x_151 = lean_alloc_ctor(0, 2, 0); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec_ref(x_145); +x_148 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_150, 0, x_146); +lean_ctor_set(x_150, 1, x_148); +lean_ctor_set(x_150, 2, x_149); +lean_ctor_set(x_150, 3, x_137); +lean_ctor_set(x_150, 4, x_138); +x_151 = lean_array_push(x_24, x_150); +if (lean_is_scalar(x_139)) { + x_152 = lean_alloc_ctor(0, 2, 0); } else { - x_151 = x_138; + x_152 = x_139; } -lean_ctor_set(x_151, 0, x_22); -lean_ctor_set(x_151, 1, x_150); -lean_inc(x_1); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_1); +lean_ctor_set(x_152, 0, x_23); lean_ctor_set(x_152, 1, x_151); -x_3 = x_152; -x_4 = x_135; -x_13 = x_146; +lean_inc(x_1); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_1); +lean_ctor_set(x_153, 1, x_152); +x_3 = x_153; +x_4 = x_136; +x_14 = x_147; goto _start; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_139); lean_dec(x_138); lean_dec(x_137); lean_dec(x_136); -lean_dec(x_135); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_154 = lean_ctor_get(x_144, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_144, 1); +x_155 = lean_ctor_get(x_145, 0); lean_inc(x_155); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_156 = x_144; +x_156 = lean_ctor_get(x_145, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_157 = x_145; } else { - lean_dec_ref(x_144); - x_156 = lean_box(0); + lean_dec_ref(x_145); + x_157 = lean_box(0); } -if (lean_is_scalar(x_156)) { - x_157 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(1, 2, 0); } else { - x_157 = x_156; + x_158 = x_157; } -lean_ctor_set(x_157, 0, x_154); -lean_ctor_set(x_157, 1, x_155); -return x_157; +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_156); +return x_158; } } } else { -uint8_t x_158; -lean_dec(x_38); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_158 = !lean_is_exclusive(x_88); -if (x_158 == 0) -{ -return x_88; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_88, 0); -x_160 = lean_ctor_get(x_88, 1); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_88); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; -} -} -} -} -else -{ -lean_object* x_162; lean_object* x_163; -lean_dec(x_66); +uint8_t x_159; lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_159 = !lean_is_exclusive(x_89); +if (x_159 == 0) +{ +return x_89; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_89, 0); +x_161 = lean_ctor_get(x_89, 1); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_89); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +return x_162; +} +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; +lean_dec(x_67); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -lean_ctor_set(x_36, 1, x_23); -lean_ctor_set(x_36, 0, x_22); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_22); -lean_ctor_set(x_162, 1, x_23); +lean_ctor_set(x_37, 1, x_24); +lean_ctor_set(x_37, 0, x_23); x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_32); -lean_ctor_set(x_163, 1, x_162); -x_14 = x_163; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_163, 0, x_23); +lean_ctor_set(x_163, 1, x_24); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_33); +lean_ctor_set(x_164, 1, x_163); +x_15 = x_164; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_164 = lean_ctor_get(x_36, 0); -x_165 = lean_ctor_get(x_36, 1); +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = lean_ctor_get(x_37, 0); +x_166 = lean_ctor_get(x_37, 1); +lean_inc(x_166); lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_36); -x_166 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_164); -x_167 = l_Lean_Syntax_isOfKind(x_164, x_166); -if (x_167 == 0) +lean_dec(x_37); +x_167 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_165); +x_168 = l_Lean_Syntax_isOfKind(x_165, x_167); +if (x_168 == 0) { -lean_object* x_168; -lean_free_object(x_32); +lean_object* x_169; +lean_free_object(x_33); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_168 = l_Lean_Doc_elabBlock(x_164, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_168) == 0) +lean_inc_ref(x_5); +x_169 = l_Lean_Doc_elabBlock(x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_169, 0); lean_inc(x_170); -lean_dec_ref(x_168); -x_171 = lean_array_push(x_22, x_169); -x_25 = x_171; -x_26 = x_165; -x_27 = x_170; -goto block_31; +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec_ref(x_169); +x_172 = lean_array_push(x_23, x_170); +x_26 = x_172; +x_27 = x_166; +x_28 = x_171; +goto block_32; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; uint8_t x_188; -x_172 = lean_ctor_get(x_168, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_168, 1); +lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; uint8_t x_189; +x_173 = lean_ctor_get(x_169, 0); lean_inc(x_173); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_174 = x_168; +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_175 = x_169; } else { - lean_dec_ref(x_168); - x_174 = lean_box(0); + lean_dec_ref(x_169); + x_175 = lean_box(0); } -x_188 = l_Lean_Exception_isInterrupt(x_172); -if (x_188 == 0) +x_189 = l_Lean_Exception_isInterrupt(x_173); +if (x_189 == 0) { -uint8_t x_189; -x_189 = l_Lean_Exception_isRuntime(x_172); -x_175 = x_189; -goto block_187; +uint8_t x_190; +x_190 = l_Lean_Exception_isRuntime(x_173); +x_176 = x_190; +goto block_188; } else { -x_175 = x_188; -goto block_187; +x_176 = x_189; +goto block_188; } -block_187: +block_188: { -if (x_175 == 0) +if (x_176 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_174); -x_176 = l_Lean_Exception_getRef(x_172); -x_177 = l_Lean_Exception_toMessageData(x_172); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_178 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_176, x_177, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_173); -lean_dec(x_176); -if (lean_obj_tag(x_178) == 0) +lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_175); +x_177 = l_Lean_Exception_getRef(x_173); +x_178 = l_Lean_Exception_toMessageData(x_173); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_179 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_177, x_178, x_166, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_174); +lean_dec(x_177); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); -lean_dec_ref(x_178); x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); -lean_dec(x_179); -x_25 = x_22; -x_26 = x_181; -x_27 = x_180; -goto block_31; -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_182 = lean_ctor_get(x_178, 0); +lean_dec_ref(x_179); +x_182 = lean_ctor_get(x_180, 1); lean_inc(x_182); -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_184 = x_178; -} else { - lean_dec_ref(x_178); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(1, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_182); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} +lean_dec(x_180); +x_26 = x_23; +x_27 = x_182; +x_28 = x_181; +goto block_32; } else { -lean_object* x_186; -lean_dec(x_165); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -if (lean_is_scalar(x_174)) { +x_183 = lean_ctor_get(x_179, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_179, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_185 = x_179; +} else { + lean_dec_ref(x_179); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { x_186 = lean_alloc_ctor(1, 2, 0); } else { - x_186 = x_174; + x_186 = x_185; } -lean_ctor_set(x_186, 0, x_172); -lean_ctor_set(x_186, 1, x_173); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); return x_186; } } +else +{ +lean_object* x_187; +lean_dec(x_166); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +if (lean_is_scalar(x_175)) { + x_187 = lean_alloc_ctor(1, 2, 0); +} else { + x_187 = x_175; +} +lean_ctor_set(x_187, 0, x_173); +lean_ctor_set(x_187, 1, x_174); +return x_187; +} +} } } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -lean_dec(x_24); -lean_dec(x_21); -x_190 = lean_unsigned_to_nat(1u); -x_191 = l_Lean_Syntax_getArg(x_164, x_190); -x_192 = l_Lean_TSyntax_getNat(x_191); -lean_dec(x_191); -x_193 = lean_nat_dec_lt(x_192, x_2); -if (x_193 == 0) -{ -uint8_t x_194; -lean_free_object(x_32); -x_194 = lean_nat_dec_eq(x_192, x_2); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_dec(x_25); +lean_dec(x_22); +x_191 = lean_unsigned_to_nat(1u); +x_192 = l_Lean_Syntax_getArg(x_165, x_191); +x_193 = l_Lean_TSyntax_getNat(x_192); lean_dec(x_192); +x_194 = lean_nat_dec_lt(x_193, x_2); if (x_194 == 0) { -lean_object* x_195; lean_object* x_196; uint32_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_195 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_196 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_197 = 35; -x_198 = lean_nat_add(x_2, x_190); -x_199 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_197, x_198, x_196); -x_200 = l_Lean_stringToMessageData(x_199); -lean_dec_ref(x_199); -x_201 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_200); -x_202 = l_Lean_Doc_getPositional___redArg___closed__37; -x_203 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_204 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_164, x_203, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_164); -if (lean_obj_tag(x_204) == 0) +uint8_t x_195; +lean_free_object(x_33); +x_195 = lean_nat_dec_eq(x_193, x_2); +lean_dec(x_193); +if (x_195 == 0) { -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec_ref(x_204); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_22); -lean_ctor_set(x_206, 1, x_23); -lean_inc(x_1); +lean_object* x_196; lean_object* x_197; uint32_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_196 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_197 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_198 = 35; +x_199 = lean_nat_add(x_2, x_191); +x_200 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_198, x_199, x_197); +x_201 = l_Lean_stringToMessageData(x_200); +lean_dec_ref(x_200); +x_202 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_202, 0, x_196); +lean_ctor_set(x_202, 1, x_201); +x_203 = l_Lean_Doc_getPositional___redArg___closed__40; +x_204 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_205 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_165, x_204, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_165); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_205, 1); +lean_inc(x_206); +lean_dec_ref(x_205); x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_1); -lean_ctor_set(x_207, 1, x_206); -x_3 = x_207; -x_4 = x_165; -x_13 = x_205; +lean_ctor_set(x_207, 0, x_23); +lean_ctor_set(x_207, 1, x_24); +lean_inc(x_1); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_1); +lean_ctor_set(x_208, 1, x_207); +x_3 = x_208; +x_4 = x_166; +x_14 = x_206; goto _start; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_165); +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_dec(x_166); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_209 = lean_ctor_get(x_204, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_204, 1); +x_210 = lean_ctor_get(x_205, 0); lean_inc(x_210); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_211 = x_204; +x_211 = lean_ctor_get(x_205, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_212 = x_205; } else { - lean_dec_ref(x_204); - x_211 = lean_box(0); + lean_dec_ref(x_205); + x_212 = lean_box(0); } -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(1, 2, 0); } else { - x_212 = x_211; + x_213 = x_212; } -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +return x_213; } } else { -lean_object* x_213; lean_object* x_214; +lean_object* x_214; lean_object* x_215; lean_dec_ref(x_4); -x_213 = lean_nat_add(x_2, x_190); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_214 = lean_nat_add(x_2, x_191); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_214 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_213, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_213); -if (lean_obj_tag(x_214) == 0) +lean_inc_ref(x_5); +x_215 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_214, x_166, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_214); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; size_t x_226; size_t x_227; lean_object* x_228; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; size_t x_227; size_t x_228; lean_object* x_229; x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); -x_217 = lean_ctor_get(x_214, 1); +x_217 = lean_ctor_get(x_216, 0); lean_inc(x_217); -lean_dec_ref(x_214); x_218 = lean_ctor_get(x_215, 1); lean_inc(x_218); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_219 = x_215; -} else { - lean_dec_ref(x_215); - x_219 = lean_box(0); -} -x_220 = lean_ctor_get(x_216, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_216, 1); -lean_inc(x_221); +lean_dec_ref(x_215); +x_219 = lean_ctor_get(x_216, 1); +lean_inc(x_219); if (lean_is_exclusive(x_216)) { lean_ctor_release(x_216, 0); lean_ctor_release(x_216, 1); - x_222 = x_216; + x_220 = x_216; } else { lean_dec_ref(x_216); - x_222 = lean_box(0); + x_220 = lean_box(0); } -x_223 = lean_unsigned_to_nat(4u); -x_224 = l_Lean_Syntax_getArg(x_164, x_223); -lean_dec(x_164); -x_225 = l_Lean_Syntax_getArgs(x_224); -lean_dec(x_224); -x_226 = lean_array_size(x_225); -x_227 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_228 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_226, x_227, x_225, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_217); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec_ref(x_228); -x_231 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_232 = lean_box(0); -x_233 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_233, 0, x_229); -lean_ctor_set(x_233, 1, x_231); -lean_ctor_set(x_233, 2, x_232); -lean_ctor_set(x_233, 3, x_220); -lean_ctor_set(x_233, 4, x_221); -x_234 = lean_array_push(x_23, x_233); -if (lean_is_scalar(x_222)) { - x_235 = lean_alloc_ctor(0, 2, 0); +x_221 = lean_ctor_get(x_217, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_217, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_223 = x_217; } else { - x_235 = x_222; + lean_dec_ref(x_217); + x_223 = lean_box(0); } -lean_ctor_set(x_235, 0, x_22); -lean_ctor_set(x_235, 1, x_234); -lean_inc(x_1); -if (lean_is_scalar(x_219)) { +x_224 = lean_unsigned_to_nat(4u); +x_225 = l_Lean_Syntax_getArg(x_165, x_224); +lean_dec(x_165); +x_226 = l_Lean_Syntax_getArgs(x_225); +lean_dec(x_225); +x_227 = lean_array_size(x_226); +x_228 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_229 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_227, x_228, x_226, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_218); +if (lean_obj_tag(x_229) == 0) +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec_ref(x_229); +x_232 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_233 = lean_box(0); +x_234 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_234, 0, x_230); +lean_ctor_set(x_234, 1, x_232); +lean_ctor_set(x_234, 2, x_233); +lean_ctor_set(x_234, 3, x_221); +lean_ctor_set(x_234, 4, x_222); +x_235 = lean_array_push(x_24, x_234); +if (lean_is_scalar(x_223)) { x_236 = lean_alloc_ctor(0, 2, 0); } else { - x_236 = x_219; + x_236 = x_223; } -lean_ctor_set(x_236, 0, x_1); +lean_ctor_set(x_236, 0, x_23); lean_ctor_set(x_236, 1, x_235); -x_3 = x_236; -x_4 = x_218; -x_13 = x_230; +lean_inc(x_1); +if (lean_is_scalar(x_220)) { + x_237 = lean_alloc_ctor(0, 2, 0); +} else { + x_237 = x_220; +} +lean_ctor_set(x_237, 0, x_1); +lean_ctor_set(x_237, 1, x_236); +x_3 = x_237; +x_4 = x_219; +x_14 = x_231; goto _start; } else { -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_223); lean_dec(x_222); lean_dec(x_221); lean_dec(x_220); lean_dec(x_219); -lean_dec(x_218); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_238 = lean_ctor_get(x_228, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_228, 1); +x_239 = lean_ctor_get(x_229, 0); lean_inc(x_239); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_240 = x_228; +x_240 = lean_ctor_get(x_229, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + x_241 = x_229; } else { - lean_dec_ref(x_228); - x_240 = lean_box(0); + lean_dec_ref(x_229); + x_241 = lean_box(0); } -if (lean_is_scalar(x_240)) { - x_241 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); } else { - x_241 = x_240; + x_242 = x_241; } -lean_ctor_set(x_241, 0, x_238); -lean_ctor_set(x_241, 1, x_239); -return x_241; +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; } } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_164); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_242 = lean_ctor_get(x_214, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_214, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_244 = x_214; -} else { - lean_dec_ref(x_214); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; -} -} -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_192); +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_243 = lean_ctor_get(x_215, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_215, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_245 = x_215; +} else { + lean_dec_ref(x_215); + x_245 = lean_box(0); +} +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(1, 2, 0); +} else { + x_246 = x_245; +} +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_244); +return x_246; +} +} +} +else +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_193); +lean_dec(x_166); +lean_dec(x_165); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_22); -lean_ctor_set(x_246, 1, x_23); -lean_ctor_set(x_32, 0, x_246); x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_22); -lean_ctor_set(x_247, 1, x_23); +lean_ctor_set(x_247, 0, x_23); +lean_ctor_set(x_247, 1, x_24); +lean_ctor_set(x_33, 0, x_247); x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_32); -lean_ctor_set(x_248, 1, x_247); -x_14 = x_248; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_248, 0, x_23); +lean_ctor_set(x_248, 1, x_24); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_33); +lean_ctor_set(x_249, 1, x_248); +x_15 = x_249; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_249 = lean_ctor_get(x_32, 0); -lean_inc(x_249); -lean_dec(x_32); -x_250 = lean_ctor_get(x_249, 0); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; +x_250 = lean_ctor_get(x_33, 0); lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); +lean_dec(x_33); +x_251 = lean_ctor_get(x_250, 0); lean_inc(x_251); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - x_252 = x_249; +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_253 = x_250; } else { - lean_dec_ref(x_249); - x_252 = lean_box(0); + lean_dec_ref(x_250); + x_253 = lean_box(0); } -x_253 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_250); -x_254 = l_Lean_Syntax_isOfKind(x_250, x_253); -if (x_254 == 0) +x_254 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_251); +x_255 = l_Lean_Syntax_isOfKind(x_251, x_254); +if (x_255 == 0) { -lean_object* x_255; -lean_dec(x_252); +lean_object* x_256; +lean_dec(x_253); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_255 = l_Lean_Doc_elabBlock(x_250, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_255) == 0) +lean_inc_ref(x_5); +x_256 = l_Lean_Doc_elabBlock(x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_256) == 0) { -lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = lean_ctor_get(x_256, 0); lean_inc(x_257); -lean_dec_ref(x_255); -x_258 = lean_array_push(x_22, x_256); -x_25 = x_258; -x_26 = x_251; -x_27 = x_257; -goto block_31; +x_258 = lean_ctor_get(x_256, 1); +lean_inc(x_258); +lean_dec_ref(x_256); +x_259 = lean_array_push(x_23, x_257); +x_26 = x_259; +x_27 = x_252; +x_28 = x_258; +goto block_32; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; uint8_t x_275; -x_259 = lean_ctor_get(x_255, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_255, 1); +lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; uint8_t x_276; +x_260 = lean_ctor_get(x_256, 0); lean_inc(x_260); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_261 = x_255; +x_261 = lean_ctor_get(x_256, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_262 = x_256; } else { - lean_dec_ref(x_255); - x_261 = lean_box(0); + lean_dec_ref(x_256); + x_262 = lean_box(0); } -x_275 = l_Lean_Exception_isInterrupt(x_259); -if (x_275 == 0) +x_276 = l_Lean_Exception_isInterrupt(x_260); +if (x_276 == 0) { -uint8_t x_276; -x_276 = l_Lean_Exception_isRuntime(x_259); -x_262 = x_276; -goto block_274; +uint8_t x_277; +x_277 = l_Lean_Exception_isRuntime(x_260); +x_263 = x_277; +goto block_275; } else { -x_262 = x_275; -goto block_274; +x_263 = x_276; +goto block_275; } -block_274: +block_275: { -if (x_262 == 0) +if (x_263 == 0) { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_261); -x_263 = l_Lean_Exception_getRef(x_259); -x_264 = l_Lean_Exception_toMessageData(x_259); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_265 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_263, x_264, x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_260); -lean_dec(x_263); -if (lean_obj_tag(x_265) == 0) +lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_262); +x_264 = l_Lean_Exception_getRef(x_260); +x_265 = l_Lean_Exception_toMessageData(x_260); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_266 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_264, x_265, x_252, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_261); +lean_dec(x_264); +if (lean_obj_tag(x_266) == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_266, 0); lean_inc(x_267); -lean_dec_ref(x_265); x_268 = lean_ctor_get(x_266, 1); lean_inc(x_268); -lean_dec(x_266); -x_25 = x_22; -x_26 = x_268; -x_27 = x_267; -goto block_31; -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_269 = lean_ctor_get(x_265, 0); +lean_dec_ref(x_266); +x_269 = lean_ctor_get(x_267, 1); lean_inc(x_269); -x_270 = lean_ctor_get(x_265, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_271 = x_265; -} else { - lean_dec_ref(x_265); - x_271 = lean_box(0); -} -if (lean_is_scalar(x_271)) { - x_272 = lean_alloc_ctor(1, 2, 0); -} else { - x_272 = x_271; -} -lean_ctor_set(x_272, 0, x_269); -lean_ctor_set(x_272, 1, x_270); -return x_272; -} +lean_dec(x_267); +x_26 = x_23; +x_27 = x_269; +x_28 = x_268; +goto block_32; } else { -lean_object* x_273; -lean_dec(x_251); +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -if (lean_is_scalar(x_261)) { +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_266, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_272 = x_266; +} else { + lean_dec_ref(x_266); + x_272 = lean_box(0); +} +if (lean_is_scalar(x_272)) { x_273 = lean_alloc_ctor(1, 2, 0); } else { - x_273 = x_261; + x_273 = x_272; } -lean_ctor_set(x_273, 0, x_259); -lean_ctor_set(x_273, 1, x_260); +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); return x_273; } } +else +{ +lean_object* x_274; +lean_dec(x_252); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +if (lean_is_scalar(x_262)) { + x_274 = lean_alloc_ctor(1, 2, 0); +} else { + x_274 = x_262; +} +lean_ctor_set(x_274, 0, x_260); +lean_ctor_set(x_274, 1, x_261); +return x_274; +} +} } } else { -lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; -lean_dec(x_24); -lean_dec(x_21); -x_277 = lean_unsigned_to_nat(1u); -x_278 = l_Lean_Syntax_getArg(x_250, x_277); -x_279 = l_Lean_TSyntax_getNat(x_278); -lean_dec(x_278); -x_280 = lean_nat_dec_lt(x_279, x_2); -if (x_280 == 0) -{ -uint8_t x_281; -lean_dec(x_252); -x_281 = lean_nat_dec_eq(x_279, x_2); +lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; +lean_dec(x_25); +lean_dec(x_22); +x_278 = lean_unsigned_to_nat(1u); +x_279 = l_Lean_Syntax_getArg(x_251, x_278); +x_280 = l_Lean_TSyntax_getNat(x_279); lean_dec(x_279); +x_281 = lean_nat_dec_lt(x_280, x_2); if (x_281 == 0) { -lean_object* x_282; lean_object* x_283; uint32_t x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_282 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_283 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_284 = 35; -x_285 = lean_nat_add(x_2, x_277); -x_286 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_284, x_285, x_283); -x_287 = l_Lean_stringToMessageData(x_286); -lean_dec_ref(x_286); -x_288 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_288, 0, x_282); -lean_ctor_set(x_288, 1, x_287); -x_289 = l_Lean_Doc_getPositional___redArg___closed__37; -x_290 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_290, 0, x_288); -lean_ctor_set(x_290, 1, x_289); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_291 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_250, x_290, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_250); -if (lean_obj_tag(x_291) == 0) +uint8_t x_282; +lean_dec(x_253); +x_282 = lean_nat_dec_eq(x_280, x_2); +lean_dec(x_280); +if (x_282 == 0) { -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_291, 1); -lean_inc(x_292); -lean_dec_ref(x_291); -x_293 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_293, 0, x_22); -lean_ctor_set(x_293, 1, x_23); -lean_inc(x_1); +lean_object* x_283; lean_object* x_284; uint32_t x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_283 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_284 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_285 = 35; +x_286 = lean_nat_add(x_2, x_278); +x_287 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_285, x_286, x_284); +x_288 = l_Lean_stringToMessageData(x_287); +lean_dec_ref(x_287); +x_289 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_289, 0, x_283); +lean_ctor_set(x_289, 1, x_288); +x_290 = l_Lean_Doc_getPositional___redArg___closed__40; +x_291 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_290); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_292 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_251, x_291, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_251); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_293 = lean_ctor_get(x_292, 1); +lean_inc(x_293); +lean_dec_ref(x_292); x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_1); -lean_ctor_set(x_294, 1, x_293); -x_3 = x_294; -x_4 = x_251; -x_13 = x_292; +lean_ctor_set(x_294, 0, x_23); +lean_ctor_set(x_294, 1, x_24); +lean_inc(x_1); +x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_295, 0, x_1); +lean_ctor_set(x_295, 1, x_294); +x_3 = x_295; +x_4 = x_252; +x_14 = x_293; goto _start; } else { -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_251); +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_dec(x_252); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_296 = lean_ctor_get(x_291, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_291, 1); +x_297 = lean_ctor_get(x_292, 0); lean_inc(x_297); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - x_298 = x_291; +x_298 = lean_ctor_get(x_292, 1); +lean_inc(x_298); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_299 = x_292; } else { - lean_dec_ref(x_291); - x_298 = lean_box(0); + lean_dec_ref(x_292); + x_299 = lean_box(0); } -if (lean_is_scalar(x_298)) { - x_299 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(1, 2, 0); } else { - x_299 = x_298; + x_300 = x_299; } -lean_ctor_set(x_299, 0, x_296); -lean_ctor_set(x_299, 1, x_297); -return x_299; +lean_ctor_set(x_300, 0, x_297); +lean_ctor_set(x_300, 1, x_298); +return x_300; } } else { -lean_object* x_300; lean_object* x_301; +lean_object* x_301; lean_object* x_302; lean_dec_ref(x_4); -x_300 = lean_nat_add(x_2, x_277); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_301 = lean_nat_add(x_2, x_278); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_301 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_300, x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_300); -if (lean_obj_tag(x_301) == 0) +lean_inc_ref(x_5); +x_302 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_301, x_252, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_301); +if (lean_obj_tag(x_302) == 0) { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; size_t x_313; size_t x_314; lean_object* x_315; -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; size_t x_314; size_t x_315; lean_object* x_316; x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -x_304 = lean_ctor_get(x_301, 1); +x_304 = lean_ctor_get(x_303, 0); lean_inc(x_304); -lean_dec_ref(x_301); x_305 = lean_ctor_get(x_302, 1); lean_inc(x_305); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_306 = x_302; -} else { - lean_dec_ref(x_302); - x_306 = lean_box(0); -} -x_307 = lean_ctor_get(x_303, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_303, 1); -lean_inc(x_308); +lean_dec_ref(x_302); +x_306 = lean_ctor_get(x_303, 1); +lean_inc(x_306); if (lean_is_exclusive(x_303)) { lean_ctor_release(x_303, 0); lean_ctor_release(x_303, 1); - x_309 = x_303; + x_307 = x_303; } else { lean_dec_ref(x_303); - x_309 = lean_box(0); + x_307 = lean_box(0); } -x_310 = lean_unsigned_to_nat(4u); -x_311 = l_Lean_Syntax_getArg(x_250, x_310); -lean_dec(x_250); -x_312 = l_Lean_Syntax_getArgs(x_311); -lean_dec(x_311); -x_313 = lean_array_size(x_312); -x_314 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_315 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_313, x_314, x_312, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_304); -if (lean_obj_tag(x_315) == 0) -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec_ref(x_315); -x_318 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_319 = lean_box(0); -x_320 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_320, 0, x_316); -lean_ctor_set(x_320, 1, x_318); -lean_ctor_set(x_320, 2, x_319); -lean_ctor_set(x_320, 3, x_307); -lean_ctor_set(x_320, 4, x_308); -x_321 = lean_array_push(x_23, x_320); -if (lean_is_scalar(x_309)) { - x_322 = lean_alloc_ctor(0, 2, 0); +x_308 = lean_ctor_get(x_304, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_304, 1); +lean_inc(x_309); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + lean_ctor_release(x_304, 1); + x_310 = x_304; } else { - x_322 = x_309; + lean_dec_ref(x_304); + x_310 = lean_box(0); } -lean_ctor_set(x_322, 0, x_22); -lean_ctor_set(x_322, 1, x_321); -lean_inc(x_1); -if (lean_is_scalar(x_306)) { +x_311 = lean_unsigned_to_nat(4u); +x_312 = l_Lean_Syntax_getArg(x_251, x_311); +lean_dec(x_251); +x_313 = l_Lean_Syntax_getArgs(x_312); +lean_dec(x_312); +x_314 = lean_array_size(x_313); +x_315 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_316 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_314, x_315, x_313, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_305); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec_ref(x_316); +x_319 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_320 = lean_box(0); +x_321 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_321, 0, x_317); +lean_ctor_set(x_321, 1, x_319); +lean_ctor_set(x_321, 2, x_320); +lean_ctor_set(x_321, 3, x_308); +lean_ctor_set(x_321, 4, x_309); +x_322 = lean_array_push(x_24, x_321); +if (lean_is_scalar(x_310)) { x_323 = lean_alloc_ctor(0, 2, 0); } else { - x_323 = x_306; + x_323 = x_310; } -lean_ctor_set(x_323, 0, x_1); +lean_ctor_set(x_323, 0, x_23); lean_ctor_set(x_323, 1, x_322); -x_3 = x_323; -x_4 = x_305; -x_13 = x_317; +lean_inc(x_1); +if (lean_is_scalar(x_307)) { + x_324 = lean_alloc_ctor(0, 2, 0); +} else { + x_324 = x_307; +} +lean_ctor_set(x_324, 0, x_1); +lean_ctor_set(x_324, 1, x_323); +x_3 = x_324; +x_4 = x_306; +x_14 = x_318; goto _start; } else { -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +lean_dec(x_310); lean_dec(x_309); lean_dec(x_308); lean_dec(x_307); lean_dec(x_306); -lean_dec(x_305); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_325 = lean_ctor_get(x_315, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_315, 1); +x_326 = lean_ctor_get(x_316, 0); lean_inc(x_326); -if (lean_is_exclusive(x_315)) { - lean_ctor_release(x_315, 0); - lean_ctor_release(x_315, 1); - x_327 = x_315; +x_327 = lean_ctor_get(x_316, 1); +lean_inc(x_327); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_328 = x_316; } else { - lean_dec_ref(x_315); - x_327 = lean_box(0); + lean_dec_ref(x_316); + x_328 = lean_box(0); } -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_328)) { + x_329 = lean_alloc_ctor(1, 2, 0); } else { - x_328 = x_327; + x_329 = x_328; } -lean_ctor_set(x_328, 0, x_325); -lean_ctor_set(x_328, 1, x_326); -return x_328; +lean_ctor_set(x_329, 0, x_326); +lean_ctor_set(x_329, 1, x_327); +return x_329; } } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -lean_dec(x_250); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_329 = lean_ctor_get(x_301, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_301, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_301)) { - lean_ctor_release(x_301, 0); - lean_ctor_release(x_301, 1); - x_331 = x_301; -} else { - lean_dec_ref(x_301); - x_331 = lean_box(0); -} -if (lean_is_scalar(x_331)) { - x_332 = lean_alloc_ctor(1, 2, 0); -} else { - x_332 = x_331; -} -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_330); -return x_332; -} -} -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -lean_dec(x_279); +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_330 = lean_ctor_get(x_302, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_302, 1); +lean_inc(x_331); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_332 = x_302; +} else { + lean_dec_ref(x_302); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(1, 2, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_330); +lean_ctor_set(x_333, 1, x_331); +return x_333; +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +lean_dec(x_280); +lean_dec(x_252); +lean_dec(x_251); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -if (lean_is_scalar(x_252)) { - x_333 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_253)) { + x_334 = lean_alloc_ctor(0, 2, 0); } else { - x_333 = x_252; + x_334 = x_253; } -lean_ctor_set(x_333, 0, x_22); -lean_ctor_set(x_333, 1, x_23); -x_334 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_334, 0, x_333); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_22); -lean_ctor_set(x_335, 1, x_23); +lean_ctor_set(x_334, 0, x_23); +lean_ctor_set(x_334, 1, x_24); +x_335 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_335, 0, x_334); x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -x_14 = x_336; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_336, 0, x_23); +lean_ctor_set(x_336, 1, x_24); +x_337 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_337, 0, x_335); +lean_ctor_set(x_337, 1, x_336); +x_15 = x_337; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } } -block_19: +block_20: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); +lean_object* x_18; lean_object* x_19; x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } -block_31: +block_32: { -lean_object* x_28; lean_object* x_29; -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -lean_inc(x_1); -if (lean_is_scalar(x_21)) { +lean_object* x_29; lean_object* x_30; +if (lean_is_scalar(x_25)) { x_29 = lean_alloc_ctor(0, 2, 0); } else { - x_29 = x_21; + x_29 = x_25; } -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_28); -x_3 = x_29; -x_4 = x_26; -x_13 = x_27; +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_24); +lean_inc(x_1); +if (lean_is_scalar(x_22)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_22; +} +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_29); +x_3 = x_30; +x_4 = x_27; +x_14 = x_28; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_32; -x_20 = lean_ctor_get(x_3, 1); -lean_inc(x_20); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_33; +x_21 = lean_ctor_get(x_3, 1); +lean_inc(x_21); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_21 = x_3; + x_22 = x_3; } else { lean_dec_ref(x_3); - x_21 = lean_box(0); + x_22 = lean_box(0); } -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); +x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_24 = x_20; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_25 = x_21; } else { - lean_dec_ref(x_20); - x_24 = lean_box(0); + lean_dec_ref(x_21); + x_25 = lean_box(0); } -x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(x_4); -if (lean_obj_tag(x_32) == 0) +x_33 = l___private_Lean_Elab_DocString_0__Lean_Doc_takeFirst_x3f___redArg(x_4); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_34; lean_object* x_35; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_22); -lean_ctor_set(x_33, 1, x_23); +lean_dec_ref(x_5); x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_33); -x_14 = x_34; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_34, 0, x_23); +lean_ctor_set(x_34, 1, x_24); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_34); +x_15 = x_35; +x_16 = x_4; +x_17 = x_14; +goto block_20; } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_32, 0); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 0); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -x_40 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_38); -x_41 = l_Lean_Syntax_isOfKind(x_38, x_40); -if (x_41 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +x_41 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_39); +x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); +if (x_42 == 0) { -lean_object* x_42; -lean_free_object(x_36); -lean_free_object(x_32); +lean_object* x_43; +lean_free_object(x_37); +lean_free_object(x_33); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_42 = l_Lean_Doc_elabBlock(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_42) == 0) +lean_inc_ref(x_5); +x_43 = l_Lean_Doc_elabBlock(x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = lean_array_push(x_22, x_43); -x_25 = x_45; -x_26 = x_39; -x_27 = x_44; -goto block_31; +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = lean_array_push(x_23, x_44); +x_26 = x_46; +x_27 = x_40; +x_28 = x_45; +goto block_32; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_62; -x_46 = lean_ctor_get(x_42, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_42, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_63; +x_47 = lean_ctor_get(x_43, 0); lean_inc(x_47); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_48 = x_42; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_49 = x_43; } else { - lean_dec_ref(x_42); - x_48 = lean_box(0); + lean_dec_ref(x_43); + x_49 = lean_box(0); } -x_62 = l_Lean_Exception_isInterrupt(x_46); -if (x_62 == 0) +x_63 = l_Lean_Exception_isInterrupt(x_47); +if (x_63 == 0) { -uint8_t x_63; -x_63 = l_Lean_Exception_isRuntime(x_46); -x_49 = x_63; -goto block_61; +uint8_t x_64; +x_64 = l_Lean_Exception_isRuntime(x_47); +x_50 = x_64; +goto block_62; } else { -x_49 = x_62; -goto block_61; +x_50 = x_63; +goto block_62; } -block_61: +block_62: { -if (x_49 == 0) +if (x_50 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_48); -x_50 = l_Lean_Exception_getRef(x_46); -x_51 = l_Lean_Exception_toMessageData(x_46); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_52 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_50, x_51, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -lean_dec(x_50); -if (lean_obj_tag(x_52) == 0) +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_49); +x_51 = l_Lean_Exception_getRef(x_47); +x_52 = l_Lean_Exception_toMessageData(x_47); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_53 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_51, x_52, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_48); +lean_dec(x_51); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec_ref(x_52); x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -lean_dec(x_53); -x_25 = x_22; -x_26 = x_55; -x_27 = x_54; -goto block_31; +lean_dec_ref(x_53); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_26 = x_23; +x_27 = x_56; +x_28 = x_55; +goto block_32; } else { -uint8_t x_56; +uint8_t x_57; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_52); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_53); +if (x_57 == 0) { -return x_52; +return x_53; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 0); -x_58 = lean_ctor_get(x_52, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_53, 0); +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; -lean_dec(x_39); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -if (lean_is_scalar(x_48)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_48; -} -lean_ctor_set(x_60, 0, x_46); -lean_ctor_set(x_60, 1, x_47); +lean_dec(x_53); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); return x_60; } } } +else +{ +lean_object* x_61; +lean_dec(x_40); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +if (lean_is_scalar(x_49)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_49; +} +lean_ctor_set(x_61, 0, x_47); +lean_ctor_set(x_61, 1, x_48); +return x_61; +} +} +} } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_dec(x_24); -lean_dec(x_21); -x_64 = lean_unsigned_to_nat(1u); -x_65 = l_Lean_Syntax_getArg(x_38, x_64); -x_66 = l_Lean_TSyntax_getNat(x_65); -lean_dec(x_65); -x_67 = lean_nat_dec_lt(x_66, x_2); -if (x_67 == 0) -{ -uint8_t x_68; -lean_free_object(x_36); -lean_free_object(x_32); -x_68 = lean_nat_dec_eq(x_66, x_2); +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_25); +lean_dec(x_22); +x_65 = lean_unsigned_to_nat(1u); +x_66 = l_Lean_Syntax_getArg(x_39, x_65); +x_67 = l_Lean_TSyntax_getNat(x_66); lean_dec(x_66); +x_68 = lean_nat_dec_lt(x_67, x_2); if (x_68 == 0) { -lean_object* x_69; lean_object* x_70; uint32_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_69 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_70 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_71 = 35; -x_72 = lean_nat_add(x_2, x_64); -x_73 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_71, x_72, x_70); -x_74 = l_Lean_stringToMessageData(x_73); -lean_dec_ref(x_73); -x_75 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Doc_getPositional___redArg___closed__37; -x_77 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_78 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_38, x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_38); -if (lean_obj_tag(x_78) == 0) +uint8_t x_69; +lean_free_object(x_37); +lean_free_object(x_33); +x_69 = lean_nat_dec_eq(x_67, x_2); +lean_dec(x_67); +if (x_69 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec_ref(x_78); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_22); -lean_ctor_set(x_80, 1, x_23); -lean_inc(x_1); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_1); -lean_ctor_set(x_81, 1, x_80); -x_82 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_81, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_79); -return x_82; -} -else -{ -uint8_t x_83; +lean_object* x_70; lean_object* x_71; uint32_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_70 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_71 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_72 = 35; +x_73 = lean_nat_add(x_2, x_65); +x_74 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_72, x_73, x_71); +x_75 = l_Lean_stringToMessageData(x_74); +lean_dec_ref(x_74); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_70); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Doc_getPositional___redArg___closed__40; +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_79 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_39, x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_39); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec_ref(x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_23); +lean_ctor_set(x_81, 1, x_24); +lean_inc(x_1); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_1); +lean_ctor_set(x_82, 1, x_81); +x_83 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_82, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_80); +return x_83; +} +else +{ +uint8_t x_84; +lean_dec(x_40); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_83 = !lean_is_exclusive(x_78); -if (x_83 == 0) +x_84 = !lean_is_exclusive(x_79); +if (x_84 == 0) { -return x_78; +return x_79; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_78, 0); -x_85 = lean_ctor_get(x_78, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_79, 0); +x_86 = lean_ctor_get(x_79, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_78); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_dec(x_79); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -lean_object* x_87; lean_object* x_88; +lean_object* x_88; lean_object* x_89; lean_dec_ref(x_4); -x_87 = lean_nat_add(x_2, x_64); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_88 = lean_nat_add(x_2, x_65); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_88 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_87, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_87); -if (lean_obj_tag(x_88) == 0) +lean_inc_ref(x_5); +x_89 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_88, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_88); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -x_91 = lean_ctor_get(x_88, 1); +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec_ref(x_88); -x_92 = !lean_is_exclusive(x_89); -if (x_92 == 0) +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec_ref(x_89); +x_93 = !lean_is_exclusive(x_90); +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_89, 1); -x_94 = lean_ctor_get(x_89, 0); -lean_dec(x_94); -x_95 = !lean_is_exclusive(x_90); -if (x_95 == 0) +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_90, 1); +x_95 = lean_ctor_get(x_90, 0); +lean_dec(x_95); +x_96 = !lean_is_exclusive(x_91); +if (x_96 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; -x_96 = lean_ctor_get(x_90, 0); -x_97 = lean_ctor_get(x_90, 1); -x_98 = lean_unsigned_to_nat(4u); -x_99 = l_Lean_Syntax_getArg(x_38, x_98); -lean_dec(x_38); -x_100 = l_Lean_Syntax_getArgs(x_99); -lean_dec(x_99); -x_101 = lean_array_size(x_100); -x_102 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; size_t x_102; size_t x_103; lean_object* x_104; +x_97 = lean_ctor_get(x_91, 0); +x_98 = lean_ctor_get(x_91, 1); +x_99 = lean_unsigned_to_nat(4u); +x_100 = l_Lean_Syntax_getArg(x_39, x_99); +lean_dec(x_39); +x_101 = l_Lean_Syntax_getArgs(x_100); +lean_dec(x_100); +x_102 = lean_array_size(x_101); +x_103 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_101, x_102, x_100, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_103) == 0) +lean_inc_ref(x_5); +x_104 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_102, x_103, x_101, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec_ref(x_103); -x_106 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_108, 0, x_104); -lean_ctor_set(x_108, 1, x_106); -lean_ctor_set(x_108, 2, x_107); -lean_ctor_set(x_108, 3, x_96); -lean_ctor_set(x_108, 4, x_97); -x_109 = lean_array_push(x_23, x_108); -lean_ctor_set(x_90, 1, x_109); -lean_ctor_set(x_90, 0, x_22); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +x_107 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_108 = lean_box(0); +x_109 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_109, 0, x_105); +lean_ctor_set(x_109, 1, x_107); +lean_ctor_set(x_109, 2, x_108); +lean_ctor_set(x_109, 3, x_97); +lean_ctor_set(x_109, 4, x_98); +x_110 = lean_array_push(x_24, x_109); +lean_ctor_set(x_91, 1, x_110); +lean_ctor_set(x_91, 0, x_23); lean_inc(x_1); -lean_ctor_set(x_89, 1, x_90); -lean_ctor_set(x_89, 0, x_1); -x_110 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_89, x_93, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_105); -return x_110; +lean_ctor_set(x_90, 1, x_91); +lean_ctor_set(x_90, 0, x_1); +x_111 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_90, x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_106); +return x_111; } else { -uint8_t x_111; -lean_free_object(x_90); +uint8_t x_112; +lean_free_object(x_91); +lean_dec(x_98); lean_dec(x_97); -lean_dec(x_96); -lean_free_object(x_89); -lean_dec(x_93); +lean_free_object(x_90); +lean_dec(x_94); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_103); -if (x_111 == 0) +x_112 = !lean_is_exclusive(x_104); +if (x_112 == 0) { -return x_103; +return x_104; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_103, 0); -x_113 = lean_ctor_get(x_103, 1); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_104, 0); +x_114 = lean_ctor_get(x_104, 1); +lean_inc(x_114); lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_103); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_dec(x_104); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; lean_object* x_122; -x_115 = lean_ctor_get(x_90, 0); -x_116 = lean_ctor_get(x_90, 1); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; size_t x_121; size_t x_122; lean_object* x_123; +x_116 = lean_ctor_get(x_91, 0); +x_117 = lean_ctor_get(x_91, 1); +lean_inc(x_117); lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_90); -x_117 = lean_unsigned_to_nat(4u); -x_118 = l_Lean_Syntax_getArg(x_38, x_117); -lean_dec(x_38); -x_119 = l_Lean_Syntax_getArgs(x_118); -lean_dec(x_118); -x_120 = lean_array_size(x_119); -x_121 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_dec(x_91); +x_118 = lean_unsigned_to_nat(4u); +x_119 = l_Lean_Syntax_getArg(x_39, x_118); +lean_dec(x_39); +x_120 = l_Lean_Syntax_getArgs(x_119); +lean_dec(x_119); +x_121 = lean_array_size(x_120); +x_122 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_122 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_120, x_121, x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_122) == 0) +lean_inc_ref(x_5); +x_123 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_121, x_122, x_120, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_123) == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); -lean_dec_ref(x_122); -x_125 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_126 = lean_box(0); -x_127 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_127, 0, x_123); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_126); -lean_ctor_set(x_127, 3, x_115); -lean_ctor_set(x_127, 4, x_116); -x_128 = lean_array_push(x_23, x_127); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_22); -lean_ctor_set(x_129, 1, x_128); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec_ref(x_123); +x_126 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_127 = lean_box(0); +x_128 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_128, 0, x_124); +lean_ctor_set(x_128, 1, x_126); +lean_ctor_set(x_128, 2, x_127); +lean_ctor_set(x_128, 3, x_116); +lean_ctor_set(x_128, 4, x_117); +x_129 = lean_array_push(x_24, x_128); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_23); +lean_ctor_set(x_130, 1, x_129); lean_inc(x_1); -lean_ctor_set(x_89, 1, x_129); -lean_ctor_set(x_89, 0, x_1); -x_130 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_89, x_93, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_124); -return x_130; +lean_ctor_set(x_90, 1, x_130); +lean_ctor_set(x_90, 0, x_1); +x_131 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_90, x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_125); +return x_131; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_117); lean_dec(x_116); -lean_dec(x_115); -lean_free_object(x_89); -lean_dec(x_93); +lean_free_object(x_90); +lean_dec(x_94); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_131 = lean_ctor_get(x_122, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_123, 0); lean_inc(x_132); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_133 = x_122; +x_133 = lean_ctor_get(x_123, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_134 = x_123; } else { - lean_dec_ref(x_122); - x_133 = lean_box(0); + lean_dec_ref(x_123); + x_134 = lean_box(0); } -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); } else { - x_134 = x_133; + x_135 = x_134; } -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return x_134; +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; } } } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; lean_object* x_144; -x_135 = lean_ctor_get(x_89, 1); -lean_inc(x_135); -lean_dec(x_89); -x_136 = lean_ctor_get(x_90, 0); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; size_t x_143; size_t x_144; lean_object* x_145; +x_136 = lean_ctor_get(x_90, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_90, 1); +lean_dec(x_90); +x_137 = lean_ctor_get(x_91, 0); lean_inc(x_137); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_138 = x_90; +x_138 = lean_ctor_get(x_91, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_139 = x_91; } else { - lean_dec_ref(x_90); - x_138 = lean_box(0); + lean_dec_ref(x_91); + x_139 = lean_box(0); } -x_139 = lean_unsigned_to_nat(4u); -x_140 = l_Lean_Syntax_getArg(x_38, x_139); -lean_dec(x_38); -x_141 = l_Lean_Syntax_getArgs(x_140); -lean_dec(x_140); -x_142 = lean_array_size(x_141); -x_143 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_140 = lean_unsigned_to_nat(4u); +x_141 = l_Lean_Syntax_getArg(x_39, x_140); +lean_dec(x_39); +x_142 = l_Lean_Syntax_getArgs(x_141); +lean_dec(x_141); +x_143 = lean_array_size(x_142); +x_144 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_144 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_142, x_143, x_141, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); -if (lean_obj_tag(x_144) == 0) +lean_inc_ref(x_5); +x_145 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_143, x_144, x_142, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +if (lean_obj_tag(x_145) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); -lean_dec_ref(x_144); -x_147 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_148 = lean_box(0); -x_149 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_149, 0, x_145); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_149, 2, x_148); -lean_ctor_set(x_149, 3, x_136); -lean_ctor_set(x_149, 4, x_137); -x_150 = lean_array_push(x_23, x_149); -if (lean_is_scalar(x_138)) { - x_151 = lean_alloc_ctor(0, 2, 0); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec_ref(x_145); +x_148 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_150, 0, x_146); +lean_ctor_set(x_150, 1, x_148); +lean_ctor_set(x_150, 2, x_149); +lean_ctor_set(x_150, 3, x_137); +lean_ctor_set(x_150, 4, x_138); +x_151 = lean_array_push(x_24, x_150); +if (lean_is_scalar(x_139)) { + x_152 = lean_alloc_ctor(0, 2, 0); } else { - x_151 = x_138; + x_152 = x_139; } -lean_ctor_set(x_151, 0, x_22); -lean_ctor_set(x_151, 1, x_150); -lean_inc(x_1); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_1); +lean_ctor_set(x_152, 0, x_23); lean_ctor_set(x_152, 1, x_151); -x_153 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_152, x_135, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_146); -return x_153; +lean_inc(x_1); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_1); +lean_ctor_set(x_153, 1, x_152); +x_154 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_153, x_136, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_147); +return x_154; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_139); lean_dec(x_138); lean_dec(x_137); lean_dec(x_136); -lean_dec(x_135); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_154 = lean_ctor_get(x_144, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_144, 1); +x_155 = lean_ctor_get(x_145, 0); lean_inc(x_155); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_156 = x_144; +x_156 = lean_ctor_get(x_145, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_157 = x_145; } else { - lean_dec_ref(x_144); - x_156 = lean_box(0); + lean_dec_ref(x_145); + x_157 = lean_box(0); } -if (lean_is_scalar(x_156)) { - x_157 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(1, 2, 0); } else { - x_157 = x_156; + x_158 = x_157; } -lean_ctor_set(x_157, 0, x_154); -lean_ctor_set(x_157, 1, x_155); -return x_157; +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_156); +return x_158; } } } else { -uint8_t x_158; -lean_dec(x_38); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_158 = !lean_is_exclusive(x_88); -if (x_158 == 0) -{ -return x_88; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_88, 0); -x_160 = lean_ctor_get(x_88, 1); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_88); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; -} -} -} -} -else -{ -lean_object* x_162; lean_object* x_163; -lean_dec(x_66); +uint8_t x_159; lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_159 = !lean_is_exclusive(x_89); +if (x_159 == 0) +{ +return x_89; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_89, 0); +x_161 = lean_ctor_get(x_89, 1); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_89); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +return x_162; +} +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; +lean_dec(x_67); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -lean_ctor_set(x_36, 1, x_23); -lean_ctor_set(x_36, 0, x_22); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_22); -lean_ctor_set(x_162, 1, x_23); +lean_ctor_set(x_37, 1, x_24); +lean_ctor_set(x_37, 0, x_23); x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_32); -lean_ctor_set(x_163, 1, x_162); -x_14 = x_163; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_163, 0, x_23); +lean_ctor_set(x_163, 1, x_24); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_33); +lean_ctor_set(x_164, 1, x_163); +x_15 = x_164; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_164 = lean_ctor_get(x_36, 0); -x_165 = lean_ctor_get(x_36, 1); +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = lean_ctor_get(x_37, 0); +x_166 = lean_ctor_get(x_37, 1); +lean_inc(x_166); lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_36); -x_166 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_164); -x_167 = l_Lean_Syntax_isOfKind(x_164, x_166); -if (x_167 == 0) +lean_dec(x_37); +x_167 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_165); +x_168 = l_Lean_Syntax_isOfKind(x_165, x_167); +if (x_168 == 0) { -lean_object* x_168; -lean_free_object(x_32); +lean_object* x_169; +lean_free_object(x_33); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_168 = l_Lean_Doc_elabBlock(x_164, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_168) == 0) +lean_inc_ref(x_5); +x_169 = l_Lean_Doc_elabBlock(x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_169, 0); lean_inc(x_170); -lean_dec_ref(x_168); -x_171 = lean_array_push(x_22, x_169); -x_25 = x_171; -x_26 = x_165; -x_27 = x_170; -goto block_31; +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec_ref(x_169); +x_172 = lean_array_push(x_23, x_170); +x_26 = x_172; +x_27 = x_166; +x_28 = x_171; +goto block_32; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; uint8_t x_188; -x_172 = lean_ctor_get(x_168, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_168, 1); +lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; uint8_t x_189; +x_173 = lean_ctor_get(x_169, 0); lean_inc(x_173); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_174 = x_168; +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_175 = x_169; } else { - lean_dec_ref(x_168); - x_174 = lean_box(0); + lean_dec_ref(x_169); + x_175 = lean_box(0); } -x_188 = l_Lean_Exception_isInterrupt(x_172); -if (x_188 == 0) +x_189 = l_Lean_Exception_isInterrupt(x_173); +if (x_189 == 0) { -uint8_t x_189; -x_189 = l_Lean_Exception_isRuntime(x_172); -x_175 = x_189; -goto block_187; +uint8_t x_190; +x_190 = l_Lean_Exception_isRuntime(x_173); +x_176 = x_190; +goto block_188; } else { -x_175 = x_188; -goto block_187; +x_176 = x_189; +goto block_188; } -block_187: +block_188: { -if (x_175 == 0) +if (x_176 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_174); -x_176 = l_Lean_Exception_getRef(x_172); -x_177 = l_Lean_Exception_toMessageData(x_172); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_178 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_176, x_177, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_173); -lean_dec(x_176); -if (lean_obj_tag(x_178) == 0) +lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_175); +x_177 = l_Lean_Exception_getRef(x_173); +x_178 = l_Lean_Exception_toMessageData(x_173); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_179 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_177, x_178, x_166, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_174); +lean_dec(x_177); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); -lean_dec_ref(x_178); x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); -lean_dec(x_179); -x_25 = x_22; -x_26 = x_181; -x_27 = x_180; -goto block_31; -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_182 = lean_ctor_get(x_178, 0); +lean_dec_ref(x_179); +x_182 = lean_ctor_get(x_180, 1); lean_inc(x_182); -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_184 = x_178; -} else { - lean_dec_ref(x_178); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(1, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_182); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} +lean_dec(x_180); +x_26 = x_23; +x_27 = x_182; +x_28 = x_181; +goto block_32; } else { -lean_object* x_186; -lean_dec(x_165); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -if (lean_is_scalar(x_174)) { +x_183 = lean_ctor_get(x_179, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_179, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_185 = x_179; +} else { + lean_dec_ref(x_179); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { x_186 = lean_alloc_ctor(1, 2, 0); } else { - x_186 = x_174; + x_186 = x_185; } -lean_ctor_set(x_186, 0, x_172); -lean_ctor_set(x_186, 1, x_173); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); return x_186; } } -} -} else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +lean_object* x_187; +lean_dec(x_166); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_21); -x_190 = lean_unsigned_to_nat(1u); -x_191 = l_Lean_Syntax_getArg(x_164, x_190); -x_192 = l_Lean_TSyntax_getNat(x_191); -lean_dec(x_191); -x_193 = lean_nat_dec_lt(x_192, x_2); -if (x_193 == 0) -{ -uint8_t x_194; -lean_free_object(x_32); -x_194 = lean_nat_dec_eq(x_192, x_2); -lean_dec(x_192); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; uint32_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_195 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_196 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_197 = 35; -x_198 = lean_nat_add(x_2, x_190); -x_199 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_197, x_198, x_196); -x_200 = l_Lean_stringToMessageData(x_199); -lean_dec_ref(x_199); -x_201 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_200); -x_202 = l_Lean_Doc_getPositional___redArg___closed__37; -x_203 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_204 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_164, x_203, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_164); -if (lean_obj_tag(x_204) == 0) -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec_ref(x_204); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_22); -lean_ctor_set(x_206, 1, x_23); -lean_inc(x_1); -x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_1); -lean_ctor_set(x_207, 1, x_206); -x_208 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_207, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_205); -return x_208; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_165); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_209 = lean_ctor_get(x_204, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_204, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_211 = x_204; +if (lean_is_scalar(x_175)) { + x_187 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_204); - x_211 = lean_box(0); + x_187 = x_175; +} +lean_ctor_set(x_187, 0, x_173); +lean_ctor_set(x_187, 1, x_174); +return x_187; } -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); -} else { - x_212 = x_211; } -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; } } else { -lean_object* x_213; lean_object* x_214; -lean_dec_ref(x_4); -x_213 = lean_nat_add(x_2, x_190); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_214 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_213, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_213); -if (lean_obj_tag(x_214) == 0) +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_dec(x_25); +lean_dec(x_22); +x_191 = lean_unsigned_to_nat(1u); +x_192 = l_Lean_Syntax_getArg(x_165, x_191); +x_193 = l_Lean_TSyntax_getNat(x_192); +lean_dec(x_192); +x_194 = lean_nat_dec_lt(x_193, x_2); +if (x_194 == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; size_t x_226; size_t x_227; lean_object* x_228; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); +uint8_t x_195; +lean_free_object(x_33); +x_195 = lean_nat_dec_eq(x_193, x_2); +lean_dec(x_193); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; uint32_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_196 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_197 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_198 = 35; +x_199 = lean_nat_add(x_2, x_191); +x_200 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_198, x_199, x_197); +x_201 = l_Lean_stringToMessageData(x_200); +lean_dec_ref(x_200); +x_202 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_202, 0, x_196); +lean_ctor_set(x_202, 1, x_201); +x_203 = l_Lean_Doc_getPositional___redArg___closed__40; +x_204 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_205 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_165, x_204, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_165); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_206 = lean_ctor_get(x_205, 1); +lean_inc(x_206); +lean_dec_ref(x_205); +x_207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_207, 0, x_23); +lean_ctor_set(x_207, 1, x_24); +lean_inc(x_1); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_1); +lean_ctor_set(x_208, 1, x_207); +x_209 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_208, x_166, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_206); +return x_209; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_dec(x_166); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_210 = lean_ctor_get(x_205, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_205, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_212 = x_205; +} else { + lean_dec_ref(x_205); + x_212 = lean_box(0); +} +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(1, 2, 0); +} else { + x_213 = x_212; +} +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +return x_213; +} +} +else +{ +lean_object* x_214; lean_object* x_215; +lean_dec_ref(x_4); +x_214 = lean_nat_add(x_2, x_191); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_215 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_214, x_166, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_214); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; size_t x_227; size_t x_228; lean_object* x_229; x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); -x_217 = lean_ctor_get(x_214, 1); +x_217 = lean_ctor_get(x_216, 0); lean_inc(x_217); -lean_dec_ref(x_214); x_218 = lean_ctor_get(x_215, 1); lean_inc(x_218); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_219 = x_215; -} else { - lean_dec_ref(x_215); - x_219 = lean_box(0); -} -x_220 = lean_ctor_get(x_216, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_216, 1); -lean_inc(x_221); +lean_dec_ref(x_215); +x_219 = lean_ctor_get(x_216, 1); +lean_inc(x_219); if (lean_is_exclusive(x_216)) { lean_ctor_release(x_216, 0); lean_ctor_release(x_216, 1); - x_222 = x_216; + x_220 = x_216; } else { lean_dec_ref(x_216); - x_222 = lean_box(0); + x_220 = lean_box(0); } -x_223 = lean_unsigned_to_nat(4u); -x_224 = l_Lean_Syntax_getArg(x_164, x_223); -lean_dec(x_164); -x_225 = l_Lean_Syntax_getArgs(x_224); -lean_dec(x_224); -x_226 = lean_array_size(x_225); -x_227 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_228 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_226, x_227, x_225, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_217); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec_ref(x_228); -x_231 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_232 = lean_box(0); -x_233 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_233, 0, x_229); -lean_ctor_set(x_233, 1, x_231); -lean_ctor_set(x_233, 2, x_232); -lean_ctor_set(x_233, 3, x_220); -lean_ctor_set(x_233, 4, x_221); -x_234 = lean_array_push(x_23, x_233); -if (lean_is_scalar(x_222)) { - x_235 = lean_alloc_ctor(0, 2, 0); +x_221 = lean_ctor_get(x_217, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_217, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_223 = x_217; } else { - x_235 = x_222; + lean_dec_ref(x_217); + x_223 = lean_box(0); } -lean_ctor_set(x_235, 0, x_22); -lean_ctor_set(x_235, 1, x_234); -lean_inc(x_1); -if (lean_is_scalar(x_219)) { +x_224 = lean_unsigned_to_nat(4u); +x_225 = l_Lean_Syntax_getArg(x_165, x_224); +lean_dec(x_165); +x_226 = l_Lean_Syntax_getArgs(x_225); +lean_dec(x_225); +x_227 = lean_array_size(x_226); +x_228 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_229 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_227, x_228, x_226, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_218); +if (lean_obj_tag(x_229) == 0) +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec_ref(x_229); +x_232 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_233 = lean_box(0); +x_234 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_234, 0, x_230); +lean_ctor_set(x_234, 1, x_232); +lean_ctor_set(x_234, 2, x_233); +lean_ctor_set(x_234, 3, x_221); +lean_ctor_set(x_234, 4, x_222); +x_235 = lean_array_push(x_24, x_234); +if (lean_is_scalar(x_223)) { x_236 = lean_alloc_ctor(0, 2, 0); } else { - x_236 = x_219; + x_236 = x_223; } -lean_ctor_set(x_236, 0, x_1); +lean_ctor_set(x_236, 0, x_23); lean_ctor_set(x_236, 1, x_235); -x_237 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_236, x_218, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_230); -return x_237; +lean_inc(x_1); +if (lean_is_scalar(x_220)) { + x_237 = lean_alloc_ctor(0, 2, 0); +} else { + x_237 = x_220; +} +lean_ctor_set(x_237, 0, x_1); +lean_ctor_set(x_237, 1, x_236); +x_238 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_237, x_219, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_231); +return x_238; } else { -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_223); lean_dec(x_222); lean_dec(x_221); lean_dec(x_220); lean_dec(x_219); -lean_dec(x_218); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_238 = lean_ctor_get(x_228, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_228, 1); +x_239 = lean_ctor_get(x_229, 0); lean_inc(x_239); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_240 = x_228; +x_240 = lean_ctor_get(x_229, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + x_241 = x_229; } else { - lean_dec_ref(x_228); - x_240 = lean_box(0); + lean_dec_ref(x_229); + x_241 = lean_box(0); } -if (lean_is_scalar(x_240)) { - x_241 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); } else { - x_241 = x_240; + x_242 = x_241; } -lean_ctor_set(x_241, 0, x_238); -lean_ctor_set(x_241, 1, x_239); -return x_241; +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; } } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_164); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_242 = lean_ctor_get(x_214, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_214, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_244 = x_214; -} else { - lean_dec_ref(x_214); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; -} -} -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_192); +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_243 = lean_ctor_get(x_215, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_215, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_245 = x_215; +} else { + lean_dec_ref(x_215); + x_245 = lean_box(0); +} +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(1, 2, 0); +} else { + x_246 = x_245; +} +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_244); +return x_246; +} +} +} +else +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_193); +lean_dec(x_166); +lean_dec(x_165); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_22); -lean_ctor_set(x_246, 1, x_23); -lean_ctor_set(x_32, 0, x_246); x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_22); -lean_ctor_set(x_247, 1, x_23); +lean_ctor_set(x_247, 0, x_23); +lean_ctor_set(x_247, 1, x_24); +lean_ctor_set(x_33, 0, x_247); x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_32); -lean_ctor_set(x_248, 1, x_247); -x_14 = x_248; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_248, 0, x_23); +lean_ctor_set(x_248, 1, x_24); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_33); +lean_ctor_set(x_249, 1, x_248); +x_15 = x_249; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_249 = lean_ctor_get(x_32, 0); -lean_inc(x_249); -lean_dec(x_32); -x_250 = lean_ctor_get(x_249, 0); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; +x_250 = lean_ctor_get(x_33, 0); lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); +lean_dec(x_33); +x_251 = lean_ctor_get(x_250, 0); lean_inc(x_251); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - x_252 = x_249; +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_253 = x_250; } else { - lean_dec_ref(x_249); - x_252 = lean_box(0); + lean_dec_ref(x_250); + x_253 = lean_box(0); } -x_253 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; -lean_inc(x_250); -x_254 = l_Lean_Syntax_isOfKind(x_250, x_253); -if (x_254 == 0) +x_254 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1; +lean_inc(x_251); +x_255 = l_Lean_Syntax_isOfKind(x_251, x_254); +if (x_255 == 0) { -lean_object* x_255; -lean_dec(x_252); +lean_object* x_256; +lean_dec(x_253); lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_255 = l_Lean_Doc_elabBlock(x_250, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_255) == 0) +lean_inc_ref(x_5); +x_256 = l_Lean_Doc_elabBlock(x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_256) == 0) { -lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = lean_ctor_get(x_256, 0); lean_inc(x_257); -lean_dec_ref(x_255); -x_258 = lean_array_push(x_22, x_256); -x_25 = x_258; -x_26 = x_251; -x_27 = x_257; -goto block_31; +x_258 = lean_ctor_get(x_256, 1); +lean_inc(x_258); +lean_dec_ref(x_256); +x_259 = lean_array_push(x_23, x_257); +x_26 = x_259; +x_27 = x_252; +x_28 = x_258; +goto block_32; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; uint8_t x_275; -x_259 = lean_ctor_get(x_255, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_255, 1); +lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; uint8_t x_276; +x_260 = lean_ctor_get(x_256, 0); lean_inc(x_260); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_261 = x_255; +x_261 = lean_ctor_get(x_256, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_262 = x_256; } else { - lean_dec_ref(x_255); - x_261 = lean_box(0); + lean_dec_ref(x_256); + x_262 = lean_box(0); } -x_275 = l_Lean_Exception_isInterrupt(x_259); -if (x_275 == 0) +x_276 = l_Lean_Exception_isInterrupt(x_260); +if (x_276 == 0) { -uint8_t x_276; -x_276 = l_Lean_Exception_isRuntime(x_259); -x_262 = x_276; -goto block_274; +uint8_t x_277; +x_277 = l_Lean_Exception_isRuntime(x_260); +x_263 = x_277; +goto block_275; } else { -x_262 = x_275; -goto block_274; +x_263 = x_276; +goto block_275; } -block_274: +block_275: { -if (x_262 == 0) +if (x_263 == 0) { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_261); -x_263 = l_Lean_Exception_getRef(x_259); -x_264 = l_Lean_Exception_toMessageData(x_259); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_265 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_263, x_264, x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_260); -lean_dec(x_263); -if (lean_obj_tag(x_265) == 0) +lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_262); +x_264 = l_Lean_Exception_getRef(x_260); +x_265 = l_Lean_Exception_toMessageData(x_260); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_266 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_264, x_265, x_252, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_261); +lean_dec(x_264); +if (lean_obj_tag(x_266) == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_266, 0); lean_inc(x_267); -lean_dec_ref(x_265); x_268 = lean_ctor_get(x_266, 1); lean_inc(x_268); -lean_dec(x_266); -x_25 = x_22; -x_26 = x_268; -x_27 = x_267; -goto block_31; -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_269 = lean_ctor_get(x_265, 0); +lean_dec_ref(x_266); +x_269 = lean_ctor_get(x_267, 1); lean_inc(x_269); -x_270 = lean_ctor_get(x_265, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_271 = x_265; -} else { - lean_dec_ref(x_265); - x_271 = lean_box(0); -} -if (lean_is_scalar(x_271)) { - x_272 = lean_alloc_ctor(1, 2, 0); -} else { - x_272 = x_271; -} -lean_ctor_set(x_272, 0, x_269); -lean_ctor_set(x_272, 1, x_270); -return x_272; -} +lean_dec(x_267); +x_26 = x_23; +x_27 = x_269; +x_28 = x_268; +goto block_32; } else { -lean_object* x_273; -lean_dec(x_251); +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -if (lean_is_scalar(x_261)) { +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_266, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_272 = x_266; +} else { + lean_dec_ref(x_266); + x_272 = lean_box(0); +} +if (lean_is_scalar(x_272)) { x_273 = lean_alloc_ctor(1, 2, 0); } else { - x_273 = x_261; + x_273 = x_272; } -lean_ctor_set(x_273, 0, x_259); -lean_ctor_set(x_273, 1, x_260); +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); return x_273; } } -} -} else { -lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; -lean_dec(x_24); -lean_dec(x_21); -x_277 = lean_unsigned_to_nat(1u); -x_278 = l_Lean_Syntax_getArg(x_250, x_277); -x_279 = l_Lean_TSyntax_getNat(x_278); -lean_dec(x_278); -x_280 = lean_nat_dec_lt(x_279, x_2); -if (x_280 == 0) -{ -uint8_t x_281; +lean_object* x_274; lean_dec(x_252); -x_281 = lean_nat_dec_eq(x_279, x_2); -lean_dec(x_279); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; uint32_t x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_282 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; -x_283 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_284 = 35; -x_285 = lean_nat_add(x_2, x_277); -x_286 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_284, x_285, x_283); -x_287 = l_Lean_stringToMessageData(x_286); -lean_dec_ref(x_286); -x_288 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_288, 0, x_282); -lean_ctor_set(x_288, 1, x_287); -x_289 = l_Lean_Doc_getPositional___redArg___closed__37; -x_290 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_290, 0, x_288); -lean_ctor_set(x_290, 1, x_289); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_291 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_250, x_290, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_250); -if (lean_obj_tag(x_291) == 0) -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_292 = lean_ctor_get(x_291, 1); -lean_inc(x_292); -lean_dec_ref(x_291); -x_293 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_293, 0, x_22); -lean_ctor_set(x_293, 1, x_23); -lean_inc(x_1); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_1); -lean_ctor_set(x_294, 1, x_293); -x_295 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_294, x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_292); -return x_295; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_251); +lean_dec(x_25); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_296 = lean_ctor_get(x_291, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_291, 1); -lean_inc(x_297); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - x_298 = x_291; +if (lean_is_scalar(x_262)) { + x_274 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_291); - x_298 = lean_box(0); + x_274 = x_262; +} +lean_ctor_set(x_274, 0, x_260); +lean_ctor_set(x_274, 1, x_261); +return x_274; } -if (lean_is_scalar(x_298)) { - x_299 = lean_alloc_ctor(1, 2, 0); -} else { - x_299 = x_298; } -lean_ctor_set(x_299, 0, x_296); -lean_ctor_set(x_299, 1, x_297); -return x_299; } } else { -lean_object* x_300; lean_object* x_301; -lean_dec_ref(x_4); -x_300 = lean_nat_add(x_2, x_277); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_301 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_300, x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_300); -if (lean_obj_tag(x_301) == 0) +lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; +lean_dec(x_25); +lean_dec(x_22); +x_278 = lean_unsigned_to_nat(1u); +x_279 = l_Lean_Syntax_getArg(x_251, x_278); +x_280 = l_Lean_TSyntax_getNat(x_279); +lean_dec(x_279); +x_281 = lean_nat_dec_lt(x_280, x_2); +if (x_281 == 0) { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; size_t x_313; size_t x_314; lean_object* x_315; -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); +uint8_t x_282; +lean_dec(x_253); +x_282 = lean_nat_dec_eq(x_280, x_2); +lean_dec(x_280); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; uint32_t x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_283 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__3; +x_284 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_285 = 35; +x_286 = lean_nat_add(x_2, x_278); +x_287 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__0(x_285, x_286, x_284); +x_288 = l_Lean_stringToMessageData(x_287); +lean_dec_ref(x_287); +x_289 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_289, 0, x_283); +lean_ctor_set(x_289, 1, x_288); +x_290 = l_Lean_Doc_getPositional___redArg___closed__40; +x_291 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_290); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_292 = l_Lean_logErrorAt___at___Lean_Doc_done_spec__0(x_251, x_291, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_251); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_293 = lean_ctor_get(x_292, 1); +lean_inc(x_293); +lean_dec_ref(x_292); +x_294 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_294, 0, x_23); +lean_ctor_set(x_294, 1, x_24); +lean_inc(x_1); +x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_295, 0, x_1); +lean_ctor_set(x_295, 1, x_294); +x_296 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_295, x_252, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_293); +return x_296; +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_dec(x_252); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_297 = lean_ctor_get(x_292, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_292, 1); +lean_inc(x_298); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_299 = x_292; +} else { + lean_dec_ref(x_292); + x_299 = lean_box(0); +} +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(1, 2, 0); +} else { + x_300 = x_299; +} +lean_ctor_set(x_300, 0, x_297); +lean_ctor_set(x_300, 1, x_298); +return x_300; +} +} +else +{ +lean_object* x_301; lean_object* x_302; +lean_dec_ref(x_4); +x_301 = lean_nat_add(x_2, x_278); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_302 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_301, x_252, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_301); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; size_t x_314; size_t x_315; lean_object* x_316; x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -x_304 = lean_ctor_get(x_301, 1); +x_304 = lean_ctor_get(x_303, 0); lean_inc(x_304); -lean_dec_ref(x_301); x_305 = lean_ctor_get(x_302, 1); lean_inc(x_305); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_306 = x_302; -} else { - lean_dec_ref(x_302); - x_306 = lean_box(0); -} -x_307 = lean_ctor_get(x_303, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_303, 1); -lean_inc(x_308); +lean_dec_ref(x_302); +x_306 = lean_ctor_get(x_303, 1); +lean_inc(x_306); if (lean_is_exclusive(x_303)) { lean_ctor_release(x_303, 0); lean_ctor_release(x_303, 1); - x_309 = x_303; + x_307 = x_303; } else { lean_dec_ref(x_303); - x_309 = lean_box(0); + x_307 = lean_box(0); } -x_310 = lean_unsigned_to_nat(4u); -x_311 = l_Lean_Syntax_getArg(x_250, x_310); -lean_dec(x_250); -x_312 = l_Lean_Syntax_getArgs(x_311); -lean_dec(x_311); -x_313 = lean_array_size(x_312); -x_314 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_315 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__16(x_313, x_314, x_312, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_304); -if (lean_obj_tag(x_315) == 0) -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec_ref(x_315); -x_318 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; -x_319 = lean_box(0); -x_320 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_320, 0, x_316); -lean_ctor_set(x_320, 1, x_318); -lean_ctor_set(x_320, 2, x_319); -lean_ctor_set(x_320, 3, x_307); -lean_ctor_set(x_320, 4, x_308); -x_321 = lean_array_push(x_23, x_320); -if (lean_is_scalar(x_309)) { - x_322 = lean_alloc_ctor(0, 2, 0); +x_308 = lean_ctor_get(x_304, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_304, 1); +lean_inc(x_309); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + lean_ctor_release(x_304, 1); + x_310 = x_304; } else { - x_322 = x_309; + lean_dec_ref(x_304); + x_310 = lean_box(0); } -lean_ctor_set(x_322, 0, x_22); -lean_ctor_set(x_322, 1, x_321); -lean_inc(x_1); -if (lean_is_scalar(x_306)) { +x_311 = lean_unsigned_to_nat(4u); +x_312 = l_Lean_Syntax_getArg(x_251, x_311); +lean_dec(x_251); +x_313 = l_Lean_Syntax_getArgs(x_312); +lean_dec(x_312); +x_314 = lean_array_size(x_313); +x_315 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_316 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__11(x_314, x_315, x_313, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_305); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec_ref(x_316); +x_319 = l_Lean_Doc_DocM_exec___redArg___lam__1___closed__5; +x_320 = lean_box(0); +x_321 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_321, 0, x_317); +lean_ctor_set(x_321, 1, x_319); +lean_ctor_set(x_321, 2, x_320); +lean_ctor_set(x_321, 3, x_308); +lean_ctor_set(x_321, 4, x_309); +x_322 = lean_array_push(x_24, x_321); +if (lean_is_scalar(x_310)) { x_323 = lean_alloc_ctor(0, 2, 0); } else { - x_323 = x_306; + x_323 = x_310; } -lean_ctor_set(x_323, 0, x_1); +lean_ctor_set(x_323, 0, x_23); lean_ctor_set(x_323, 1, x_322); -x_324 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_323, x_305, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_317); -return x_324; +lean_inc(x_1); +if (lean_is_scalar(x_307)) { + x_324 = lean_alloc_ctor(0, 2, 0); +} else { + x_324 = x_307; +} +lean_ctor_set(x_324, 0, x_1); +lean_ctor_set(x_324, 1, x_323); +x_325 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_324, x_306, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_318); +return x_325; } else { -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +lean_dec(x_310); lean_dec(x_309); lean_dec(x_308); lean_dec(x_307); lean_dec(x_306); -lean_dec(x_305); +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); -x_325 = lean_ctor_get(x_315, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_315, 1); +x_326 = lean_ctor_get(x_316, 0); lean_inc(x_326); -if (lean_is_exclusive(x_315)) { - lean_ctor_release(x_315, 0); - lean_ctor_release(x_315, 1); - x_327 = x_315; +x_327 = lean_ctor_get(x_316, 1); +lean_inc(x_327); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_328 = x_316; } else { - lean_dec_ref(x_315); - x_327 = lean_box(0); + lean_dec_ref(x_316); + x_328 = lean_box(0); } -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_328)) { + x_329 = lean_alloc_ctor(1, 2, 0); } else { - x_328 = x_327; + x_329 = x_328; } -lean_ctor_set(x_328, 0, x_325); -lean_ctor_set(x_328, 1, x_326); -return x_328; +lean_ctor_set(x_329, 0, x_326); +lean_ctor_set(x_329, 1, x_327); +return x_329; } } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -lean_dec(x_250); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_329 = lean_ctor_get(x_301, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_301, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_301)) { - lean_ctor_release(x_301, 0); - lean_ctor_release(x_301, 1); - x_331 = x_301; -} else { - lean_dec_ref(x_301); - x_331 = lean_box(0); -} -if (lean_is_scalar(x_331)) { - x_332 = lean_alloc_ctor(1, 2, 0); -} else { - x_332 = x_331; -} -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_330); -return x_332; -} -} -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -lean_dec(x_279); +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec(x_1); +x_330 = lean_ctor_get(x_302, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_302, 1); +lean_inc(x_331); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_332 = x_302; +} else { + lean_dec_ref(x_302); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(1, 2, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_330); +lean_ctor_set(x_333, 1, x_331); +return x_333; +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +lean_dec(x_280); +lean_dec(x_252); +lean_dec(x_251); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -if (lean_is_scalar(x_252)) { - x_333 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_253)) { + x_334 = lean_alloc_ctor(0, 2, 0); } else { - x_333 = x_252; + x_334 = x_253; } -lean_ctor_set(x_333, 0, x_22); -lean_ctor_set(x_333, 1, x_23); -x_334 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_334, 0, x_333); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_22); -lean_ctor_set(x_335, 1, x_23); +lean_ctor_set(x_334, 0, x_23); +lean_ctor_set(x_334, 1, x_24); +x_335 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_335, 0, x_334); x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -x_14 = x_336; -x_15 = x_4; -x_16 = x_13; -goto block_19; +lean_ctor_set(x_336, 0, x_23); +lean_ctor_set(x_336, 1, x_24); +x_337 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_337, 0, x_335); +lean_ctor_set(x_337, 1, x_336); +x_15 = x_337; +x_16 = x_4; +x_17 = x_14; +goto block_20; } } } } -block_19: +block_20: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); +lean_object* x_18; lean_object* x_19; x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } -block_31: +block_32: { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -lean_inc(x_1); -if (lean_is_scalar(x_21)) { +lean_object* x_29; lean_object* x_30; lean_object* x_31; +if (lean_is_scalar(x_25)) { x_29 = lean_alloc_ctor(0, 2, 0); } else { - x_29 = x_21; + x_29 = x_25; } -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_28); -x_30 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_29, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_27); -return x_30; +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_24); +lean_inc(x_1); +if (lean_is_scalar(x_22)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_22; +} +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_30, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_28); +return x_31; } } } @@ -56672,240 +65812,240 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_box(0); -x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___closed__2; -x_14 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(x_12, x_1, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___closed__2; +x_15 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(x_13, x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_16 = lean_ctor_get(x_15, 0); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 0); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 0); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 0); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_14, 0); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_15); -if (x_21 == 0) +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_15, 0); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_16); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_15, 1); -x_23 = lean_ctor_get(x_15, 0); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_16, 1); +x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_17, 0); -x_26 = lean_ctor_get(x_17, 1); -lean_ctor_set(x_15, 1, x_26); -lean_ctor_set(x_15, 0, x_25); -lean_ctor_set(x_17, 1, x_22); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_14, 0, x_17); -return x_14; +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_ctor_set(x_16, 1, x_27); +lean_ctor_set(x_16, 0, x_26); +lean_ctor_set(x_18, 1, x_23); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_15, 0, x_18); +return x_15; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_17, 0); -x_28 = lean_ctor_get(x_17, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_17); -lean_ctor_set(x_15, 1, x_28); -lean_ctor_set(x_15, 0, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_15); -lean_ctor_set(x_29, 1, x_22); -lean_ctor_set(x_14, 0, x_29); -return x_14; +lean_dec(x_18); +lean_ctor_set(x_16, 1, x_29); +lean_ctor_set(x_16, 0, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_16); +lean_ctor_set(x_30, 1, x_23); +lean_ctor_set(x_15, 0, x_30); +return x_15; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); -lean_dec(x_15); -x_31 = lean_ctor_get(x_17, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_31 = lean_ctor_get(x_16, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_17, 1); +lean_dec(x_16); +x_32 = lean_ctor_get(x_18, 0); lean_inc(x_32); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_33 = x_17; +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_34 = x_18; } else { - lean_dec_ref(x_17); - x_33 = lean_box(0); + lean_dec_ref(x_18); + x_34 = lean_box(0); } -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_32); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_33); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(0, 2, 0); } else { - x_35 = x_33; + x_36 = x_34; } -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_30); -lean_ctor_set(x_14, 0, x_35); -return x_14; +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_31); +lean_ctor_set(x_15, 0, x_36); +return x_15; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_36 = lean_ctor_get(x_14, 1); -lean_inc(x_36); -lean_dec(x_14); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_37 = lean_ctor_get(x_15, 1); lean_inc(x_37); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_38 = x_15; +lean_dec(x_15); +x_38 = lean_ctor_get(x_16, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_39 = x_16; } else { - lean_dec_ref(x_15); - x_38 = lean_box(0); + lean_dec_ref(x_16); + x_39 = lean_box(0); } -x_39 = lean_ctor_get(x_17, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_17, 1); +x_40 = lean_ctor_get(x_18, 0); lean_inc(x_40); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_41 = x_17; +x_41 = lean_ctor_get(x_18, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_42 = x_18; } else { - lean_dec_ref(x_17); - x_41 = lean_box(0); + lean_dec_ref(x_18); + x_42 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_42 = lean_alloc_ctor(0, 2, 0); -} else { - x_42 = x_38; -} -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_40); -if (lean_is_scalar(x_41)) { +if (lean_is_scalar(x_39)) { x_43 = lean_alloc_ctor(0, 2, 0); } else { - x_43 = x_41; + x_43 = x_39; +} +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_41); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_42; } -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_37); -x_44 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_36); -return x_44; +lean_ctor_set(x_44, 1, x_38); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_37); +return x_45; } } else { -uint8_t x_45; -lean_inc_ref(x_18); -lean_dec(x_17); -x_45 = !lean_is_exclusive(x_14); -if (x_45 == 0) +uint8_t x_46; +lean_inc_ref(x_19); +lean_dec(x_18); +x_46 = !lean_is_exclusive(x_15); +if (x_46 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_14, 0); -lean_dec(x_46); -x_47 = !lean_is_exclusive(x_15); -if (x_47 == 0) +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_15, 0); +lean_dec(x_47); +x_48 = !lean_is_exclusive(x_16); +if (x_48 == 0) { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_15, 0); -lean_dec(x_48); -x_49 = lean_ctor_get(x_18, 0); -lean_inc(x_49); -lean_dec_ref(x_18); -lean_ctor_set(x_15, 0, x_49); -return x_14; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_15, 1); +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_16, 0); +lean_dec(x_49); +x_50 = lean_ctor_get(x_19, 0); lean_inc(x_50); -lean_dec(x_15); -x_51 = lean_ctor_get(x_18, 0); +lean_dec_ref(x_19); +lean_ctor_set(x_16, 0, x_50); +return x_15; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_16, 1); lean_inc(x_51); -lean_dec_ref(x_18); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_14, 0, x_52); -return x_14; +lean_dec(x_16); +x_52 = lean_ctor_get(x_19, 0); +lean_inc(x_52); +lean_dec_ref(x_19); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +lean_ctor_set(x_15, 0, x_53); +return x_15; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_53 = lean_ctor_get(x_14, 1); -lean_inc(x_53); -lean_dec(x_14); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; x_54 = lean_ctor_get(x_15, 1); lean_inc(x_54); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_55 = x_15; +lean_dec(x_15); +x_55 = lean_ctor_get(x_16, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_56 = x_16; } else { - lean_dec_ref(x_15); - x_55 = lean_box(0); + lean_dec_ref(x_16); + x_56 = lean_box(0); } -x_56 = lean_ctor_get(x_18, 0); -lean_inc(x_56); -lean_dec_ref(x_18); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 2, 0); +x_57 = lean_ctor_get(x_19, 0); +lean_inc(x_57); +lean_dec_ref(x_19); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 2, 0); } else { - x_57 = x_55; + x_58 = x_56; } -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -x_58 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_53); -return x_58; +lean_ctor_set(x_58, 1, x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_54); +return x_59; } } } else { -uint8_t x_59; -x_59 = !lean_is_exclusive(x_14); -if (x_59 == 0) +uint8_t x_60; +x_60 = !lean_is_exclusive(x_15); +if (x_60 == 0) { -return x_14; +return x_15; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_14, 0); -x_61 = lean_ctor_get(x_14, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_15, 0); +x_62 = lean_ctor_get(x_15, 1); +lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_14); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +lean_dec(x_15); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } @@ -56920,187 +66060,114 @@ x_5 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at_____private_Lean return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_2); -return x_14; +return x_15; } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_2); -return x_14; +return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_12; +return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -return x_16; +return x_17; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_string_dec_eq(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg(x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_string_hash(x_2); -x_6 = 32; -x_7 = lean_uint64_shift_right(x_5, x_6); -x_8 = lean_uint64_xor(x_5, x_7); -x_9 = 16; -x_10 = lean_uint64_shift_right(x_8, x_9); -x_11 = lean_uint64_xor(x_8, x_10); -x_12 = lean_uint64_to_usize(x_11); -x_13 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_14 = 1; -x_15 = lean_usize_sub(x_13, x_14); -x_16 = lean_usize_land(x_12, x_15); -x_17 = lean_array_uget(x_3, x_16); -x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg(x_2, x_17); lean_dec(x_17); -return x_18; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_2, x_3); -return x_4; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; uint8_t x_12; lean_object* x_13; @@ -57110,12 +66177,12 @@ x_13 = l_Lean_logAt___at___Lean_logWarningAt___at_____private_Lean_Elab_DocStrin return x_13; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } static lean_object* _init_l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__0() { @@ -57206,4158 +66273,133 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { switch (lean_obj_tag(x_1)) { case 1: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_15, 0); -lean_ctor_set(x_1, 0, x_17); -lean_ctor_set(x_15, 0, x_1); -return x_15; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_15); -lean_ctor_set(x_1, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -uint8_t x_21; -lean_free_object(x_1); -x_21 = !lean_is_exclusive(x_15); -if (x_21 == 0) -{ -return x_15; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_1, 0); -lean_inc(x_25); -lean_dec(x_1); -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_26, x_27, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_29); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_36 = x_28; -} else { - lean_dec_ref(x_28); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -case 2: -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_1); -if (x_38 == 0) -{ -lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_1, 0); -x_40 = lean_array_size(x_39); -x_41 = 0; -x_42 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_40, x_41, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_ctor_set(x_1, 0, x_44); -lean_ctor_set(x_42, 0, x_1); -return x_42; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_42, 0); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_42); -lean_ctor_set(x_1, 0, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -else -{ -uint8_t x_48; -lean_free_object(x_1); -x_48 = !lean_is_exclusive(x_42); -if (x_48 == 0) -{ -return x_42; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_42, 0); -x_50 = lean_ctor_get(x_42, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_42); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -else -{ -lean_object* x_52; size_t x_53; size_t x_54; lean_object* x_55; -x_52 = lean_ctor_get(x_1, 0); -lean_inc(x_52); -lean_dec(x_1); -x_53 = lean_array_size(x_52); -x_54 = 0; -x_55 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_53, x_54, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_58 = x_55; -} else { - lean_dec_ref(x_55); - x_58 = lean_box(0); -} -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_56); -if (lean_is_scalar(x_58)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_58; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_57); -return x_60; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_55, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_55, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_63 = x_55; -} else { - lean_dec_ref(x_55); - x_63 = lean_box(0); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(1, 2, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -} -} -case 6: -{ -uint8_t x_65; -x_65 = !lean_is_exclusive(x_1); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; size_t x_68; size_t x_69; lean_object* x_70; -x_66 = lean_ctor_get(x_1, 0); -x_67 = lean_ctor_get(x_1, 1); -x_68 = lean_array_size(x_66); -x_69 = 0; -x_70 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_68, x_69, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_70) == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_ctor_set(x_1, 0, x_72); -lean_ctor_set(x_70, 0, x_1); -return x_70; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_70, 0); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_70); -lean_ctor_set(x_1, 0, x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_1); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -else -{ -uint8_t x_76; -lean_free_object(x_1); -lean_dec_ref(x_67); -x_76 = !lean_is_exclusive(x_70); -if (x_76 == 0) -{ -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_70, 0); -x_78 = lean_ctor_get(x_70, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_70); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; -x_80 = lean_ctor_get(x_1, 0); -x_81 = lean_ctor_get(x_1, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_1); -x_82 = lean_array_size(x_80); -x_83 = 0; -x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_82, x_83, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_87 = x_84; -} else { - lean_dec_ref(x_84); - x_87 = lean_box(0); -} -x_88 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_81); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_87; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec_ref(x_81); -x_90 = lean_ctor_get(x_84, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_84, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_92 = x_84; -} else { - lean_dec_ref(x_84); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -} -case 7: -{ -uint8_t x_94; -x_94 = !lean_is_exclusive(x_1); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; size_t x_97; size_t x_98; lean_object* x_99; -x_95 = lean_ctor_get(x_1, 0); -x_96 = lean_ctor_get(x_1, 1); -x_97 = lean_array_size(x_96); -x_98 = 0; -x_99 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_97, x_98, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_99) == 0) -{ -uint8_t x_100; -x_100 = !lean_is_exclusive(x_99); -if (x_100 == 0) -{ -lean_object* x_101; -x_101 = lean_ctor_get(x_99, 0); -lean_ctor_set(x_1, 1, x_101); -lean_ctor_set(x_99, 0, x_1); -return x_99; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_99, 0); -x_103 = lean_ctor_get(x_99, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_99); -lean_ctor_set(x_1, 1, x_102); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_1); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -else -{ -uint8_t x_105; -lean_free_object(x_1); -lean_dec_ref(x_95); -x_105 = !lean_is_exclusive(x_99); -if (x_105 == 0) -{ -return x_99; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_99, 0); -x_107 = lean_ctor_get(x_99, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_99); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; -} -} -} -else -{ -lean_object* x_109; lean_object* x_110; size_t x_111; size_t x_112; lean_object* x_113; -x_109 = lean_ctor_get(x_1, 0); -x_110 = lean_ctor_get(x_1, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_1); -x_111 = lean_array_size(x_110); -x_112 = 0; -x_113 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_111, x_112, x_110, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_116 = x_113; -} else { - lean_dec_ref(x_113); - x_116 = lean_box(0); -} -x_117 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_117, 0, x_109); -lean_ctor_set(x_117, 1, x_114); -if (lean_is_scalar(x_116)) { - x_118 = lean_alloc_ctor(0, 2, 0); -} else { - x_118 = x_116; -} -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_115); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec_ref(x_109); -x_119 = lean_ctor_get(x_113, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_113, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_121 = x_113; -} else { - lean_dec_ref(x_113); - x_121 = lean_box(0); -} -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); -} else { - x_122 = x_121; -} -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_120); -return x_122; -} -} -} -case 9: -{ -uint8_t x_123; -x_123 = !lean_is_exclusive(x_1); -if (x_123 == 0) -{ -lean_object* x_124; size_t x_125; size_t x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_1, 0); -x_125 = lean_array_size(x_124); -x_126 = 0; -x_127 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_125, x_126, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_127) == 0) -{ -uint8_t x_128; -x_128 = !lean_is_exclusive(x_127); -if (x_128 == 0) -{ -lean_object* x_129; -x_129 = lean_ctor_get(x_127, 0); -lean_ctor_set(x_1, 0, x_129); -lean_ctor_set(x_127, 0, x_1); -return x_127; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_127, 0); -x_131 = lean_ctor_get(x_127, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_127); -lean_ctor_set(x_1, 0, x_130); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_1); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -else -{ -uint8_t x_133; -lean_free_object(x_1); -x_133 = !lean_is_exclusive(x_127); -if (x_133 == 0) -{ -return x_127; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_127, 0); -x_135 = lean_ctor_get(x_127, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_127); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -return x_136; -} -} -} -else -{ -lean_object* x_137; size_t x_138; size_t x_139; lean_object* x_140; -x_137 = lean_ctor_get(x_1, 0); -lean_inc(x_137); -lean_dec(x_1); -x_138 = lean_array_size(x_137); -x_139 = 0; -x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_138, x_139, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_143 = x_140; -} else { - lean_dec_ref(x_140); - x_143 = lean_box(0); -} -x_144 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_144, 0, x_141); -if (lean_is_scalar(x_143)) { - x_145 = lean_alloc_ctor(0, 2, 0); -} else { - x_145 = x_143; -} -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_142); -return x_145; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_146 = lean_ctor_get(x_140, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_140, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_148 = x_140; -} else { - lean_dec_ref(x_140); - x_148 = lean_box(0); -} -if (lean_is_scalar(x_148)) { - x_149 = lean_alloc_ctor(1, 2, 0); -} else { - x_149 = x_148; -} -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_147); -return x_149; -} -} -} -case 10: -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_177; -x_150 = lean_ctor_get(x_1, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_151); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_152 = x_1; -} else { - lean_dec_ref(x_1); - x_152 = lean_box(0); -} -x_177 = lean_ctor_get(x_150, 0); -if (lean_obj_tag(x_177) == 1) -{ -lean_object* x_178; -x_178 = lean_ctor_get(x_177, 0); -if (lean_obj_tag(x_178) == 1) -{ -lean_object* x_179; -x_179 = lean_ctor_get(x_178, 0); -if (lean_obj_tag(x_179) == 1) -{ -lean_object* x_180; -x_180 = lean_ctor_get(x_179, 0); -if (lean_obj_tag(x_180) == 2) -{ -lean_object* x_181; -x_181 = lean_ctor_get(x_180, 0); -if (lean_obj_tag(x_181) == 1) -{ -lean_object* x_182; -x_182 = lean_ctor_get(x_181, 0); -if (lean_obj_tag(x_182) == 1) -{ -lean_object* x_183; -x_183 = lean_ctor_get(x_182, 0); -if (lean_obj_tag(x_183) == 1) -{ -lean_object* x_184; -x_184 = lean_ctor_get(x_183, 0); -if (lean_obj_tag(x_184) == 1) -{ -lean_object* x_185; -x_185 = lean_ctor_get(x_184, 0); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_186 = lean_ctor_get(x_150, 1); -x_187 = lean_ctor_get(x_177, 1); -x_188 = lean_ctor_get(x_178, 1); -x_189 = lean_ctor_get(x_179, 1); -x_190 = lean_ctor_get(x_180, 1); -x_191 = lean_ctor_get(x_181, 1); -x_192 = lean_ctor_get(x_182, 1); -x_193 = lean_ctor_get(x_183, 1); -x_194 = lean_ctor_get(x_184, 1); -x_195 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_196 = lean_string_dec_eq(x_194, x_195); -if (x_196 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_197; uint8_t x_198; -x_197 = l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_198 = lean_string_dec_eq(x_193, x_197); -if (x_198 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_199; uint8_t x_200; -x_199 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__3____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_200 = lean_string_dec_eq(x_192, x_199); -if (x_200 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_201; uint8_t x_202; -x_201 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__5____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_202 = lean_string_dec_eq(x_191, x_201); -if (x_202 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_203; uint8_t x_204; -x_203 = lean_unsigned_to_nat(0u); -x_204 = lean_nat_dec_eq(x_190, x_203); -if (x_204 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -uint8_t x_205; -x_205 = lean_string_dec_eq(x_189, x_197); -if (x_205 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_206; uint8_t x_207; -x_206 = l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_; -x_207 = lean_string_dec_eq(x_188, x_206); -if (x_207 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -lean_object* x_208; uint8_t x_209; -x_208 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink___closed__0; -x_209 = lean_string_dec_eq(x_187, x_208); -if (x_209 == 0) -{ -lean_object* x_210; uint8_t x_211; -x_210 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage___closed__0; -x_211 = lean_string_dec_eq(x_187, x_210); -if (x_211 == 0) -{ -lean_object* x_212; uint8_t x_213; -x_212 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0; -x_213 = lean_string_dec_eq(x_187, x_212); -if (x_213 == 0) -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -else -{ -uint8_t x_214; -lean_inc(x_186); -lean_inc_ref(x_177); -lean_dec(x_152); -lean_dec_ref(x_151); -x_214 = !lean_is_exclusive(x_150); -if (x_214 == 0) -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_215 = lean_ctor_get(x_150, 1); -lean_dec(x_215); -x_216 = lean_ctor_get(x_150, 0); -lean_dec(x_216); -x_217 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; -x_218 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_217); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_219 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_220 = l_Lean_MessageData_ofName(x_177); -lean_ctor_set_tag(x_150, 7); -lean_ctor_set(x_150, 1, x_220); -lean_ctor_set(x_150, 0, x_219); -x_221 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_222 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_222, 0, x_150); -lean_ctor_set(x_222, 1, x_221); -x_223 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_224 = l_Lean_MessageData_ofName(x_223); -x_225 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_224); -x_226 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_225, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_226; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_free_object(x_150); -lean_dec(x_186); -lean_dec_ref(x_177); -x_227 = lean_ctor_get(x_218, 0); -lean_inc(x_227); -lean_dec_ref(x_218); -x_228 = lean_st_ref_get(x_2, x_10); -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec_ref(x_228); -x_231 = lean_ctor_get(x_229, 0); -lean_inc_ref(x_231); -if (lean_is_exclusive(x_229)) { - lean_ctor_release(x_229, 0); - lean_ctor_release(x_229, 1); - x_232 = x_229; -} else { - lean_dec_ref(x_229); - x_232 = lean_box(0); -} -x_233 = l_Lean_TSyntax_getString(x_227); -x_234 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_231, x_233); -lean_dec_ref(x_231); -if (lean_obj_tag(x_234) == 0) -{ -lean_object* x_235; lean_object* x_236; -lean_dec_ref(x_233); -lean_dec(x_232); -x_235 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__4; -x_236 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_227, x_235, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_230); -lean_dec(x_227); -if (lean_obj_tag(x_236) == 0) -{ -uint8_t x_237; -x_237 = !lean_is_exclusive(x_236); -if (x_237 == 0) -{ -lean_object* x_238; lean_object* x_239; -x_238 = lean_ctor_get(x_236, 0); -lean_dec(x_238); -x_239 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -lean_ctor_set(x_236, 0, x_239); -return x_236; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_236, 1); -lean_inc(x_240); -lean_dec(x_236); -x_241 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -return x_242; -} -} -else -{ -uint8_t x_243; -x_243 = !lean_is_exclusive(x_236); -if (x_243 == 0) -{ -return x_236; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_236, 0); -x_245 = lean_ctor_get(x_236, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_236); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; -} -} -} -else -{ -lean_object* x_247; uint8_t x_248; -lean_dec(x_227); -x_247 = lean_ctor_get(x_234, 0); -lean_inc(x_247); -lean_dec_ref(x_234); -x_248 = !lean_is_exclusive(x_247); -if (x_248 == 0) -{ -lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_249 = lean_ctor_get(x_247, 0); -x_250 = lean_ctor_get(x_247, 1); -x_251 = lean_ctor_get_uint8(x_247, sizeof(void*)*2); -if (x_251 == 0) -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; -x_274 = lean_st_ref_take(x_2, x_230); -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec_ref(x_274); -x_277 = !lean_is_exclusive(x_275); -if (x_277 == 0) -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_278 = lean_ctor_get(x_275, 0); -lean_inc(x_249); -lean_ctor_set_uint8(x_247, sizeof(void*)*2, x_213); -lean_inc_ref(x_233); -x_279 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_278, x_233, x_247); -lean_ctor_set(x_275, 0, x_279); -x_280 = lean_st_ref_set(x_2, x_275, x_276); -x_281 = lean_ctor_get(x_280, 1); -lean_inc(x_281); -lean_dec_ref(x_280); -x_252 = x_2; -x_253 = x_3; -x_254 = x_4; -x_255 = x_5; -x_256 = x_6; -x_257 = x_7; -x_258 = x_8; -x_259 = x_9; -x_260 = x_281; -goto block_273; -} -else -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_282 = lean_ctor_get(x_275, 0); -x_283 = lean_ctor_get(x_275, 1); -lean_inc(x_283); -lean_inc(x_282); -lean_dec(x_275); -lean_inc(x_249); -lean_ctor_set_uint8(x_247, sizeof(void*)*2, x_213); -lean_inc_ref(x_233); -x_284 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_282, x_233, x_247); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_283); -x_286 = lean_st_ref_set(x_2, x_285, x_276); -x_287 = lean_ctor_get(x_286, 1); -lean_inc(x_287); -lean_dec_ref(x_286); -x_252 = x_2; -x_253 = x_3; -x_254 = x_4; -x_255 = x_5; -x_256 = x_6; -x_257 = x_7; -x_258 = x_8; -x_259 = x_9; -x_260 = x_287; -goto block_273; -} -} -else -{ -lean_free_object(x_247); -lean_dec(x_250); -x_252 = x_2; -x_253 = x_3; -x_254 = x_4; -x_255 = x_5; -x_256 = x_6; -x_257 = x_7; -x_258 = x_8; -x_259 = x_9; -x_260 = x_230; -goto block_273; -} -block_273: -{ -lean_object* x_261; -x_261 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_249, x_252, x_253, x_254, x_255, x_256, x_257, x_258, x_259, x_260); -if (lean_obj_tag(x_261) == 0) -{ -uint8_t x_262; -x_262 = !lean_is_exclusive(x_261); -if (x_262 == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_263 = lean_ctor_get(x_261, 0); -x_264 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; -x_265 = lean_array_push(x_264, x_263); -if (lean_is_scalar(x_232)) { - x_266 = lean_alloc_ctor(7, 2, 0); -} else { - x_266 = x_232; - lean_ctor_set_tag(x_266, 7); -} -lean_ctor_set(x_266, 0, x_233); -lean_ctor_set(x_266, 1, x_265); -lean_ctor_set(x_261, 0, x_266); -return x_261; -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_267 = lean_ctor_get(x_261, 0); -x_268 = lean_ctor_get(x_261, 1); -lean_inc(x_268); -lean_inc(x_267); -lean_dec(x_261); -x_269 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; -x_270 = lean_array_push(x_269, x_267); -if (lean_is_scalar(x_232)) { - x_271 = lean_alloc_ctor(7, 2, 0); -} else { - x_271 = x_232; - lean_ctor_set_tag(x_271, 7); -} -lean_ctor_set(x_271, 0, x_233); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_268); -return x_272; -} -} -else -{ -lean_dec_ref(x_233); -lean_dec(x_232); -return x_261; -} -} -} -else -{ -lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_288 = lean_ctor_get(x_247, 0); -x_289 = lean_ctor_get(x_247, 1); -x_290 = lean_ctor_get_uint8(x_247, sizeof(void*)*2); -lean_inc(x_289); -lean_inc(x_288); -lean_dec(x_247); -if (x_290 == 0) -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_309 = lean_st_ref_take(x_2, x_230); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec_ref(x_309); -x_312 = lean_ctor_get(x_310, 0); -lean_inc_ref(x_312); -x_313 = lean_ctor_get(x_310, 1); -lean_inc_ref(x_313); -if (lean_is_exclusive(x_310)) { - lean_ctor_release(x_310, 0); - lean_ctor_release(x_310, 1); - x_314 = x_310; -} else { - lean_dec_ref(x_310); - x_314 = lean_box(0); -} -lean_inc(x_288); -x_315 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_315, 0, x_288); -lean_ctor_set(x_315, 1, x_289); -lean_ctor_set_uint8(x_315, sizeof(void*)*2, x_213); -lean_inc_ref(x_233); -x_316 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_312, x_233, x_315); -if (lean_is_scalar(x_314)) { - x_317 = lean_alloc_ctor(0, 2, 0); -} else { - x_317 = x_314; -} -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_313); -x_318 = lean_st_ref_set(x_2, x_317, x_311); -x_319 = lean_ctor_get(x_318, 1); -lean_inc(x_319); -lean_dec_ref(x_318); -x_291 = x_2; -x_292 = x_3; -x_293 = x_4; -x_294 = x_5; -x_295 = x_6; -x_296 = x_7; -x_297 = x_8; -x_298 = x_9; -x_299 = x_319; -goto block_308; -} -else -{ -lean_dec(x_289); -x_291 = x_2; -x_292 = x_3; -x_293 = x_4; -x_294 = x_5; -x_295 = x_6; -x_296 = x_7; -x_297 = x_8; -x_298 = x_9; -x_299 = x_230; -goto block_308; -} -block_308: -{ -lean_object* x_300; -x_300 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_288, x_291, x_292, x_293, x_294, x_295, x_296, x_297, x_298, x_299); -if (lean_obj_tag(x_300) == 0) -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_300)) { - lean_ctor_release(x_300, 0); - lean_ctor_release(x_300, 1); - x_303 = x_300; -} else { - lean_dec_ref(x_300); - x_303 = lean_box(0); -} -x_304 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; -x_305 = lean_array_push(x_304, x_301); -if (lean_is_scalar(x_232)) { - x_306 = lean_alloc_ctor(7, 2, 0); -} else { - x_306 = x_232; - lean_ctor_set_tag(x_306, 7); -} -lean_ctor_set(x_306, 0, x_233); -lean_ctor_set(x_306, 1, x_305); -if (lean_is_scalar(x_303)) { - x_307 = lean_alloc_ctor(0, 2, 0); -} else { - x_307 = x_303; -} -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_302); -return x_307; -} -else -{ -lean_dec_ref(x_233); -lean_dec(x_232); -return x_300; -} -} -} -} -} -} -else -{ -lean_object* x_320; lean_object* x_321; -lean_dec(x_150); -x_320 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; -x_321 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_320); -if (lean_obj_tag(x_321) == 0) -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_322 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_323 = l_Lean_MessageData_ofName(x_177); -x_324 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_324, 0, x_322); -lean_ctor_set(x_324, 1, x_323); -x_325 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_326 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -x_327 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_328 = l_Lean_MessageData_ofName(x_327); -x_329 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_329, 0, x_326); -lean_ctor_set(x_329, 1, x_328); -x_330 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_329, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_330; -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -lean_dec(x_186); -lean_dec_ref(x_177); -x_331 = lean_ctor_get(x_321, 0); -lean_inc(x_331); -lean_dec_ref(x_321); -x_332 = lean_st_ref_get(x_2, x_10); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec_ref(x_332); -x_335 = lean_ctor_get(x_333, 0); -lean_inc_ref(x_335); -if (lean_is_exclusive(x_333)) { - lean_ctor_release(x_333, 0); - lean_ctor_release(x_333, 1); - x_336 = x_333; -} else { - lean_dec_ref(x_333); - x_336 = lean_box(0); -} -x_337 = l_Lean_TSyntax_getString(x_331); -x_338 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_335, x_337); -lean_dec_ref(x_335); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_339; lean_object* x_340; -lean_dec_ref(x_337); -lean_dec(x_336); -x_339 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__4; -x_340 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_331, x_339, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_334); -lean_dec(x_331); -if (lean_obj_tag(x_340) == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_341 = lean_ctor_get(x_340, 1); -lean_inc(x_341); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - lean_ctor_release(x_340, 1); - x_342 = x_340; -} else { - lean_dec_ref(x_340); - x_342 = lean_box(0); -} -x_343 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -if (lean_is_scalar(x_342)) { - x_344 = lean_alloc_ctor(0, 2, 0); -} else { - x_344 = x_342; -} -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_341); -return x_344; -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_345 = lean_ctor_get(x_340, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_340, 1); -lean_inc(x_346); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - lean_ctor_release(x_340, 1); - x_347 = x_340; -} else { - lean_dec_ref(x_340); - x_347 = lean_box(0); -} -if (lean_is_scalar(x_347)) { - x_348 = lean_alloc_ctor(1, 2, 0); -} else { - x_348 = x_347; -} -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_346); -return x_348; -} -} -else -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -lean_dec(x_331); -x_349 = lean_ctor_get(x_338, 0); -lean_inc(x_349); -lean_dec_ref(x_338); -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -x_352 = lean_ctor_get_uint8(x_349, sizeof(void*)*2); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - x_353 = x_349; -} else { - lean_dec_ref(x_349); - x_353 = lean_box(0); -} -if (x_352 == 0) -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_372 = lean_st_ref_take(x_2, x_334); -x_373 = lean_ctor_get(x_372, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -lean_dec_ref(x_372); -x_375 = lean_ctor_get(x_373, 0); -lean_inc_ref(x_375); -x_376 = lean_ctor_get(x_373, 1); -lean_inc_ref(x_376); -if (lean_is_exclusive(x_373)) { - lean_ctor_release(x_373, 0); - lean_ctor_release(x_373, 1); - x_377 = x_373; -} else { - lean_dec_ref(x_373); - x_377 = lean_box(0); -} -lean_inc(x_350); -if (lean_is_scalar(x_353)) { - x_378 = lean_alloc_ctor(0, 2, 1); -} else { - x_378 = x_353; -} -lean_ctor_set(x_378, 0, x_350); -lean_ctor_set(x_378, 1, x_351); -lean_ctor_set_uint8(x_378, sizeof(void*)*2, x_213); -lean_inc_ref(x_337); -x_379 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_375, x_337, x_378); -if (lean_is_scalar(x_377)) { - x_380 = lean_alloc_ctor(0, 2, 0); -} else { - x_380 = x_377; -} -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_376); -x_381 = lean_st_ref_set(x_2, x_380, x_374); -x_382 = lean_ctor_get(x_381, 1); -lean_inc(x_382); -lean_dec_ref(x_381); -x_354 = x_2; -x_355 = x_3; -x_356 = x_4; -x_357 = x_5; -x_358 = x_6; -x_359 = x_7; -x_360 = x_8; -x_361 = x_9; -x_362 = x_382; -goto block_371; -} -else -{ -lean_dec(x_353); -lean_dec(x_351); -x_354 = x_2; -x_355 = x_3; -x_356 = x_4; -x_357 = x_5; -x_358 = x_6; -x_359 = x_7; -x_360 = x_8; -x_361 = x_9; -x_362 = x_334; -goto block_371; -} -block_371: -{ -lean_object* x_363; -x_363 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_350, x_354, x_355, x_356, x_357, x_358, x_359, x_360, x_361, x_362); -if (lean_obj_tag(x_363) == 0) -{ -lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_364 = lean_ctor_get(x_363, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_363, 1); -lean_inc(x_365); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_366 = x_363; -} else { - lean_dec_ref(x_363); - x_366 = lean_box(0); -} -x_367 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; -x_368 = lean_array_push(x_367, x_364); -if (lean_is_scalar(x_336)) { - x_369 = lean_alloc_ctor(7, 2, 0); -} else { - x_369 = x_336; - lean_ctor_set_tag(x_369, 7); -} -lean_ctor_set(x_369, 0, x_337); -lean_ctor_set(x_369, 1, x_368); -if (lean_is_scalar(x_366)) { - x_370 = lean_alloc_ctor(0, 2, 0); -} else { - x_370 = x_366; -} -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_365); -return x_370; -} -else -{ -lean_dec_ref(x_337); -lean_dec(x_336); -return x_363; -} -} -} -} -} -} -} -else -{ -uint8_t x_383; -lean_inc(x_186); -lean_inc_ref(x_177); -lean_dec(x_152); -lean_dec_ref(x_151); -x_383 = !lean_is_exclusive(x_150); -if (x_383 == 0) -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_384 = lean_ctor_get(x_150, 1); -lean_dec(x_384); -x_385 = lean_ctor_get(x_150, 0); -lean_dec(x_385); -x_386 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; -x_387 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_386); -if (lean_obj_tag(x_387) == 0) -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -x_388 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_389 = l_Lean_MessageData_ofName(x_177); -lean_ctor_set_tag(x_150, 7); -lean_ctor_set(x_150, 1, x_389); -lean_ctor_set(x_150, 0, x_388); -x_390 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_391 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_391, 0, x_150); -lean_ctor_set(x_391, 1, x_390); -x_392 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_393 = l_Lean_MessageData_ofName(x_392); -x_394 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_394, 0, x_391); -lean_ctor_set(x_394, 1, x_393); -x_395 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_394, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_395; -} -else -{ -lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; -lean_free_object(x_150); -lean_dec(x_186); -lean_dec_ref(x_177); -x_396 = lean_ctor_get(x_387, 0); -lean_inc(x_396); -lean_dec_ref(x_387); -x_397 = lean_ctor_get(x_396, 0); -lean_inc_ref(x_397); -x_398 = lean_ctor_get(x_396, 1); -lean_inc(x_398); -lean_dec(x_396); -x_399 = lean_st_ref_get(x_2, x_10); -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); -lean_inc(x_401); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_402 = x_399; -} else { - lean_dec_ref(x_399); - x_402 = lean_box(0); -} -x_403 = lean_ctor_get(x_400, 1); -lean_inc_ref(x_403); -if (lean_is_exclusive(x_400)) { - lean_ctor_release(x_400, 0); - lean_ctor_release(x_400, 1); - x_404 = x_400; -} else { - lean_dec_ref(x_400); - x_404 = lean_box(0); -} -x_405 = l_Lean_TSyntax_getString(x_398); -x_406 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_403, x_405); -lean_dec_ref(x_403); -if (lean_obj_tag(x_406) == 0) -{ -lean_object* x_407; lean_object* x_408; -lean_dec_ref(x_405); -lean_dec(x_404); -lean_dec(x_402); -lean_dec_ref(x_397); -x_407 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; -x_408 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_398, x_407, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_401); -lean_dec(x_398); -if (lean_obj_tag(x_408) == 0) -{ -uint8_t x_409; -x_409 = !lean_is_exclusive(x_408); -if (x_409 == 0) -{ -lean_object* x_410; lean_object* x_411; -x_410 = lean_ctor_get(x_408, 0); -lean_dec(x_410); -x_411 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -lean_ctor_set(x_408, 0, x_411); -return x_408; -} -else -{ -lean_object* x_412; lean_object* x_413; lean_object* x_414; -x_412 = lean_ctor_get(x_408, 1); -lean_inc(x_412); -lean_dec(x_408); -x_413 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -x_414 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_414, 0, x_413); -lean_ctor_set(x_414, 1, x_412); -return x_414; -} -} -else -{ -uint8_t x_415; -x_415 = !lean_is_exclusive(x_408); -if (x_415 == 0) -{ -return x_408; -} -else -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_416 = lean_ctor_get(x_408, 0); -x_417 = lean_ctor_get(x_408, 1); -lean_inc(x_417); -lean_inc(x_416); -lean_dec(x_408); -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_416); -lean_ctor_set(x_418, 1, x_417); -return x_418; -} -} -} -else -{ -lean_object* x_419; uint8_t x_420; -lean_dec(x_398); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_419 = lean_ctor_get(x_406, 0); -lean_inc(x_419); -lean_dec_ref(x_406); -x_420 = !lean_is_exclusive(x_419); -if (x_420 == 0) -{ -lean_object* x_421; lean_object* x_422; uint8_t x_423; lean_object* x_424; -x_421 = lean_ctor_get(x_419, 0); -x_422 = lean_ctor_get(x_419, 1); -x_423 = lean_ctor_get_uint8(x_419, sizeof(void*)*2); -if (x_423 == 0) -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; -x_428 = lean_st_ref_take(x_2, x_401); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_428, 1); -lean_inc(x_430); -lean_dec_ref(x_428); -x_431 = !lean_is_exclusive(x_429); -if (x_431 == 0) -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_432 = lean_ctor_get(x_429, 1); -lean_inc(x_421); -lean_ctor_set_uint8(x_419, sizeof(void*)*2, x_211); -x_433 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_432, x_405, x_419); -lean_ctor_set(x_429, 1, x_433); -x_434 = lean_st_ref_set(x_2, x_429, x_430); -x_435 = lean_ctor_get(x_434, 1); -lean_inc(x_435); -lean_dec_ref(x_434); -x_424 = x_435; -goto block_427; -} -else -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; -x_436 = lean_ctor_get(x_429, 0); -x_437 = lean_ctor_get(x_429, 1); -lean_inc(x_437); -lean_inc(x_436); -lean_dec(x_429); -lean_inc(x_421); -lean_ctor_set_uint8(x_419, sizeof(void*)*2, x_211); -x_438 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_437, x_405, x_419); -x_439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_439, 0, x_436); -lean_ctor_set(x_439, 1, x_438); -x_440 = lean_st_ref_set(x_2, x_439, x_430); -x_441 = lean_ctor_get(x_440, 1); -lean_inc(x_441); -lean_dec_ref(x_440); -x_424 = x_441; -goto block_427; -} -} -else -{ -lean_free_object(x_419); -lean_dec(x_422); -lean_dec_ref(x_405); -x_424 = x_401; -goto block_427; -} -block_427: -{ -lean_object* x_425; lean_object* x_426; -if (lean_is_scalar(x_404)) { - x_425 = lean_alloc_ctor(8, 2, 0); -} else { - x_425 = x_404; - lean_ctor_set_tag(x_425, 8); -} -lean_ctor_set(x_425, 0, x_397); -lean_ctor_set(x_425, 1, x_421); -if (lean_is_scalar(x_402)) { - x_426 = lean_alloc_ctor(0, 2, 0); -} else { - x_426 = x_402; -} -lean_ctor_set(x_426, 0, x_425); -lean_ctor_set(x_426, 1, x_424); -return x_426; -} -} -else -{ -lean_object* x_442; lean_object* x_443; uint8_t x_444; lean_object* x_445; -x_442 = lean_ctor_get(x_419, 0); -x_443 = lean_ctor_get(x_419, 1); -x_444 = lean_ctor_get_uint8(x_419, sizeof(void*)*2); -lean_inc(x_443); -lean_inc(x_442); -lean_dec(x_419); -if (x_444 == 0) -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_449 = lean_st_ref_take(x_2, x_401); -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec_ref(x_449); -x_452 = lean_ctor_get(x_450, 0); -lean_inc_ref(x_452); -x_453 = lean_ctor_get(x_450, 1); -lean_inc_ref(x_453); -if (lean_is_exclusive(x_450)) { - lean_ctor_release(x_450, 0); - lean_ctor_release(x_450, 1); - x_454 = x_450; -} else { - lean_dec_ref(x_450); - x_454 = lean_box(0); -} -lean_inc(x_442); -x_455 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_455, 0, x_442); -lean_ctor_set(x_455, 1, x_443); -lean_ctor_set_uint8(x_455, sizeof(void*)*2, x_211); -x_456 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_453, x_405, x_455); -if (lean_is_scalar(x_454)) { - x_457 = lean_alloc_ctor(0, 2, 0); -} else { - x_457 = x_454; -} -lean_ctor_set(x_457, 0, x_452); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_st_ref_set(x_2, x_457, x_451); -x_459 = lean_ctor_get(x_458, 1); -lean_inc(x_459); -lean_dec_ref(x_458); -x_445 = x_459; -goto block_448; -} -else -{ -lean_dec(x_443); -lean_dec_ref(x_405); -x_445 = x_401; -goto block_448; -} -block_448: -{ -lean_object* x_446; lean_object* x_447; -if (lean_is_scalar(x_404)) { - x_446 = lean_alloc_ctor(8, 2, 0); -} else { - x_446 = x_404; - lean_ctor_set_tag(x_446, 8); -} -lean_ctor_set(x_446, 0, x_397); -lean_ctor_set(x_446, 1, x_442); -if (lean_is_scalar(x_402)) { - x_447 = lean_alloc_ctor(0, 2, 0); -} else { - x_447 = x_402; -} -lean_ctor_set(x_447, 0, x_446); -lean_ctor_set(x_447, 1, x_445); -return x_447; -} -} -} -} -} -else -{ -lean_object* x_460; lean_object* x_461; -lean_dec(x_150); -x_460 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; -x_461 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_460); -if (lean_obj_tag(x_461) == 0) -{ -lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_462 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_463 = l_Lean_MessageData_ofName(x_177); -x_464 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_464, 0, x_462); -lean_ctor_set(x_464, 1, x_463); -x_465 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_466 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_466, 0, x_464); -lean_ctor_set(x_466, 1, x_465); -x_467 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_468 = l_Lean_MessageData_ofName(x_467); -x_469 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_469, 0, x_466); -lean_ctor_set(x_469, 1, x_468); -x_470 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_469, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_470; -} -else -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -lean_dec(x_186); -lean_dec_ref(x_177); -x_471 = lean_ctor_get(x_461, 0); -lean_inc(x_471); -lean_dec_ref(x_461); -x_472 = lean_ctor_get(x_471, 0); -lean_inc_ref(x_472); -x_473 = lean_ctor_get(x_471, 1); -lean_inc(x_473); -lean_dec(x_471); -x_474 = lean_st_ref_get(x_2, x_10); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -if (lean_is_exclusive(x_474)) { - lean_ctor_release(x_474, 0); - lean_ctor_release(x_474, 1); - x_477 = x_474; -} else { - lean_dec_ref(x_474); - x_477 = lean_box(0); -} -x_478 = lean_ctor_get(x_475, 1); -lean_inc_ref(x_478); -if (lean_is_exclusive(x_475)) { - lean_ctor_release(x_475, 0); - lean_ctor_release(x_475, 1); - x_479 = x_475; -} else { - lean_dec_ref(x_475); - x_479 = lean_box(0); -} -x_480 = l_Lean_TSyntax_getString(x_473); -x_481 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_478, x_480); -lean_dec_ref(x_478); -if (lean_obj_tag(x_481) == 0) -{ -lean_object* x_482; lean_object* x_483; -lean_dec_ref(x_480); -lean_dec(x_479); -lean_dec(x_477); -lean_dec_ref(x_472); -x_482 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; -x_483 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_473, x_482, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_476); -lean_dec(x_473); -if (lean_obj_tag(x_483) == 0) -{ -lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; -x_484 = lean_ctor_get(x_483, 1); -lean_inc(x_484); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - x_485 = x_483; -} else { - lean_dec_ref(x_483); - x_485 = lean_box(0); -} -x_486 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; -if (lean_is_scalar(x_485)) { - x_487 = lean_alloc_ctor(0, 2, 0); -} else { - x_487 = x_485; -} -lean_ctor_set(x_487, 0, x_486); -lean_ctor_set(x_487, 1, x_484); -return x_487; -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; -x_488 = lean_ctor_get(x_483, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_483, 1); -lean_inc(x_489); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - x_490 = x_483; -} else { - lean_dec_ref(x_483); - x_490 = lean_box(0); -} -if (lean_is_scalar(x_490)) { - x_491 = lean_alloc_ctor(1, 2, 0); -} else { - x_491 = x_490; -} -lean_ctor_set(x_491, 0, x_488); -lean_ctor_set(x_491, 1, x_489); -return x_491; -} -} -else -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; lean_object* x_497; -lean_dec(x_473); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_492 = lean_ctor_get(x_481, 0); -lean_inc(x_492); -lean_dec_ref(x_481); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -x_495 = lean_ctor_get_uint8(x_492, sizeof(void*)*2); -if (lean_is_exclusive(x_492)) { - lean_ctor_release(x_492, 0); - lean_ctor_release(x_492, 1); - x_496 = x_492; -} else { - lean_dec_ref(x_492); - x_496 = lean_box(0); -} -if (x_495 == 0) -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; -x_501 = lean_st_ref_take(x_2, x_476); -x_502 = lean_ctor_get(x_501, 0); -lean_inc(x_502); -x_503 = lean_ctor_get(x_501, 1); -lean_inc(x_503); -lean_dec_ref(x_501); -x_504 = lean_ctor_get(x_502, 0); -lean_inc_ref(x_504); -x_505 = lean_ctor_get(x_502, 1); -lean_inc_ref(x_505); -if (lean_is_exclusive(x_502)) { - lean_ctor_release(x_502, 0); - lean_ctor_release(x_502, 1); - x_506 = x_502; -} else { - lean_dec_ref(x_502); - x_506 = lean_box(0); -} -lean_inc(x_493); -if (lean_is_scalar(x_496)) { - x_507 = lean_alloc_ctor(0, 2, 1); -} else { - x_507 = x_496; -} -lean_ctor_set(x_507, 0, x_493); -lean_ctor_set(x_507, 1, x_494); -lean_ctor_set_uint8(x_507, sizeof(void*)*2, x_211); -x_508 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_505, x_480, x_507); -if (lean_is_scalar(x_506)) { - x_509 = lean_alloc_ctor(0, 2, 0); -} else { - x_509 = x_506; -} -lean_ctor_set(x_509, 0, x_504); -lean_ctor_set(x_509, 1, x_508); -x_510 = lean_st_ref_set(x_2, x_509, x_503); -x_511 = lean_ctor_get(x_510, 1); -lean_inc(x_511); -lean_dec_ref(x_510); -x_497 = x_511; -goto block_500; -} -else -{ -lean_dec(x_496); -lean_dec(x_494); -lean_dec_ref(x_480); -x_497 = x_476; -goto block_500; -} -block_500: -{ -lean_object* x_498; lean_object* x_499; -if (lean_is_scalar(x_479)) { - x_498 = lean_alloc_ctor(8, 2, 0); -} else { - x_498 = x_479; - lean_ctor_set_tag(x_498, 8); -} -lean_ctor_set(x_498, 0, x_472); -lean_ctor_set(x_498, 1, x_493); -if (lean_is_scalar(x_477)) { - x_499 = lean_alloc_ctor(0, 2, 0); -} else { - x_499 = x_477; -} -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_497); -return x_499; -} -} -} -} -} -} -else -{ -uint8_t x_512; -lean_inc(x_186); -lean_inc_ref(x_177); -lean_dec(x_152); -x_512 = !lean_is_exclusive(x_150); -if (x_512 == 0) -{ -lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_513 = lean_ctor_get(x_150, 1); -lean_dec(x_513); -x_514 = lean_ctor_get(x_150, 0); -lean_dec(x_514); -x_515 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_516 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_515); -if (lean_obj_tag(x_516) == 0) -{ -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -lean_dec_ref(x_151); -x_517 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_518 = l_Lean_MessageData_ofName(x_177); -lean_ctor_set_tag(x_150, 7); -lean_ctor_set(x_150, 1, x_518); -lean_ctor_set(x_150, 0, x_517); -x_519 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_520 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_520, 0, x_150); -lean_ctor_set(x_520, 1, x_519); -x_521 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_522 = l_Lean_MessageData_ofName(x_521); -x_523 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_523, 0, x_520); -lean_ctor_set(x_523, 1, x_522); -x_524 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_523, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_524; -} -else -{ -uint8_t x_525; -lean_free_object(x_150); -lean_dec(x_186); -lean_dec_ref(x_177); -x_525 = !lean_is_exclusive(x_516); -if (x_525 == 0) -{ -lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; -x_526 = lean_ctor_get(x_516, 0); -x_527 = lean_st_ref_get(x_2, x_10); -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_527, 1); -lean_inc(x_529); -lean_dec_ref(x_527); -x_530 = lean_ctor_get(x_528, 1); -lean_inc_ref(x_530); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - lean_ctor_release(x_528, 1); - x_531 = x_528; -} else { - lean_dec_ref(x_528); - x_531 = lean_box(0); -} -x_532 = l_Lean_TSyntax_getString(x_526); -x_533 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_530, x_532); -lean_dec_ref(x_530); -if (lean_obj_tag(x_533) == 0) -{ -lean_object* x_534; lean_object* x_535; -lean_dec_ref(x_532); -lean_dec(x_531); -x_534 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_535 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_526, x_534, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_529); -lean_dec(x_526); -if (lean_obj_tag(x_535) == 0) -{ -lean_object* x_536; size_t x_537; size_t x_538; lean_object* x_539; -x_536 = lean_ctor_get(x_535, 1); -lean_inc(x_536); -lean_dec_ref(x_535); -x_537 = lean_array_size(x_151); -x_538 = 0; -x_539 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_537, x_538, x_151, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_536); -if (lean_obj_tag(x_539) == 0) -{ -uint8_t x_540; -x_540 = !lean_is_exclusive(x_539); -if (x_540 == 0) -{ -lean_object* x_541; -x_541 = lean_ctor_get(x_539, 0); -lean_ctor_set_tag(x_516, 9); -lean_ctor_set(x_516, 0, x_541); -lean_ctor_set(x_539, 0, x_516); -return x_539; -} -else -{ -lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_542 = lean_ctor_get(x_539, 0); -x_543 = lean_ctor_get(x_539, 1); -lean_inc(x_543); -lean_inc(x_542); -lean_dec(x_539); -lean_ctor_set_tag(x_516, 9); -lean_ctor_set(x_516, 0, x_542); -x_544 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_544, 0, x_516); -lean_ctor_set(x_544, 1, x_543); -return x_544; -} -} -else -{ -uint8_t x_545; -lean_free_object(x_516); -x_545 = !lean_is_exclusive(x_539); -if (x_545 == 0) -{ -return x_539; -} -else -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_546 = lean_ctor_get(x_539, 0); -x_547 = lean_ctor_get(x_539, 1); -lean_inc(x_547); -lean_inc(x_546); -lean_dec(x_539); -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_546); -lean_ctor_set(x_548, 1, x_547); -return x_548; -} -} -} -else -{ -uint8_t x_549; -lean_free_object(x_516); -lean_dec_ref(x_151); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_549 = !lean_is_exclusive(x_535); -if (x_549 == 0) -{ -return x_535; -} -else -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_550 = lean_ctor_get(x_535, 0); -x_551 = lean_ctor_get(x_535, 1); -lean_inc(x_551); -lean_inc(x_550); -lean_dec(x_535); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_550); -lean_ctor_set(x_552, 1, x_551); -return x_552; -} -} -} -else -{ -lean_object* x_553; uint8_t x_554; -lean_free_object(x_516); -lean_dec(x_526); -x_553 = lean_ctor_get(x_533, 0); -lean_inc(x_553); -lean_dec_ref(x_533); -x_554 = !lean_is_exclusive(x_553); -if (x_554 == 0) -{ -lean_object* x_555; lean_object* x_556; uint8_t x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; -x_555 = lean_ctor_get(x_553, 0); -x_556 = lean_ctor_get(x_553, 1); -x_557 = lean_ctor_get_uint8(x_553, sizeof(void*)*2); -if (x_557 == 0) -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; uint8_t x_585; -x_582 = lean_st_ref_take(x_2, x_529); -x_583 = lean_ctor_get(x_582, 0); -lean_inc(x_583); -x_584 = lean_ctor_get(x_582, 1); -lean_inc(x_584); -lean_dec_ref(x_582); -x_585 = !lean_is_exclusive(x_583); -if (x_585 == 0) -{ -lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_586 = lean_ctor_get(x_583, 1); -lean_inc(x_555); -lean_ctor_set_uint8(x_553, sizeof(void*)*2, x_209); -x_587 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_586, x_532, x_553); -lean_ctor_set(x_583, 1, x_587); -x_588 = lean_st_ref_set(x_2, x_583, x_584); -x_589 = lean_ctor_get(x_588, 1); -lean_inc(x_589); -lean_dec_ref(x_588); -x_558 = x_2; -x_559 = x_3; -x_560 = x_4; -x_561 = x_5; -x_562 = x_6; -x_563 = x_7; -x_564 = x_8; -x_565 = x_9; -x_566 = x_589; -goto block_581; -} -else -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -x_590 = lean_ctor_get(x_583, 0); -x_591 = lean_ctor_get(x_583, 1); -lean_inc(x_591); -lean_inc(x_590); -lean_dec(x_583); -lean_inc(x_555); -lean_ctor_set_uint8(x_553, sizeof(void*)*2, x_209); -x_592 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_591, x_532, x_553); -x_593 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_593, 0, x_590); -lean_ctor_set(x_593, 1, x_592); -x_594 = lean_st_ref_set(x_2, x_593, x_584); -x_595 = lean_ctor_get(x_594, 1); -lean_inc(x_595); -lean_dec_ref(x_594); -x_558 = x_2; -x_559 = x_3; -x_560 = x_4; -x_561 = x_5; -x_562 = x_6; -x_563 = x_7; -x_564 = x_8; -x_565 = x_9; -x_566 = x_595; -goto block_581; -} -} -else -{ -lean_free_object(x_553); -lean_dec(x_556); -lean_dec_ref(x_532); -x_558 = x_2; -x_559 = x_3; -x_560 = x_4; -x_561 = x_5; -x_562 = x_6; -x_563 = x_7; -x_564 = x_8; -x_565 = x_9; -x_566 = x_529; -goto block_581; -} -block_581: -{ -size_t x_567; size_t x_568; lean_object* x_569; -x_567 = lean_array_size(x_151); -x_568 = 0; -x_569 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_567, x_568, x_151, x_558, x_559, x_560, x_561, x_562, x_563, x_564, x_565, x_566); -if (lean_obj_tag(x_569) == 0) -{ -uint8_t x_570; -x_570 = !lean_is_exclusive(x_569); -if (x_570 == 0) -{ -lean_object* x_571; lean_object* x_572; -x_571 = lean_ctor_get(x_569, 0); -if (lean_is_scalar(x_531)) { - x_572 = lean_alloc_ctor(6, 2, 0); -} else { - x_572 = x_531; - lean_ctor_set_tag(x_572, 6); -} -lean_ctor_set(x_572, 0, x_571); -lean_ctor_set(x_572, 1, x_555); -lean_ctor_set(x_569, 0, x_572); -return x_569; -} -else -{ -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; -x_573 = lean_ctor_get(x_569, 0); -x_574 = lean_ctor_get(x_569, 1); -lean_inc(x_574); -lean_inc(x_573); -lean_dec(x_569); -if (lean_is_scalar(x_531)) { - x_575 = lean_alloc_ctor(6, 2, 0); -} else { - x_575 = x_531; - lean_ctor_set_tag(x_575, 6); -} -lean_ctor_set(x_575, 0, x_573); -lean_ctor_set(x_575, 1, x_555); -x_576 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_576, 0, x_575); -lean_ctor_set(x_576, 1, x_574); -return x_576; -} -} -else -{ -uint8_t x_577; -lean_dec(x_555); -lean_dec(x_531); -x_577 = !lean_is_exclusive(x_569); -if (x_577 == 0) -{ -return x_569; -} -else -{ -lean_object* x_578; lean_object* x_579; lean_object* x_580; -x_578 = lean_ctor_get(x_569, 0); -x_579 = lean_ctor_get(x_569, 1); -lean_inc(x_579); -lean_inc(x_578); -lean_dec(x_569); -x_580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_580, 0, x_578); -lean_ctor_set(x_580, 1, x_579); -return x_580; -} -} -} -} -else -{ -lean_object* x_596; lean_object* x_597; uint8_t x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; -x_596 = lean_ctor_get(x_553, 0); -x_597 = lean_ctor_get(x_553, 1); -x_598 = lean_ctor_get_uint8(x_553, sizeof(void*)*2); -lean_inc(x_597); -lean_inc(x_596); -lean_dec(x_553); -if (x_598 == 0) -{ -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; -x_621 = lean_st_ref_take(x_2, x_529); -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -lean_dec_ref(x_621); -x_624 = lean_ctor_get(x_622, 0); -lean_inc_ref(x_624); -x_625 = lean_ctor_get(x_622, 1); -lean_inc_ref(x_625); -if (lean_is_exclusive(x_622)) { - lean_ctor_release(x_622, 0); - lean_ctor_release(x_622, 1); - x_626 = x_622; -} else { - lean_dec_ref(x_622); - x_626 = lean_box(0); -} -lean_inc(x_596); -x_627 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_627, 0, x_596); -lean_ctor_set(x_627, 1, x_597); -lean_ctor_set_uint8(x_627, sizeof(void*)*2, x_209); -x_628 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_625, x_532, x_627); -if (lean_is_scalar(x_626)) { - x_629 = lean_alloc_ctor(0, 2, 0); -} else { - x_629 = x_626; -} -lean_ctor_set(x_629, 0, x_624); -lean_ctor_set(x_629, 1, x_628); -x_630 = lean_st_ref_set(x_2, x_629, x_623); -x_631 = lean_ctor_get(x_630, 1); -lean_inc(x_631); -lean_dec_ref(x_630); -x_599 = x_2; -x_600 = x_3; -x_601 = x_4; -x_602 = x_5; -x_603 = x_6; -x_604 = x_7; -x_605 = x_8; -x_606 = x_9; -x_607 = x_631; -goto block_620; -} -else -{ -lean_dec(x_597); -lean_dec_ref(x_532); -x_599 = x_2; -x_600 = x_3; -x_601 = x_4; -x_602 = x_5; -x_603 = x_6; -x_604 = x_7; -x_605 = x_8; -x_606 = x_9; -x_607 = x_529; -goto block_620; -} -block_620: -{ -size_t x_608; size_t x_609; lean_object* x_610; -x_608 = lean_array_size(x_151); -x_609 = 0; -x_610 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_608, x_609, x_151, x_599, x_600, x_601, x_602, x_603, x_604, x_605, x_606, x_607); -if (lean_obj_tag(x_610) == 0) -{ -lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; -x_611 = lean_ctor_get(x_610, 0); -lean_inc(x_611); -x_612 = lean_ctor_get(x_610, 1); -lean_inc(x_612); -if (lean_is_exclusive(x_610)) { - lean_ctor_release(x_610, 0); - lean_ctor_release(x_610, 1); - x_613 = x_610; -} else { - lean_dec_ref(x_610); - x_613 = lean_box(0); -} -if (lean_is_scalar(x_531)) { - x_614 = lean_alloc_ctor(6, 2, 0); -} else { - x_614 = x_531; - lean_ctor_set_tag(x_614, 6); -} -lean_ctor_set(x_614, 0, x_611); -lean_ctor_set(x_614, 1, x_596); -if (lean_is_scalar(x_613)) { - x_615 = lean_alloc_ctor(0, 2, 0); -} else { - x_615 = x_613; -} -lean_ctor_set(x_615, 0, x_614); -lean_ctor_set(x_615, 1, x_612); -return x_615; -} -else -{ -lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; -lean_dec(x_596); -lean_dec(x_531); -x_616 = lean_ctor_get(x_610, 0); -lean_inc(x_616); -x_617 = lean_ctor_get(x_610, 1); -lean_inc(x_617); -if (lean_is_exclusive(x_610)) { - lean_ctor_release(x_610, 0); - lean_ctor_release(x_610, 1); - x_618 = x_610; -} else { - lean_dec_ref(x_610); - x_618 = lean_box(0); -} -if (lean_is_scalar(x_618)) { - x_619 = lean_alloc_ctor(1, 2, 0); -} else { - x_619 = x_618; -} -lean_ctor_set(x_619, 0, x_616); -lean_ctor_set(x_619, 1, x_617); -return x_619; -} -} -} -} -} -else -{ -lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_632 = lean_ctor_get(x_516, 0); -lean_inc(x_632); -lean_dec(x_516); -x_633 = lean_st_ref_get(x_2, x_10); -x_634 = lean_ctor_get(x_633, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_633, 1); -lean_inc(x_635); -lean_dec_ref(x_633); -x_636 = lean_ctor_get(x_634, 1); -lean_inc_ref(x_636); -if (lean_is_exclusive(x_634)) { - lean_ctor_release(x_634, 0); - lean_ctor_release(x_634, 1); - x_637 = x_634; -} else { - lean_dec_ref(x_634); - x_637 = lean_box(0); -} -x_638 = l_Lean_TSyntax_getString(x_632); -x_639 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_636, x_638); -lean_dec_ref(x_636); -if (lean_obj_tag(x_639) == 0) -{ -lean_object* x_640; lean_object* x_641; -lean_dec_ref(x_638); -lean_dec(x_637); -x_640 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_641 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_632, x_640, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_635); -lean_dec(x_632); -if (lean_obj_tag(x_641) == 0) -{ -lean_object* x_642; size_t x_643; size_t x_644; lean_object* x_645; -x_642 = lean_ctor_get(x_641, 1); -lean_inc(x_642); -lean_dec_ref(x_641); -x_643 = lean_array_size(x_151); -x_644 = 0; -x_645 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_643, x_644, x_151, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_642); -if (lean_obj_tag(x_645) == 0) -{ -lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; -x_646 = lean_ctor_get(x_645, 0); -lean_inc(x_646); -x_647 = lean_ctor_get(x_645, 1); -lean_inc(x_647); -if (lean_is_exclusive(x_645)) { - lean_ctor_release(x_645, 0); - lean_ctor_release(x_645, 1); - x_648 = x_645; -} else { - lean_dec_ref(x_645); - x_648 = lean_box(0); -} -x_649 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_649, 0, x_646); -if (lean_is_scalar(x_648)) { - x_650 = lean_alloc_ctor(0, 2, 0); -} else { - x_650 = x_648; -} -lean_ctor_set(x_650, 0, x_649); -lean_ctor_set(x_650, 1, x_647); -return x_650; -} -else -{ -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -x_651 = lean_ctor_get(x_645, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_645, 1); -lean_inc(x_652); -if (lean_is_exclusive(x_645)) { - lean_ctor_release(x_645, 0); - lean_ctor_release(x_645, 1); - x_653 = x_645; -} else { - lean_dec_ref(x_645); - x_653 = lean_box(0); -} -if (lean_is_scalar(x_653)) { - x_654 = lean_alloc_ctor(1, 2, 0); -} else { - x_654 = x_653; -} -lean_ctor_set(x_654, 0, x_651); -lean_ctor_set(x_654, 1, x_652); -return x_654; -} -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; -lean_dec_ref(x_151); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_655 = lean_ctor_get(x_641, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_641, 1); -lean_inc(x_656); -if (lean_is_exclusive(x_641)) { - lean_ctor_release(x_641, 0); - lean_ctor_release(x_641, 1); - x_657 = x_641; -} else { - lean_dec_ref(x_641); - x_657 = lean_box(0); -} -if (lean_is_scalar(x_657)) { - x_658 = lean_alloc_ctor(1, 2, 0); -} else { - x_658 = x_657; -} -lean_ctor_set(x_658, 0, x_655); -lean_ctor_set(x_658, 1, x_656); -return x_658; -} -} -else -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; uint8_t x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -lean_dec(x_632); -x_659 = lean_ctor_get(x_639, 0); -lean_inc(x_659); -lean_dec_ref(x_639); -x_660 = lean_ctor_get(x_659, 0); -lean_inc(x_660); -x_661 = lean_ctor_get(x_659, 1); -lean_inc(x_661); -x_662 = lean_ctor_get_uint8(x_659, sizeof(void*)*2); -if (lean_is_exclusive(x_659)) { - lean_ctor_release(x_659, 0); - lean_ctor_release(x_659, 1); - x_663 = x_659; -} else { - lean_dec_ref(x_659); - x_663 = lean_box(0); -} -if (x_662 == 0) -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; -x_686 = lean_st_ref_take(x_2, x_635); -x_687 = lean_ctor_get(x_686, 0); -lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); -lean_inc(x_688); -lean_dec_ref(x_686); -x_689 = lean_ctor_get(x_687, 0); -lean_inc_ref(x_689); -x_690 = lean_ctor_get(x_687, 1); -lean_inc_ref(x_690); -if (lean_is_exclusive(x_687)) { - lean_ctor_release(x_687, 0); - lean_ctor_release(x_687, 1); - x_691 = x_687; -} else { - lean_dec_ref(x_687); - x_691 = lean_box(0); -} -lean_inc(x_660); -if (lean_is_scalar(x_663)) { - x_692 = lean_alloc_ctor(0, 2, 1); -} else { - x_692 = x_663; -} -lean_ctor_set(x_692, 0, x_660); -lean_ctor_set(x_692, 1, x_661); -lean_ctor_set_uint8(x_692, sizeof(void*)*2, x_209); -x_693 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_690, x_638, x_692); -if (lean_is_scalar(x_691)) { - x_694 = lean_alloc_ctor(0, 2, 0); -} else { - x_694 = x_691; -} -lean_ctor_set(x_694, 0, x_689); -lean_ctor_set(x_694, 1, x_693); -x_695 = lean_st_ref_set(x_2, x_694, x_688); -x_696 = lean_ctor_get(x_695, 1); -lean_inc(x_696); -lean_dec_ref(x_695); -x_664 = x_2; -x_665 = x_3; -x_666 = x_4; -x_667 = x_5; -x_668 = x_6; -x_669 = x_7; -x_670 = x_8; -x_671 = x_9; -x_672 = x_696; -goto block_685; -} -else -{ -lean_dec(x_663); -lean_dec(x_661); -lean_dec_ref(x_638); -x_664 = x_2; -x_665 = x_3; -x_666 = x_4; -x_667 = x_5; -x_668 = x_6; -x_669 = x_7; -x_670 = x_8; -x_671 = x_9; -x_672 = x_635; -goto block_685; -} -block_685: -{ -size_t x_673; size_t x_674; lean_object* x_675; -x_673 = lean_array_size(x_151); -x_674 = 0; -x_675 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_673, x_674, x_151, x_664, x_665, x_666, x_667, x_668, x_669, x_670, x_671, x_672); -if (lean_obj_tag(x_675) == 0) -{ -lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; -x_676 = lean_ctor_get(x_675, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_675, 1); -lean_inc(x_677); -if (lean_is_exclusive(x_675)) { - lean_ctor_release(x_675, 0); - lean_ctor_release(x_675, 1); - x_678 = x_675; -} else { - lean_dec_ref(x_675); - x_678 = lean_box(0); -} -if (lean_is_scalar(x_637)) { - x_679 = lean_alloc_ctor(6, 2, 0); -} else { - x_679 = x_637; - lean_ctor_set_tag(x_679, 6); -} -lean_ctor_set(x_679, 0, x_676); -lean_ctor_set(x_679, 1, x_660); -if (lean_is_scalar(x_678)) { - x_680 = lean_alloc_ctor(0, 2, 0); -} else { - x_680 = x_678; -} -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_677); -return x_680; -} -else -{ -lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; -lean_dec(x_660); -lean_dec(x_637); -x_681 = lean_ctor_get(x_675, 0); -lean_inc(x_681); -x_682 = lean_ctor_get(x_675, 1); -lean_inc(x_682); -if (lean_is_exclusive(x_675)) { - lean_ctor_release(x_675, 0); - lean_ctor_release(x_675, 1); - x_683 = x_675; -} else { - lean_dec_ref(x_675); - x_683 = lean_box(0); -} -if (lean_is_scalar(x_683)) { - x_684 = lean_alloc_ctor(1, 2, 0); -} else { - x_684 = x_683; -} -lean_ctor_set(x_684, 0, x_681); -lean_ctor_set(x_684, 1, x_682); -return x_684; -} -} -} -} -} -} -else -{ -lean_object* x_697; lean_object* x_698; -lean_dec(x_150); -x_697 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; -x_698 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_186, x_697); -if (lean_obj_tag(x_698) == 0) -{ -lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; -lean_dec_ref(x_151); -x_699 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; -x_700 = l_Lean_MessageData_ofName(x_177); -x_701 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_701, 0, x_699); -lean_ctor_set(x_701, 1, x_700); -x_702 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; -x_703 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_703, 0, x_701); -lean_ctor_set(x_703, 1, x_702); -x_704 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_186); -lean_dec(x_186); -x_705 = l_Lean_MessageData_ofName(x_704); -x_706 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_706, 0, x_703); -lean_ctor_set(x_706, 1, x_705); -x_707 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_706, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_707; -} -else -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -lean_dec(x_186); -lean_dec_ref(x_177); -x_708 = lean_ctor_get(x_698, 0); -lean_inc(x_708); -if (lean_is_exclusive(x_698)) { - lean_ctor_release(x_698, 0); - x_709 = x_698; -} else { - lean_dec_ref(x_698); - x_709 = lean_box(0); -} -x_710 = lean_st_ref_get(x_2, x_10); -x_711 = lean_ctor_get(x_710, 0); -lean_inc(x_711); -x_712 = lean_ctor_get(x_710, 1); -lean_inc(x_712); -lean_dec_ref(x_710); -x_713 = lean_ctor_get(x_711, 1); -lean_inc_ref(x_713); -if (lean_is_exclusive(x_711)) { - lean_ctor_release(x_711, 0); - lean_ctor_release(x_711, 1); - x_714 = x_711; -} else { - lean_dec_ref(x_711); - x_714 = lean_box(0); -} -x_715 = l_Lean_TSyntax_getString(x_708); -x_716 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_713, x_715); -lean_dec_ref(x_713); -if (lean_obj_tag(x_716) == 0) -{ -lean_object* x_717; lean_object* x_718; -lean_dec_ref(x_715); -lean_dec(x_714); -x_717 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_718 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_708, x_717, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_712); -lean_dec(x_708); -if (lean_obj_tag(x_718) == 0) -{ -lean_object* x_719; size_t x_720; size_t x_721; lean_object* x_722; -x_719 = lean_ctor_get(x_718, 1); -lean_inc(x_719); -lean_dec_ref(x_718); -x_720 = lean_array_size(x_151); -x_721 = 0; -x_722 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_720, x_721, x_151, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_719); -if (lean_obj_tag(x_722) == 0) -{ -lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_722, 1); -lean_inc(x_724); -if (lean_is_exclusive(x_722)) { - lean_ctor_release(x_722, 0); - lean_ctor_release(x_722, 1); - x_725 = x_722; -} else { - lean_dec_ref(x_722); - x_725 = lean_box(0); -} -if (lean_is_scalar(x_709)) { - x_726 = lean_alloc_ctor(9, 1, 0); -} else { - x_726 = x_709; - lean_ctor_set_tag(x_726, 9); -} -lean_ctor_set(x_726, 0, x_723); -if (lean_is_scalar(x_725)) { - x_727 = lean_alloc_ctor(0, 2, 0); -} else { - x_727 = x_725; -} -lean_ctor_set(x_727, 0, x_726); -lean_ctor_set(x_727, 1, x_724); -return x_727; -} -else -{ -lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; -lean_dec(x_709); -x_728 = lean_ctor_get(x_722, 0); -lean_inc(x_728); -x_729 = lean_ctor_get(x_722, 1); -lean_inc(x_729); -if (lean_is_exclusive(x_722)) { - lean_ctor_release(x_722, 0); - lean_ctor_release(x_722, 1); - x_730 = x_722; -} else { - lean_dec_ref(x_722); - x_730 = lean_box(0); -} -if (lean_is_scalar(x_730)) { - x_731 = lean_alloc_ctor(1, 2, 0); -} else { - x_731 = x_730; -} -lean_ctor_set(x_731, 0, x_728); -lean_ctor_set(x_731, 1, x_729); -return x_731; -} -} -else -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; -lean_dec(x_709); -lean_dec_ref(x_151); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_732 = lean_ctor_get(x_718, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_718, 1); -lean_inc(x_733); -if (lean_is_exclusive(x_718)) { - lean_ctor_release(x_718, 0); - lean_ctor_release(x_718, 1); - x_734 = x_718; -} else { - lean_dec_ref(x_718); - x_734 = lean_box(0); -} -if (lean_is_scalar(x_734)) { - x_735 = lean_alloc_ctor(1, 2, 0); -} else { - x_735 = x_734; -} -lean_ctor_set(x_735, 0, x_732); -lean_ctor_set(x_735, 1, x_733); -return x_735; -} -} -else -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; uint8_t x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; -lean_dec(x_709); -lean_dec(x_708); -x_736 = lean_ctor_get(x_716, 0); -lean_inc(x_736); -lean_dec_ref(x_716); -x_737 = lean_ctor_get(x_736, 0); -lean_inc(x_737); -x_738 = lean_ctor_get(x_736, 1); -lean_inc(x_738); -x_739 = lean_ctor_get_uint8(x_736, sizeof(void*)*2); -if (lean_is_exclusive(x_736)) { - lean_ctor_release(x_736, 0); - lean_ctor_release(x_736, 1); - x_740 = x_736; -} else { - lean_dec_ref(x_736); - x_740 = lean_box(0); -} -if (x_739 == 0) -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_763 = lean_st_ref_take(x_2, x_712); -x_764 = lean_ctor_get(x_763, 0); -lean_inc(x_764); -x_765 = lean_ctor_get(x_763, 1); -lean_inc(x_765); -lean_dec_ref(x_763); -x_766 = lean_ctor_get(x_764, 0); -lean_inc_ref(x_766); -x_767 = lean_ctor_get(x_764, 1); -lean_inc_ref(x_767); -if (lean_is_exclusive(x_764)) { - lean_ctor_release(x_764, 0); - lean_ctor_release(x_764, 1); - x_768 = x_764; -} else { - lean_dec_ref(x_764); - x_768 = lean_box(0); -} -lean_inc(x_737); -if (lean_is_scalar(x_740)) { - x_769 = lean_alloc_ctor(0, 2, 1); -} else { - x_769 = x_740; -} -lean_ctor_set(x_769, 0, x_737); -lean_ctor_set(x_769, 1, x_738); -lean_ctor_set_uint8(x_769, sizeof(void*)*2, x_209); -x_770 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Doc_elabBlock_spec__10___redArg(x_767, x_715, x_769); -if (lean_is_scalar(x_768)) { - x_771 = lean_alloc_ctor(0, 2, 0); -} else { - x_771 = x_768; -} -lean_ctor_set(x_771, 0, x_766); -lean_ctor_set(x_771, 1, x_770); -x_772 = lean_st_ref_set(x_2, x_771, x_765); -x_773 = lean_ctor_get(x_772, 1); -lean_inc(x_773); -lean_dec_ref(x_772); -x_741 = x_2; -x_742 = x_3; -x_743 = x_4; -x_744 = x_5; -x_745 = x_6; -x_746 = x_7; -x_747 = x_8; -x_748 = x_9; -x_749 = x_773; -goto block_762; -} -else -{ -lean_dec(x_740); -lean_dec(x_738); -lean_dec_ref(x_715); -x_741 = x_2; -x_742 = x_3; -x_743 = x_4; -x_744 = x_5; -x_745 = x_6; -x_746 = x_7; -x_747 = x_8; -x_748 = x_9; -x_749 = x_712; -goto block_762; -} -block_762: -{ -size_t x_750; size_t x_751; lean_object* x_752; -x_750 = lean_array_size(x_151); -x_751 = 0; -x_752 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_750, x_751, x_151, x_741, x_742, x_743, x_744, x_745, x_746, x_747, x_748, x_749); -if (lean_obj_tag(x_752) == 0) -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -if (lean_is_exclusive(x_752)) { - lean_ctor_release(x_752, 0); - lean_ctor_release(x_752, 1); - x_755 = x_752; -} else { - lean_dec_ref(x_752); - x_755 = lean_box(0); -} -if (lean_is_scalar(x_714)) { - x_756 = lean_alloc_ctor(6, 2, 0); -} else { - x_756 = x_714; - lean_ctor_set_tag(x_756, 6); -} -lean_ctor_set(x_756, 0, x_753); -lean_ctor_set(x_756, 1, x_737); -if (lean_is_scalar(x_755)) { - x_757 = lean_alloc_ctor(0, 2, 0); -} else { - x_757 = x_755; -} -lean_ctor_set(x_757, 0, x_756); -lean_ctor_set(x_757, 1, x_754); -return x_757; -} -else -{ -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -lean_dec(x_737); -lean_dec(x_714); -x_758 = lean_ctor_get(x_752, 0); -lean_inc(x_758); -x_759 = lean_ctor_get(x_752, 1); -lean_inc(x_759); -if (lean_is_exclusive(x_752)) { - lean_ctor_release(x_752, 0); - lean_ctor_release(x_752, 1); - x_760 = x_752; -} else { - lean_dec_ref(x_752); - x_760 = lean_box(0); -} -if (lean_is_scalar(x_760)) { - x_761 = lean_alloc_ctor(1, 2, 0); -} else { - x_761 = x_760; -} -lean_ctor_set(x_761, 0, x_758); -lean_ctor_set(x_761, 1, x_759); -return x_761; -} -} -} -} -} -} -} -} -} -} -} -} -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -} -else -{ -x_153 = x_2; -x_154 = x_3; -x_155 = x_4; -x_156 = x_5; -x_157 = x_6; -x_158 = x_7; -x_159 = x_8; -x_160 = x_9; -x_161 = x_10; -goto block_176; -} -block_176: -{ -size_t x_162; size_t x_163; lean_object* x_164; -x_162 = lean_array_size(x_151); -x_163 = 0; -x_164 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_162, x_163, x_151, x_153, x_154, x_155, x_156, x_157, x_158, x_159, x_160, x_161); -if (lean_obj_tag(x_164) == 0) -{ -uint8_t x_165; -x_165 = !lean_is_exclusive(x_164); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_164, 0); -if (lean_is_scalar(x_152)) { - x_167 = lean_alloc_ctor(10, 2, 0); -} else { - x_167 = x_152; -} -lean_ctor_set(x_167, 0, x_150); -lean_ctor_set(x_167, 1, x_166); -lean_ctor_set(x_164, 0, x_167); -return x_164; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_168 = lean_ctor_get(x_164, 0); -x_169 = lean_ctor_get(x_164, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_164); -if (lean_is_scalar(x_152)) { - x_170 = lean_alloc_ctor(10, 2, 0); -} else { - x_170 = x_152; -} -lean_ctor_set(x_170, 0, x_150); -lean_ctor_set(x_170, 1, x_168); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -} -else -{ -uint8_t x_172; -lean_dec(x_152); -lean_dec(x_150); -x_172 = !lean_is_exclusive(x_164); -if (x_172 == 0) -{ -return x_164; -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_164, 0); -x_174 = lean_ctor_get(x_164, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_164); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; -} -} -} -} -default: -{ -lean_object* x_774; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_774 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_774, 0, x_1); -lean_ctor_set(x_774, 1, x_10); -return x_774; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___redArg(x_1, x_2); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1_spec__1(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_1, x_2); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(x_1, x_2, x_3); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +uint8_t x_12; +x_12 = !lean_is_exclusive(x_1); +if (x_12 == 0) +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_array_size(x_13); +x_15 = 0; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_14, x_15, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; -goto _start; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set(x_16, 0, x_1); +return x_16; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_16); +lean_ctor_set(x_1, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_free_object(x_1); +x_22 = !lean_is_exclusive(x_16); +if (x_22 == 0) { return x_16; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_array_size(x_15); -x_17 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_3, x_2, x_21); -x_23 = 1; -x_24 = lean_usize_add(x_2, x_23); -x_25 = lean_array_uset(x_22, x_2, x_19); -x_2 = x_24; -x_3 = x_25; -x_12 = x_20; -goto _start; -} -else -{ -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_18; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_array_size(x_15); -x_17 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_3, x_2, x_21); -x_23 = 1; -x_24 = lean_usize_add(x_2, x_23); -x_25 = lean_array_uset(x_22, x_2, x_19); -x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(x_1, x_24, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -return x_26; -} -else -{ -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_18; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_array_uget(x_3, x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_array_size(x_17); -x_20 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_19, x_20, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_array_size(x_18); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_25 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_24, x_20, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_array_uset(x_3, x_2, x_28); -lean_ctor_set(x_15, 1, x_26); -lean_ctor_set(x_15, 0, x_22); -x_30 = 1; -x_31 = lean_usize_add(x_2, x_30); -x_32 = lean_array_uset(x_29, x_2, x_15); -x_2 = x_31; -x_3 = x_32; -x_12 = x_27; -goto _start; -} -else -{ -lean_dec(x_22); -lean_free_object(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); return x_25; } } -else -{ -lean_free_object(x_15); -lean_dec_ref(x_18); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_21; -} } else { -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_15, 0); -x_35 = lean_ctor_get(x_15, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_15); -x_36 = lean_array_size(x_34); -x_37 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_36, x_37, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; size_t x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec_ref(x_38); -x_41 = lean_array_size(x_35); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_42 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_41, x_37, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_array_uset(x_3, x_2, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_39); -lean_ctor_set(x_47, 1, x_43); -x_48 = 1; -x_49 = lean_usize_add(x_2, x_48); -x_50 = lean_array_uset(x_46, x_2, x_47); -x_2 = x_49; -x_3 = x_50; -x_12 = x_44; -goto _start; -} -else -{ -lean_dec(x_39); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_42; -} -} -else -{ -lean_dec_ref(x_35); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_38; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_array_uget(x_3, x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_array_size(x_17); -x_20 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_19, x_20, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_array_size(x_18); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_25 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_24, x_20, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_1, 0); lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_array_uset(x_3, x_2, x_28); -lean_ctor_set(x_15, 1, x_26); -lean_ctor_set(x_15, 0, x_22); -x_30 = 1; -x_31 = lean_usize_add(x_2, x_30); -x_32 = lean_array_uset(x_29, x_2, x_15); -x_33 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_1, x_31, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -return x_33; -} -else -{ -lean_dec(x_22); -lean_free_object(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_25; -} -} -else -{ -lean_free_object(x_15); -lean_dec_ref(x_18); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_21; -} -} -else -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_15, 0); -x_35 = lean_ctor_get(x_15, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_15); -x_36 = lean_array_size(x_34); -x_37 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_36, x_37, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; size_t x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec_ref(x_38); -x_41 = lean_array_size(x_35); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_42 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_41, x_37, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; lean_object* x_51; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec_ref(x_42); -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_array_uset(x_3, x_2, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_39); -lean_ctor_set(x_47, 1, x_43); -x_48 = 1; -x_49 = lean_usize_add(x_2, x_48); -x_50 = lean_array_uset(x_46, x_2, x_47); -x_51 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_1, x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); -return x_51; -} -else -{ -lean_dec(x_39); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_42; -} -} -else -{ -lean_dec_ref(x_35); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -return x_38; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_array_size(x_12); -x_14 = 0; -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_13, x_14, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_15, 0); -lean_ctor_set(x_1, 0, x_17); -lean_ctor_set(x_15, 0, x_1); -return x_15; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_15); -lean_ctor_set(x_1, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -uint8_t x_21; -lean_free_object(x_1); -x_21 = !lean_is_exclusive(x_15); -if (x_21 == 0) -{ -return x_15; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_1, 0); -lean_inc(x_25); lean_dec(x_1); -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_26, x_27, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_28) == 0) +x_27 = lean_array_size(x_26); +x_28 = 0; +x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_27, x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; } else { - lean_dec_ref(x_28); - x_31 = lean_box(0); + lean_dec_ref(x_29); + x_32 = lean_box(0); } -x_32 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_32, 0, x_29); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_30); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_33 = x_31; + x_34 = x_32; } -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_28, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_29, 0); lean_inc(x_35); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_36 = x_28; +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_37 = x_29; } else { - lean_dec_ref(x_28); - x_36 = lean_box(0); + lean_dec_ref(x_29); + x_37 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_37 = x_36; + x_38 = x_37; } -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -case 1: -{ -lean_object* x_38; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_1); -lean_ctor_set(x_38, 1, x_10); +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); return x_38; } +} +} case 2: { uint8_t x_39; @@ -61368,7 +66410,7 @@ lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; x_40 = lean_ctor_get(x_1, 0); x_41 = lean_array_size(x_40); x_42 = 0; -x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_41, x_42, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_41, x_42, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_43) == 0) { uint8_t x_44; @@ -61428,7 +66470,7 @@ lean_inc(x_53); lean_dec(x_1); x_54 = lean_array_size(x_53); x_55 = 0; -x_56 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_54, x_55, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_56 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_54, x_55, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_56) == 0) { lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; @@ -61481,7 +66523,7 @@ return x_65; } } } -case 3: +case 6: { uint8_t x_66; x_66 = !lean_is_exclusive(x_1); @@ -61490,9 +66532,9 @@ if (x_66 == 0) lean_object* x_67; lean_object* x_68; size_t x_69; size_t x_70; lean_object* x_71; x_67 = lean_ctor_get(x_1, 0); x_68 = lean_ctor_get(x_1, 1); -x_69 = lean_array_size(x_68); +x_69 = lean_array_size(x_67); x_70 = 0; -x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_69, x_70, x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_69, x_70, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_71) == 0) { uint8_t x_72; @@ -61501,7 +66543,7 @@ if (x_72 == 0) { lean_object* x_73; x_73 = lean_ctor_get(x_71, 0); -lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_73); lean_ctor_set(x_71, 0, x_1); return x_71; } @@ -61513,7 +66555,7 @@ x_75 = lean_ctor_get(x_71, 1); lean_inc(x_75); lean_inc(x_74); lean_dec(x_71); -lean_ctor_set(x_1, 1, x_74); +lean_ctor_set(x_1, 0, x_74); x_76 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_76, 0, x_1); lean_ctor_set(x_76, 1, x_75); @@ -61524,7 +66566,7 @@ else { uint8_t x_77; lean_free_object(x_1); -lean_dec(x_67); +lean_dec_ref(x_68); x_77 = !lean_is_exclusive(x_71); if (x_77 == 0) { @@ -61553,9 +66595,9 @@ x_82 = lean_ctor_get(x_1, 1); lean_inc(x_82); lean_inc(x_81); lean_dec(x_1); -x_83 = lean_array_size(x_82); +x_83 = lean_array_size(x_81); x_84 = 0; -x_85 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_83, x_84, x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_85 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_83, x_84, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; @@ -61571,9 +66613,9 @@ if (lean_is_exclusive(x_85)) { lean_dec_ref(x_85); x_88 = lean_box(0); } -x_89 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_89, 0, x_81); -lean_ctor_set(x_89, 1, x_86); +x_89 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_82); if (lean_is_scalar(x_88)) { x_90 = lean_alloc_ctor(0, 2, 0); } else { @@ -61586,7 +66628,7 @@ return x_90; else { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_81); +lean_dec_ref(x_82); x_91 = lean_ctor_get(x_85, 0); lean_inc(x_91); x_92 = lean_ctor_get(x_85, 1); @@ -61610,1122 +66652,3133 @@ return x_94; } } } -case 4: +case 7: { uint8_t x_95; x_95 = !lean_is_exclusive(x_1); if (x_95 == 0) { -lean_object* x_96; size_t x_97; size_t x_98; lean_object* x_99; +lean_object* x_96; lean_object* x_97; size_t x_98; size_t x_99; lean_object* x_100; x_96 = lean_ctor_get(x_1, 0); -x_97 = lean_array_size(x_96); -x_98 = 0; -x_99 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_97, x_98, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_99) == 0) +x_97 = lean_ctor_get(x_1, 1); +x_98 = lean_array_size(x_97); +x_99 = 0; +x_100 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_98, x_99, x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_100) == 0) { -uint8_t x_100; -x_100 = !lean_is_exclusive(x_99); -if (x_100 == 0) +uint8_t x_101; +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) { -lean_object* x_101; -x_101 = lean_ctor_get(x_99, 0); -lean_ctor_set(x_1, 0, x_101); -lean_ctor_set(x_99, 0, x_1); -return x_99; +lean_object* x_102; +x_102 = lean_ctor_get(x_100, 0); +lean_ctor_set(x_1, 1, x_102); +lean_ctor_set(x_100, 0, x_1); +return x_100; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_99, 0); -x_103 = lean_ctor_get(x_99, 1); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_100, 0); +x_104 = lean_ctor_get(x_100, 1); +lean_inc(x_104); lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_99); -lean_ctor_set(x_1, 0, x_102); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_1); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_dec(x_100); +lean_ctor_set(x_1, 1, x_103); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_1); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } else { -uint8_t x_105; +uint8_t x_106; lean_free_object(x_1); -x_105 = !lean_is_exclusive(x_99); -if (x_105 == 0) +lean_dec_ref(x_96); +x_106 = !lean_is_exclusive(x_100); +if (x_106 == 0) { -return x_99; +return x_100; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_99, 0); -x_107 = lean_ctor_get(x_99, 1); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_100, 0); +x_108 = lean_ctor_get(x_100, 1); +lean_inc(x_108); lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_99); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +lean_dec(x_100); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } else { -lean_object* x_109; size_t x_110; size_t x_111; lean_object* x_112; -x_109 = lean_ctor_get(x_1, 0); -lean_inc(x_109); +lean_object* x_110; lean_object* x_111; size_t x_112; size_t x_113; lean_object* x_114; +x_110 = lean_ctor_get(x_1, 0); +x_111 = lean_ctor_get(x_1, 1); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_1); -x_110 = lean_array_size(x_109); -x_111 = 0; -x_112 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_110, x_111, x_109, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_112) == 0) +x_112 = lean_array_size(x_111); +x_113 = 0; +x_114 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_112, x_113, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_115 = x_112; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_117 = x_114; } else { - lean_dec_ref(x_112); - x_115 = lean_box(0); + lean_dec_ref(x_114); + x_117 = lean_box(0); } -x_116 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_116, 0, x_113); -if (lean_is_scalar(x_115)) { - x_117 = lean_alloc_ctor(0, 2, 0); +x_118 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_118, 0, x_110); +lean_ctor_set(x_118, 1, x_115); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); } else { - x_117 = x_115; + x_119 = x_117; } -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_114); -return x_117; +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_118 = lean_ctor_get(x_112, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_112, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_120 = x_112; +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec_ref(x_110); +x_120 = lean_ctor_get(x_114, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_114, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_122 = x_114; } else { - lean_dec_ref(x_112); - x_120 = lean_box(0); + lean_dec_ref(x_114); + x_122 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); } else { - x_121 = x_120; + x_123 = x_122; } -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -return x_121; +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; } } } -case 5: +case 9: { -uint8_t x_122; -x_122 = !lean_is_exclusive(x_1); -if (x_122 == 0) +uint8_t x_124; +x_124 = !lean_is_exclusive(x_1); +if (x_124 == 0) { -lean_object* x_123; size_t x_124; size_t x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_1, 0); -x_124 = lean_array_size(x_123); -x_125 = 0; -x_126 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_124, x_125, x_123, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_126) == 0) +lean_object* x_125; size_t x_126; size_t x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_1, 0); +x_126 = lean_array_size(x_125); +x_127 = 0; +x_128 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_126, x_127, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_128) == 0) { -uint8_t x_127; -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) +uint8_t x_129; +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) { -lean_object* x_128; -x_128 = lean_ctor_get(x_126, 0); -lean_ctor_set(x_1, 0, x_128); -lean_ctor_set(x_126, 0, x_1); -return x_126; +lean_object* x_130; +x_130 = lean_ctor_get(x_128, 0); +lean_ctor_set(x_1, 0, x_130); +lean_ctor_set(x_128, 0, x_1); +return x_128; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_126, 0); -x_130 = lean_ctor_get(x_126, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_126); -lean_ctor_set(x_1, 0, x_129); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_1); -lean_ctor_set(x_131, 1, x_130); -return x_131; +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_128, 0); +x_132 = lean_ctor_get(x_128, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_128); +lean_ctor_set(x_1, 0, x_131); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_1); +lean_ctor_set(x_133, 1, x_132); +return x_133; } } else { -uint8_t x_132; +uint8_t x_134; lean_free_object(x_1); -x_132 = !lean_is_exclusive(x_126); -if (x_132 == 0) +x_134 = !lean_is_exclusive(x_128); +if (x_134 == 0) { -return x_126; +return x_128; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_126, 0); -x_134 = lean_ctor_get(x_126, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_126); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; -} -} -} -else -{ -lean_object* x_136; size_t x_137; size_t x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_1, 0); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_128, 0); +x_136 = lean_ctor_get(x_128, 1); lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_128); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} +} +} +else +{ +lean_object* x_138; size_t x_139; size_t x_140; lean_object* x_141; +x_138 = lean_ctor_get(x_1, 0); +lean_inc(x_138); lean_dec(x_1); -x_137 = lean_array_size(x_136); -x_138 = 0; -x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_137, x_138, x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_139) == 0) +x_139 = lean_array_size(x_138); +x_140 = 0; +x_141 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_139, x_140, x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_142 = x_139; +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_144 = x_141; } else { - lean_dec_ref(x_139); - x_142 = lean_box(0); + lean_dec_ref(x_141); + x_144 = lean_box(0); } -x_143 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_143, 0, x_140); -if (lean_is_scalar(x_142)) { - x_144 = lean_alloc_ctor(0, 2, 0); +x_145 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_145, 0, x_142); +if (lean_is_scalar(x_144)) { + x_146 = lean_alloc_ctor(0, 2, 0); } else { - x_144 = x_142; + x_146 = x_144; } -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_141); -return x_144; +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_143); +return x_146; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_145 = lean_ctor_get(x_139, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_139, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_147 = x_139; +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_141, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_141, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_149 = x_141; } else { - lean_dec_ref(x_139); - x_147 = lean_box(0); + lean_dec_ref(x_141); + x_149 = lean_box(0); } -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(1, 2, 0); } else { - x_148 = x_147; + x_150 = x_149; } -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -return x_148; +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_148); +return x_150; } } } -case 6: +case 10: { -uint8_t x_149; -x_149 = !lean_is_exclusive(x_1); -if (x_149 == 0) +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_179; +x_151 = lean_ctor_get(x_1, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_152); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_153 = x_1; +} else { + lean_dec_ref(x_1); + x_153 = lean_box(0); +} +x_179 = lean_ctor_get(x_151, 0); +if (lean_obj_tag(x_179) == 1) { -lean_object* x_150; size_t x_151; size_t x_152; lean_object* x_153; -x_150 = lean_ctor_get(x_1, 0); -x_151 = lean_array_size(x_150); -x_152 = 0; -x_153 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_151, x_152, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_153) == 0) +lean_object* x_180; +x_180 = lean_ctor_get(x_179, 0); +if (lean_obj_tag(x_180) == 1) { -uint8_t x_154; -x_154 = !lean_is_exclusive(x_153); -if (x_154 == 0) +lean_object* x_181; +x_181 = lean_ctor_get(x_180, 0); +if (lean_obj_tag(x_181) == 1) { -lean_object* x_155; -x_155 = lean_ctor_get(x_153, 0); -lean_ctor_set(x_1, 0, x_155); -lean_ctor_set(x_153, 0, x_1); -return x_153; +lean_object* x_182; +x_182 = lean_ctor_get(x_181, 0); +if (lean_obj_tag(x_182) == 2) +{ +lean_object* x_183; +x_183 = lean_ctor_get(x_182, 0); +if (lean_obj_tag(x_183) == 1) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_183, 0); +if (lean_obj_tag(x_184) == 1) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_184, 0); +if (lean_obj_tag(x_185) == 1) +{ +lean_object* x_186; +x_186 = lean_ctor_get(x_185, 0); +if (lean_obj_tag(x_186) == 1) +{ +lean_object* x_187; +x_187 = lean_ctor_get(x_186, 0); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_188 = lean_ctor_get(x_151, 1); +x_189 = lean_ctor_get(x_179, 1); +x_190 = lean_ctor_get(x_180, 1); +x_191 = lean_ctor_get(x_181, 1); +x_192 = lean_ctor_get(x_182, 1); +x_193 = lean_ctor_get(x_183, 1); +x_194 = lean_ctor_get(x_184, 1); +x_195 = lean_ctor_get(x_185, 1); +x_196 = lean_ctor_get(x_186, 1); +x_197 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_198 = lean_string_dec_eq(x_196, x_197); +if (x_198 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_153, 0); -x_157 = lean_ctor_get(x_153, 1); -lean_inc(x_157); -lean_inc(x_156); +lean_object* x_199; uint8_t x_200; +x_199 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__2____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_200 = lean_string_dec_eq(x_195, x_199); +if (x_200 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +lean_object* x_201; uint8_t x_202; +x_201 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__4____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_202 = lean_string_dec_eq(x_194, x_201); +if (x_202 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +lean_object* x_203; uint8_t x_204; +x_203 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__6____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_204 = lean_string_dec_eq(x_193, x_203); +if (x_204 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +lean_object* x_205; uint8_t x_206; +x_205 = lean_unsigned_to_nat(0u); +x_206 = lean_nat_dec_eq(x_192, x_205); +if (x_206 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +uint8_t x_207; +x_207 = lean_string_dec_eq(x_191, x_199); +if (x_207 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +lean_object* x_208; uint8_t x_209; +x_208 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_209 = lean_string_dec_eq(x_190, x_208); +if (x_209 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +lean_object* x_210; uint8_t x_211; +x_210 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayLink___closed__0; +x_211 = lean_string_dec_eq(x_189, x_210); +if (x_211 == 0) +{ +lean_object* x_212; uint8_t x_213; +x_212 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayImage___closed__0; +x_213 = lean_string_dec_eq(x_189, x_212); +if (x_213 == 0) +{ +lean_object* x_214; uint8_t x_215; +x_214 = l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0; +x_215 = lean_string_dec_eq(x_189, x_214); +if (x_215 == 0) +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +else +{ +uint8_t x_216; +lean_inc(x_188); +lean_inc_ref(x_179); lean_dec(x_153); -lean_ctor_set(x_1, 0, x_156); -x_158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_158, 0, x_1); -lean_ctor_set(x_158, 1, x_157); -return x_158; +lean_dec_ref(x_152); +x_216 = !lean_is_exclusive(x_151); +if (x_216 == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_217 = lean_ctor_get(x_151, 1); +lean_dec(x_217); +x_218 = lean_ctor_get(x_151, 0); +lean_dec(x_218); +x_219 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; +x_220 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_219); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_221 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_222 = l_Lean_MessageData_ofName(x_179); +lean_ctor_set_tag(x_151, 7); +lean_ctor_set(x_151, 1, x_222); +lean_ctor_set(x_151, 0, x_221); +x_223 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_224 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_224, 0, x_151); +lean_ctor_set(x_224, 1, x_223); +x_225 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_226 = l_Lean_MessageData_ofName(x_225); +x_227 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_227, 0, x_224); +lean_ctor_set(x_227, 1, x_226); +x_228 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_227, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_228; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_free_object(x_151); +lean_dec(x_188); +lean_dec_ref(x_179); +x_229 = lean_ctor_get(x_220, 0); +lean_inc(x_229); +lean_dec_ref(x_220); +x_230 = lean_st_ref_get(x_3, x_11); +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec_ref(x_230); +x_233 = lean_ctor_get(x_231, 0); +lean_inc_ref(x_233); +if (lean_is_exclusive(x_231)) { + lean_ctor_release(x_231, 0); + lean_ctor_release(x_231, 1); + x_234 = x_231; +} else { + lean_dec_ref(x_231); + x_234 = lean_box(0); +} +x_235 = l_Lean_TSyntax_getString(x_229); +x_236 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_233, x_235); +lean_dec_ref(x_233); +if (lean_obj_tag(x_236) == 0) +{ +lean_object* x_237; lean_object* x_238; +lean_dec_ref(x_235); +lean_dec(x_234); +x_237 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__4; +x_238 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_229, x_237, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_232); +lean_dec(x_229); +if (lean_obj_tag(x_238) == 0) +{ +uint8_t x_239; +x_239 = !lean_is_exclusive(x_238); +if (x_239 == 0) +{ +lean_object* x_240; lean_object* x_241; +x_240 = lean_ctor_get(x_238, 0); +lean_dec(x_240); +x_241 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +lean_ctor_set(x_238, 0, x_241); +return x_238; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_238, 1); +lean_inc(x_242); +lean_dec(x_238); +x_243 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +x_244 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +return x_244; } } else { -uint8_t x_159; -lean_free_object(x_1); -x_159 = !lean_is_exclusive(x_153); -if (x_159 == 0) +uint8_t x_245; +x_245 = !lean_is_exclusive(x_238); +if (x_245 == 0) { -return x_153; +return x_238; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_153, 0); -x_161 = lean_ctor_get(x_153, 1); -lean_inc(x_161); -lean_inc(x_160); +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_238, 0); +x_247 = lean_ctor_get(x_238, 1); +lean_inc(x_247); +lean_inc(x_246); +lean_dec(x_238); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; +} +} +} +else +{ +lean_object* x_249; uint8_t x_250; +lean_dec(x_229); +x_249 = lean_ctor_get(x_236, 0); +lean_inc(x_249); +lean_dec_ref(x_236); +x_250 = !lean_is_exclusive(x_249); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_251 = lean_ctor_get(x_249, 0); +x_252 = lean_ctor_get(x_249, 1); +x_253 = lean_ctor_get_uint8(x_249, sizeof(void*)*2); +if (x_253 == 0) +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_277 = lean_st_ref_take(x_3, x_232); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec_ref(x_277); +x_280 = !lean_is_exclusive(x_278); +if (x_280 == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_281 = lean_ctor_get(x_278, 0); +lean_inc(x_251); +lean_ctor_set_uint8(x_249, sizeof(void*)*2, x_215); +lean_inc_ref(x_235); +x_282 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_281, x_235, x_249); +lean_ctor_set(x_278, 0, x_282); +x_283 = lean_st_ref_set(x_3, x_278, x_279); +x_284 = lean_ctor_get(x_283, 1); +lean_inc(x_284); +lean_dec_ref(x_283); +x_254 = x_2; +x_255 = x_3; +x_256 = x_4; +x_257 = x_5; +x_258 = x_6; +x_259 = x_7; +x_260 = x_8; +x_261 = x_9; +x_262 = x_10; +x_263 = x_284; +goto block_276; +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_285 = lean_ctor_get(x_278, 0); +x_286 = lean_ctor_get(x_278, 1); +lean_inc(x_286); +lean_inc(x_285); +lean_dec(x_278); +lean_inc(x_251); +lean_ctor_set_uint8(x_249, sizeof(void*)*2, x_215); +lean_inc_ref(x_235); +x_287 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_285, x_235, x_249); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +x_289 = lean_st_ref_set(x_3, x_288, x_279); +x_290 = lean_ctor_get(x_289, 1); +lean_inc(x_290); +lean_dec_ref(x_289); +x_254 = x_2; +x_255 = x_3; +x_256 = x_4; +x_257 = x_5; +x_258 = x_6; +x_259 = x_7; +x_260 = x_8; +x_261 = x_9; +x_262 = x_10; +x_263 = x_290; +goto block_276; +} +} +else +{ +lean_free_object(x_249); +lean_dec(x_252); +x_254 = x_2; +x_255 = x_3; +x_256 = x_4; +x_257 = x_5; +x_258 = x_6; +x_259 = x_7; +x_260 = x_8; +x_261 = x_9; +x_262 = x_10; +x_263 = x_232; +goto block_276; +} +block_276: +{ +lean_object* x_264; +x_264 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_251, x_254, x_255, x_256, x_257, x_258, x_259, x_260, x_261, x_262, x_263); +if (lean_obj_tag(x_264) == 0) +{ +uint8_t x_265; +x_265 = !lean_is_exclusive(x_264); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_266 = lean_ctor_get(x_264, 0); +x_267 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; +x_268 = lean_array_push(x_267, x_266); +if (lean_is_scalar(x_234)) { + x_269 = lean_alloc_ctor(7, 2, 0); +} else { + x_269 = x_234; + lean_ctor_set_tag(x_269, 7); +} +lean_ctor_set(x_269, 0, x_235); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_264, 0, x_269); +return x_264; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_270 = lean_ctor_get(x_264, 0); +x_271 = lean_ctor_get(x_264, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_264); +x_272 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; +x_273 = lean_array_push(x_272, x_270); +if (lean_is_scalar(x_234)) { + x_274 = lean_alloc_ctor(7, 2, 0); +} else { + x_274 = x_234; + lean_ctor_set_tag(x_274, 7); +} +lean_ctor_set(x_274, 0, x_235); +lean_ctor_set(x_274, 1, x_273); +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_274); +lean_ctor_set(x_275, 1, x_271); +return x_275; +} +} +else +{ +lean_dec_ref(x_235); +lean_dec(x_234); +return x_264; +} +} +} +else +{ +lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_291 = lean_ctor_get(x_249, 0); +x_292 = lean_ctor_get(x_249, 1); +x_293 = lean_ctor_get_uint8(x_249, sizeof(void*)*2); +lean_inc(x_292); +lean_inc(x_291); +lean_dec(x_249); +if (x_293 == 0) +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_313 = lean_st_ref_take(x_3, x_232); +x_314 = lean_ctor_get(x_313, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_313, 1); +lean_inc(x_315); +lean_dec_ref(x_313); +x_316 = lean_ctor_get(x_314, 0); +lean_inc_ref(x_316); +x_317 = lean_ctor_get(x_314, 1); +lean_inc_ref(x_317); +if (lean_is_exclusive(x_314)) { + lean_ctor_release(x_314, 0); + lean_ctor_release(x_314, 1); + x_318 = x_314; +} else { + lean_dec_ref(x_314); + x_318 = lean_box(0); +} +lean_inc(x_291); +x_319 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_319, 0, x_291); +lean_ctor_set(x_319, 1, x_292); +lean_ctor_set_uint8(x_319, sizeof(void*)*2, x_215); +lean_inc_ref(x_235); +x_320 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_316, x_235, x_319); +if (lean_is_scalar(x_318)) { + x_321 = lean_alloc_ctor(0, 2, 0); +} else { + x_321 = x_318; +} +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_317); +x_322 = lean_st_ref_set(x_3, x_321, x_315); +x_323 = lean_ctor_get(x_322, 1); +lean_inc(x_323); +lean_dec_ref(x_322); +x_294 = x_2; +x_295 = x_3; +x_296 = x_4; +x_297 = x_5; +x_298 = x_6; +x_299 = x_7; +x_300 = x_8; +x_301 = x_9; +x_302 = x_10; +x_303 = x_323; +goto block_312; +} +else +{ +lean_dec(x_292); +x_294 = x_2; +x_295 = x_3; +x_296 = x_4; +x_297 = x_5; +x_298 = x_6; +x_299 = x_7; +x_300 = x_8; +x_301 = x_9; +x_302 = x_10; +x_303 = x_232; +goto block_312; +} +block_312: +{ +lean_object* x_304; +x_304 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_291, x_294, x_295, x_296, x_297, x_298, x_299, x_300, x_301, x_302, x_303); +if (lean_obj_tag(x_304) == 0) +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_305 = lean_ctor_get(x_304, 0); +lean_inc(x_305); +x_306 = lean_ctor_get(x_304, 1); +lean_inc(x_306); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + lean_ctor_release(x_304, 1); + x_307 = x_304; +} else { + lean_dec_ref(x_304); + x_307 = lean_box(0); +} +x_308 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; +x_309 = lean_array_push(x_308, x_305); +if (lean_is_scalar(x_234)) { + x_310 = lean_alloc_ctor(7, 2, 0); +} else { + x_310 = x_234; + lean_ctor_set_tag(x_310, 7); +} +lean_ctor_set(x_310, 0, x_235); +lean_ctor_set(x_310, 1, x_309); +if (lean_is_scalar(x_307)) { + x_311 = lean_alloc_ctor(0, 2, 0); +} else { + x_311 = x_307; +} +lean_ctor_set(x_311, 0, x_310); +lean_ctor_set(x_311, 1, x_306); +return x_311; +} +else +{ +lean_dec_ref(x_235); +lean_dec(x_234); +return x_304; +} +} +} +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; +lean_dec(x_151); +x_324 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_2947527990____hygCtx___hyg_15_; +x_325 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_324); +if (lean_obj_tag(x_325) == 0) +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; +x_326 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_327 = l_Lean_MessageData_ofName(x_179); +x_328 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_328, 0, x_326); +lean_ctor_set(x_328, 1, x_327); +x_329 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_330 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_330, 0, x_328); +lean_ctor_set(x_330, 1, x_329); +x_331 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_332 = l_Lean_MessageData_ofName(x_331); +x_333 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_333, 0, x_330); +lean_ctor_set(x_333, 1, x_332); +x_334 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_333, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_334; +} +else +{ +lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +lean_dec(x_188); +lean_dec_ref(x_179); +x_335 = lean_ctor_get(x_325, 0); +lean_inc(x_335); +lean_dec_ref(x_325); +x_336 = lean_st_ref_get(x_3, x_11); +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +lean_dec_ref(x_336); +x_339 = lean_ctor_get(x_337, 0); +lean_inc_ref(x_339); +if (lean_is_exclusive(x_337)) { + lean_ctor_release(x_337, 0); + lean_ctor_release(x_337, 1); + x_340 = x_337; +} else { + lean_dec_ref(x_337); + x_340 = lean_box(0); +} +x_341 = l_Lean_TSyntax_getString(x_335); +x_342 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_339, x_341); +lean_dec_ref(x_339); +if (lean_obj_tag(x_342) == 0) +{ +lean_object* x_343; lean_object* x_344; +lean_dec_ref(x_341); +lean_dec(x_340); +x_343 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__4; +x_344 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_335, x_343, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_338); +lean_dec(x_335); +if (lean_obj_tag(x_344) == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_345 = lean_ctor_get(x_344, 1); +lean_inc(x_345); +if (lean_is_exclusive(x_344)) { + lean_ctor_release(x_344, 0); + lean_ctor_release(x_344, 1); + x_346 = x_344; +} else { + lean_dec_ref(x_344); + x_346 = lean_box(0); +} +x_347 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +if (lean_is_scalar(x_346)) { + x_348 = lean_alloc_ctor(0, 2, 0); +} else { + x_348 = x_346; +} +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_345); +return x_348; +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_349 = lean_ctor_get(x_344, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_344, 1); +lean_inc(x_350); +if (lean_is_exclusive(x_344)) { + lean_ctor_release(x_344, 0); + lean_ctor_release(x_344, 1); + x_351 = x_344; +} else { + lean_dec_ref(x_344); + x_351 = lean_box(0); +} +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); +} else { + x_352 = x_351; +} +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); +return x_352; +} +} +else +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; uint8_t x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +lean_dec(x_335); +x_353 = lean_ctor_get(x_342, 0); +lean_inc(x_353); +lean_dec_ref(x_342); +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +x_356 = lean_ctor_get_uint8(x_353, sizeof(void*)*2); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_357 = x_353; +} else { + lean_dec_ref(x_353); + x_357 = lean_box(0); +} +if (x_356 == 0) +{ +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_377 = lean_st_ref_take(x_3, x_338); +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +x_379 = lean_ctor_get(x_377, 1); +lean_inc(x_379); +lean_dec_ref(x_377); +x_380 = lean_ctor_get(x_378, 0); +lean_inc_ref(x_380); +x_381 = lean_ctor_get(x_378, 1); +lean_inc_ref(x_381); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + x_382 = x_378; +} else { + lean_dec_ref(x_378); + x_382 = lean_box(0); +} +lean_inc(x_354); +if (lean_is_scalar(x_357)) { + x_383 = lean_alloc_ctor(0, 2, 1); +} else { + x_383 = x_357; +} +lean_ctor_set(x_383, 0, x_354); +lean_ctor_set(x_383, 1, x_355); +lean_ctor_set_uint8(x_383, sizeof(void*)*2, x_215); +lean_inc_ref(x_341); +x_384 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_380, x_341, x_383); +if (lean_is_scalar(x_382)) { + x_385 = lean_alloc_ctor(0, 2, 0); +} else { + x_385 = x_382; +} +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_381); +x_386 = lean_st_ref_set(x_3, x_385, x_379); +x_387 = lean_ctor_get(x_386, 1); +lean_inc(x_387); +lean_dec_ref(x_386); +x_358 = x_2; +x_359 = x_3; +x_360 = x_4; +x_361 = x_5; +x_362 = x_6; +x_363 = x_7; +x_364 = x_8; +x_365 = x_9; +x_366 = x_10; +x_367 = x_387; +goto block_376; +} +else +{ +lean_dec(x_357); +lean_dec(x_355); +x_358 = x_2; +x_359 = x_3; +x_360 = x_4; +x_361 = x_5; +x_362 = x_6; +x_363 = x_7; +x_364 = x_8; +x_365 = x_9; +x_366 = x_10; +x_367 = x_338; +goto block_376; +} +block_376: +{ +lean_object* x_368; +x_368 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_354, x_358, x_359, x_360, x_361, x_362, x_363, x_364, x_365, x_366, x_367); +if (lean_obj_tag(x_368) == 0) +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +if (lean_is_exclusive(x_368)) { + lean_ctor_release(x_368, 0); + lean_ctor_release(x_368, 1); + x_371 = x_368; +} else { + lean_dec_ref(x_368); + x_371 = lean_box(0); +} +x_372 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__6; +x_373 = lean_array_push(x_372, x_369); +if (lean_is_scalar(x_340)) { + x_374 = lean_alloc_ctor(7, 2, 0); +} else { + x_374 = x_340; + lean_ctor_set_tag(x_374, 7); +} +lean_ctor_set(x_374, 0, x_341); +lean_ctor_set(x_374, 1, x_373); +if (lean_is_scalar(x_371)) { + x_375 = lean_alloc_ctor(0, 2, 0); +} else { + x_375 = x_371; +} +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_370); +return x_375; +} +else +{ +lean_dec_ref(x_341); +lean_dec(x_340); +return x_368; +} +} +} +} +} +} +} +else +{ +uint8_t x_388; +lean_inc(x_188); +lean_inc_ref(x_179); lean_dec(x_153); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -return x_162; +lean_dec_ref(x_152); +x_388 = !lean_is_exclusive(x_151); +if (x_388 == 0) +{ +lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +x_389 = lean_ctor_get(x_151, 1); +lean_dec(x_389); +x_390 = lean_ctor_get(x_151, 0); +lean_dec(x_390); +x_391 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; +x_392 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_391); +if (lean_obj_tag(x_392) == 0) +{ +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_393 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_394 = l_Lean_MessageData_ofName(x_179); +lean_ctor_set_tag(x_151, 7); +lean_ctor_set(x_151, 1, x_394); +lean_ctor_set(x_151, 0, x_393); +x_395 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_396 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_396, 0, x_151); +lean_ctor_set(x_396, 1, x_395); +x_397 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_398 = l_Lean_MessageData_ofName(x_397); +x_399 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_399, 0, x_396); +lean_ctor_set(x_399, 1, x_398); +x_400 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_399, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_400; +} +else +{ +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; +lean_free_object(x_151); +lean_dec(x_188); +lean_dec_ref(x_179); +x_401 = lean_ctor_get(x_392, 0); +lean_inc(x_401); +lean_dec_ref(x_392); +x_402 = lean_ctor_get(x_401, 0); +lean_inc_ref(x_402); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +lean_dec(x_401); +x_404 = lean_st_ref_get(x_3, x_11); +x_405 = lean_ctor_get(x_404, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_404, 1); +lean_inc(x_406); +if (lean_is_exclusive(x_404)) { + lean_ctor_release(x_404, 0); + lean_ctor_release(x_404, 1); + x_407 = x_404; +} else { + lean_dec_ref(x_404); + x_407 = lean_box(0); +} +x_408 = lean_ctor_get(x_405, 1); +lean_inc_ref(x_408); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_409 = x_405; +} else { + lean_dec_ref(x_405); + x_409 = lean_box(0); +} +x_410 = l_Lean_TSyntax_getString(x_403); +x_411 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_408, x_410); +lean_dec_ref(x_408); +if (lean_obj_tag(x_411) == 0) +{ +lean_object* x_412; lean_object* x_413; +lean_dec_ref(x_410); +lean_dec(x_409); +lean_dec(x_407); +lean_dec_ref(x_402); +x_412 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; +x_413 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_403, x_412, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_406); +lean_dec(x_403); +if (lean_obj_tag(x_413) == 0) +{ +uint8_t x_414; +x_414 = !lean_is_exclusive(x_413); +if (x_414 == 0) +{ +lean_object* x_415; lean_object* x_416; +x_415 = lean_ctor_get(x_413, 0); +lean_dec(x_415); +x_416 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +lean_ctor_set(x_413, 0, x_416); +return x_413; +} +else +{ +lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_417 = lean_ctor_get(x_413, 1); +lean_inc(x_417); +lean_dec(x_413); +x_418 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +x_419 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_417); +return x_419; +} +} +else +{ +uint8_t x_420; +x_420 = !lean_is_exclusive(x_413); +if (x_420 == 0) +{ +return x_413; +} +else +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_421 = lean_ctor_get(x_413, 0); +x_422 = lean_ctor_get(x_413, 1); +lean_inc(x_422); +lean_inc(x_421); +lean_dec(x_413); +x_423 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_423, 0, x_421); +lean_ctor_set(x_423, 1, x_422); +return x_423; } } } else { -lean_object* x_163; size_t x_164; size_t x_165; lean_object* x_166; -x_163 = lean_ctor_get(x_1, 0); -lean_inc(x_163); -lean_dec(x_1); -x_164 = lean_array_size(x_163); +lean_object* x_424; uint8_t x_425; +lean_dec(x_403); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_424 = lean_ctor_get(x_411, 0); +lean_inc(x_424); +lean_dec_ref(x_411); +x_425 = !lean_is_exclusive(x_424); +if (x_425 == 0) +{ +lean_object* x_426; lean_object* x_427; uint8_t x_428; lean_object* x_429; +x_426 = lean_ctor_get(x_424, 0); +x_427 = lean_ctor_get(x_424, 1); +x_428 = lean_ctor_get_uint8(x_424, sizeof(void*)*2); +if (x_428 == 0) +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +x_433 = lean_st_ref_take(x_3, x_406); +x_434 = lean_ctor_get(x_433, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_433, 1); +lean_inc(x_435); +lean_dec_ref(x_433); +x_436 = !lean_is_exclusive(x_434); +if (x_436 == 0) +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; +x_437 = lean_ctor_get(x_434, 1); +lean_inc(x_426); +lean_ctor_set_uint8(x_424, sizeof(void*)*2, x_213); +x_438 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_437, x_410, x_424); +lean_ctor_set(x_434, 1, x_438); +x_439 = lean_st_ref_set(x_3, x_434, x_435); +x_440 = lean_ctor_get(x_439, 1); +lean_inc(x_440); +lean_dec_ref(x_439); +x_429 = x_440; +goto block_432; +} +else +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; +x_441 = lean_ctor_get(x_434, 0); +x_442 = lean_ctor_get(x_434, 1); +lean_inc(x_442); +lean_inc(x_441); +lean_dec(x_434); +lean_inc(x_426); +lean_ctor_set_uint8(x_424, sizeof(void*)*2, x_213); +x_443 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_442, x_410, x_424); +x_444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_444, 0, x_441); +lean_ctor_set(x_444, 1, x_443); +x_445 = lean_st_ref_set(x_3, x_444, x_435); +x_446 = lean_ctor_get(x_445, 1); +lean_inc(x_446); +lean_dec_ref(x_445); +x_429 = x_446; +goto block_432; +} +} +else +{ +lean_free_object(x_424); +lean_dec(x_427); +lean_dec_ref(x_410); +x_429 = x_406; +goto block_432; +} +block_432: +{ +lean_object* x_430; lean_object* x_431; +if (lean_is_scalar(x_409)) { + x_430 = lean_alloc_ctor(8, 2, 0); +} else { + x_430 = x_409; + lean_ctor_set_tag(x_430, 8); +} +lean_ctor_set(x_430, 0, x_402); +lean_ctor_set(x_430, 1, x_426); +if (lean_is_scalar(x_407)) { + x_431 = lean_alloc_ctor(0, 2, 0); +} else { + x_431 = x_407; +} +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +return x_431; +} +} +else +{ +lean_object* x_447; lean_object* x_448; uint8_t x_449; lean_object* x_450; +x_447 = lean_ctor_get(x_424, 0); +x_448 = lean_ctor_get(x_424, 1); +x_449 = lean_ctor_get_uint8(x_424, sizeof(void*)*2); +lean_inc(x_448); +lean_inc(x_447); +lean_dec(x_424); +if (x_449 == 0) +{ +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; +x_454 = lean_st_ref_take(x_3, x_406); +x_455 = lean_ctor_get(x_454, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_454, 1); +lean_inc(x_456); +lean_dec_ref(x_454); +x_457 = lean_ctor_get(x_455, 0); +lean_inc_ref(x_457); +x_458 = lean_ctor_get(x_455, 1); +lean_inc_ref(x_458); +if (lean_is_exclusive(x_455)) { + lean_ctor_release(x_455, 0); + lean_ctor_release(x_455, 1); + x_459 = x_455; +} else { + lean_dec_ref(x_455); + x_459 = lean_box(0); +} +lean_inc(x_447); +x_460 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_460, 0, x_447); +lean_ctor_set(x_460, 1, x_448); +lean_ctor_set_uint8(x_460, sizeof(void*)*2, x_213); +x_461 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_458, x_410, x_460); +if (lean_is_scalar(x_459)) { + x_462 = lean_alloc_ctor(0, 2, 0); +} else { + x_462 = x_459; +} +lean_ctor_set(x_462, 0, x_457); +lean_ctor_set(x_462, 1, x_461); +x_463 = lean_st_ref_set(x_3, x_462, x_456); +x_464 = lean_ctor_get(x_463, 1); +lean_inc(x_464); +lean_dec_ref(x_463); +x_450 = x_464; +goto block_453; +} +else +{ +lean_dec(x_448); +lean_dec_ref(x_410); +x_450 = x_406; +goto block_453; +} +block_453: +{ +lean_object* x_451; lean_object* x_452; +if (lean_is_scalar(x_409)) { + x_451 = lean_alloc_ctor(8, 2, 0); +} else { + x_451 = x_409; + lean_ctor_set_tag(x_451, 8); +} +lean_ctor_set(x_451, 0, x_402); +lean_ctor_set(x_451, 1, x_447); +if (lean_is_scalar(x_407)) { + x_452 = lean_alloc_ctor(0, 2, 0); +} else { + x_452 = x_407; +} +lean_ctor_set(x_452, 0, x_451); +lean_ctor_set(x_452, 1, x_450); +return x_452; +} +} +} +} +} +else +{ +lean_object* x_465; lean_object* x_466; +lean_dec(x_151); +x_465 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_3059754301____hygCtx___hyg_23_; +x_466 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_465); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_467 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_468 = l_Lean_MessageData_ofName(x_179); +x_469 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_469, 0, x_467); +lean_ctor_set(x_469, 1, x_468); +x_470 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_471 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_471, 0, x_469); +lean_ctor_set(x_471, 1, x_470); +x_472 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_473 = l_Lean_MessageData_ofName(x_472); +x_474 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_474, 0, x_471); +lean_ctor_set(x_474, 1, x_473); +x_475 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_474, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_475; +} +else +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; +lean_dec(x_188); +lean_dec_ref(x_179); +x_476 = lean_ctor_get(x_466, 0); +lean_inc(x_476); +lean_dec_ref(x_466); +x_477 = lean_ctor_get(x_476, 0); +lean_inc_ref(x_477); +x_478 = lean_ctor_get(x_476, 1); +lean_inc(x_478); +lean_dec(x_476); +x_479 = lean_st_ref_get(x_3, x_11); +x_480 = lean_ctor_get(x_479, 0); +lean_inc(x_480); +x_481 = lean_ctor_get(x_479, 1); +lean_inc(x_481); +if (lean_is_exclusive(x_479)) { + lean_ctor_release(x_479, 0); + lean_ctor_release(x_479, 1); + x_482 = x_479; +} else { + lean_dec_ref(x_479); + x_482 = lean_box(0); +} +x_483 = lean_ctor_get(x_480, 1); +lean_inc_ref(x_483); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_484 = x_480; +} else { + lean_dec_ref(x_480); + x_484 = lean_box(0); +} +x_485 = l_Lean_TSyntax_getString(x_478); +x_486 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_483, x_485); +lean_dec_ref(x_483); +if (lean_obj_tag(x_486) == 0) +{ +lean_object* x_487; lean_object* x_488; +lean_dec_ref(x_485); +lean_dec(x_484); +lean_dec(x_482); +lean_dec_ref(x_477); +x_487 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; +x_488 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_478, x_487, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_481); +lean_dec(x_478); +if (lean_obj_tag(x_488) == 0) +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_489 = lean_ctor_get(x_488, 1); +lean_inc(x_489); +if (lean_is_exclusive(x_488)) { + lean_ctor_release(x_488, 0); + lean_ctor_release(x_488, 1); + x_490 = x_488; +} else { + lean_dec_ref(x_488); + x_490 = lean_box(0); +} +x_491 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__5; +if (lean_is_scalar(x_490)) { + x_492 = lean_alloc_ctor(0, 2, 0); +} else { + x_492 = x_490; +} +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_489); +return x_492; +} +else +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_493 = lean_ctor_get(x_488, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_488, 1); +lean_inc(x_494); +if (lean_is_exclusive(x_488)) { + lean_ctor_release(x_488, 0); + lean_ctor_release(x_488, 1); + x_495 = x_488; +} else { + lean_dec_ref(x_488); + x_495 = lean_box(0); +} +if (lean_is_scalar(x_495)) { + x_496 = lean_alloc_ctor(1, 2, 0); +} else { + x_496 = x_495; +} +lean_ctor_set(x_496, 0, x_493); +lean_ctor_set(x_496, 1, x_494); +return x_496; +} +} +else +{ +lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; lean_object* x_501; lean_object* x_502; +lean_dec(x_478); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_497 = lean_ctor_get(x_486, 0); +lean_inc(x_497); +lean_dec_ref(x_486); +x_498 = lean_ctor_get(x_497, 0); +lean_inc(x_498); +x_499 = lean_ctor_get(x_497, 1); +lean_inc(x_499); +x_500 = lean_ctor_get_uint8(x_497, sizeof(void*)*2); +if (lean_is_exclusive(x_497)) { + lean_ctor_release(x_497, 0); + lean_ctor_release(x_497, 1); + x_501 = x_497; +} else { + lean_dec_ref(x_497); + x_501 = lean_box(0); +} +if (x_500 == 0) +{ +lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; +x_506 = lean_st_ref_take(x_3, x_481); +x_507 = lean_ctor_get(x_506, 0); +lean_inc(x_507); +x_508 = lean_ctor_get(x_506, 1); +lean_inc(x_508); +lean_dec_ref(x_506); +x_509 = lean_ctor_get(x_507, 0); +lean_inc_ref(x_509); +x_510 = lean_ctor_get(x_507, 1); +lean_inc_ref(x_510); +if (lean_is_exclusive(x_507)) { + lean_ctor_release(x_507, 0); + lean_ctor_release(x_507, 1); + x_511 = x_507; +} else { + lean_dec_ref(x_507); + x_511 = lean_box(0); +} +lean_inc(x_498); +if (lean_is_scalar(x_501)) { + x_512 = lean_alloc_ctor(0, 2, 1); +} else { + x_512 = x_501; +} +lean_ctor_set(x_512, 0, x_498); +lean_ctor_set(x_512, 1, x_499); +lean_ctor_set_uint8(x_512, sizeof(void*)*2, x_213); +x_513 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_510, x_485, x_512); +if (lean_is_scalar(x_511)) { + x_514 = lean_alloc_ctor(0, 2, 0); +} else { + x_514 = x_511; +} +lean_ctor_set(x_514, 0, x_509); +lean_ctor_set(x_514, 1, x_513); +x_515 = lean_st_ref_set(x_3, x_514, x_508); +x_516 = lean_ctor_get(x_515, 1); +lean_inc(x_516); +lean_dec_ref(x_515); +x_502 = x_516; +goto block_505; +} +else +{ +lean_dec(x_501); +lean_dec(x_499); +lean_dec_ref(x_485); +x_502 = x_481; +goto block_505; +} +block_505: +{ +lean_object* x_503; lean_object* x_504; +if (lean_is_scalar(x_484)) { + x_503 = lean_alloc_ctor(8, 2, 0); +} else { + x_503 = x_484; + lean_ctor_set_tag(x_503, 8); +} +lean_ctor_set(x_503, 0, x_477); +lean_ctor_set(x_503, 1, x_498); +if (lean_is_scalar(x_482)) { + x_504 = lean_alloc_ctor(0, 2, 0); +} else { + x_504 = x_482; +} +lean_ctor_set(x_504, 0, x_503); +lean_ctor_set(x_504, 1, x_502); +return x_504; +} +} +} +} +} +} +else +{ +uint8_t x_517; +lean_inc(x_188); +lean_inc_ref(x_179); +lean_dec(x_153); +x_517 = !lean_is_exclusive(x_151); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; +x_518 = lean_ctor_get(x_151, 1); +lean_dec(x_518); +x_519 = lean_ctor_get(x_151, 0); +lean_dec(x_519); +x_520 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_521 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_520); +if (lean_obj_tag(x_521) == 0) +{ +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +lean_dec_ref(x_152); +x_522 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_523 = l_Lean_MessageData_ofName(x_179); +lean_ctor_set_tag(x_151, 7); +lean_ctor_set(x_151, 1, x_523); +lean_ctor_set(x_151, 0, x_522); +x_524 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_525 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_525, 0, x_151); +lean_ctor_set(x_525, 1, x_524); +x_526 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_527 = l_Lean_MessageData_ofName(x_526); +x_528 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_528, 0, x_525); +lean_ctor_set(x_528, 1, x_527); +x_529 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_528, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_529; +} +else +{ +uint8_t x_530; +lean_free_object(x_151); +lean_dec(x_188); +lean_dec_ref(x_179); +x_530 = !lean_is_exclusive(x_521); +if (x_530 == 0) +{ +lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; +x_531 = lean_ctor_get(x_521, 0); +x_532 = lean_st_ref_get(x_3, x_11); +x_533 = lean_ctor_get(x_532, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_532, 1); +lean_inc(x_534); +lean_dec_ref(x_532); +x_535 = lean_ctor_get(x_533, 1); +lean_inc_ref(x_535); +if (lean_is_exclusive(x_533)) { + lean_ctor_release(x_533, 0); + lean_ctor_release(x_533, 1); + x_536 = x_533; +} else { + lean_dec_ref(x_533); + x_536 = lean_box(0); +} +x_537 = l_Lean_TSyntax_getString(x_531); +x_538 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_535, x_537); +lean_dec_ref(x_535); +if (lean_obj_tag(x_538) == 0) +{ +lean_object* x_539; lean_object* x_540; +lean_dec_ref(x_537); +lean_dec(x_536); +x_539 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_540 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_531, x_539, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_534); +lean_dec(x_531); +if (lean_obj_tag(x_540) == 0) +{ +lean_object* x_541; size_t x_542; size_t x_543; lean_object* x_544; +x_541 = lean_ctor_get(x_540, 1); +lean_inc(x_541); +lean_dec_ref(x_540); +x_542 = lean_array_size(x_152); +x_543 = 0; +x_544 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_542, x_543, x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_541); +if (lean_obj_tag(x_544) == 0) +{ +uint8_t x_545; +x_545 = !lean_is_exclusive(x_544); +if (x_545 == 0) +{ +lean_object* x_546; +x_546 = lean_ctor_get(x_544, 0); +lean_ctor_set_tag(x_521, 9); +lean_ctor_set(x_521, 0, x_546); +lean_ctor_set(x_544, 0, x_521); +return x_544; +} +else +{ +lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_547 = lean_ctor_get(x_544, 0); +x_548 = lean_ctor_get(x_544, 1); +lean_inc(x_548); +lean_inc(x_547); +lean_dec(x_544); +lean_ctor_set_tag(x_521, 9); +lean_ctor_set(x_521, 0, x_547); +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_521); +lean_ctor_set(x_549, 1, x_548); +return x_549; +} +} +else +{ +uint8_t x_550; +lean_free_object(x_521); +x_550 = !lean_is_exclusive(x_544); +if (x_550 == 0) +{ +return x_544; +} +else +{ +lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_551 = lean_ctor_get(x_544, 0); +x_552 = lean_ctor_get(x_544, 1); +lean_inc(x_552); +lean_inc(x_551); +lean_dec(x_544); +x_553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_553, 0, x_551); +lean_ctor_set(x_553, 1, x_552); +return x_553; +} +} +} +else +{ +uint8_t x_554; +lean_free_object(x_521); +lean_dec_ref(x_152); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_554 = !lean_is_exclusive(x_540); +if (x_554 == 0) +{ +return x_540; +} +else +{ +lean_object* x_555; lean_object* x_556; lean_object* x_557; +x_555 = lean_ctor_get(x_540, 0); +x_556 = lean_ctor_get(x_540, 1); +lean_inc(x_556); +lean_inc(x_555); +lean_dec(x_540); +x_557 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_557, 0, x_555); +lean_ctor_set(x_557, 1, x_556); +return x_557; +} +} +} +else +{ +lean_object* x_558; uint8_t x_559; +lean_free_object(x_521); +lean_dec(x_531); +x_558 = lean_ctor_get(x_538, 0); +lean_inc(x_558); +lean_dec_ref(x_538); +x_559 = !lean_is_exclusive(x_558); +if (x_559 == 0) +{ +lean_object* x_560; lean_object* x_561; uint8_t x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; +x_560 = lean_ctor_get(x_558, 0); +x_561 = lean_ctor_get(x_558, 1); +x_562 = lean_ctor_get_uint8(x_558, sizeof(void*)*2); +if (x_562 == 0) +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; uint8_t x_591; +x_588 = lean_st_ref_take(x_3, x_534); +x_589 = lean_ctor_get(x_588, 0); +lean_inc(x_589); +x_590 = lean_ctor_get(x_588, 1); +lean_inc(x_590); +lean_dec_ref(x_588); +x_591 = !lean_is_exclusive(x_589); +if (x_591 == 0) +{ +lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; +x_592 = lean_ctor_get(x_589, 1); +lean_inc(x_560); +lean_ctor_set_uint8(x_558, sizeof(void*)*2, x_211); +x_593 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_592, x_537, x_558); +lean_ctor_set(x_589, 1, x_593); +x_594 = lean_st_ref_set(x_3, x_589, x_590); +x_595 = lean_ctor_get(x_594, 1); +lean_inc(x_595); +lean_dec_ref(x_594); +x_563 = x_2; +x_564 = x_3; +x_565 = x_4; +x_566 = x_5; +x_567 = x_6; +x_568 = x_7; +x_569 = x_8; +x_570 = x_9; +x_571 = x_10; +x_572 = x_595; +goto block_587; +} +else +{ +lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_596 = lean_ctor_get(x_589, 0); +x_597 = lean_ctor_get(x_589, 1); +lean_inc(x_597); +lean_inc(x_596); +lean_dec(x_589); +lean_inc(x_560); +lean_ctor_set_uint8(x_558, sizeof(void*)*2, x_211); +x_598 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_597, x_537, x_558); +x_599 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_599, 0, x_596); +lean_ctor_set(x_599, 1, x_598); +x_600 = lean_st_ref_set(x_3, x_599, x_590); +x_601 = lean_ctor_get(x_600, 1); +lean_inc(x_601); +lean_dec_ref(x_600); +x_563 = x_2; +x_564 = x_3; +x_565 = x_4; +x_566 = x_5; +x_567 = x_6; +x_568 = x_7; +x_569 = x_8; +x_570 = x_9; +x_571 = x_10; +x_572 = x_601; +goto block_587; +} +} +else +{ +lean_free_object(x_558); +lean_dec(x_561); +lean_dec_ref(x_537); +x_563 = x_2; +x_564 = x_3; +x_565 = x_4; +x_566 = x_5; +x_567 = x_6; +x_568 = x_7; +x_569 = x_8; +x_570 = x_9; +x_571 = x_10; +x_572 = x_534; +goto block_587; +} +block_587: +{ +size_t x_573; size_t x_574; lean_object* x_575; +x_573 = lean_array_size(x_152); +x_574 = 0; +x_575 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_573, x_574, x_152, x_563, x_564, x_565, x_566, x_567, x_568, x_569, x_570, x_571, x_572); +if (lean_obj_tag(x_575) == 0) +{ +uint8_t x_576; +x_576 = !lean_is_exclusive(x_575); +if (x_576 == 0) +{ +lean_object* x_577; lean_object* x_578; +x_577 = lean_ctor_get(x_575, 0); +if (lean_is_scalar(x_536)) { + x_578 = lean_alloc_ctor(6, 2, 0); +} else { + x_578 = x_536; + lean_ctor_set_tag(x_578, 6); +} +lean_ctor_set(x_578, 0, x_577); +lean_ctor_set(x_578, 1, x_560); +lean_ctor_set(x_575, 0, x_578); +return x_575; +} +else +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; +x_579 = lean_ctor_get(x_575, 0); +x_580 = lean_ctor_get(x_575, 1); +lean_inc(x_580); +lean_inc(x_579); +lean_dec(x_575); +if (lean_is_scalar(x_536)) { + x_581 = lean_alloc_ctor(6, 2, 0); +} else { + x_581 = x_536; + lean_ctor_set_tag(x_581, 6); +} +lean_ctor_set(x_581, 0, x_579); +lean_ctor_set(x_581, 1, x_560); +x_582 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_580); +return x_582; +} +} +else +{ +uint8_t x_583; +lean_dec(x_560); +lean_dec(x_536); +x_583 = !lean_is_exclusive(x_575); +if (x_583 == 0) +{ +return x_575; +} +else +{ +lean_object* x_584; lean_object* x_585; lean_object* x_586; +x_584 = lean_ctor_get(x_575, 0); +x_585 = lean_ctor_get(x_575, 1); +lean_inc(x_585); +lean_inc(x_584); +lean_dec(x_575); +x_586 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_586, 0, x_584); +lean_ctor_set(x_586, 1, x_585); +return x_586; +} +} +} +} +else +{ +lean_object* x_602; lean_object* x_603; uint8_t x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; +x_602 = lean_ctor_get(x_558, 0); +x_603 = lean_ctor_get(x_558, 1); +x_604 = lean_ctor_get_uint8(x_558, sizeof(void*)*2); +lean_inc(x_603); +lean_inc(x_602); +lean_dec(x_558); +if (x_604 == 0) +{ +lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_628 = lean_st_ref_take(x_3, x_534); +x_629 = lean_ctor_get(x_628, 0); +lean_inc(x_629); +x_630 = lean_ctor_get(x_628, 1); +lean_inc(x_630); +lean_dec_ref(x_628); +x_631 = lean_ctor_get(x_629, 0); +lean_inc_ref(x_631); +x_632 = lean_ctor_get(x_629, 1); +lean_inc_ref(x_632); +if (lean_is_exclusive(x_629)) { + lean_ctor_release(x_629, 0); + lean_ctor_release(x_629, 1); + x_633 = x_629; +} else { + lean_dec_ref(x_629); + x_633 = lean_box(0); +} +lean_inc(x_602); +x_634 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_634, 0, x_602); +lean_ctor_set(x_634, 1, x_603); +lean_ctor_set_uint8(x_634, sizeof(void*)*2, x_211); +x_635 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_632, x_537, x_634); +if (lean_is_scalar(x_633)) { + x_636 = lean_alloc_ctor(0, 2, 0); +} else { + x_636 = x_633; +} +lean_ctor_set(x_636, 0, x_631); +lean_ctor_set(x_636, 1, x_635); +x_637 = lean_st_ref_set(x_3, x_636, x_630); +x_638 = lean_ctor_get(x_637, 1); +lean_inc(x_638); +lean_dec_ref(x_637); +x_605 = x_2; +x_606 = x_3; +x_607 = x_4; +x_608 = x_5; +x_609 = x_6; +x_610 = x_7; +x_611 = x_8; +x_612 = x_9; +x_613 = x_10; +x_614 = x_638; +goto block_627; +} +else +{ +lean_dec(x_603); +lean_dec_ref(x_537); +x_605 = x_2; +x_606 = x_3; +x_607 = x_4; +x_608 = x_5; +x_609 = x_6; +x_610 = x_7; +x_611 = x_8; +x_612 = x_9; +x_613 = x_10; +x_614 = x_534; +goto block_627; +} +block_627: +{ +size_t x_615; size_t x_616; lean_object* x_617; +x_615 = lean_array_size(x_152); +x_616 = 0; +x_617 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_615, x_616, x_152, x_605, x_606, x_607, x_608, x_609, x_610, x_611, x_612, x_613, x_614); +if (lean_obj_tag(x_617) == 0) +{ +lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; +x_618 = lean_ctor_get(x_617, 0); +lean_inc(x_618); +x_619 = lean_ctor_get(x_617, 1); +lean_inc(x_619); +if (lean_is_exclusive(x_617)) { + lean_ctor_release(x_617, 0); + lean_ctor_release(x_617, 1); + x_620 = x_617; +} else { + lean_dec_ref(x_617); + x_620 = lean_box(0); +} +if (lean_is_scalar(x_536)) { + x_621 = lean_alloc_ctor(6, 2, 0); +} else { + x_621 = x_536; + lean_ctor_set_tag(x_621, 6); +} +lean_ctor_set(x_621, 0, x_618); +lean_ctor_set(x_621, 1, x_602); +if (lean_is_scalar(x_620)) { + x_622 = lean_alloc_ctor(0, 2, 0); +} else { + x_622 = x_620; +} +lean_ctor_set(x_622, 0, x_621); +lean_ctor_set(x_622, 1, x_619); +return x_622; +} +else +{ +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; +lean_dec(x_602); +lean_dec(x_536); +x_623 = lean_ctor_get(x_617, 0); +lean_inc(x_623); +x_624 = lean_ctor_get(x_617, 1); +lean_inc(x_624); +if (lean_is_exclusive(x_617)) { + lean_ctor_release(x_617, 0); + lean_ctor_release(x_617, 1); + x_625 = x_617; +} else { + lean_dec_ref(x_617); + x_625 = lean_box(0); +} +if (lean_is_scalar(x_625)) { + x_626 = lean_alloc_ctor(1, 2, 0); +} else { + x_626 = x_625; +} +lean_ctor_set(x_626, 0, x_623); +lean_ctor_set(x_626, 1, x_624); +return x_626; +} +} +} +} +} +else +{ +lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; +x_639 = lean_ctor_get(x_521, 0); +lean_inc(x_639); +lean_dec(x_521); +x_640 = lean_st_ref_get(x_3, x_11); +x_641 = lean_ctor_get(x_640, 0); +lean_inc(x_641); +x_642 = lean_ctor_get(x_640, 1); +lean_inc(x_642); +lean_dec_ref(x_640); +x_643 = lean_ctor_get(x_641, 1); +lean_inc_ref(x_643); +if (lean_is_exclusive(x_641)) { + lean_ctor_release(x_641, 0); + lean_ctor_release(x_641, 1); + x_644 = x_641; +} else { + lean_dec_ref(x_641); + x_644 = lean_box(0); +} +x_645 = l_Lean_TSyntax_getString(x_639); +x_646 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_643, x_645); +lean_dec_ref(x_643); +if (lean_obj_tag(x_646) == 0) +{ +lean_object* x_647; lean_object* x_648; +lean_dec_ref(x_645); +lean_dec(x_644); +x_647 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_648 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_639, x_647, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_642); +lean_dec(x_639); +if (lean_obj_tag(x_648) == 0) +{ +lean_object* x_649; size_t x_650; size_t x_651; lean_object* x_652; +x_649 = lean_ctor_get(x_648, 1); +lean_inc(x_649); +lean_dec_ref(x_648); +x_650 = lean_array_size(x_152); +x_651 = 0; +x_652 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_650, x_651, x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_649); +if (lean_obj_tag(x_652) == 0) +{ +lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_653 = lean_ctor_get(x_652, 0); +lean_inc(x_653); +x_654 = lean_ctor_get(x_652, 1); +lean_inc(x_654); +if (lean_is_exclusive(x_652)) { + lean_ctor_release(x_652, 0); + lean_ctor_release(x_652, 1); + x_655 = x_652; +} else { + lean_dec_ref(x_652); + x_655 = lean_box(0); +} +x_656 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_656, 0, x_653); +if (lean_is_scalar(x_655)) { + x_657 = lean_alloc_ctor(0, 2, 0); +} else { + x_657 = x_655; +} +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_654); +return x_657; +} +else +{ +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_658 = lean_ctor_get(x_652, 0); +lean_inc(x_658); +x_659 = lean_ctor_get(x_652, 1); +lean_inc(x_659); +if (lean_is_exclusive(x_652)) { + lean_ctor_release(x_652, 0); + lean_ctor_release(x_652, 1); + x_660 = x_652; +} else { + lean_dec_ref(x_652); + x_660 = lean_box(0); +} +if (lean_is_scalar(x_660)) { + x_661 = lean_alloc_ctor(1, 2, 0); +} else { + x_661 = x_660; +} +lean_ctor_set(x_661, 0, x_658); +lean_ctor_set(x_661, 1, x_659); +return x_661; +} +} +else +{ +lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; +lean_dec_ref(x_152); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_662 = lean_ctor_get(x_648, 0); +lean_inc(x_662); +x_663 = lean_ctor_get(x_648, 1); +lean_inc(x_663); +if (lean_is_exclusive(x_648)) { + lean_ctor_release(x_648, 0); + lean_ctor_release(x_648, 1); + x_664 = x_648; +} else { + lean_dec_ref(x_648); + x_664 = lean_box(0); +} +if (lean_is_scalar(x_664)) { + x_665 = lean_alloc_ctor(1, 2, 0); +} else { + x_665 = x_664; +} +lean_ctor_set(x_665, 0, x_662); +lean_ctor_set(x_665, 1, x_663); +return x_665; +} +} +else +{ +lean_object* x_666; lean_object* x_667; lean_object* x_668; uint8_t x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_dec(x_639); +x_666 = lean_ctor_get(x_646, 0); +lean_inc(x_666); +lean_dec_ref(x_646); +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_666, 1); +lean_inc(x_668); +x_669 = lean_ctor_get_uint8(x_666, sizeof(void*)*2); +if (lean_is_exclusive(x_666)) { + lean_ctor_release(x_666, 0); + lean_ctor_release(x_666, 1); + x_670 = x_666; +} else { + lean_dec_ref(x_666); + x_670 = lean_box(0); +} +if (x_669 == 0) +{ +lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; +x_694 = lean_st_ref_take(x_3, x_642); +x_695 = lean_ctor_get(x_694, 0); +lean_inc(x_695); +x_696 = lean_ctor_get(x_694, 1); +lean_inc(x_696); +lean_dec_ref(x_694); +x_697 = lean_ctor_get(x_695, 0); +lean_inc_ref(x_697); +x_698 = lean_ctor_get(x_695, 1); +lean_inc_ref(x_698); +if (lean_is_exclusive(x_695)) { + lean_ctor_release(x_695, 0); + lean_ctor_release(x_695, 1); + x_699 = x_695; +} else { + lean_dec_ref(x_695); + x_699 = lean_box(0); +} +lean_inc(x_667); +if (lean_is_scalar(x_670)) { + x_700 = lean_alloc_ctor(0, 2, 1); +} else { + x_700 = x_670; +} +lean_ctor_set(x_700, 0, x_667); +lean_ctor_set(x_700, 1, x_668); +lean_ctor_set_uint8(x_700, sizeof(void*)*2, x_211); +x_701 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_698, x_645, x_700); +if (lean_is_scalar(x_699)) { + x_702 = lean_alloc_ctor(0, 2, 0); +} else { + x_702 = x_699; +} +lean_ctor_set(x_702, 0, x_697); +lean_ctor_set(x_702, 1, x_701); +x_703 = lean_st_ref_set(x_3, x_702, x_696); +x_704 = lean_ctor_get(x_703, 1); +lean_inc(x_704); +lean_dec_ref(x_703); +x_671 = x_2; +x_672 = x_3; +x_673 = x_4; +x_674 = x_5; +x_675 = x_6; +x_676 = x_7; +x_677 = x_8; +x_678 = x_9; +x_679 = x_10; +x_680 = x_704; +goto block_693; +} +else +{ +lean_dec(x_670); +lean_dec(x_668); +lean_dec_ref(x_645); +x_671 = x_2; +x_672 = x_3; +x_673 = x_4; +x_674 = x_5; +x_675 = x_6; +x_676 = x_7; +x_677 = x_8; +x_678 = x_9; +x_679 = x_10; +x_680 = x_642; +goto block_693; +} +block_693: +{ +size_t x_681; size_t x_682; lean_object* x_683; +x_681 = lean_array_size(x_152); +x_682 = 0; +x_683 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_681, x_682, x_152, x_671, x_672, x_673, x_674, x_675, x_676, x_677, x_678, x_679, x_680); +if (lean_obj_tag(x_683) == 0) +{ +lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +x_684 = lean_ctor_get(x_683, 0); +lean_inc(x_684); +x_685 = lean_ctor_get(x_683, 1); +lean_inc(x_685); +if (lean_is_exclusive(x_683)) { + lean_ctor_release(x_683, 0); + lean_ctor_release(x_683, 1); + x_686 = x_683; +} else { + lean_dec_ref(x_683); + x_686 = lean_box(0); +} +if (lean_is_scalar(x_644)) { + x_687 = lean_alloc_ctor(6, 2, 0); +} else { + x_687 = x_644; + lean_ctor_set_tag(x_687, 6); +} +lean_ctor_set(x_687, 0, x_684); +lean_ctor_set(x_687, 1, x_667); +if (lean_is_scalar(x_686)) { + x_688 = lean_alloc_ctor(0, 2, 0); +} else { + x_688 = x_686; +} +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_685); +return x_688; +} +else +{ +lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; +lean_dec(x_667); +lean_dec(x_644); +x_689 = lean_ctor_get(x_683, 0); +lean_inc(x_689); +x_690 = lean_ctor_get(x_683, 1); +lean_inc(x_690); +if (lean_is_exclusive(x_683)) { + lean_ctor_release(x_683, 0); + lean_ctor_release(x_683, 1); + x_691 = x_683; +} else { + lean_dec_ref(x_683); + x_691 = lean_box(0); +} +if (lean_is_scalar(x_691)) { + x_692 = lean_alloc_ctor(1, 2, 0); +} else { + x_692 = x_691; +} +lean_ctor_set(x_692, 0, x_689); +lean_ctor_set(x_692, 1, x_690); +return x_692; +} +} +} +} +} +} +else +{ +lean_object* x_705; lean_object* x_706; +lean_dec(x_151); +x_705 = l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_; +x_706 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_188, x_705); +if (lean_obj_tag(x_706) == 0) +{ +lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; +lean_dec_ref(x_152); +x_707 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__1; +x_708 = l_Lean_MessageData_ofName(x_179); +x_709 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_709, 0, x_707); +lean_ctor_set(x_709, 1, x_708); +x_710 = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__5____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_; +x_711 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_711, 0, x_709); +lean_ctor_set(x_711, 1, x_710); +x_712 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_188); +lean_dec(x_188); +x_713 = l_Lean_MessageData_ofName(x_712); +x_714 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_714, 0, x_711); +lean_ctor_set(x_714, 1, x_713); +x_715 = l_Lean_throwError___at___Lean_throwErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal_spec__0_spec__0___redArg(x_714, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_715; +} +else +{ +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; +lean_dec(x_188); +lean_dec_ref(x_179); +x_716 = lean_ctor_get(x_706, 0); +lean_inc(x_716); +if (lean_is_exclusive(x_706)) { + lean_ctor_release(x_706, 0); + x_717 = x_706; +} else { + lean_dec_ref(x_706); + x_717 = lean_box(0); +} +x_718 = lean_st_ref_get(x_3, x_11); +x_719 = lean_ctor_get(x_718, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_718, 1); +lean_inc(x_720); +lean_dec_ref(x_718); +x_721 = lean_ctor_get(x_719, 1); +lean_inc_ref(x_721); +if (lean_is_exclusive(x_719)) { + lean_ctor_release(x_719, 0); + lean_ctor_release(x_719, 1); + x_722 = x_719; +} else { + lean_dec_ref(x_719); + x_722 = lean_box(0); +} +x_723 = l_Lean_TSyntax_getString(x_716); +x_724 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__9___redArg(x_721, x_723); +lean_dec_ref(x_721); +if (lean_obj_tag(x_724) == 0) +{ +lean_object* x_725; lean_object* x_726; +lean_dec_ref(x_723); +lean_dec(x_722); +x_725 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___closed__9; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_726 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_716, x_725, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_720); +lean_dec(x_716); +if (lean_obj_tag(x_726) == 0) +{ +lean_object* x_727; size_t x_728; size_t x_729; lean_object* x_730; +x_727 = lean_ctor_get(x_726, 1); +lean_inc(x_727); +lean_dec_ref(x_726); +x_728 = lean_array_size(x_152); +x_729 = 0; +x_730 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_728, x_729, x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_727); +if (lean_obj_tag(x_730) == 0) +{ +lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; +x_731 = lean_ctor_get(x_730, 0); +lean_inc(x_731); +x_732 = lean_ctor_get(x_730, 1); +lean_inc(x_732); +if (lean_is_exclusive(x_730)) { + lean_ctor_release(x_730, 0); + lean_ctor_release(x_730, 1); + x_733 = x_730; +} else { + lean_dec_ref(x_730); + x_733 = lean_box(0); +} +if (lean_is_scalar(x_717)) { + x_734 = lean_alloc_ctor(9, 1, 0); +} else { + x_734 = x_717; + lean_ctor_set_tag(x_734, 9); +} +lean_ctor_set(x_734, 0, x_731); +if (lean_is_scalar(x_733)) { + x_735 = lean_alloc_ctor(0, 2, 0); +} else { + x_735 = x_733; +} +lean_ctor_set(x_735, 0, x_734); +lean_ctor_set(x_735, 1, x_732); +return x_735; +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; +lean_dec(x_717); +x_736 = lean_ctor_get(x_730, 0); +lean_inc(x_736); +x_737 = lean_ctor_get(x_730, 1); +lean_inc(x_737); +if (lean_is_exclusive(x_730)) { + lean_ctor_release(x_730, 0); + lean_ctor_release(x_730, 1); + x_738 = x_730; +} else { + lean_dec_ref(x_730); + x_738 = lean_box(0); +} +if (lean_is_scalar(x_738)) { + x_739 = lean_alloc_ctor(1, 2, 0); +} else { + x_739 = x_738; +} +lean_ctor_set(x_739, 0, x_736); +lean_ctor_set(x_739, 1, x_737); +return x_739; +} +} +else +{ +lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; +lean_dec(x_717); +lean_dec_ref(x_152); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_740 = lean_ctor_get(x_726, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_726, 1); +lean_inc(x_741); +if (lean_is_exclusive(x_726)) { + lean_ctor_release(x_726, 0); + lean_ctor_release(x_726, 1); + x_742 = x_726; +} else { + lean_dec_ref(x_726); + x_742 = lean_box(0); +} +if (lean_is_scalar(x_742)) { + x_743 = lean_alloc_ctor(1, 2, 0); +} else { + x_743 = x_742; +} +lean_ctor_set(x_743, 0, x_740); +lean_ctor_set(x_743, 1, x_741); +return x_743; +} +} +else +{ +lean_object* x_744; lean_object* x_745; lean_object* x_746; uint8_t x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; +lean_dec(x_717); +lean_dec(x_716); +x_744 = lean_ctor_get(x_724, 0); +lean_inc(x_744); +lean_dec_ref(x_724); +x_745 = lean_ctor_get(x_744, 0); +lean_inc(x_745); +x_746 = lean_ctor_get(x_744, 1); +lean_inc(x_746); +x_747 = lean_ctor_get_uint8(x_744, sizeof(void*)*2); +if (lean_is_exclusive(x_744)) { + lean_ctor_release(x_744, 0); + lean_ctor_release(x_744, 1); + x_748 = x_744; +} else { + lean_dec_ref(x_744); + x_748 = lean_box(0); +} +if (x_747 == 0) +{ +lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; +x_772 = lean_st_ref_take(x_3, x_720); +x_773 = lean_ctor_get(x_772, 0); +lean_inc(x_773); +x_774 = lean_ctor_get(x_772, 1); +lean_inc(x_774); +lean_dec_ref(x_772); +x_775 = lean_ctor_get(x_773, 0); +lean_inc_ref(x_775); +x_776 = lean_ctor_get(x_773, 1); +lean_inc_ref(x_776); +if (lean_is_exclusive(x_773)) { + lean_ctor_release(x_773, 0); + lean_ctor_release(x_773, 1); + x_777 = x_773; +} else { + lean_dec_ref(x_773); + x_777 = lean_box(0); +} +lean_inc(x_745); +if (lean_is_scalar(x_748)) { + x_778 = lean_alloc_ctor(0, 2, 1); +} else { + x_778 = x_748; +} +lean_ctor_set(x_778, 0, x_745); +lean_ctor_set(x_778, 1, x_746); +lean_ctor_set_uint8(x_778, sizeof(void*)*2, x_211); +x_779 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Diff_Histogram_addLeft___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__9_spec__11___redArg(x_776, x_723, x_778); +if (lean_is_scalar(x_777)) { + x_780 = lean_alloc_ctor(0, 2, 0); +} else { + x_780 = x_777; +} +lean_ctor_set(x_780, 0, x_775); +lean_ctor_set(x_780, 1, x_779); +x_781 = lean_st_ref_set(x_3, x_780, x_774); +x_782 = lean_ctor_get(x_781, 1); +lean_inc(x_782); +lean_dec_ref(x_781); +x_749 = x_2; +x_750 = x_3; +x_751 = x_4; +x_752 = x_5; +x_753 = x_6; +x_754 = x_7; +x_755 = x_8; +x_756 = x_9; +x_757 = x_10; +x_758 = x_782; +goto block_771; +} +else +{ +lean_dec(x_748); +lean_dec(x_746); +lean_dec_ref(x_723); +x_749 = x_2; +x_750 = x_3; +x_751 = x_4; +x_752 = x_5; +x_753 = x_6; +x_754 = x_7; +x_755 = x_8; +x_756 = x_9; +x_757 = x_10; +x_758 = x_720; +goto block_771; +} +block_771: +{ +size_t x_759; size_t x_760; lean_object* x_761; +x_759 = lean_array_size(x_152); +x_760 = 0; +x_761 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_759, x_760, x_152, x_749, x_750, x_751, x_752, x_753, x_754, x_755, x_756, x_757, x_758); +if (lean_obj_tag(x_761) == 0) +{ +lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; +x_762 = lean_ctor_get(x_761, 0); +lean_inc(x_762); +x_763 = lean_ctor_get(x_761, 1); +lean_inc(x_763); +if (lean_is_exclusive(x_761)) { + lean_ctor_release(x_761, 0); + lean_ctor_release(x_761, 1); + x_764 = x_761; +} else { + lean_dec_ref(x_761); + x_764 = lean_box(0); +} +if (lean_is_scalar(x_722)) { + x_765 = lean_alloc_ctor(6, 2, 0); +} else { + x_765 = x_722; + lean_ctor_set_tag(x_765, 6); +} +lean_ctor_set(x_765, 0, x_762); +lean_ctor_set(x_765, 1, x_745); +if (lean_is_scalar(x_764)) { + x_766 = lean_alloc_ctor(0, 2, 0); +} else { + x_766 = x_764; +} +lean_ctor_set(x_766, 0, x_765); +lean_ctor_set(x_766, 1, x_763); +return x_766; +} +else +{ +lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; +lean_dec(x_745); +lean_dec(x_722); +x_767 = lean_ctor_get(x_761, 0); +lean_inc(x_767); +x_768 = lean_ctor_get(x_761, 1); +lean_inc(x_768); +if (lean_is_exclusive(x_761)) { + lean_ctor_release(x_761, 0); + lean_ctor_release(x_761, 1); + x_769 = x_761; +} else { + lean_dec_ref(x_761); + x_769 = lean_box(0); +} +if (lean_is_scalar(x_769)) { + x_770 = lean_alloc_ctor(1, 2, 0); +} else { + x_770 = x_769; +} +lean_ctor_set(x_770, 0, x_767); +lean_ctor_set(x_770, 1, x_768); +return x_770; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +} +else +{ +x_154 = x_2; +x_155 = x_3; +x_156 = x_4; +x_157 = x_5; +x_158 = x_6; +x_159 = x_7; +x_160 = x_8; +x_161 = x_9; +x_162 = x_10; +x_163 = x_11; +goto block_178; +} +block_178: +{ +size_t x_164; size_t x_165; lean_object* x_166; +x_164 = lean_array_size(x_152); x_165 = 0; -x_166 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_164, x_165, x_163, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_166 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_164, x_165, x_152, x_154, x_155, x_156, x_157, x_158, x_159, x_160, x_161, x_162, x_163); if (lean_obj_tag(x_166) == 0) { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_169 = x_166; +uint8_t x_167; +x_167 = !lean_is_exclusive(x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; +x_168 = lean_ctor_get(x_166, 0); +if (lean_is_scalar(x_153)) { + x_169 = lean_alloc_ctor(10, 2, 0); } else { - lean_dec_ref(x_166); - x_169 = lean_box(0); + x_169 = x_153; } -x_170 = lean_alloc_ctor(6, 1, 0); -lean_ctor_set(x_170, 0, x_167); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_168); -return x_171; +lean_ctor_set(x_169, 0, x_151); +lean_ctor_set(x_169, 1, x_168); +lean_ctor_set(x_166, 0, x_169); +return x_166; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_172 = lean_ctor_get(x_166, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_166, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_174 = x_166; +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_170 = lean_ctor_get(x_166, 0); +x_171 = lean_ctor_get(x_166, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_166); +if (lean_is_scalar(x_153)) { + x_172 = lean_alloc_ctor(10, 2, 0); } else { - lean_dec_ref(x_166); - x_174 = lean_box(0); + x_172 = x_153; } -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(1, 2, 0); -} else { - x_175 = x_174; +lean_ctor_set(x_172, 0, x_151); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +return x_173; +} +} +else +{ +uint8_t x_174; +lean_dec(x_153); +lean_dec(x_151); +x_174 = !lean_is_exclusive(x_166); +if (x_174 == 0) +{ +return x_166; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_166, 0); +x_176 = lean_ctor_get(x_166, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_166); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; } -lean_ctor_set(x_175, 0, x_172); -lean_ctor_set(x_175, 1, x_173); -return x_175; } } } default: { -uint8_t x_176; -x_176 = !lean_is_exclusive(x_1); -if (x_176 == 0) -{ -lean_object* x_177; lean_object* x_178; size_t x_179; size_t x_180; lean_object* x_181; -x_177 = lean_ctor_get(x_1, 0); -x_178 = lean_ctor_get(x_1, 1); -x_179 = lean_array_size(x_178); -x_180 = 0; -x_181 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_179, x_180, x_178, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_181) == 0) -{ -uint8_t x_182; -x_182 = !lean_is_exclusive(x_181); -if (x_182 == 0) -{ -lean_object* x_183; -x_183 = lean_ctor_get(x_181, 0); -lean_ctor_set(x_1, 1, x_183); -lean_ctor_set(x_181, 0, x_1); -return x_181; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_181, 0); -x_185 = lean_ctor_get(x_181, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_181); -lean_ctor_set(x_1, 1, x_184); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_1); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -else -{ -uint8_t x_187; -lean_free_object(x_1); -lean_dec(x_177); -x_187 = !lean_is_exclusive(x_181); -if (x_187 == 0) -{ -return x_181; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_181, 0); -x_189 = lean_ctor_get(x_181, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_181); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; size_t x_193; size_t x_194; lean_object* x_195; -x_191 = lean_ctor_get(x_1, 0); -x_192 = lean_ctor_get(x_1, 1); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_1); -x_193 = lean_array_size(x_192); -x_194 = 0; -x_195 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_193, x_194, x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_195) == 0) -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_198 = x_195; -} else { - lean_dec_ref(x_195); - x_198 = lean_box(0); -} -x_199 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_199, 0, x_191); -lean_ctor_set(x_199, 1, x_196); -if (lean_is_scalar(x_198)) { - x_200 = lean_alloc_ctor(0, 2, 0); -} else { - x_200 = x_198; -} -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_197); -return x_200; -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_191); -x_201 = lean_ctor_get(x_195, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_195, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_203 = x_195; -} else { - lean_dec_ref(x_195); - x_203 = lean_box(0); -} -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(1, 2, 0); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_201); -lean_ctor_set(x_204, 1, x_202); -return x_204; +lean_object* x_783; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_783 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_783, 0, x_1); +lean_ctor_set(x_783, 1, x_11); +return x_783; } } } } -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_15; +lean_dec_ref(x_4); +return x_16; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); -lean_dec(x_2); +lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) +lean_object* x_13; +x_13 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) -{ -return x_16; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_ctor_get(x_1, 1); -x_14 = lean_ctor_get(x_1, 2); -x_15 = lean_ctor_get(x_1, 3); -x_16 = lean_ctor_get(x_1, 4); -x_17 = lean_array_size(x_12); -x_18 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_17, x_18, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec_ref(x_19); -x_22 = lean_array_size(x_15); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_22, x_18, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; size_t x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec_ref(x_23); -x_26 = lean_array_size(x_16); -x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_26, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_27, 0); -lean_ctor_set(x_1, 4, x_29); -lean_ctor_set(x_1, 3, x_24); -lean_ctor_set(x_1, 0, x_20); -lean_ctor_set(x_27, 0, x_1); -return x_27; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_27, 0); -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_27); -lean_ctor_set(x_1, 4, x_30); -lean_ctor_set(x_1, 3, x_24); -lean_ctor_set(x_1, 0, x_20); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -else -{ -uint8_t x_33; -lean_dec(x_24); -lean_dec(x_20); -lean_free_object(x_1); -lean_dec(x_14); -lean_dec_ref(x_13); -x_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) -{ -return x_27; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_27, 0); -x_35 = lean_ctor_get(x_27, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_27); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec(x_20); -lean_free_object(x_1); -lean_dec_ref(x_16); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_37 = !lean_is_exclusive(x_23); -if (x_37 == 0) -{ -return x_23; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_23, 0); -x_39 = lean_ctor_get(x_23, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_23); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_free_object(x_1); -lean_dec_ref(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_41 = !lean_is_exclusive(x_19); -if (x_41 == 0) -{ -return x_19; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_19, 0); -x_43 = lean_ctor_get(x_19, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_19); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; -x_45 = lean_ctor_get(x_1, 0); -x_46 = lean_ctor_get(x_1, 1); -x_47 = lean_ctor_get(x_1, 2); -x_48 = lean_ctor_get(x_1, 3); -x_49 = lean_ctor_get(x_1, 4); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_1); -x_50 = lean_array_size(x_45); -x_51 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_50, x_51, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; size_t x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec_ref(x_52); -x_55 = lean_array_size(x_48); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_56 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_55, x_51, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_54); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; size_t x_59; lean_object* x_60; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec_ref(x_56); -x_59 = lean_array_size(x_49); -x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_59, x_51, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_63 = x_60; -} else { - lean_dec_ref(x_60); - x_63 = lean_box(0); -} -x_64 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_64, 0, x_53); -lean_ctor_set(x_64, 1, x_46); -lean_ctor_set(x_64, 2, x_47); -lean_ctor_set(x_64, 3, x_57); -lean_ctor_set(x_64, 4, x_61); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); -} else { - x_65 = x_63; -} -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_57); -lean_dec(x_53); -lean_dec(x_47); -lean_dec_ref(x_46); -x_66 = lean_ctor_get(x_60, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_60, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_68 = x_60; -} else { - lean_dec_ref(x_60); - x_68 = lean_box(0); -} -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(1, 2, 0); -} else { - x_69 = x_68; -} -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_53); -lean_dec_ref(x_49); -lean_dec(x_47); -lean_dec_ref(x_46); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_70 = lean_ctor_get(x_56, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_56, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_72 = x_56; -} else { - lean_dec_ref(x_56); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(1, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_71); -return x_73; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec_ref(x_49); -lean_dec_ref(x_48); -lean_dec(x_47); -lean_dec_ref(x_46); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_74 = lean_ctor_get(x_52, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_52, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_76 = x_52; -} else { - lean_dec_ref(x_52); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_ctor_get(x_1, 1); -x_14 = lean_array_size(x_12); -x_15 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_14, x_15, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_array_size(x_13); -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_19, x_15, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_1, 1, x_22); -lean_ctor_set(x_1, 0, x_17); -lean_ctor_set(x_20, 0, x_1); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_1, 1, x_23); -lean_ctor_set(x_1, 0, x_17); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ uint8_t x_26; -lean_dec(x_17); -lean_free_object(x_1); -x_26 = !lean_is_exclusive(x_20); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +x_26 = !lean_is_exclusive(x_17); if (x_26 == 0) { -return x_20; +return x_17; } else { lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); lean_inc(x_28); lean_inc(x_27); -lean_dec(x_20); +lean_dec(x_17); x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -62733,159 +69786,2178 @@ return x_29; } } } +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} else { -uint8_t x_30; +lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_17, x_18, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_3, x_2, x_22); +x_24 = 1; +x_25 = lean_usize_add(x_2, x_24); +x_26 = lean_array_uset(x_23, x_2, x_20); +x_2 = x_25; +x_3 = x_26; +x_13 = x_21; +goto _start; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_17, x_18, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_3, x_2, x_22); +x_24 = 1; +x_25 = lean_usize_add(x_2, x_24); +x_26 = lean_array_uset(x_23, x_2, x_20); +x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(x_1, x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +return x_27; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_array_uget(x_3, x_2); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = lean_array_size(x_18); +x_21 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_20, x_21, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_array_size(x_19); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_25, x_21, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_unsigned_to_nat(0u); +x_30 = lean_array_uset(x_3, x_2, x_29); +lean_ctor_set(x_16, 1, x_27); +lean_ctor_set(x_16, 0, x_23); +x_31 = 1; +x_32 = lean_usize_add(x_2, x_31); +x_33 = lean_array_uset(x_30, x_2, x_16); +x_2 = x_32; +x_3 = x_33; +x_13 = x_28; +goto _start; +} +else +{ +lean_dec(x_23); +lean_free_object(x_16); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_26; +} +} +else +{ +lean_free_object(x_16); +lean_dec_ref(x_19); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_22; +} +} +else +{ +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +x_37 = lean_array_size(x_35); +x_38 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_37, x_38, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_array_size(x_36); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_42, x_38, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_array_uset(x_3, x_2, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_40); +lean_ctor_set(x_48, 1, x_44); +x_49 = 1; +x_50 = lean_usize_add(x_2, x_49); +x_51 = lean_array_uset(x_47, x_2, x_48); +x_2 = x_50; +x_3 = x_51; +x_13 = x_45; +goto _start; +} +else +{ +lean_dec(x_40); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_43; +} +} +else +{ +lean_dec_ref(x_36); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_array_uget(x_3, x_2); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = lean_array_size(x_18); +x_21 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_20, x_21, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_array_size(x_19); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_25, x_21, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_unsigned_to_nat(0u); +x_30 = lean_array_uset(x_3, x_2, x_29); +lean_ctor_set(x_16, 1, x_27); +lean_ctor_set(x_16, 0, x_23); +x_31 = 1; +x_32 = lean_usize_add(x_2, x_31); +x_33 = lean_array_uset(x_30, x_2, x_16); +x_34 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_1, x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +return x_34; +} +else +{ +lean_dec(x_23); +lean_free_object(x_16); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_26; +} +} +else +{ +lean_free_object(x_16); +lean_dec_ref(x_19); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_22; +} +} +else +{ +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +x_37 = lean_array_size(x_35); +x_38 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_37, x_38, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_array_size(x_36); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_42, x_38, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_array_uset(x_3, x_2, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_40); +lean_ctor_set(x_48, 1, x_44); +x_49 = 1; +x_50 = lean_usize_add(x_2, x_49); +x_51 = lean_array_uset(x_47, x_2, x_48); +x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_1, x_50, x_51, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); +return x_52; +} +else +{ +lean_dec(x_40); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_43; +} +} +else +{ +lean_dec_ref(x_36); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_1); +if (x_12 == 0) +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_array_size(x_13); +x_15 = 0; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_14, x_15, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set(x_16, 0, x_1); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_16); +lean_ctor_set(x_1, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; lean_free_object(x_1); -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) +x_22 = !lean_is_exclusive(x_16); +if (x_22 == 0) { return x_16; } else { +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_16); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +lean_dec(x_1); +x_27 = lean_array_size(x_26); +x_28 = 0; +x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_27, x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_30); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_32; +} +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_29, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_37 = x_29; +} else { + lean_dec_ref(x_29); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +case 1: +{ +lean_object* x_39; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_1); +lean_ctor_set(x_39, 1, x_11); +return x_39; +} +case 2: +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_1); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_1, 0); +x_42 = lean_array_size(x_41); +x_43 = 0; +x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_42, x_43, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_ctor_set(x_1, 0, x_46); +lean_ctor_set(x_44, 0, x_1); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_44, 0); +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_44); +lean_ctor_set(x_1, 0, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +uint8_t x_50; +lean_free_object(x_1); +x_50 = !lean_is_exclusive(x_44); +if (x_50 == 0) +{ +return x_44; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_44, 0); +x_52 = lean_ctor_get(x_44, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_44); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_1, 0); +lean_inc(x_54); +lean_dec(x_1); +x_55 = lean_array_size(x_54); +x_56 = 0; +x_57 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_55, x_56, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_60 = x_57; +} else { + lean_dec_ref(x_57); + x_60 = lean_box(0); +} +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_58); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_63 = lean_ctor_get(x_57, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_57, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_65 = x_57; +} else { + lean_dec_ref(x_57); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(1, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +} +case 3: +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_1); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_1, 0); +x_69 = lean_ctor_get(x_1, 1); +x_70 = lean_array_size(x_69); +x_71 = 0; +x_72 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_70, x_71, x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_72, 0); +lean_ctor_set(x_1, 1, x_74); +lean_ctor_set(x_72, 0, x_1); +return x_72; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_72, 0); +x_76 = lean_ctor_get(x_72, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_72); +lean_ctor_set(x_1, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_1); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +uint8_t x_78; +lean_free_object(x_1); +lean_dec(x_68); +x_78 = !lean_is_exclusive(x_72); +if (x_78 == 0) +{ +return x_72; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_72, 0); +x_80 = lean_ctor_get(x_72, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_72); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_1, 0); +x_83 = lean_ctor_get(x_1, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_1); +x_84 = lean_array_size(x_83); +x_85 = 0; +x_86 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_84, x_85, x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_89 = x_86; +} else { + lean_dec_ref(x_86); + x_89 = lean_box(0); +} +x_90 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_90, 0, x_82); +lean_ctor_set(x_90, 1, x_87); +if (lean_is_scalar(x_89)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_89; +} +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_88); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_82); +x_92 = lean_ctor_get(x_86, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_86, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_94 = x_86; +} else { + lean_dec_ref(x_86); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(1, 2, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +return x_95; +} +} +} +case 4: +{ +uint8_t x_96; +x_96 = !lean_is_exclusive(x_1); +if (x_96 == 0) +{ +lean_object* x_97; size_t x_98; size_t x_99; lean_object* x_100; +x_97 = lean_ctor_get(x_1, 0); +x_98 = lean_array_size(x_97); +x_99 = 0; +x_100 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_98, x_99, x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_100) == 0) +{ +uint8_t x_101; +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_100, 0); +lean_ctor_set(x_1, 0, x_102); +lean_ctor_set(x_100, 0, x_1); +return x_100; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_100, 0); +x_104 = lean_ctor_get(x_100, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_100); +lean_ctor_set(x_1, 0, x_103); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_1); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +else +{ +uint8_t x_106; +lean_free_object(x_1); +x_106 = !lean_is_exclusive(x_100); +if (x_106 == 0) +{ +return x_100; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_100, 0); +x_108 = lean_ctor_get(x_100, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_100); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +else +{ +lean_object* x_110; size_t x_111; size_t x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_1, 0); +lean_inc(x_110); +lean_dec(x_1); +x_111 = lean_array_size(x_110); +x_112 = 0; +x_113 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_111, x_112, x_110, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_116 = x_113; +} else { + lean_dec_ref(x_113); + x_116 = lean_box(0); +} +x_117 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_117, 0, x_114); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 0); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_115); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_113, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_113, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_121 = x_113; +} else { + lean_dec_ref(x_113); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(1, 2, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_120); +return x_122; +} +} +} +case 5: +{ +uint8_t x_123; +x_123 = !lean_is_exclusive(x_1); +if (x_123 == 0) +{ +lean_object* x_124; size_t x_125; size_t x_126; lean_object* x_127; +x_124 = lean_ctor_get(x_1, 0); +x_125 = lean_array_size(x_124); +x_126 = 0; +x_127 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_125, x_126, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_127) == 0) +{ +uint8_t x_128; +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) +{ +lean_object* x_129; +x_129 = lean_ctor_get(x_127, 0); +lean_ctor_set(x_1, 0, x_129); +lean_ctor_set(x_127, 0, x_1); +return x_127; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_127, 0); +x_131 = lean_ctor_get(x_127, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_127); +lean_ctor_set(x_1, 0, x_130); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +else +{ +uint8_t x_133; +lean_free_object(x_1); +x_133 = !lean_is_exclusive(x_127); +if (x_133 == 0) +{ +return x_127; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_127, 0); +x_135 = lean_ctor_get(x_127, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_127); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} +else +{ +lean_object* x_137; size_t x_138; size_t x_139; lean_object* x_140; +x_137 = lean_ctor_get(x_1, 0); +lean_inc(x_137); +lean_dec(x_1); +x_138 = lean_array_size(x_137); +x_139 = 0; +x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_138, x_139, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_143 = x_140; +} else { + lean_dec_ref(x_140); + x_143 = lean_box(0); +} +x_144 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_144, 0, x_141); +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 2, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_142); +return x_145; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = lean_ctor_get(x_140, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_148 = x_140; +} else { + lean_dec_ref(x_140); + x_148 = lean_box(0); +} +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); +} else { + x_149 = x_148; +} +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_147); +return x_149; +} +} +} +case 6: +{ +uint8_t x_150; +x_150 = !lean_is_exclusive(x_1); +if (x_150 == 0) +{ +lean_object* x_151; size_t x_152; size_t x_153; lean_object* x_154; +x_151 = lean_ctor_get(x_1, 0); +x_152 = lean_array_size(x_151); +x_153 = 0; +x_154 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_152, x_153, x_151, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_154) == 0) +{ +uint8_t x_155; +x_155 = !lean_is_exclusive(x_154); +if (x_155 == 0) +{ +lean_object* x_156; +x_156 = lean_ctor_get(x_154, 0); +lean_ctor_set(x_1, 0, x_156); +lean_ctor_set(x_154, 0, x_1); +return x_154; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_154, 0); +x_158 = lean_ctor_get(x_154, 1); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_154); +lean_ctor_set(x_1, 0, x_157); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_1); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +uint8_t x_160; +lean_free_object(x_1); +x_160 = !lean_is_exclusive(x_154); +if (x_160 == 0) +{ +return x_154; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_154, 0); +x_162 = lean_ctor_get(x_154, 1); +lean_inc(x_162); +lean_inc(x_161); +lean_dec(x_154); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +return x_163; +} +} +} +else +{ +lean_object* x_164; size_t x_165; size_t x_166; lean_object* x_167; +x_164 = lean_ctor_get(x_1, 0); +lean_inc(x_164); +lean_dec(x_1); +x_165 = lean_array_size(x_164); +x_166 = 0; +x_167 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_165, x_166, x_164, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_167) == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_170 = x_167; +} else { + lean_dec_ref(x_167); + x_170 = lean_box(0); +} +x_171 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_171, 0, x_168); +if (lean_is_scalar(x_170)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_170; +} +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_169); +return x_172; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_173 = lean_ctor_get(x_167, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_167, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_175 = x_167; +} else { + lean_dec_ref(x_167); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_173); +lean_ctor_set(x_176, 1, x_174); +return x_176; +} +} +} +default: +{ +uint8_t x_177; +x_177 = !lean_is_exclusive(x_1); +if (x_177 == 0) +{ +lean_object* x_178; lean_object* x_179; size_t x_180; size_t x_181; lean_object* x_182; +x_178 = lean_ctor_get(x_1, 0); +x_179 = lean_ctor_get(x_1, 1); +x_180 = lean_array_size(x_179); +x_181 = 0; +x_182 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_180, x_181, x_179, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_182) == 0) +{ +uint8_t x_183; +x_183 = !lean_is_exclusive(x_182); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_182, 0); +lean_ctor_set(x_1, 1, x_184); +lean_ctor_set(x_182, 0, x_1); +return x_182; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_182, 0); +x_186 = lean_ctor_get(x_182, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_182); +lean_ctor_set(x_1, 1, x_185); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_1); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +uint8_t x_188; +lean_free_object(x_1); +lean_dec(x_178); +x_188 = !lean_is_exclusive(x_182); +if (x_188 == 0) +{ +return x_182; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_182, 0); +x_190 = lean_ctor_get(x_182, 1); +lean_inc(x_190); +lean_inc(x_189); +lean_dec(x_182); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +} +else +{ +lean_object* x_192; lean_object* x_193; size_t x_194; size_t x_195; lean_object* x_196; +x_192 = lean_ctor_get(x_1, 0); +x_193 = lean_ctor_get(x_1, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_1); +x_194 = lean_array_size(x_193); +x_195 = 0; +x_196 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_194, x_195, x_193, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_199 = x_196; +} else { + lean_dec_ref(x_196); + x_199 = lean_box(0); +} +x_200 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_200, 0, x_192); +lean_ctor_set(x_200, 1, x_197); +if (lean_is_scalar(x_199)) { + x_201 = lean_alloc_ctor(0, 2, 0); +} else { + x_201 = x_199; +} +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_198); +return x_201; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_192); +x_202 = lean_ctor_get(x_196, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_196, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_204 = x_196; +} else { + lean_dec_ref(x_196); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1_spec__1(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__1(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3_spec__3(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__3(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; +goto _start; +} +else +{ +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_1); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 2); +x_16 = lean_ctor_get(x_1, 3); +x_17 = lean_ctor_get(x_1, 4); +x_18 = lean_array_size(x_13); +x_19 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_18, x_19, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_array_size(x_16); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_23, x_19, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; size_t x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec_ref(x_24); +x_27 = lean_array_size(x_17); +x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_27, x_19, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_28, 0); +lean_ctor_set(x_1, 4, x_30); +lean_ctor_set(x_1, 3, x_25); +lean_ctor_set(x_1, 0, x_21); +lean_ctor_set(x_28, 0, x_1); +return x_28; +} +else +{ lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); +x_31 = lean_ctor_get(x_28, 0); +x_32 = lean_ctor_get(x_28, 1); lean_inc(x_32); lean_inc(x_31); -lean_dec(x_16); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); +lean_dec(x_28); +lean_ctor_set(x_1, 4, x_31); +lean_ctor_set(x_1, 3, x_25); +lean_ctor_set(x_1, 0, x_21); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); lean_ctor_set(x_33, 1, x_32); return x_33; } } +else +{ +uint8_t x_34; +lean_dec(x_25); +lean_dec(x_21); +lean_free_object(x_1); +lean_dec(x_15); +lean_dec_ref(x_14); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; } else { -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_1, 0); -x_35 = lean_ctor_get(x_1, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_1); -x_36 = lean_array_size(x_34); -x_37 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_36, x_37, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_38) == 0) +lean_dec(x_28); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else { -lean_object* x_39; lean_object* x_40; size_t x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +uint8_t x_38; +lean_dec(x_21); +lean_free_object(x_1); +lean_dec_ref(x_17); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_38 = !lean_is_exclusive(x_24); +if (x_38 == 0) +{ +return x_24; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_24, 0); +x_40 = lean_ctor_get(x_24, 1); lean_inc(x_40); -lean_dec_ref(x_38); -x_41 = lean_array_size(x_35); -x_42 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_41, x_37, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_40); -if (lean_obj_tag(x_42) == 0) +lean_inc(x_39); +lean_dec(x_24); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +uint8_t x_42; +lean_free_object(x_1); +lean_dec_ref(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) +{ +return x_20; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; -} else { - lean_dec_ref(x_42); - x_45 = lean_box(0); +lean_inc(x_43); +lean_dec(x_20); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_39); -lean_ctor_set(x_46, 1, x_43); -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_45; } -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_44); -return x_47; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_39); -x_48 = lean_ctor_get(x_42, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_42, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_1, 0); +x_47 = lean_ctor_get(x_1, 1); +x_48 = lean_ctor_get(x_1, 2); +x_49 = lean_ctor_get(x_1, 3); +x_50 = lean_ctor_get(x_1, 4); +lean_inc(x_50); lean_inc(x_49); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_50 = x_42; +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_1); +x_51 = lean_array_size(x_46); +x_52 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_53 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixI_spec__0(x_51, x_52, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; size_t x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = lean_array_size(x_49); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_57 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_56, x_52, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; size_t x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec_ref(x_57); +x_60 = lean_array_size(x_50); +x_61 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_60, x_52, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; } else { - lean_dec_ref(x_42); - x_50 = lean_box(0); + lean_dec_ref(x_61); + x_64 = lean_box(0); } -if (lean_is_scalar(x_50)) { - x_51 = lean_alloc_ctor(1, 2, 0); +x_65 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_65, 0, x_54); +lean_ctor_set(x_65, 1, x_47); +lean_ctor_set(x_65, 2, x_48); +lean_ctor_set(x_65, 3, x_58); +lean_ctor_set(x_65, 4, x_62); +if (lean_is_scalar(x_64)) { + x_66 = lean_alloc_ctor(0, 2, 0); } else { - x_51 = x_50; + x_66 = x_64; } -lean_ctor_set(x_51, 0, x_48); -lean_ctor_set(x_51, 1, x_49); -return x_51; +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_63); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_58); +lean_dec(x_54); +lean_dec(x_48); +lean_dec_ref(x_47); +x_67 = lean_ctor_get(x_61, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_61, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_69 = x_61; +} else { + lean_dec_ref(x_61); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(1, 2, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +return x_70; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_35); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_52 = lean_ctor_get(x_38, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_38, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_54 = x_38; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_54); +lean_dec_ref(x_50); +lean_dec(x_48); +lean_dec_ref(x_47); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_57, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_73 = x_57; } else { - lean_dec_ref(x_38); - x_54 = lean_box(0); + lean_dec_ref(x_57); + x_73 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(1, 2, 0); } else { - x_55 = x_54; + x_74 = x_73; } -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec_ref(x_50); +lean_dec_ref(x_49); +lean_dec(x_48); +lean_dec_ref(x_47); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_75 = lean_ctor_get(x_53, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_53, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_77 = x_53; +} else { + lean_dec_ref(x_53); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(1, 2, 0); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_76); +return x_78; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_11; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_1); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_array_size(x_13); +x_16 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_15, x_16, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_array_size(x_14); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_20, x_16, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_ctor_set(x_1, 1, x_23); +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set(x_21, 0, x_1); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_21); +lean_ctor_set(x_1, 1, x_24); +lean_ctor_set(x_1, 0, x_18); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_18); +lean_free_object(x_1); +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) +{ +return x_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_21, 0); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_21); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_free_object(x_1); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_31 = !lean_is_exclusive(x_17); +if (x_31 == 0) +{ +return x_17; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_17, 0); +x_33 = lean_ctor_get(x_17, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_17); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_1); +x_37 = lean_array_size(x_35); +x_38 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_39 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixB_spec__0(x_37, x_38, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_array_size(x_36); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks_fixP_spec__0(x_42, x_38, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_40); +lean_ctor_set(x_47, 1, x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_40); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_36); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_53 = lean_ctor_get(x_39, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_39, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_55 = x_39; +} else { + lean_dec_ref(x_39); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; } } static lean_object* _init_l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__0() { @@ -62915,94 +71987,94 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_13; lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -if (x_16 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_2, 1); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 2); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__2; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_20 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_20) == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__2; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_21 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec_ref(x_20); +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); { -lean_object* _tmp_1 = x_17; +lean_object* _tmp_1 = x_18; lean_object* _tmp_2 = x_1; -lean_object* _tmp_11 = x_21; +lean_object* _tmp_12 = x_22; x_2 = _tmp_1; x_3 = _tmp_2; -x_12 = _tmp_11; +x_13 = _tmp_12; } goto _start; } else { -uint8_t x_23; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) +uint8_t x_24; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) { -return x_20; +return x_21; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_dec(x_21); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } else { -lean_object* x_27; -x_27 = lean_ctor_get(x_2, 2); +lean_object* x_28; +x_28 = lean_ctor_get(x_2, 2); { -lean_object* _tmp_1 = x_27; +lean_object* _tmp_1 = x_28; lean_object* _tmp_2 = x_1; x_2 = _tmp_1; x_3 = _tmp_2; @@ -63012,87 +72084,87 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_13; lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -if (x_16 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_2, 1); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 2); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__2; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_20 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_20) == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___closed__2; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_21 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec_ref(x_20); -x_22 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_17, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -return x_22; +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); +x_23 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_18, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_23; } else { -uint8_t x_23; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) +uint8_t x_24; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) { -return x_20; +return x_21; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_dec(x_21); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_2, 2); -x_28 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_27, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_28; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 2); +x_29 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_28, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_29; } } } @@ -63124,685 +72196,81 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_13; lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 2); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__2; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_20 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec_ref(x_20); -{ -lean_object* _tmp_1 = x_17; -lean_object* _tmp_2 = x_1; -lean_object* _tmp_11 = x_21; -x_2 = _tmp_1; -x_3 = _tmp_2; -x_12 = _tmp_11; -} -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) -{ -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -else -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_2, 2); -{ -lean_object* _tmp_1 = x_27; -lean_object* _tmp_2 = x_1; -x_2 = _tmp_1; -x_3 = _tmp_2; -} -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 2); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__2; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_20 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec_ref(x_20); -x_22 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_17, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -return x_22; -} -else -{ -uint8_t x_23; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) -{ -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_2, 2); -x_28 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_27, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_4, x_3); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_uget(x_2, x_4); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -x_18 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(x_1, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec_ref(x_19); -lean_ctor_set(x_18, 0, x_22); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -lean_dec_ref(x_19); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_dec_ref(x_18); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -lean_dec_ref(x_19); -x_28 = 1; -x_29 = lean_usize_add(x_4, x_28); -x_4 = x_29; -x_5 = x_27; -x_14 = x_26; -goto _start; -} -} -else -{ -uint8_t x_31; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_4, x_3); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_uget(x_2, x_4); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -x_18 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(x_1, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec_ref(x_19); -lean_ctor_set(x_18, 0, x_22); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -lean_dec_ref(x_19); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_dec_ref(x_18); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -lean_dec_ref(x_19); -x_28 = 1; -x_29 = lean_usize_add(x_4, x_28); -x_4 = x_29; -x_5 = x_27; -x_14 = x_26; -goto _start; -} -} -else -{ -uint8_t x_31; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_10 = lean_st_ref_get(x_1, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_11, 1); -lean_inc_ref(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_dec_ref(x_10); -x_14 = lean_ctor_get(x_12, 1); -lean_inc_ref(x_14); -lean_dec_ref(x_12); -x_15 = lean_box(0); -x_16 = lean_array_size(x_14); -x_17 = 0; -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(x_15, x_14, x_16, x_17, x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -lean_dec_ref(x_14); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; lean_object* x_26; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec_ref(x_18); -x_20 = lean_st_ref_get(x_1, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc_ref(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec_ref(x_20); -x_24 = lean_ctor_get(x_22, 1); -lean_inc_ref(x_24); -lean_dec_ref(x_22); -x_25 = lean_array_size(x_24); -x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(x_15, x_24, x_25, x_17, x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec_ref(x_24); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -lean_ctor_set(x_26, 0, x_15); -return x_26; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_15); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -else -{ -return x_26; -} -} -else -{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_18; -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_elabBlocks(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_unsigned_to_nat(0u); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_12 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_16 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_17); -return x_19; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_2, 1); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__2; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_21 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_dec_ref(x_21); +{ +lean_object* _tmp_1 = x_18; +lean_object* _tmp_2 = x_1; +lean_object* _tmp_12 = x_22; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_13 = _tmp_12; } +goto _start; } else { uint8_t x_24; -lean_dec(x_17); -x_24 = !lean_is_exclusive(x_19); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_24 = !lean_is_exclusive(x_21); if (x_24 == 0) { -return x_19; +return x_21; } else { lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_19, 0); -x_26 = lean_ctor_get(x_19, 1); +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); lean_inc(x_26); lean_inc(x_25); -lean_dec(x_19); +lean_dec(x_21); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -63812,45 +72280,660 @@ return x_27; } else { -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_16; +lean_object* x_28; +x_28 = lean_ctor_get(x_2, 2); +{ +lean_object* _tmp_1 = x_28; +lean_object* _tmp_2 = x_1; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_2, 1); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___closed__2; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_21 = l_Lean_logWarningAt___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkArg_spec__0(x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec_ref(x_21); +x_23 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_18, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_23; +} +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) +{ +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_21); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} } } else { +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 2); +x_29 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_28, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_uget(x_2, x_4); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec_ref(x_20); +lean_ctor_set(x_19, 0, x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec_ref(x_20); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_dec_ref(x_19); +x_28 = lean_ctor_get(x_20, 0); +lean_inc(x_28); +lean_dec_ref(x_20); +x_29 = 1; +x_30 = lean_usize_add(x_4, x_29); +x_4 = x_30; +x_5 = x_28; +x_15 = x_27; +goto _start; +} +} +else +{ +uint8_t x_32; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_uget(x_2, x_4); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_19 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec_ref(x_20); +lean_ctor_set(x_19, 0, x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec_ref(x_20); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_dec_ref(x_19); +x_28 = lean_ctor_get(x_20, 0); +lean_inc(x_28); +lean_dec_ref(x_20); +x_29 = 1; +x_30 = lean_usize_add(x_4, x_29); +x_4 = x_30; +x_5 = x_28; +x_15 = x_27; +goto _start; +} +} +else +{ +uint8_t x_32; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_11 = lean_st_ref_get(x_2, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec_ref(x_11); +x_15 = lean_ctor_get(x_13, 1); +lean_inc_ref(x_15); +lean_dec_ref(x_13); +x_16 = lean_box(0); +x_17 = lean_array_size(x_15); +x_18 = 0; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(x_16, x_15, x_17, x_18, x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +lean_dec_ref(x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = lean_st_ref_get(x_2, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +lean_inc_ref(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec_ref(x_21); +x_25 = lean_ctor_get(x_23, 1); +lean_inc_ref(x_25); +lean_dec_ref(x_23); +x_26 = lean_array_size(x_25); +x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(x_16, x_25, x_26, x_18, x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +lean_dec_ref(x_25); +if (lean_obj_tag(x_27) == 0) +{ uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_16); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_16); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +return x_27; +} +} +else +{ lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Std_Data_DHashMap_Internal_AssocList_Basic_0__Std_DHashMap_Internal_AssocList_forInStep_go___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__4(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs_spec__5(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); lean_dec(x_2); -x_28 = !lean_is_exclusive(x_12); -if (x_28 == 0) +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_elabBlocks(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -return x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_unsigned_to_nat(0u); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_13 = l___private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_17 = l___private_Lean_Elab_DocString_0__Lean_Doc_fixupBlocks(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = l___private_Lean_Elab_DocString_0__Lean_Doc_warnUnusedRefs(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_18); +return x_20; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_12, 0); -x_30 = lean_ctor_get(x_12, 1); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_18); +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +return x_20; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_17; +} +} +else +{ +uint8_t x_29; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_29 = !lean_is_exclusive(x_13); +if (x_29 == 0) +{ +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_12); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_dec(x_13); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } @@ -63888,117 +72971,7 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Hint(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeSuggestionExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3731110313____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeSuggestions = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeSuggestions); -lean_dec_ref(res); -}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1271404620____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeBlockSuggestions = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinCodeBlockSuggestions); -lean_dec_ref(res); -}l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2__spec__0___redArg___lam__0___closed__0); -l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_docRoleExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_docRoleExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_67909867____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocRoles = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocRoles); -lean_dec_ref(res); -}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_docCodeBlockExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_docCodeBlockExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_851129842____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCodeBlocks = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCodeBlocks); -lean_dec_ref(res); -}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_docDirectiveExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_docDirectiveExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3663701764____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocDirectives = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocDirectives); -lean_dec_ref(res); -}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); -l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_docCommandExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_docCommandExt); -lean_dec_ref(res); -}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_2508461323____hygCtx___hyg_2_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCommands = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_builtinDocCommands); -lean_dec_ref(res); -}l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); +l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); @@ -64022,6 +72995,10 @@ l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_El lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__10____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__11____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); +l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__12____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); +l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl___closed__13____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_316072650____hygCtx___hyg_15_); l___private_Lean_Elab_DocString_0__Lean_Doc_instTypeNameElabLink = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instTypeNameElabLink(); @@ -64054,6 +73031,26 @@ l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0 = _init_l_ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_delayFootnote___closed__1); +l_Lean_Doc_instBEqSuggestionMode___closed__0 = _init_l_Lean_Doc_instBEqSuggestionMode___closed__0(); +lean_mark_persistent(l_Lean_Doc_instBEqSuggestionMode___closed__0); +l_Lean_Doc_instBEqSuggestionMode = _init_l_Lean_Doc_instBEqSuggestionMode(); +lean_mark_persistent(l_Lean_Doc_instBEqSuggestionMode); +l_Lean_Doc_instReprSuggestionMode_repr___closed__0 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__0(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__0); +l_Lean_Doc_instReprSuggestionMode_repr___closed__1 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__1(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__1); +l_Lean_Doc_instReprSuggestionMode_repr___closed__2 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__2(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__2); +l_Lean_Doc_instReprSuggestionMode_repr___closed__3 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__3(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__3); +l_Lean_Doc_instReprSuggestionMode_repr___closed__4 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__4(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__4); +l_Lean_Doc_instReprSuggestionMode_repr___closed__5 = _init_l_Lean_Doc_instReprSuggestionMode_repr___closed__5(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode_repr___closed__5); +l_Lean_Doc_instReprSuggestionMode___closed__0 = _init_l_Lean_Doc_instReprSuggestionMode___closed__0(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode___closed__0); +l_Lean_Doc_instReprSuggestionMode = _init_l_Lean_Doc_instReprSuggestionMode(); +lean_mark_persistent(l_Lean_Doc_instReprSuggestionMode); l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0 = _init_l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0(); lean_mark_persistent(l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__0); l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1 = _init_l_Lean_Doc_instMonadStateOfInternalStateDocM___closed__1(); @@ -64140,6 +73137,8 @@ l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__6 = lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__6); l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__7 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__7(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_binderNames___closed__7); +l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_DocM_exec_buildContext___closed__0); l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__0(); l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f___at___Lean_Doc_DocM_exec_spec__0_spec__0_spec__0___redArg___closed__1(); l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__0 = _init_l_Lean_setEnv___at___Lean_withEnv___at___Lean_Doc_DocM_exec_spec__6_spec__6___redArg___closed__0(); @@ -64232,6 +73231,8 @@ l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___ lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___lam__0___closed__0); l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0(); lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__0); +l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1(); +lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_instFromDocArgDataValue___private__1_spec__0_spec__13___closed__1); l_Lean_Doc_instFromDocArgDataValue___private__1___closed__0 = _init_l_Lean_Doc_instFromDocArgDataValue___private__1___closed__0(); lean_mark_persistent(l_Lean_Doc_instFromDocArgDataValue___private__1___closed__0); l_Lean_Doc_instFromDocArgDataValue___private__1___closed__1 = _init_l_Lean_Doc_instFromDocArgDataValue___private__1___closed__1(); @@ -64396,6 +73397,12 @@ l_Lean_Doc_getPositional___redArg___closed__36 = _init_l_Lean_Doc_getPositional_ lean_mark_persistent(l_Lean_Doc_getPositional___redArg___closed__36); l_Lean_Doc_getPositional___redArg___closed__37 = _init_l_Lean_Doc_getPositional___redArg___closed__37(); lean_mark_persistent(l_Lean_Doc_getPositional___redArg___closed__37); +l_Lean_Doc_getPositional___redArg___closed__38 = _init_l_Lean_Doc_getPositional___redArg___closed__38(); +lean_mark_persistent(l_Lean_Doc_getPositional___redArg___closed__38); +l_Lean_Doc_getPositional___redArg___closed__39 = _init_l_Lean_Doc_getPositional___redArg___closed__39(); +lean_mark_persistent(l_Lean_Doc_getPositional___redArg___closed__39); +l_Lean_Doc_getPositional___redArg___closed__40 = _init_l_Lean_Doc_getPositional___redArg___closed__40(); +lean_mark_persistent(l_Lean_Doc_getPositional___redArg___closed__40); l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed___closed__1(); @@ -64428,10 +73435,22 @@ l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redAr lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___lam__5___closed__3); l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___closed__0(); lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_done_spec__0_spec__0___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__4); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__5); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__6); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_done_spec__2_spec__2___closed__7); l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__1(); @@ -64456,10 +73475,6 @@ l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10 = lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__10); l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__11); -l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__12); -l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec_repr___closed__13); l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_instReprArgSpec(); @@ -64612,7 +73627,101 @@ l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10 = _init_l___ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__10); l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__11 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__11(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_genWrapper___closed__11); -l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0 = _init_l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0(); +l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4269191401____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_codeSuggestionExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_codeSuggestionExt); +lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4042854543____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_codeBlockSuggestionExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_codeBlockSuggestionExt); +lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1180459801____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_docRoleExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_docRoleExt); +lean_dec_ref(res); +}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3866164309____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinDocRoles = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinDocRoles); +lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4181173906____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_docCodeBlockExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_docCodeBlockExt); +lean_dec_ref(res); +}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_288960067____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinDocCodeBlocks = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinDocCodeBlocks); +lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1381276721____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_docDirectiveExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_docDirectiveExt); +lean_dec_ref(res); +}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_966400761____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinDocDirectives = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinDocDirectives); +lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); +l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3145482433____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_docCommandExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_docCommandExt); +lean_dec_ref(res); +}if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_1692624857____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinDocCommands = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinDocCommands); +lean_dec_ref(res); +}l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0 = _init_l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0(); lean_mark_persistent(l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__0); l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__1 = _init_l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__1(); lean_mark_persistent(l_Lean_addMessageContextPartial___at___Lean_throwError___at_____private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2__spec__0_spec__0___closed__1); @@ -64689,25 +73798,32 @@ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1913258924____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_3328340222____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinCodeSuggestions = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinCodeSuggestions); +lean_dec_ref(res); }l_Lean_Doc_addBuiltinCodeSuggestion___closed__0 = _init_l_Lean_Doc_addBuiltinCodeSuggestion___closed__0(); lean_mark_persistent(l_Lean_Doc_addBuiltinCodeSuggestion___closed__0); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3985587177____hygCtx___hyg_2_(lean_io_mk_world()); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_202337124____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_(); @@ -64763,29 +73879,31 @@ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_358295827____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Doc_addBuiltinDocRole___closed__0 = _init_l_Lean_Doc_addBuiltinDocRole___closed__0(); +}l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocRole_spec__0___redArg___lam__0___closed__0); +l_Lean_Doc_addBuiltinDocRole___closed__0 = _init_l_Lean_Doc_addBuiltinDocRole___closed__0(); lean_mark_persistent(l_Lean_Doc_addBuiltinDocRole___closed__0); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4270680891____hygCtx___hyg_2_(lean_io_mk_world()); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3439285622____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_(); @@ -64815,73 +73933,140 @@ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3253110280____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Doc_addBuiltinDocCodeBlock___closed__0 = _init_l_Lean_Doc_addBuiltinDocCodeBlock___closed__0(); +}l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCodeBlock_spec__0___redArg___lam__0___closed__0); +l_Lean_Doc_addBuiltinDocCodeBlock___closed__0 = _init_l_Lean_Doc_addBuiltinDocCodeBlock___closed__0(); lean_mark_persistent(l_Lean_Doc_addBuiltinDocCodeBlock___closed__0); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3158329193____hygCtx___hyg_2_(lean_io_mk_world()); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_4017012806____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3184904991____hygCtx___hyg_2_(lean_io_mk_world()); +}l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3303397355____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_2166704935____hygCtx___hyg_2_(lean_io_mk_world()); +}l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_ = _init_l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Doc_initFn____x40_Lean_Elab_DocString_4070225551____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Doc_builtinCodeBlockSuggestions = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Doc_builtinCodeBlockSuggestions); +lean_dec_ref(res); +}l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0 = _init_l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0(); +lean_mark_persistent(l_Lean_Doc_addBuiltinCodeBlockSuggestion___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__0___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_891821846____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_3463645857____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocDirective_spec__0___redArg___lam__0___closed__0); +l_Lean_Doc_addBuiltinDocDirective___closed__0 = _init_l_Lean_Doc_addBuiltinDocDirective___closed__0(); +lean_mark_persistent(l_Lean_Doc_addBuiltinDocDirective___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1163580549____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_(); @@ -64907,37 +74092,59 @@ lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_2540536312____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Doc_addBuiltinDocCommand___closed__0 = _init_l_Lean_Doc_addBuiltinDocCommand___closed__0(); +}l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_alter___at___Lean_Doc_addBuiltinDocCommand_spec__0___redArg___lam__0___closed__0); +l_Lean_Doc_addBuiltinDocCommand___closed__0 = _init_l_Lean_Doc_addBuiltinDocCommand___closed__0(); lean_mark_persistent(l_Lean_Doc_addBuiltinDocCommand___closed__0); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1561009594____hygCtx___hyg_2_(lean_io_mk_world()); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___lam__1___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__0____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__1____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__2____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__3____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__4____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__5____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__6____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__7____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_ = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_initFn___closed__8____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Elab_DocString_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_1833054692____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__0); -l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockSuggestionsUnsafe___closed__1); +}l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__1); +l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__2); +l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_roleExpandersForUnsafe___closed__3); l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__1); +l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_codeBlockExpandersForUnsafe___closed__2); +l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__1); +l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_directiveExpandersForUnsafe___closed__2); +l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__1); +l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_commandExpandersForUnsafe___closed__2); l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkArgVal___closed__1(); @@ -65015,20 +74222,42 @@ if (lean_io_result_is_error(res)) return res; l___private_Lean_Elab_DocString_0__Lean_Doc_doc_verso_suggestions = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_doc_verso_suggestions); lean_dec_ref(res); -}l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0(); +}l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0 = _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_sortSuggestions_spec__0___redArg___lam__0___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Diff_linesToString___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__1_spec__1___closed__1); +l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0 = _init_l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0(); +lean_mark_persistent(l_Lean_Diff_matchPrefix___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__5___closed__0); +l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0 = _init_l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0(); +lean_mark_persistent(l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5_spec__22___redArg___closed__0); +l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0 = _init_l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0(); +lean_mark_persistent(l_Lean_Diff_lcs___at___Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5_spec__5___closed__0); +l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0 = _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0(); +lean_mark_persistent(l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__0); +l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1 = _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1(); +lean_mark_persistent(l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__1); +l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2 = _init_l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2(); +lean_mark_persistent(l_Lean_Diff_diff___at_____private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion_spec__5___closed__2); +l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__0); +l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__1); +l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__2); +l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_mkSuggestion___redArg___closed__3); +l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__0); l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__1); -l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2 = _init_l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_0__Lean_Doc_elabInline_withSpace___closed__2); -l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0 = _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabInline_sortSuggestions_spec__0___redArg___lam__0___closed__0); l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_elabInline_spec__1_spec__1___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__12_spec__12___closed__1); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabInline_spec__7___redArg___closed__1); l_Lean_Doc_elabInline___closed__0 = _init_l_Lean_Doc_elabInline___closed__0(); lean_mark_persistent(l_Lean_Doc_elabInline___closed__0); l_Lean_Doc_elabInline___closed__1 = _init_l_Lean_Doc_elabInline___closed__1(); @@ -65105,12 +74334,12 @@ l_Lean_Doc_elabInline___closed__36 = _init_l_Lean_Doc_elabInline___closed__36(); lean_mark_persistent(l_Lean_Doc_elabInline___closed__36); l_Lean_Doc_elabInline___closed__37 = _init_l_Lean_Doc_elabInline___closed__37(); lean_mark_persistent(l_Lean_Doc_elabInline___closed__37); -l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__1___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__15_spec__15___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__17___closed__0); +l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Doc_elabBlock_spec__11___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__12_spec__12___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_elabBlock_spec__14___closed__0); l_Lean_Doc_elabBlock___closed__0 = _init_l_Lean_Doc_elabBlock___closed__0(); lean_mark_persistent(l_Lean_Doc_elabBlock___closed__0); l_Lean_Doc_elabBlock___closed__1 = _init_l_Lean_Doc_elabBlock___closed__1(); @@ -65167,6 +74396,24 @@ l_Lean_Doc_elabBlock___closed__26 = _init_l_Lean_Doc_elabBlock___closed__26(); lean_mark_persistent(l_Lean_Doc_elabBlock___closed__26); l_Lean_Doc_elabBlock___closed__27 = _init_l_Lean_Doc_elabBlock___closed__27(); lean_mark_persistent(l_Lean_Doc_elabBlock___closed__27); +l_Lean_Doc_elabBlock___closed__28 = _init_l_Lean_Doc_elabBlock___closed__28(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__28); +l_Lean_Doc_elabBlock___closed__29 = _init_l_Lean_Doc_elabBlock___closed__29(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__29); +l_Lean_Doc_elabBlock___closed__30 = _init_l_Lean_Doc_elabBlock___closed__30(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__30); +l_Lean_Doc_elabBlock___closed__31 = _init_l_Lean_Doc_elabBlock___closed__31(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__31); +l_Lean_Doc_elabBlock___closed__32 = _init_l_Lean_Doc_elabBlock___closed__32(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__32); +l_Lean_Doc_elabBlock___closed__33 = _init_l_Lean_Doc_elabBlock___closed__33(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__33); +l_Lean_Doc_elabBlock___closed__34 = _init_l_Lean_Doc_elabBlock___closed__34(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__34); +l_Lean_Doc_elabBlock___closed__35 = _init_l_Lean_Doc_elabBlock___closed__35(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__35); +l_Lean_Doc_elabBlock___closed__36 = _init_l_Lean_Doc_elabBlock___closed__36(); +lean_mark_persistent(l_Lean_Doc_elabBlock___closed__36); l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__0 = _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__0(); lean_mark_persistent(l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__0); l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1 = _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1_spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin.c b/stage0/stdlib/Lean/Elab/DocString/Builtin.c index 84748cadfa..f3922f4c05 100644 --- a/stage0/stdlib/Lean/Elab/DocString/Builtin.c +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.DocString.Builtin -// Imports: Lean.Elab.DocString Lean.DocString.Links Lean.DocString.Syntax Lean.Elab.InfoTree Lean.Elab.Term.TermElabM Lean.Elab.Open Lean.Parser Lean.Meta.Hint Lean.Elab.Tactic.Doc Lean.Data.EditDistance +// Imports: Lean.Elab.DocString Lean.Elab.DocString.Builtin.Parsing Lean.Elab.DocString.Builtin.Scopes Lean.Elab.DocString.Builtin.Postponed Lean.DocString.Links Lean.DocString.Syntax Lean.Elab.InfoTree Lean.Elab.Term.TermElabM Lean.Elab.Open Lean.Parser Lean.Meta.Hint Lean.Meta.Reduce Lean.Elab.Tactic.Doc Lean.Data.EditDistance Lean.Elab.DocString.Builtin.Keywords #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,1040 +13,1114 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; -LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_ConvTactic_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanBlock___closed__0; +static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__8; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3; static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__2; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5; -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_leanRole___lam__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Syntax_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___redArg(size_t, size_t, lean_object*); +static lean_object* l_Lean_Doc_name___closed__6; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attributes_ctorIdx(lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_identWithPartialTrailingDot; -LEAN_EXPORT lean_object* l_Lean_Doc_lean___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_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___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*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lean___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTR___redArg(lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__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_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_Doc_attr(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_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_given___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_attr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3; static lean_object* l_Lean_Doc_attr___lam__2___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStx(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_given___closed__1; +static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0; static lean_object* l_Lean_Doc_attr___closed__15; uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); +uint64_t l_Lean_Meta_Context_configKey(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__11; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert___closed__3; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__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_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(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_Doc_name___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_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__5; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TSyntax_getId(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__0; static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__2; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__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*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1; lean_object* lean_private_to_user_name(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(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_Doc_Data_instTypeNameAtom; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(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_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0; static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___redArg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___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_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0(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_Doc_Data_instTypeNameConvTactic; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__13; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__2; lean_object* l_Lean_Environment_header(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestCat___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__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*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1; +static lean_object* l_Lean_Doc_assert___closed__5; +static lean_object* l_Lean_Doc_suggestAttr___closed__0; static lean_object* l_Lean_Doc_suggestName___closed__1; +static lean_object* l_Lean_Doc_suggestName___lam__1___closed__1; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__7; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); -static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; uint8_t l_Array_isEmpty___redArg(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; uint8_t l_Lean_Exception_isInterrupt(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_attr___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*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_attr___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; +static uint64_t l_Lean_Doc_assert_x27___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSyntax; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; +lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14(lean_object*, lean_object*, lean_object*); lean_object* lean_get_set_stdout(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TSyntax_getString(lean_object*); size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_Doc_tactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_lor(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_tactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_assert___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*); +static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_quote(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions___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 uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0(lean_object*, lean_object*); +uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9; -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestOption___closed__2; static lean_object* l_Lean_Doc_output___closed__3; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__0; lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert___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*); +static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkSort(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_given___lam__0___closed__0; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameConst; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__4; +static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Option_ctorIdx___boxed(lean_object*); extern lean_object* l_Lean_Parser_Term_attributes; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attribute_ctorIdx(lean_object*); -lean_object* l_Std_DTreeMap_Internal_Impl_balance___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__1; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(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_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__2(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0; +static lean_object* l_Lean_Doc_assert___closed__4; +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_unknownIdentifierMessageTag; uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__8; lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; uint8_t l_Lean_Name_isAnonymous(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(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_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_leanRole___lam__2___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0; LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f___lam__0(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___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_activateScoped___at___Lean_Doc_open_spec__22___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_Doc_attr___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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5___boxed(lean_object**); +static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3; +lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__7; static lean_object* l_Lean_Doc_lean___closed__0; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0(uint8_t, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___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 uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__3; extern lean_object* l_Lean_Parser_ParserExtension_instInhabitedState_default; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__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_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22(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_activateScoped___at___Lean_Doc_open_spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_lean(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___boxed(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_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lean(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(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_DocString_Builtin_0__Lean_Doc_leanTermContents(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___boxed(lean_object**); +extern lean_object* l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; static lean_object* l_Lean_Doc_attr___closed__17; -static lean_object* l_Lean_Doc_suggestAttr___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat(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_Doc_suggestCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___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_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0(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_Doc_assert(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_DocString_Builtin_0__Lean_Doc_onlyIdent___boxed(lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg___boxed(lean_object**); -lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg___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_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7; -LEAN_EXPORT lean_object* l_Lean_Doc_attr___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_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_attr___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_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___lam__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__6; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(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_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___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_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(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_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___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_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__4(lean_object*, lean_object*); lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSyntaxCat; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__0; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__6; +static lean_object* l_Lean_Doc_assert_x27___closed__6; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__12; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg___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_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__8; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10; +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___boxed(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_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_panic___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg___boxed(lean_object**); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(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_Doc_assert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___lam__1___closed__0; uint8_t l_List_isEmpty___redArg(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2(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_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___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_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__10; -LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__1; lean_object* l_Lean_MessageData_note(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___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*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_many1Fn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__0; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___boxed(lean_object**); uint8_t lean_string_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_hint(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__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* l_Lean_Exception_toMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(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_Doc_Data_SetOption_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___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_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_given___closed__5; uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attribute_ctorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0(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_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___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*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx___boxed(lean_object*); +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0; +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___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_Doc_open___lam__0(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_Doc_conv___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___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_object*); +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___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_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(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_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___boxed(lean_object**); uint8_t lean_string_validate_utf8(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_name___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_Doc_name___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_Doc_suggestCat___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__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_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__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_object*); lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__3; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3; -lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*, uint8_t); +static lean_object* l_Lean_Doc_suggestName___lam__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__7; -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__9(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_activateScoped___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__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_object* l_Lean_Parser_mkInputContext___redArg(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_getTokenTable(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___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_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_Doc_given___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_Doc_given___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1; +static lean_object* l_Lean_Doc_suggestLeanTermBlock___closed__0; +static lean_object* l_Lean_Doc_assert___closed__2; lean_object* l_Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_Doc_output_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(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_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0(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_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__8; -LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___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_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageSeverity_toString(uint8_t); -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0(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_Doc_assert___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12; lean_object* l_Lean_FileMap_ofPosition(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_syntax___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_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(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_Doc_syntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(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_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1; +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__24(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(size_t, size_t, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2; static lean_object* l_Lean_Doc_name___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestOption___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___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 uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(lean_object*, lean_object*); uint8_t l_Lean_Parser_isTerminalCommand(lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; uint8_t lean_string_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___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_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__7; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___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_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestOption___redArg___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedScope_default; -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2; static lean_object* l_Lean_Doc_option___closed__1; -LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___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_Doc_Data_Atom_ctorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___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_resolveNamespace___at___Lean_Doc_open_spec__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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__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_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(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_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___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_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__2; lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9_spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__9; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_InputContext_atEnd(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_manual___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getAttributeNames(lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_set__option___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_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_set__option___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___boxed(lean_object**); extern lean_object* l_ByteArray_empty; -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(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_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_name___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_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(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_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9; +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(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_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___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_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(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_Doc_conv(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_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_conv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Doc_manual_spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_kw___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27(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_throwError___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameOption; lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Tactic_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_output(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10; +LEAN_EXPORT lean_object* l_Lean_Doc_output(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_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(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_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__2; lean_object* l_Lean_Parser_mkParserState(lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3; static lean_object* l_Lean_Doc_suggestCat___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(uint8_t, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___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_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_andList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLean___closed__2; -lean_object* l_Std_DTreeMap_Internal_Impl_filter___at___Lean_NameMap_filter_spec__0___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0; -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___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*); +static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3; +static lean_object* l_Lean_Doc_suggestAttr___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2; lean_object* l_Lean_Exception_getRef(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(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_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___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*, lean_object*); extern lean_object* l_Lean_Parser_parserExtension; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Local_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(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_DocString_Builtin_0__Lean_Doc_optionNameAndVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_object*); +lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___boxed(lean_object**); -static lean_object* l_Lean_Doc_suggestOption___redArg___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(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_Doc_Data_SyntaxCat_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; lean_object* lean_array_to_list(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__9; -LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(lean_object*, lean_object*); +lean_object* l_Lean_Parser_symbol(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__7; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; static lean_object* l_Lean_Doc_output___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; lean_object* l_Lean_Name_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(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_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; lean_object* l_Array_ofSubarray___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___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*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__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_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__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_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Const_ctorIdx___boxed(lean_object*); +static lean_object* l_Lean_Doc_suggestGiven___closed__1; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_Data_Atom_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instTypeNamePostponedName; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5(lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3(size_t, size_t, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instToExprName___private__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqOfDecidableEq___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___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 lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__0; static lean_object* l_Lean_Doc_option___closed__2; -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(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_resolveLocalName___at___Lean_Doc_name_spec__0___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_privateToUserName(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(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_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(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_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__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_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___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___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_manualDomains; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty___boxed(lean_object*); lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8; -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg___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_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_name(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_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___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 lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_name(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_Name_componentsRev(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg___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_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___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_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg___lam__0(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_Doc_name___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_rootNamespace; static lean_object* l_Lean_Doc_lean___closed__14; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0; -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_manual___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0___boxed(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_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_manual___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestGiven___closed__0; +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0___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_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addTermInfo_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0; extern lean_object* l_Lean_warningAsError; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4; +extern lean_object* l_Lean_Elab_pp_macroStack; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_leanRole___lam__2___closed__0; static lean_object* l_Lean_Doc_attr___closed__16; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16; +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__7; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2; lean_object* lean_string_utf8_prev(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(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_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___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_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___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_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___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*); static lean_object* l_Lean_Doc_tactic___closed__6; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__3; +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg___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_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanBlock___closed__1; +static lean_object* l_Lean_Doc_given___closed__3; +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__2; static lean_object* l_Lean_Doc_manual___closed__5; static lean_object* l_Lean_Doc_attr___closed__3; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_node(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_ConvTactic_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Doc_tactic___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__4(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scopedEnvExtensionsRef; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_open___closed__0; static lean_object* l_Lean_Doc_manual___closed__3; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_option(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7(uint8_t, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10; +LEAN_EXPORT lean_object* l_Lean_Doc_option(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_get_set_stderr(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert___closed__0; +static lean_object* l_Lean_Doc_assert_x27___closed__4; +static lean_object* l_Lean_Doc_assert_x27___closed__3; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__4; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0; +lean_object* lean_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_name_spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___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_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Format_defWidth; lean_object* lean_string_from_utf8_unchecked(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Doc_allTacticDocs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___boxed(lean_object**); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1; static lean_object* l_Lean_Doc_suggestName___closed__0; +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__2; -static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__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_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___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_Doc_Data_Option_ctorIdx(lean_object*); -static lean_object* l_Lean_Doc_leanTerm___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean(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_Doc_suggestLean(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___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_Doc_Data_Const_ctorIdx(lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(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_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___closed__0; lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__9(lean_object*); static lean_object* l_Lean_Doc_output___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat(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_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_output___closed__1; -LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_given___lam__2___closed__0; lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__3; -static lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17; +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8; +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___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_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__11(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0(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_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1; +static lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0; lean_object* l_Lean_Doc_Inline_empty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___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*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_manualLink(lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__14; static lean_object* l_Lean_Doc_output___closed__8; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0; lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Context_config(lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__7; lean_object* l_List_head_x21___redArg(lean_object*, lean_object*); static lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(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_Doc_kw_x3f(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_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameAttribute; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLean___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(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_Doc_suggestTactic___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_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(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_Doc_suggestTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__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_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__3; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___lam__0(lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__13; lean_object* l_Lean_EditDistance_levenshtein(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7; -LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12; +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___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_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__15; -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7; static lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_given___closed__4; +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___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___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax___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_Doc_suggestSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_chFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(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_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__5; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr(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_Doc_assert_x27___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__12; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__3; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8; +static lean_object* l_Lean_Doc_assert_x27___closed__2; +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(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_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0___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_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___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_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___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___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__7; static lean_object* l_Lean_Doc_lean___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestName___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLean___closed__3; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___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_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_appFnCleanup___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0; extern lean_object* l_Lean_NameSet_empty; -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_appendCore(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_Doc_kw(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_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; +static lean_object* l_Lean_Doc_leanRole___closed__0; static lean_object* l_Lean_Doc_attr___lam__2___closed__1; lean_object* lean_string_length(lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -lean_object* l_Lean_Doc_elabInline(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__3; +lean_object* l_Lean_Doc_elabInline(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(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_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__10(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Syntax_ctorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLean___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2; static lean_object* l_Lean_Doc_tactic___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents(lean_object*, lean_object*); +lean_object* lean_nat_mod(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__1; lean_object* l_Lean_Parser_symbolFn(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8; -static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___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___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___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_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__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_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions(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_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__7(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(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_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13; +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4___boxed(lean_object**); lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__1; +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___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*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax(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_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___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_Doc_suggestSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__5; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__2; static lean_object* l_Lean_Doc_option___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw___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_Doc_Data_instTypeNameAttributes; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0; +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__5; -static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_output___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___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_Doc_output___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_Doc_output_spec__0_spec__0(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__6; +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__4; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable___boxed(lean_object*); static lean_object* l_Lean_Doc_attr___closed__2; lean_object* l_String_toName(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3; +static lean_object* l_Lean_Doc_suggestAttr___closed__1; lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__0; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__2; -LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0___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_Doc_open___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_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27___boxed(lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___redArg(lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameTactic; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint(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_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name___closed__4; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_set__option(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_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_set__option(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; uint8_t l_instDecidableNot___redArg(uint8_t); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___redArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_set__option; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Tactic_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; static lean_object* l_Lean_Doc_conv___closed__0; @@ -1056,311 +1130,327 @@ static lean_object* l_Lean_Doc_manual___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1; lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_Doc_suggestAttr___redArg___closed__1; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_shift_left(uint64_t, uint64_t); uint8_t l_Lean_isPrivateName(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestName___closed__5; static lean_object* l_Lean_Doc_attr___closed__10; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSetOption; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestName___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_Data_SyntaxCat_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; lean_object* l_Lean_toMessageList(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestTactic___closed__5; lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(lean_object*); static lean_object* l_Lean_Doc_open___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0(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_Parser_identFn(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3(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_Doc_name___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__6; -LEAN_EXPORT lean_object* l_Lean_Doc_open(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestOption___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___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_Doc_open(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_tactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_tactic(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_intersperseTR___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestCat___redArg___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2; static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(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_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(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_DocString_Builtin_0__Lean_Doc_lean_runCommand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__0; extern lean_object* l_Lean_firstFrontendMacroScope; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestCat___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Doc_syntax(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_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; size_t lean_usize_sub(size_t, size_t); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3; -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4; lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(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___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestOption___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); uint8_t l_Substring_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1; lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(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_DocString_Builtin_0__Lean_Doc_introduceAntiquotes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestAttr___redArg___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__10; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__1; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1; +static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__4; lean_object* l_Lean_Expr_fvar___override(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__7; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg___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_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10; -LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___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*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0; -static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___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_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___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_object*); lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14; +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__8; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestName___closed__3; lean_object* l_Lean_Name_mkStr1(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___boxed(lean_object**); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0; -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_lean___closed__2; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0; static lean_object* l_Lean_Doc_attr___closed__11; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(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_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(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_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(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_resolveNamespace___at___Lean_Doc_open_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9; lean_object* l_Lean_Doc_Block_empty(lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__11; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f___lam__0___boxed(lean_object*); -lean_object* l_Lean_Expr_getAppFnArgs(lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestName___lam__1___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(uint8_t, lean_object*, size_t, size_t); uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(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_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(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_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_attr___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_Doc_given(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_Doc_attr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_given(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__9; lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Doc_tactic___closed__4; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23(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_LocalDecl_toExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0(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_DocString_Builtin_0__Lean_Doc_parseStrLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attributes_ctorIdx___boxed(lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__3; -LEAN_EXPORT lean_object* l_Lean_Doc_manual(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert___closed__1; +LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_manual(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___redArg___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__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_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(size_t, size_t, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20; -static lean_object* l_Lean_Doc_suggestOption___redArg___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6; +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock(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_MessageLog_toArray(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1; +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___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_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(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_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7(lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(lean_object*, lean_object*); +uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_Doc_open___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_open___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_Doc_assert___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameLocal; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___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_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__6; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__11; static lean_object* l_Lean_Doc_attr___closed__8; -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7; static lean_object* l_Lean_Doc_manual___closed__4; -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0; static lean_object* l_Lean_Doc_manual___closed__6; +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__7; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5; -static lean_object* l_Lean_Doc_open___lam__0___closed__0; lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8; -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(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_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0; -static lean_object* l_Lean_Doc_leanTerm___closed__0; -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___boxed(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_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_suggestOption___closed__3; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__12; static lean_object* l_Lean_Doc_option___closed__4; -LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___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_Doc_syntaxCat___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_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -LEAN_EXPORT lean_object* l_Lean_Doc_option___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_Doc_option___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_leanRole___lam__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__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* l_Lean_DeclNameGenerator_ofPrefix(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__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_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2; +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock(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_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); -static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__12; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__8(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___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_EXPORT lean_object* l_Lean_Doc_suggestName___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(lean_object*); lean_object* l_instDecidableEqString___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; -LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_given___lam__3___closed__0; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11; size_t lean_usize_land(size_t, size_t); static lean_object* l_Lean_Doc_lean___closed__16; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4; +lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__8; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__3; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Local_ctorIdx___boxed(lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_assert_x27___closed__5; LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__2; static lean_object* l_Lean_Doc_attr___closed__5; lean_object* l_Lean_Parser_termParser(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(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_DocString_Builtin_0__Lean_Doc_onlyCode___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_SetOption_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Doc_conv___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(lean_object* x_1, lean_object* x_2) { @@ -1843,59 +1933,6 @@ x_1 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____ return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_Data_Atom_ctorIdx(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_unsigned_to_nat(0u); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_Data_Atom_ctorIdx___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Doc_Data_Atom_ctorIdx(x_1); -lean_dec_ref(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Atom", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -x_2 = l_Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_Data_instTypeNameAtom() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_Doc_Data_SyntaxCat_ctorIdx(lean_object* x_1) { _start: { @@ -2002,7 +2039,335 @@ x_1 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____ return x_1; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected precisely 1 code argument", 34, 34); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("code", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2; +x_2 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected code", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_dec_eq(x_4, x_5); +lean_dec(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1; +x_8 = l_Lean_throwError___redArg(x_1, x_2, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_fget_borrowed(x_3, x_9); +x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3; +lean_inc(x_10); +x_12 = l_Lean_Syntax_isOfKind(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5; +lean_inc(x_10); +x_14 = l_Lean_throwErrorAt___redArg(x_1, x_2, x_10, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec_ref(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_15); +lean_dec_ref(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = l_Lean_Syntax_getArg(x_10, x_5); +x_18 = lean_apply_2(x_16, lean_box(0), x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg(x_1, x_2, x_3); +lean_dec_ref(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4); +lean_dec_ref(x_4); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Init.Data.Option.BasicAux", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Option.get!", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("value is none", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2; +x_2 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(23u); +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0; +x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_23; +x_15 = lean_unsigned_to_nat(0u); +x_16 = 1; +x_23 = l_Lean_Syntax_getPos_x3f(x_2, x_16); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_25 = l_panic___redArg(x_15, x_24); +x_17 = x_25; +goto block_22; +} +else +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec_ref(x_23); +x_17 = x_26; +goto block_22; +} +block_14: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +lean_dec(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +lean_ctor_set(x_1, 1, x_4); +lean_ctor_set(x_1, 0, x_3); +x_9 = lean_apply_2(x_8, lean_box(0), x_1); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_4); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +block_22: +{ +lean_object* x_18; +x_18 = l_Lean_Syntax_getTailPos_x3f(x_2, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_20 = l_panic___redArg(x_15, x_19); +x_3 = x_17; +x_4 = x_20; +goto block_14; +} +else +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec_ref(x_18); +x_3 = x_17; +x_4 = x_21; +goto block_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_PostponedName_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedName", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instTypeNamePostponedName() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -2119,21 +2484,700 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_9; -x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec_ref(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec_ref(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("while expanding", 15, 15); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_dec(x_9); +lean_inc_ref(x_1); +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 0, x_2); +x_10 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_10); +x_11 = l_Lean_MessageData_ofSyntax(x_8); +x_12 = l_Lean_indentD(x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +lean_inc_ref(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +x_18 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_18); +lean_ctor_set(x_3, 0, x_17); +x_19 = l_Lean_MessageData_ofSyntax(x_16); +x_20 = l_Lean_indentD(x_19); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +x_2 = x_21; +x_3 = x_15; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +lean_inc_ref(x_1); +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(7, 2, 0); +} else { + x_27 = x_26; + lean_ctor_set_tag(x_27, 7); +} +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_1); +x_28 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofSyntax(x_25); +x_31 = l_Lean_indentD(x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_2 = x_32; +x_3 = x_24; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_pp_macroStack; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0; +x_7 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_14); +lean_ctor_set(x_10, 0, x_1); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_MessageData_ofSyntax(x_12); +x_18 = l_Lean_indentD(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2(x_14, x_19, x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_4); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_MessageData_ofSyntax(x_22); +x_28 = l_Lean_indentD(x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2(x_23, x_29, x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_4); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(x_1, x_2, x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec_ref(x_2); +lean_inc(x_14); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(x_12, x_14, x_6, x_13); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_10); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_19); +lean_ctor_set(x_10, 0, x_21); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +lean_dec_ref(x_2); +lean_inc(x_25); +x_26 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(x_23, x_25, x_6, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_30 = l_Lean_Elab_getBetterRef(x_9, x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +if (lean_is_scalar(x_29)) { + x_32 = lean_alloc_ctor(1, 2, 0); +} else { + x_32 = x_29; + lean_ctor_set_tag(x_32, 1); +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected `", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +x_3 = l_Lean_MessageData_ofConstName(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__2; +x_2 = l_Lean_Doc_checkNameExists___redArg___closed__1; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`, got `", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__5; +x_2 = l_Lean_Doc_checkNameExists___redArg___closed__3; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkNameExists___redArg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +x_10 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_1, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = 0; +x_12 = l_Lean_Doc_checkNameExists___redArg___closed__6; +x_13 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_1); +x_14 = l_Lean_MessageData_ofConstName(x_13, x_11); +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec_ref(x_2); +x_19 = lean_ctor_get(x_10, 0); +lean_inc(x_19); +lean_dec_ref(x_10); +x_20 = lean_mk_syntax_ident(x_19); +x_21 = l_Lean_realizeGlobalConstNoOverload(x_20, x_6, x_7, x_8); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_checkNameExists___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_checkNameExists___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_checkNameExists(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_7, 5); lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0___boxed), 8, 1); +x_11 = lean_alloc_closure((void*)(l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); lean_closure_set(x_11, 0, x_1); x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_12) == 0) @@ -2193,50 +3237,51 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 5); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 5); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_10, 5, x_15); +x_16 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -x_24 = lean_ctor_get(x_9, 8); -x_25 = lean_ctor_get(x_9, 9); -x_26 = lean_ctor_get(x_9, 10); -x_27 = lean_ctor_get(x_9, 11); -x_28 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_29 = lean_ctor_get(x_9, 12); -x_30 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_31 = lean_ctor_get(x_9, 13); -lean_inc(x_31); -lean_inc(x_29); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +x_19 = lean_ctor_get(x_10, 2); +x_20 = lean_ctor_get(x_10, 3); +x_21 = lean_ctor_get(x_10, 4); +x_22 = lean_ctor_get(x_10, 5); +x_23 = lean_ctor_get(x_10, 6); +x_24 = lean_ctor_get(x_10, 7); +x_25 = lean_ctor_get(x_10, 8); +x_26 = lean_ctor_get(x_10, 9); +x_27 = lean_ctor_get(x_10, 10); +x_28 = lean_ctor_get(x_10, 11); +x_29 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_30 = lean_ctor_get(x_10, 12); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_32 = lean_ctor_get(x_10, 13); +lean_inc(x_32); +lean_inc(x_30); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -2248,221 +3293,1462 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_32 = l_Lean_replaceRef(x_1, x_21); -lean_dec(x_21); -x_33 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_33, 0, x_16); -lean_ctor_set(x_33, 1, x_17); -lean_ctor_set(x_33, 2, x_18); -lean_ctor_set(x_33, 3, x_19); -lean_ctor_set(x_33, 4, x_20); -lean_ctor_set(x_33, 5, x_32); -lean_ctor_set(x_33, 6, x_22); -lean_ctor_set(x_33, 7, x_23); -lean_ctor_set(x_33, 8, x_24); -lean_ctor_set(x_33, 9, x_25); -lean_ctor_set(x_33, 10, x_26); -lean_ctor_set(x_33, 11, x_27); -lean_ctor_set(x_33, 12, x_29); -lean_ctor_set(x_33, 13, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*14, x_28); -lean_ctor_set_uint8(x_33, sizeof(void*)*14 + 1, x_30); -x_34 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_33, x_10, x_11); -return x_34; +lean_dec(x_10); +x_33 = l_Lean_replaceRef(x_1, x_22); +lean_dec(x_22); +x_34 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_19); +lean_ctor_set(x_34, 3, x_20); +lean_ctor_set(x_34, 4, x_21); +lean_ctor_set(x_34, 5, x_33); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_24); +lean_ctor_set(x_34, 8, x_25); +lean_ctor_set(x_34, 9, x_26); +lean_ctor_set(x_34, 10, x_27); +lean_ctor_set(x_34, 11, x_28); +lean_ctor_set(x_34, 12, x_30); +lean_ctor_set(x_34, 13, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_29); +lean_ctor_set_uint8(x_34, sizeof(void*)*14 + 1, x_31); +x_35 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_34, x_11, x_12); +return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0() { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1; +x_16 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget_borrowed(x_1, x_17); +x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3; +lean_inc(x_18); +x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5; +x_22 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_18, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_23 = l_Lean_Syntax_getArg(x_18, x_13); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_11); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_11); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Expected precisely 1 code argument", 34, 34); +x_1 = l_Lean_unknownIdentifierMessageTag; return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1() { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0; +x_14 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2() { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("code", 4, 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_1); +lean_ctor_set(x_3, 5, x_1); +lean_ctor_set(x_3, 6, x_1); +lean_ctor_set(x_3, 7, x_1); +lean_ctor_set(x_3, 8, x_1); +return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3() { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2; -x_2 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3; +x_4 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4() { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(1); +x_2 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5; +x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Expected code", 13, 13); +x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5() { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9() { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_array_get_size(x_1); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_dec_eq(x_11, x_12); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`.", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from `", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed), 7, 0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_24; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_24 = l_Lean_Name_isAnonymous(x_2); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_ctor_get_uint8(x_15, sizeof(void*)*8); +if (x_25 == 0) +{ +lean_dec(x_15); +lean_dec(x_2); +goto block_23; +} +else +{ +lean_object* x_26; uint8_t x_27; +lean_inc(x_15); +x_26 = l_Lean_Environment_setExporting(x_15, x_24); +lean_inc(x_2); +lean_inc_ref(x_26); +x_27 = l_Lean_Environment_contains(x_26, x_2, x_25); +if (x_27 == 0) +{ +lean_dec_ref(x_26); +lean_dec(x_15); +lean_dec(x_2); +goto block_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +x_29 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_28); +lean_ctor_set(x_31, 2, x_29); +lean_ctor_set(x_31, 3, x_30); +lean_inc(x_2); +x_32 = l_Lean_MessageData_ofConstName(x_2, x_24); +x_33 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Environment_getModuleIdxFor_x3f(x_15, x_2); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_15); +lean_dec(x_2); +x_35 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +x_37 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10; +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_MessageData_note(x_38); +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_39); +x_17 = x_40; +goto block_20; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_34, 0); +lean_inc(x_41); +lean_dec_ref(x_34); +x_42 = lean_box(0); +x_43 = l_Lean_Environment_header(x_15); +lean_dec(x_15); +x_44 = l_Lean_EnvironmentHeader_moduleNames(x_43); +x_45 = lean_array_get(x_42, x_44, x_41); +lean_dec(x_41); +lean_dec_ref(x_44); +x_46 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_33); +x_49 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_MessageData_ofName(x_45); +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_MessageData_note(x_54); +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_55); +x_17 = x_56; +goto block_20; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_57 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8; +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_33); +x_59 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_MessageData_ofName(x_45); +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_MessageData_note(x_64); +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_1); +lean_ctor_set(x_66, 1, x_65); +x_17 = x_66; +goto block_20; +} +} +} +} +} +else +{ +lean_dec(x_15); +lean_dec(x_2); +goto block_23; +} +block_20: +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); lean_dec(x_11); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1; -x_15 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_fget_borrowed(x_1, x_16); -x_18 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3; -lean_inc(x_17); -x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5; -x_21 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_17, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_22 = l_Lean_Syntax_getArg(x_17, x_12); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_10); -return x_23; +return x_19; } -} -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +block_23: { -lean_object* x_7; -x_7 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +else { -lean_object* x_10; -x_10 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +uint8_t x_67; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_2); -return x_10; +lean_dec_ref(x_1); +x_67 = !lean_is_exclusive(x_14); +if (x_67 == 0) +{ +return x_14; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_14, 0); +x_69 = lean_ctor_get(x_14, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_14); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_1, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; +lean_object* x_15; +x_15 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0() { _start: { -lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1; +x_14 = 0; +lean_inc(x_2); +x_15 = l_Lean_MessageData_ofConstName(x_2, x_14); +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 5); +lean_inc(x_12); +x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_12); return x_13; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = 0; +lean_inc(x_1); +x_18 = l_Lean_Environment_findConstVal_x3f(x_15, x_1, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +lean_free_object(x_13); +x_19 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec_ref(x_18); +lean_ctor_set(x_13, 0, x_20); +return x_13; +} +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +x_23 = 0; +lean_inc(x_1); +x_24 = l_Lean_Environment_findConstVal_x3f(x_21, x_1, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec_ref(x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; +} +} +} +else +{ +uint8_t x_28; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +return x_13; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__8(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___redArg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_mkLevelParam(x_5); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_7); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Lean_mkLevelParam(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_2); +x_1 = x_10; +x_2 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_1); +x_12 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_box(0); +x_17 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__8(x_15, x_16); +x_18 = l_Lean_mkConst(x_1, x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__8(x_21, x_22); +x_24 = l_Lean_mkConst(x_1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_10, 7); +lean_inc_ref(x_11); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_ctor_get(x_12, 7); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_st_ref_take(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 7); +lean_inc_ref(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec_ref(x_9); +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_10, 7); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_11, 2); +x_17 = l_Lean_PersistentArray_push___redArg(x_16, x_1); +lean_ctor_set(x_11, 2, x_17); +x_18 = lean_st_ref_set(x_7, x_10, x_12); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_25 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); +x_26 = lean_ctor_get(x_11, 0); +x_27 = lean_ctor_get(x_11, 1); +x_28 = lean_ctor_get(x_11, 2); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_11); +x_29 = l_Lean_PersistentArray_push___redArg(x_28, x_1); +x_30 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_27); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*3, x_25); +lean_ctor_set(x_10, 7, x_30); +x_31 = lean_st_ref_set(x_7, x_10, x_12); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_33 = x_31; +} else { + lean_dec_ref(x_31); + x_33 = lean_box(0); +} +x_34 = lean_box(0); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_36 = lean_ctor_get(x_10, 0); +x_37 = lean_ctor_get(x_10, 1); +x_38 = lean_ctor_get(x_10, 2); +x_39 = lean_ctor_get(x_10, 3); +x_40 = lean_ctor_get(x_10, 4); +x_41 = lean_ctor_get(x_10, 5); +x_42 = lean_ctor_get(x_10, 6); +x_43 = lean_ctor_get(x_10, 8); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_10); +x_44 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); +x_45 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_45); +x_46 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_46); +x_47 = lean_ctor_get(x_11, 2); +lean_inc_ref(x_47); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + lean_ctor_release(x_11, 2); + x_48 = x_11; +} else { + lean_dec_ref(x_11); + x_48 = lean_box(0); +} +x_49 = l_Lean_PersistentArray_push___redArg(x_47, x_1); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 3, 1); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_45); +lean_ctor_set(x_50, 1, x_46); +lean_ctor_set(x_50, 2, x_49); +lean_ctor_set_uint8(x_50, sizeof(void*)*3, x_44); +x_51 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_51, 0, x_36); +lean_ctor_set(x_51, 1, x_37); +lean_ctor_set(x_51, 2, x_38); +lean_ctor_set(x_51, 3, x_39); +lean_ctor_set(x_51, 4, x_40); +lean_ctor_set(x_51, 5, x_41); +lean_ctor_set(x_51, 6, x_42); +lean_ctor_set(x_51, 7, x_50); +lean_ctor_set(x_51, 8, x_43); +x_52 = lean_st_ref_set(x_7, x_51, x_12); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0___boxed), 7, 0); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*3); +lean_dec(x_12); +if (x_13 == 0) +{ +uint8_t x_14; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); lean_dec_ref(x_1); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_11, 0, x_16); return x_11; } +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_dec_ref(x_11); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1___boxed), 8, 1); +lean_closure_set(x_21, 0, x_1); +x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_23 = !lean_is_exclusive(x_11); +if (x_23 == 0) +{ +return x_11; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_11); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0; +x_4 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*3); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_dec_ref(x_13); +x_23 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_empty; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_1); +x_19 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0; +x_20 = 0; +x_21 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_3); +lean_ctor_set(x_21, 3, x_15); +lean_ctor_set_uint8(x_21, sizeof(void*)*4, x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_23; +} +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_10 = lean_array_uset(x_7, x_2, x_5); +x_2 = x_9; +x_3 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2502,15 +4788,15 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg(x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -2533,7 +4819,7 @@ return x_6; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -2569,7 +4855,7 @@ if (x_18 == 0) { lean_object* x_19; lean_inc(x_17); -x_19 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0(x_17, x_1); +x_19 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(x_17, x_1); x_13 = x_19; goto block_15; } @@ -2586,13 +4872,13 @@ else { lean_object* x_21; lean_object* x_22; x_21 = l_Lean_LocalDecl_fvarId(x_17); -x_22 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg(x_3, x_21); +x_22 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(x_3, x_21); lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_inc(x_17); -x_23 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0(x_17, x_1); +x_23 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(x_17, x_1); x_13 = x_23; goto block_15; } @@ -2772,15 +5058,15 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -2804,7 +5090,7 @@ lean_dec(x_7); x_13 = lean_array_fget_borrowed(x_6, x_12); lean_inc_ref(x_5); lean_inc(x_4); -x_14 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_13); +x_14 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(x_1, x_2, x_3, x_4, x_5, x_13); if (lean_obj_tag(x_14) == 0) { x_7 = x_12; @@ -2820,15 +5106,15 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_6) == 0) @@ -2836,7 +5122,7 @@ if (lean_obj_tag(x_6) == 0) lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 0); x_8 = lean_array_get_size(x_7); -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_7, x_8); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(x_1, x_2, x_3, x_4, x_5, x_7, x_8); return x_9; } else @@ -2844,12 +5130,12 @@ else lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_6, 0); x_11 = lean_array_get_size(x_10); -x_12 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_10, x_11); +x_12 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(x_1, x_2, x_3, x_4, x_5, x_10, x_11); return x_12; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -2858,11 +5144,11 @@ x_8 = lean_ctor_get(x_6, 1); x_9 = lean_array_get_size(x_8); lean_inc_ref(x_5); lean_inc(x_4); -x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; -x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_7); +x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(x_1, x_2, x_3, x_4, x_5, x_7); return x_11; } else @@ -2873,7 +5159,7 @@ return x_10; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -2946,15 +5232,15 @@ return x_10; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4); +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(x_1, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -2976,7 +5262,7 @@ x_9 = lean_nat_sub(x_4, x_8); lean_dec(x_4); x_10 = lean_array_fget_borrowed(x_3, x_9); lean_inc(x_1); -x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6(x_1, x_2, x_10); +x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(x_1, x_2, x_10); if (lean_obj_tag(x_11) == 0) { x_4 = x_9; @@ -2991,15 +5277,15 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4); +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg(x_1, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -3007,7 +5293,7 @@ if (lean_obj_tag(x_3) == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 0); x_5 = lean_array_get_size(x_4); -x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_4, x_5); +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg(x_1, x_2, x_4, x_5); return x_6; } else @@ -3015,12 +5301,12 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); x_8 = lean_array_get_size(x_7); -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_7, x_8); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(x_1, x_2, x_7, x_8); return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -3028,11 +5314,11 @@ x_4 = lean_ctor_get(x_3, 0); x_5 = lean_ctor_get(x_3, 1); x_6 = lean_array_get_size(x_5); lean_inc(x_1); -x_7 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_5, x_6); +x_7 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(x_1, x_2, x_5, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; -x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6(x_1, x_2, x_4); +x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(x_1, x_2, x_4); return x_8; } else @@ -3042,41 +5328,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_11); -lean_dec(x_10); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_14); -lean_dec(x_12); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -3088,7 +5340,7 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -3100,11 +5352,11 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0___boxed), 7, 0); +x_10 = lean_alloc_closure((void*)(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed), 7, 0); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); @@ -3120,7 +5372,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec_ref(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1___boxed), 7, 0); +x_14 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed), 7, 0); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); @@ -3136,7 +5388,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec_ref(x_15); -x_18 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2___boxed), 7, 0); +x_18 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0___boxed), 7, 0); x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); if (lean_obj_tag(x_19) == 0) { @@ -3253,15 +5505,15 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_12; +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__10(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__24(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3330,226 +5582,226 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_2); -x_18 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9(x_3, x_4, x_5, x_17, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_2); +x_19 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(x_3, x_4, x_5, x_18, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_1, 1); -x_16 = lean_ctor_get(x_1, 2); -x_17 = lean_ctor_get(x_1, 3); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get(x_1, 2); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); lean_inc(x_3); -x_18 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_18, 0, x_3); -lean_ctor_set(x_18, 1, x_15); -lean_ctor_set(x_18, 2, x_16); -lean_ctor_set(x_18, 3, x_17); +x_19 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_19, 0, x_3); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_17); +lean_ctor_set(x_19, 3, x_18); if (x_5 == 0) { -x_19 = x_5; -goto block_56; -} -else -{ -uint8_t x_57; -x_57 = l_List_isEmpty___redArg(x_4); -if (x_57 == 0) -{ -x_19 = x_5; -goto block_56; +x_20 = x_5; +goto block_57; } else { uint8_t x_58; -x_58 = 0; -x_19 = x_58; -goto block_56; -} -} -block_56: +x_58 = l_List_isEmpty___redArg(x_4); +if (x_58 == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(x_19); +x_20 = x_5; +goto block_57; +} +else +{ +uint8_t x_59; +x_59 = 0; +x_20 = x_59; +goto block_57; +} +} +block_57: +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(x_20); lean_inc_ref(x_2); -lean_inc_ref(x_18); -x_21 = lean_apply_2(x_2, x_18, x_20); -if (lean_obj_tag(x_21) == 0) +lean_inc_ref(x_19); +x_22 = lean_apply_2(x_2, x_19, x_21); +if (lean_obj_tag(x_22) == 0) { if (lean_obj_tag(x_3) == 1) { if (x_5 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_3, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_3, 1); -lean_inc_ref(x_23); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_24); lean_dec_ref(x_3); -x_24 = l_Lean_MacroScopesView_review(x_18); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -x_25 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_25) == 0) +x_25 = l_Lean_MacroScopesView_review(x_19); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_26 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_box(0); -x_29 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__10(x_26, x_28); -x_30 = l_List_isEmpty___redArg(x_29); -lean_dec(x_29); -if (x_30 == 0) +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_box(0); +x_30 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__24(x_27, x_29); +x_31 = l_List_isEmpty___redArg(x_30); +lean_dec(x_30); +if (x_31 == 0) { -uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_31 = 1; -x_32 = lean_box(0); -x_33 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(x_23, x_4, x_1, x_2, x_22, x_31, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); -return x_33; +uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_32 = 1; +x_33 = lean_box(0); +x_34 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(x_24, x_4, x_1, x_2, x_23, x_32, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +return x_34; } else { -lean_object* x_34; lean_object* x_35; -x_34 = lean_box(0); -x_35 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(x_23, x_4, x_1, x_2, x_22, x_5, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); -return x_35; +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +x_36 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(x_24, x_4, x_1, x_2, x_23, x_5, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +return x_36; } } else { -uint8_t x_36; -lean_dec_ref(x_23); -lean_dec(x_22); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_37; +lean_dec_ref(x_24); +lean_dec(x_23); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_2); -x_36 = !lean_is_exclusive(x_25); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_26); +if (x_37 == 0) { -return x_25; +return x_26; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_25, 0); -x_38 = lean_ctor_get(x_25, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_26, 0); +x_39 = lean_ctor_get(x_26, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_25); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_dec(x_26); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec_ref(x_18); -x_40 = lean_ctor_get(x_3, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_3, 1); -lean_inc_ref(x_41); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec_ref(x_19); +x_41 = lean_ctor_get(x_3, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_42); lean_dec_ref(x_3); -x_42 = lean_box(0); -x_43 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(x_41, x_4, x_1, x_2, x_40, x_5, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_43; +x_43 = lean_box(0); +x_44 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(x_42, x_4, x_1, x_2, x_41, x_5, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_44; } } else { -lean_object* x_44; lean_object* x_45; -lean_dec_ref(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +lean_object* x_45; lean_object* x_46; +lean_dec_ref(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_14); -return x_45; +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_15); +return x_46; } } else { -uint8_t x_46; -lean_dec_ref(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_47; +lean_dec_ref(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_3); lean_dec_ref(x_2); -x_46 = !lean_is_exclusive(x_21); -if (x_46 == 0) +x_47 = !lean_is_exclusive(x_22); +if (x_47 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_21, 0); -x_48 = l_Lean_LocalDecl_toExpr(x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_4); -lean_ctor_set(x_21, 0, x_49); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_22, 0); +x_49 = l_Lean_LocalDecl_toExpr(x_48); x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_21); -lean_ctor_set(x_50, 1, x_14); -return x_50; +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_4); +lean_ctor_set(x_22, 0, x_50); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_22); +lean_ctor_set(x_51, 1, x_15); +return x_51; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_21, 0); -lean_inc(x_51); -lean_dec(x_21); -x_52 = l_Lean_LocalDecl_toExpr(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_4); -x_54 = lean_alloc_ctor(1, 1, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_22, 0); +lean_inc(x_52); +lean_dec(x_22); +x_53 = l_Lean_LocalDecl_toExpr(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 1, x_4); +x_55 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_14); -return x_55; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_15); +return x_56; } } } } } -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -3561,20 +5813,20 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_1, 1); lean_inc_ref(x_4); x_7 = l_Lean_MacroScopesView_review(x_4); -x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1(x_7, x_5, x_2, x_3, x_4, x_6); +x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15(x_7, x_5, x_2, x_3, x_4, x_6); if (lean_obj_tag(x_8) == 0) { if (x_5 == 0) { lean_object* x_9; -x_9 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5(x_8, x_7, x_6); +x_9 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19(x_8, x_7, x_6); lean_dec(x_7); return x_9; } @@ -3591,2114 +5843,170 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_11); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec_ref(x_15); -x_18 = lean_ctor_get(x_16, 2); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec_ref(x_20); -x_23 = l_Lean_extractMacroScopes(x_1); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2___boxed), 5, 3); -lean_closure_set(x_25, 0, x_13); -lean_closure_set(x_25, 1, x_18); -lean_closure_set(x_25, 2, x_21); -x_26 = lean_box(0); -x_27 = 0; -x_28 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9(x_23, x_25, x_24, x_26, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -lean_dec_ref(x_23); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_18); -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_20); -if (x_29 == 0) -{ -return x_20; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_20, 0); -x_31 = lean_ctor_get(x_20, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_20); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_15); -if (x_33 == 0) -{ -return x_15; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_15, 0); -x_35 = lean_ctor_get(x_15, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_15); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec_ref(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_12); -if (x_37 == 0) -{ -return x_12; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_12, 0); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_12); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_10, 7); -lean_inc_ref(x_11); -lean_dec(x_10); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = lean_ctor_get(x_12, 7); -lean_inc_ref(x_14); -lean_dec(x_12); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_st_ref_take(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed), 7, 0); lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 7); -lean_inc_ref(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec_ref(x_9); -x_13 = !lean_is_exclusive(x_10); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_10, 7); -lean_dec(x_14); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_11, 2); -x_17 = l_Lean_PersistentArray_push___redArg(x_16, x_1); -lean_ctor_set(x_11, 2, x_17); -x_18 = lean_st_ref_set(x_7, x_10, x_12); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = lean_box(0); -lean_ctor_set(x_18, 0, x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -return x_24; -} -} -else -{ -uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_25 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); -x_26 = lean_ctor_get(x_11, 0); -x_27 = lean_ctor_get(x_11, 1); -x_28 = lean_ctor_get(x_11, 2); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_11); -x_29 = l_Lean_PersistentArray_push___redArg(x_28, x_1); -x_30 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_30, 0, x_26); -lean_ctor_set(x_30, 1, x_27); -lean_ctor_set(x_30, 2, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*3, x_25); -lean_ctor_set(x_10, 7, x_30); -x_31 = lean_st_ref_set(x_7, x_10, x_12); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_33 = x_31; -} else { - lean_dec_ref(x_31); - x_33 = lean_box(0); -} -x_34 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_33; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_36 = lean_ctor_get(x_10, 0); -x_37 = lean_ctor_get(x_10, 1); -x_38 = lean_ctor_get(x_10, 2); -x_39 = lean_ctor_get(x_10, 3); -x_40 = lean_ctor_get(x_10, 4); -x_41 = lean_ctor_get(x_10, 5); -x_42 = lean_ctor_get(x_10, 6); -x_43 = lean_ctor_get(x_10, 8); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_10); -x_44 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); -x_45 = lean_ctor_get(x_11, 0); -lean_inc_ref(x_45); -x_46 = lean_ctor_get(x_11, 1); -lean_inc_ref(x_46); -x_47 = lean_ctor_get(x_11, 2); -lean_inc_ref(x_47); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - lean_ctor_release(x_11, 2); - x_48 = x_11; -} else { - lean_dec_ref(x_11); - x_48 = lean_box(0); -} -x_49 = l_Lean_PersistentArray_push___redArg(x_47, x_1); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 3, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_45); -lean_ctor_set(x_50, 1, x_46); -lean_ctor_set(x_50, 2, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*3, x_44); -x_51 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_51, 0, x_36); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -lean_ctor_set(x_51, 4, x_40); -lean_ctor_set(x_51, 5, x_41); -lean_ctor_set(x_51, 6, x_42); -lean_ctor_set(x_51, 7, x_50); -lean_ctor_set(x_51, 8, x_43); -x_52 = lean_st_ref_set(x_7, x_51, x_12); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0___boxed), 7, 0); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +lean_inc_ref(x_12); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*3); -lean_dec(x_12); -if (x_13 == 0) -{ -uint8_t x_14; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_11, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_11, 0, x_16); -return x_11; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec_ref(x_11); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__1___boxed), 8, 1); -lean_closure_set(x_21, 0, x_1); -x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_20); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -x_23 = !lean_is_exclusive(x_11); -if (x_23 == 0) -{ -return x_11; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_11); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0; -x_4 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1; -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*3); -lean_dec(x_13); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_15 = !lean_is_exclusive(x_12); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_12, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_12, 0, x_17); -return x_12; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_dec(x_12); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_dec_ref(x_12); -x_22 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_25 = !lean_is_exclusive(x_12); -if (x_25 == 0) -{ -return x_12; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_12, 0); -x_27 = lean_ctor_get(x_12, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_12); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_8); -return x_9; -} -} -static lean_object* _init_l_Lean_Doc_name___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l_Lean_TSyntax_getString(x_12); -lean_inc_ref(x_14); -x_15 = l_String_toName(x_14); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(x_12, x_15); -lean_dec(x_12); -x_17 = l_Lean_TSyntax_getId(x_16); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_18 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_18) == 0) +lean_dec_ref(x_13); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_16 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = lean_ctor_get(x_17, 2); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -if (lean_obj_tag(x_19) == 0) +lean_dec(x_17); +x_20 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_15); -x_22 = x_3; -x_23 = x_4; -x_24 = x_5; -x_25 = x_6; -x_26 = x_7; -x_27 = x_8; -x_28 = x_9; -x_29 = x_20; -goto block_56; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = l_Lean_extractMacroScopes(x_1); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2___boxed), 5, 3); +lean_closure_set(x_26, 0, x_14); +lean_closure_set(x_26, 1, x_19); +lean_closure_set(x_26, 2, x_22); +x_27 = lean_box(0); +x_28 = 0; +x_29 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(x_24, x_26, x_25, x_27, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +lean_dec_ref(x_24); +return x_29; } else { -uint8_t x_57; -x_57 = !lean_is_exclusive(x_19); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_19, 0); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_58, 0); -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -x_62 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__1___boxed), 8, 1); -lean_closure_set(x_62, 0, x_60); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_63 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec_ref(x_63); -x_66 = l_List_isEmpty___redArg(x_61); -lean_dec(x_61); -if (x_66 == 0) -{ -lean_dec(x_64); -lean_free_object(x_58); -lean_dec(x_60); -lean_free_object(x_19); -lean_dec(x_15); -x_22 = x_3; -x_23 = x_4; -x_24 = x_5; -x_25 = x_6; -x_26 = x_7; -x_27 = x_8; -x_28 = x_9; -x_29 = x_65; -goto block_56; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_67); -x_68 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_65); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec_ref(x_68); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_16); -lean_inc(x_64); -lean_ctor_set(x_19, 0, x_64); -x_73 = 0; -lean_inc(x_60); -x_74 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_69); -lean_ctor_set(x_74, 2, x_19); -lean_ctor_set(x_74, 3, x_60); -lean_ctor_set_uint8(x_74, sizeof(void*)*4, x_73); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_76 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_70); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec_ref(x_76); -x_78 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_77); -if (lean_obj_tag(x_78) == 0) -{ -uint8_t x_79; -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_80 = lean_ctor_get(x_78, 0); -x_81 = l_Lean_Expr_fvarId_x21(x_60); -lean_dec(x_60); -x_82 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_82, 0, x_15); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_80); -lean_ctor_set(x_82, 3, x_64); -x_83 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -x_84 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -lean_ctor_set(x_58, 1, x_82); -lean_ctor_set(x_58, 0, x_84); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_58); -x_86 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_86, 0, x_14); -x_87 = l_Lean_Doc_name___closed__0; -x_88 = lean_array_push(x_87, x_86); -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_85); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_78, 0, x_89); -return x_78; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_90 = lean_ctor_get(x_78, 0); -x_91 = lean_ctor_get(x_78, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_78); -x_92 = l_Lean_Expr_fvarId_x21(x_60); -lean_dec(x_60); -x_93 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_93, 0, x_15); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_90); -lean_ctor_set(x_93, 3, x_64); -x_94 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -x_95 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -lean_ctor_set(x_58, 1, x_93); -lean_ctor_set(x_58, 0, x_95); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_58); -x_97 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_97, 0, x_14); -x_98 = l_Lean_Doc_name___closed__0; -x_99 = lean_array_push(x_98, x_97); -x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_96); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_91); -return x_101; -} -} -else -{ -uint8_t x_102; -lean_dec(x_64); -lean_free_object(x_58); -lean_dec(x_60); -lean_dec(x_15); -lean_dec_ref(x_14); -x_102 = !lean_is_exclusive(x_78); -if (x_102 == 0) -{ -return x_78; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_78, 0); -x_104 = lean_ctor_get(x_78, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_78); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_dec_ref(x_67); -lean_dec(x_64); -lean_free_object(x_58); -lean_dec(x_60); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_106 = !lean_is_exclusive(x_76); -if (x_106 == 0) -{ -return x_76; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_76, 0); -x_108 = lean_ctor_get(x_76, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_76); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -else -{ -uint8_t x_110; -lean_dec_ref(x_67); -lean_dec(x_64); -lean_free_object(x_58); -lean_dec(x_60); -lean_free_object(x_19); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_110 = !lean_is_exclusive(x_68); -if (x_110 == 0) -{ -return x_68; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_68, 0); -x_112 = lean_ctor_get(x_68, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_68); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -} -} -} -else -{ -uint8_t x_114; -lean_free_object(x_58); -lean_dec(x_61); -lean_dec(x_60); -lean_free_object(x_19); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_114 = !lean_is_exclusive(x_63); -if (x_114 == 0) -{ -return x_63; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_63, 0); -x_116 = lean_ctor_get(x_63, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_63); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_118 = lean_ctor_get(x_58, 0); -x_119 = lean_ctor_get(x_58, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_58); -lean_inc(x_118); -x_120 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__1___boxed), 8, 1); -lean_closure_set(x_120, 0, x_118); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_121 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_120, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec_ref(x_121); -x_124 = l_List_isEmpty___redArg(x_119); -lean_dec(x_119); -if (x_124 == 0) -{ -lean_dec(x_122); -lean_dec(x_118); -lean_free_object(x_19); -lean_dec(x_15); -x_22 = x_3; -x_23 = x_4; -x_24 = x_5; -x_25 = x_6; -x_26 = x_7; -x_27 = x_8; -x_28 = x_9; -x_29 = x_123; -goto block_56; -} -else -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_125); -x_126 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_125, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_123); -if (lean_obj_tag(x_126) == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec_ref(x_126); -x_129 = lean_box(0); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_16); -lean_inc(x_122); -lean_ctor_set(x_19, 0, x_122); -x_131 = 0; -lean_inc(x_118); -x_132 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_127); -lean_ctor_set(x_132, 2, x_19); -lean_ctor_set(x_132, 3, x_118); -lean_ctor_set_uint8(x_132, sizeof(void*)*4, x_131); -x_133 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_133, 0, x_132); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_134 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_128); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; lean_object* x_136; -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -lean_dec_ref(x_134); -x_136 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_125, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_135); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_139 = x_136; -} else { - lean_dec_ref(x_136); - x_139 = lean_box(0); -} -x_140 = l_Lean_Expr_fvarId_x21(x_118); -lean_dec(x_118); -x_141 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_141, 0, x_15); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_141, 2, x_137); -lean_ctor_set(x_141, 3, x_122); -x_142 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -x_143 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_141); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_144); -x_146 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_146, 0, x_14); -x_147 = l_Lean_Doc_name___closed__0; -x_148 = lean_array_push(x_147, x_146); -x_149 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_149, 0, x_145); -lean_ctor_set(x_149, 1, x_148); -if (lean_is_scalar(x_139)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_139; -} -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_138); -return x_150; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_122); -lean_dec(x_118); -lean_dec(x_15); -lean_dec_ref(x_14); -x_151 = lean_ctor_get(x_136, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_136, 1); -lean_inc(x_152); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_153 = x_136; -} else { - lean_dec_ref(x_136); - x_153 = lean_box(0); -} -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(1, 2, 0); -} else { - x_154 = x_153; -} -lean_ctor_set(x_154, 0, x_151); -lean_ctor_set(x_154, 1, x_152); -return x_154; -} -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec_ref(x_125); -lean_dec(x_122); -lean_dec(x_118); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_155 = lean_ctor_get(x_134, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_134, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_157 = x_134; -} else { - lean_dec_ref(x_134); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_155); -lean_ctor_set(x_158, 1, x_156); -return x_158; -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec_ref(x_125); -lean_dec(x_122); -lean_dec(x_118); -lean_free_object(x_19); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_159 = lean_ctor_get(x_126, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_126, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_161 = x_126; -} else { - lean_dec_ref(x_126); - x_161 = lean_box(0); -} -if (lean_is_scalar(x_161)) { - x_162 = lean_alloc_ctor(1, 2, 0); -} else { - x_162 = x_161; -} -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_160); -return x_162; -} -} -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_119); -lean_dec(x_118); -lean_free_object(x_19); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_163 = lean_ctor_get(x_121, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_121, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_165 = x_121; -} else { - lean_dec_ref(x_121); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_167 = lean_ctor_get(x_19, 0); -lean_inc(x_167); +uint8_t x_30; lean_dec(x_19); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_170 = x_167; -} else { - lean_dec_ref(x_167); - x_170 = lean_box(0); -} -lean_inc(x_168); -x_171 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__1___boxed), 8, 1); -lean_closure_set(x_171, 0, x_168); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_172 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_171, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -if (lean_obj_tag(x_172) == 0) -{ -lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec_ref(x_172); -x_175 = l_List_isEmpty___redArg(x_169); -lean_dec(x_169); -if (x_175 == 0) -{ -lean_dec(x_173); -lean_dec(x_170); -lean_dec(x_168); -lean_dec(x_15); -x_22 = x_3; -x_23 = x_4; -x_24 = x_5; -x_25 = x_6; -x_26 = x_7; -x_27 = x_8; -x_28 = x_9; -x_29 = x_174; -goto block_56; -} -else -{ -lean_object* x_176; lean_object* x_177; -x_176 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_176); -x_177 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_176, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_174); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec_ref(x_177); -x_180 = lean_box(0); -x_181 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_16); -lean_inc(x_173); -x_182 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_182, 0, x_173); -x_183 = 0; -lean_inc(x_168); -x_184 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_184, 0, x_181); -lean_ctor_set(x_184, 1, x_178); -lean_ctor_set(x_184, 2, x_182); -lean_ctor_set(x_184, 3, x_168); -lean_ctor_set_uint8(x_184, sizeof(void*)*4, x_183); -x_185 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_185, 0, x_184); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_186 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_185, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_179); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_186, 1); -lean_inc(x_187); -lean_dec_ref(x_186); -x_188 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_176, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_187); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_191 = x_188; -} else { - lean_dec_ref(x_188); - x_191 = lean_box(0); -} -x_192 = l_Lean_Expr_fvarId_x21(x_168); -lean_dec(x_168); -x_193 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_193, 0, x_15); -lean_ctor_set(x_193, 1, x_192); -lean_ctor_set(x_193, 2, x_189); -lean_ctor_set(x_193, 3, x_173); -x_194 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -x_195 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; -if (lean_is_scalar(x_170)) { - x_196 = lean_alloc_ctor(0, 2, 0); -} else { - x_196 = x_170; -} -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_193); -x_197 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_196); -x_198 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_198, 0, x_14); -x_199 = l_Lean_Doc_name___closed__0; -x_200 = lean_array_push(x_199, x_198); -x_201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_201, 0, x_197); -lean_ctor_set(x_201, 1, x_200); -if (lean_is_scalar(x_191)) { - x_202 = lean_alloc_ctor(0, 2, 0); -} else { - x_202 = x_191; -} -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_190); -return x_202; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -lean_dec(x_173); -lean_dec(x_170); -lean_dec(x_168); -lean_dec(x_15); -lean_dec_ref(x_14); -x_203 = lean_ctor_get(x_188, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_188, 1); -lean_inc(x_204); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_205 = x_188; -} else { - lean_dec_ref(x_188); - x_205 = lean_box(0); -} -if (lean_is_scalar(x_205)) { - x_206 = lean_alloc_ctor(1, 2, 0); -} else { - x_206 = x_205; -} -lean_ctor_set(x_206, 0, x_203); -lean_ctor_set(x_206, 1, x_204); -return x_206; -} -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -lean_dec_ref(x_176); -lean_dec(x_173); -lean_dec(x_170); -lean_dec(x_168); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_207 = lean_ctor_get(x_186, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_186, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_209 = x_186; -} else { - lean_dec_ref(x_186); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; -} -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -lean_dec_ref(x_176); -lean_dec(x_173); -lean_dec(x_170); -lean_dec(x_168); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_211 = lean_ctor_get(x_177, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_177, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_213 = x_177; -} else { - lean_dec_ref(x_177); - x_213 = lean_box(0); -} -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(1, 2, 0); -} else { - x_214 = x_213; -} -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_212); -return x_214; -} -} -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_170); -lean_dec(x_169); -lean_dec(x_168); -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_215 = lean_ctor_get(x_172, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_172, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_217 = x_172; -} else { - lean_dec_ref(x_172); - x_217 = lean_box(0); -} -if (lean_is_scalar(x_217)) { - x_218 = lean_alloc_ctor(1, 2, 0); -} else { - x_218 = x_217; -} -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_216); -return x_218; -} -} -} -block_56: -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_box(0); -x_31 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__0___boxed), 9, 2); -lean_closure_set(x_31, 0, x_16); -lean_closure_set(x_31, 1, x_30); -x_32 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_31, x_22, x_23, x_24, x_25, x_26, x_27, x_28, x_29); -if (lean_obj_tag(x_32) == 0) -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_ctor_get(x_32, 0); -x_35 = l_Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_21); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_38, 0, x_14); -x_39 = l_Lean_Doc_name___closed__0; -x_40 = lean_array_push(x_39, x_38); -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_37); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_32, 0, x_41); -return x_32; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_42 = lean_ctor_get(x_32, 0); -x_43 = lean_ctor_get(x_32, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_32); -x_44 = l_Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_21); -lean_ctor_set(x_45, 1, x_42); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_47, 0, x_14); -x_48 = l_Lean_Doc_name___closed__0; -x_49 = lean_array_push(x_48, x_47); -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_43); -return x_51; -} -} -else -{ -uint8_t x_52; -lean_dec_ref(x_14); -x_52 = !lean_is_exclusive(x_32); -if (x_52 == 0) -{ -return x_32; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_32, 0); -x_54 = lean_ctor_get(x_32, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_32); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -} -else -{ -uint8_t x_219; -lean_dec(x_16); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_219 = !lean_is_exclusive(x_18); -if (x_219 == 0) -{ -return x_18; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_220 = lean_ctor_get(x_18, 0); -x_221 = lean_ctor_get(x_18, 1); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_18); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_220); -lean_ctor_set(x_222, 1, x_221); -return x_222; -} -} -} -else -{ -uint8_t x_223; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_223 = !lean_is_exclusive(x_11); -if (x_223 == 0) -{ -return x_11; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_11, 0); -x_225 = lean_ctor_get(x_11, 1); -lean_inc(x_225); -lean_inc(x_224); -lean_dec(x_11); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -return x_226; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___redArg(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__0(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___lam__0(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__1(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2_spec__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1_spec__2(x_1, x_7, x_3, x_4, x_5, x_6); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__1(x_1, x_7, x_3, x_4, x_5, x_6); -lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6_spec__6(x_1, x_2, x_3, x_4, x_5); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5_spec__6(x_1, x_2, x_3); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__5(x_1, x_2, x_3); -lean_dec_ref(x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_6); -x_18 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___lam__0(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_9); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); -lean_dec_ref(x_3); -return x_18; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_5); -x_16 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_6); -lean_dec_ref(x_1); +lean_dec_ref(x_5); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_21); +if (x_30 == 0) +{ +return x_21; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_21, 0); +x_32 = lean_ctor_get(x_21, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_21); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) +{ return x_16; } -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +else { -lean_object* x_8; -x_8 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec_ref(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_13); +if (x_38 == 0) { -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_5); -x_7 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__2(x_1, x_2, x_3, x_4, x_6); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_7; +return x_13; } -} -LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +else { -lean_object* x_11; -x_11 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_13, 0); +x_40 = lean_ctor_get(x_13, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_13); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Doc_name___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Doc_name___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_name___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_name(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_panic_fn(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 1); -lean_inc_ref(x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -5710,601 +6018,19 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); +x_8 = lean_ctor_get(x_5, 1); +lean_inc_ref(x_8); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_7); return x_9; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__0___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("end of input", 12, 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Init.Data.Option.BasicAux", 25, 25); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Option.get!", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("value is none", 13, 13); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4; -x_2 = lean_unsigned_to_nat(14u); -x_3 = lean_unsigned_to_nat(23u); -x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3; -x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2; -x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0___boxed), 7, 0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_16 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_98; lean_object* x_103; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2___boxed), 7, 0); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1___boxed), 7, 0); -x_81 = 1; -x_103 = l_Lean_Syntax_getTailPos_x3f(x_2, x_81); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_105 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_104); -x_98 = x_105; -goto block_102; -} -else -{ -lean_object* x_106; -x_106 = lean_ctor_get(x_103, 0); -lean_inc(x_106); -lean_dec_ref(x_103); -x_98 = x_106; -goto block_102; -} -block_80: -{ -lean_object* x_25; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = l_Lean_Parser_ParserState_setPos(x_22, x_24); -x_30 = lean_box(0); -x_31 = lean_box(0); -lean_inc(x_17); -x_32 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_32, 0, x_17); -lean_ctor_set(x_32, 1, x_27); -lean_ctor_set(x_32, 2, x_30); -lean_ctor_set(x_32, 3, x_31); -x_33 = l_Lean_Parser_getTokenTable(x_17); -lean_inc_ref(x_23); -x_34 = l_Lean_Parser_ParserFn_run(x_1, x_23, x_32, x_33, x_29); -lean_inc_ref(x_34); -x_35 = l_Lean_Parser_ParserState_allErrors(x_34); -x_36 = l_Array_isEmpty___redArg(x_35); -lean_dec_ref(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_free_object(x_25); -x_37 = l_Lean_Parser_ParserState_toErrorMsg(x_23, x_34); -x_38 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = l_Lean_MessageData_ofFormat(x_38); -x_40 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -return x_40; -} -else -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_ctor_get(x_34, 0); -lean_inc_ref(x_41); -x_42 = lean_ctor_get(x_34, 2); -lean_inc(x_42); -x_43 = l_Lean_Parser_InputContext_atEnd(x_23, x_42); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec_ref(x_41); -lean_free_object(x_25); -x_44 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1; -x_45 = l_Lean_Parser_ParserState_mkError(x_34, x_44); -x_46 = l_Lean_Parser_ParserState_toErrorMsg(x_23, x_45); -x_47 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = l_Lean_MessageData_ofFormat(x_47); -x_49 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -return x_49; -} -else -{ -lean_object* x_50; -lean_dec_ref(x_34); -lean_dec_ref(x_23); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_50 = l_Lean_Parser_SyntaxStack_back(x_41); -lean_dec_ref(x_41); -lean_ctor_set(x_25, 0, x_50); -return x_25; -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_51 = lean_ctor_get(x_25, 0); -x_52 = lean_ctor_get(x_25, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_25); -x_53 = l_Lean_Parser_ParserState_setPos(x_22, x_24); -x_54 = lean_box(0); -x_55 = lean_box(0); -lean_inc(x_17); -x_56 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_56, 0, x_17); -lean_ctor_set(x_56, 1, x_51); -lean_ctor_set(x_56, 2, x_54); -lean_ctor_set(x_56, 3, x_55); -x_57 = l_Lean_Parser_getTokenTable(x_17); -lean_inc_ref(x_23); -x_58 = l_Lean_Parser_ParserFn_run(x_1, x_23, x_56, x_57, x_53); -lean_inc_ref(x_58); -x_59 = l_Lean_Parser_ParserState_allErrors(x_58); -x_60 = l_Array_isEmpty___redArg(x_59); -lean_dec_ref(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = l_Lean_Parser_ParserState_toErrorMsg(x_23, x_58); -x_62 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = l_Lean_MessageData_ofFormat(x_62); -x_64 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_52); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = lean_ctor_get(x_58, 0); -lean_inc_ref(x_65); -x_66 = lean_ctor_get(x_58, 2); -lean_inc(x_66); -x_67 = l_Lean_Parser_InputContext_atEnd(x_23, x_66); -lean_dec(x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec_ref(x_65); -x_68 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1; -x_69 = l_Lean_Parser_ParserState_mkError(x_58, x_68); -x_70 = l_Lean_Parser_ParserState_toErrorMsg(x_23, x_69); -x_71 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = l_Lean_MessageData_ofFormat(x_71); -x_73 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_52); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec_ref(x_58); -lean_dec_ref(x_23); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_74 = l_Lean_Parser_SyntaxStack_back(x_65); -lean_dec_ref(x_65); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_52); -return x_75; -} -} -} -} -else -{ -uint8_t x_76; -lean_dec(x_24); -lean_dec_ref(x_23); -lean_dec_ref(x_22); -lean_dec(x_17); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_76 = !lean_is_exclusive(x_25); -if (x_76 == 0) -{ -return x_25; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_25, 0); -x_78 = lean_ctor_get(x_25, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_25); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -block_97: -{ -lean_object* x_84; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec_ref(x_84); -lean_inc_ref(x_82); -x_87 = l_Lean_Parser_mkInputContext___redArg(x_82, x_85, x_81, x_83); -x_88 = l_Lean_Parser_mkParserState(x_82); -lean_dec_ref(x_82); -x_89 = l_Lean_Syntax_getPos_x3f(x_2, x_81); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_91 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_90); -x_21 = x_86; -x_22 = x_88; -x_23 = x_87; -x_24 = x_91; -goto block_80; -} -else -{ -lean_object* x_92; -x_92 = lean_ctor_get(x_89, 0); -lean_inc(x_92); -lean_dec_ref(x_89); -x_21 = x_86; -x_22 = x_88; -x_23 = x_87; -x_24 = x_92; -goto block_80; -} -} -else -{ -uint8_t x_93; -lean_dec(x_83); -lean_dec_ref(x_82); -lean_dec_ref(x_20); -lean_dec(x_17); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_93 = !lean_is_exclusive(x_84); -if (x_93 == 0) -{ -return x_84; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_84, 0); -x_95 = lean_ctor_get(x_84, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_84); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -} -block_102: -{ -lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_99 = lean_ctor_get(x_13, 0); -lean_inc_ref(x_99); -lean_dec(x_13); -x_100 = lean_string_utf8_byte_size(x_99); -x_101 = lean_nat_dec_le(x_98, x_100); -if (x_101 == 0) -{ -lean_dec(x_98); -x_82 = x_99; -x_83 = x_100; -goto block_97; -} -else -{ -lean_dec(x_100); -x_82 = x_99; -x_83 = x_98; -goto block_97; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_107 = !lean_is_exclusive(x_16); -if (x_107 == 0) -{ -return x_16; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_16, 0); -x_109 = lean_ctor_get(x_16, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_16); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -else -{ -uint8_t x_111; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_111 = !lean_is_exclusive(x_12); -if (x_111 == 0) -{ -return x_12; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_12, 0); -x_113 = lean_ctor_get(x_12, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_12); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_ctor_get(x_2, 1); -x_5 = l_Lean_KVMap_find(x_1, x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = lean_unbox(x_4); -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec_ref(x_5); -if (lean_obj_tag(x_7) == 1) -{ -uint8_t x_8; -x_8 = lean_ctor_get_uint8(x_7, 0); -lean_dec_ref(x_7); -return x_8; -} -else -{ -uint8_t x_9; -lean_dec(x_7); -x_9 = lean_unbox(x_4); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -6316,15 +6042,27 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; -x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 2); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); return x_9; } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0() { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0() { _start: { lean_object* x_1; @@ -6332,7 +6070,7 @@ x_1 = lean_mk_string_unchecked("trace", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1() { +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1() { _start: { lean_object* x_1; @@ -6340,7 +6078,7 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2() { +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2() { _start: { lean_object* x_1; @@ -6348,7 +6086,7 @@ x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3() { +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3() { _start: { lean_object* x_1; @@ -6356,7 +6094,7 @@ x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); return x_1; } } -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5(uint8_t x_1, uint8_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 1) @@ -6368,7 +6106,7 @@ case 0: { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_3, 1); -x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0; +x_6 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0; x_7 = lean_string_dec_eq(x_5, x_6); if (x_7 == 0) { @@ -6388,7 +6126,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_3, 1); x_10 = lean_ctor_get(x_4, 1); -x_11 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1; +x_11 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1; x_12 = lean_string_dec_eq(x_10, x_11); if (x_12 == 0) { @@ -6402,7 +6140,7 @@ return x_1; else { lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2; +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2; x_16 = lean_string_dec_eq(x_9, x_15); if (x_16 == 0) { @@ -6417,7 +6155,7 @@ return x_2; else { lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3; +x_17 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3; x_18 = lean_string_dec_eq(x_9, x_17); if (x_18 == 0) { @@ -6446,7 +6184,7 @@ return x_1; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_83; @@ -6463,7 +6201,7 @@ else lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; x_84 = lean_box(x_5); x_85 = lean_box(x_83); -x_86 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___boxed), 3, 2); +x_86 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___boxed), 3, 2); lean_closure_set(x_86, 0, x_84); lean_closure_set(x_86, 1, x_85); lean_inc_ref(x_1); @@ -6722,23 +6460,7 @@ return x_81; } } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__2___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__0___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2() { +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0() { _start: { lean_object* x_1; @@ -6746,15 +6468,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___lam__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4() { +static lean_object* _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1() { _start: { lean_object* x_1; @@ -6762,14 +6476,14 @@ x_1 = l_Lean_warningAsError; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; uint8_t x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; -x_13 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0; -x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -x_62 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); -x_79 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3; +lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; +x_13 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0___boxed), 7, 0); +x_14 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1___boxed), 7, 0); +x_62 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2___boxed), 7, 0); +x_79 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3___boxed), 7, 0); x_80 = 2; x_101 = l_Lean_instBEqMessageSeverity_beq(x_3, x_80); if (x_101 == 0) @@ -6794,7 +6508,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; @@ -6804,7 +6518,7 @@ x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec_ref(x_20); x_23 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_24 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__1___boxed), 8, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4___boxed), 8, 1); lean_closure_set(x_24, 0, x_23); lean_inc(x_11); lean_inc_ref(x_10); @@ -6837,17 +6551,17 @@ x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec_ref(x_28); lean_inc(x_21); -x_31 = l_Lean_FileMap_toPosition(x_21, x_17); -lean_dec(x_17); +x_31 = l_Lean_FileMap_toPosition(x_21, x_18); +lean_dec(x_18); x_32 = l_Lean_FileMap_toPosition(x_21, x_19); lean_dec(x_19); x_33 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_33, 0, x_32); -x_34 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; +x_34 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; x_35 = lean_box(x_15); x_36 = lean_box(x_16); x_37 = lean_box(x_4); -x_38 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__3___boxed), 15, 8); +x_38 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6___boxed), 15, 8); lean_closure_set(x_38, 0, x_26); lean_closure_set(x_38, 1, x_29); lean_closure_set(x_38, 2, x_31); @@ -6865,7 +6579,7 @@ uint8_t x_40; lean_dec(x_26); lean_dec(x_21); lean_dec(x_19); -lean_dec(x_17); +lean_dec(x_18); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -6897,7 +6611,8 @@ else uint8_t x_44; lean_dec(x_21); lean_dec(x_19); -lean_dec(x_17); +lean_dec(x_18); +lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -6928,7 +6643,8 @@ else { uint8_t x_48; lean_dec(x_19); -lean_dec(x_17); +lean_dec(x_18); +lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -6959,15 +6675,15 @@ return x_51; block_61: { lean_object* x_59; -x_59 = l_Lean_Syntax_getTailPos_x3f(x_57, x_56); -lean_dec(x_57); +x_59 = l_Lean_Syntax_getTailPos_x3f(x_56, x_57); +lean_dec(x_56); if (lean_obj_tag(x_59) == 0) { lean_inc(x_58); x_15 = x_53; -x_16 = x_54; -x_17 = x_58; -x_18 = x_55; +x_16 = x_55; +x_17 = x_54; +x_18 = x_58; x_19 = x_58; goto block_52; } @@ -6978,9 +6694,9 @@ x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); lean_dec_ref(x_59); x_15 = x_53; -x_16 = x_54; -x_17 = x_58; -x_18 = x_55; +x_16 = x_55; +x_17 = x_54; +x_18 = x_58; x_19 = x_60; goto block_52; } @@ -6994,7 +6710,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_67 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); +x_67 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); if (lean_obj_tag(x_67) == 0) { lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; @@ -7005,16 +6721,16 @@ lean_inc(x_69); lean_dec_ref(x_67); x_70 = l_Lean_replaceRef(x_1, x_68); lean_dec(x_68); -x_71 = l_Lean_Syntax_getPos_x3f(x_70, x_65); +x_71 = l_Lean_Syntax_getPos_x3f(x_70, x_64); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; x_72 = lean_unsigned_to_nat(0u); x_53 = x_63; -x_54 = x_66; -x_55 = x_69; -x_56 = x_65; -x_57 = x_70; +x_54 = x_69; +x_55 = x_66; +x_56 = x_70; +x_57 = x_64; x_58 = x_72; goto block_61; } @@ -7025,10 +6741,10 @@ x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); lean_dec_ref(x_71); x_53 = x_63; -x_54 = x_66; -x_55 = x_69; -x_56 = x_65; -x_57 = x_70; +x_54 = x_69; +x_55 = x_66; +x_56 = x_70; +x_57 = x_64; x_58 = x_73; goto block_61; } @@ -7036,6 +6752,8 @@ goto block_61; else { uint8_t x_74; +lean_dec_ref(x_14); +lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -7067,17 +6785,17 @@ block_85: { if (x_84 == 0) { -x_63 = x_82; -x_64 = x_81; -x_65 = x_83; +x_63 = x_81; +x_64 = x_83; +x_65 = x_82; x_66 = x_3; goto block_78; } else { -x_63 = x_82; -x_64 = x_81; -x_65 = x_83; +x_63 = x_81; +x_64 = x_83; +x_65 = x_82; x_66 = x_80; goto block_78; } @@ -7107,8 +6825,8 @@ x_91 = l_Lean_instBEqMessageSeverity_beq(x_3, x_90); if (x_91 == 0) { lean_dec(x_88); -x_81 = x_89; -x_82 = x_86; +x_81 = x_86; +x_82 = x_89; x_83 = x_86; x_84 = x_91; goto block_85; @@ -7116,11 +6834,11 @@ goto block_85; else { lean_object* x_92; uint8_t x_93; -x_92 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4; -x_93 = l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0(x_88, x_92); +x_92 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1; +x_93 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(x_88, x_92); lean_dec(x_88); -x_81 = x_89; -x_82 = x_86; +x_81 = x_86; +x_82 = x_89; x_83 = x_86; x_84 = x_93; goto block_85; @@ -7130,6 +6848,8 @@ else { uint8_t x_94; lean_dec_ref(x_62); +lean_dec_ref(x_14); +lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -7160,7 +6880,10 @@ return x_97; else { lean_object* x_98; lean_object* x_99; +lean_dec_ref(x_79); lean_dec_ref(x_62); +lean_dec_ref(x_14); +lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -7177,532 +6900,1571 @@ return x_99; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = 2; +x_14 = 0; +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("checkNameExists", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_name___closed__1; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedCheck", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_name___closed__3; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected a qualified version of {x}", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_name___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_name___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_name___closed__7; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_40; lean_object* x_41; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(x_15, x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +x_18 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_19 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +x_20 = l_Lean_Doc_name___closed__0; +x_21 = l_Lean_TSyntax_getString(x_15); +lean_inc_ref(x_21); +x_51 = l_String_toName(x_21); +lean_inc(x_51); +x_52 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(x_15, x_51); lean_dec(x_15); -return x_17; +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = l_Lean_TSyntax_getId(x_52); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_94 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(x_93, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec_ref(x_94); +x_53 = x_4; +x_54 = x_5; +x_55 = x_6; +x_56 = x_7; +x_57 = x_8; +x_58 = x_9; +x_59 = x_10; +x_60 = x_11; +x_61 = x_12; +x_62 = x_96; +goto block_92; } else { -uint8_t x_18; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_97; +x_97 = !lean_is_exclusive(x_95); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_95, 0); +x_99 = lean_ctor_get(x_94, 1); +lean_inc(x_99); +lean_dec_ref(x_94); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_98, 0); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_101); +x_103 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__2___boxed), 8, 1); +lean_closure_set(x_103, 0, x_101); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_104 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_103, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_99); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +x_107 = l_List_isEmpty___redArg(x_102); +lean_dec(x_102); +if (x_107 == 0) +{ +lean_dec(x_105); +lean_free_object(x_98); +lean_dec(x_101); +lean_free_object(x_95); +x_53 = x_4; +x_54 = x_5; +x_55 = x_6; +x_56 = x_7; +x_57 = x_8; +x_58 = x_9; +x_59 = x_10; +x_60 = x_11; +x_61 = x_12; +x_62 = x_106; +goto block_92; +} +else +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_17); +lean_dec(x_2); +x_108 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed), 7, 0); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc_ref(x_108); +x_109 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_108, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_106); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec_ref(x_109); +x_112 = lean_box(0); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_52); +lean_inc(x_105); +lean_ctor_set(x_95, 0, x_105); +x_114 = 0; +lean_inc(x_101); +x_115 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_110); +lean_ctor_set(x_115, 2, x_95); +lean_ctor_set(x_115, 3, x_101); +lean_ctor_set_uint8(x_115, sizeof(void*)*4, x_114); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_115); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_117 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_116, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_111); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +lean_dec_ref(x_117); +x_119 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_108, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_118); +if (lean_obj_tag(x_119) == 0) +{ +uint8_t x_120; +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_121 = lean_ctor_get(x_119, 0); +x_122 = l_Lean_Expr_fvarId_x21(x_101); +lean_dec(x_101); +x_123 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_123, 0, x_51); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_121); +lean_ctor_set(x_123, 3, x_105); +x_124 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +x_125 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +lean_ctor_set(x_98, 1, x_123); +lean_ctor_set(x_98, 0, x_125); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_98); +x_127 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_127, 0, x_21); +x_128 = l_Lean_Doc_name___closed__5; +x_129 = lean_array_push(x_128, x_127); +x_130 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_130, 0, x_126); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_119, 0, x_130); +return x_119; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_131 = lean_ctor_get(x_119, 0); +x_132 = lean_ctor_get(x_119, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_119); +x_133 = l_Lean_Expr_fvarId_x21(x_101); +lean_dec(x_101); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_51); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_131); +lean_ctor_set(x_134, 3, x_105); +x_135 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +x_136 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +lean_ctor_set(x_98, 1, x_134); +lean_ctor_set(x_98, 0, x_136); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_98); +x_138 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_138, 0, x_21); +x_139 = l_Lean_Doc_name___closed__5; +x_140 = lean_array_push(x_139, x_138); +x_141 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_141, 0, x_137); +lean_ctor_set(x_141, 1, x_140); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_132); +return x_142; +} +} +else +{ +uint8_t x_143; +lean_dec(x_105); +lean_free_object(x_98); +lean_dec(x_101); +lean_dec(x_51); +lean_dec_ref(x_21); +x_143 = !lean_is_exclusive(x_119); +if (x_143 == 0) +{ +return x_119; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_119, 0); +x_145 = lean_ctor_get(x_119, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_119); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +} +else +{ +uint8_t x_147; +lean_dec_ref(x_108); +lean_dec(x_105); +lean_free_object(x_98); +lean_dec(x_101); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_147 = !lean_is_exclusive(x_117); +if (x_147 == 0) +{ +return x_117; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_117, 0); +x_149 = lean_ctor_get(x_117, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_117); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +return x_150; +} +} +} +else +{ +uint8_t x_151; +lean_dec_ref(x_108); +lean_dec(x_105); +lean_free_object(x_98); +lean_dec(x_101); +lean_free_object(x_95); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_151 = !lean_is_exclusive(x_109); +if (x_151 == 0) +{ +return x_109; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_109, 0); +x_153 = lean_ctor_get(x_109, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_109); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} +} +} +} +else +{ +uint8_t x_155; +lean_free_object(x_98); +lean_dec(x_102); +lean_dec(x_101); +lean_free_object(x_95); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +x_155 = !lean_is_exclusive(x_104); +if (x_155 == 0) +{ +return x_104; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_104, 0); +x_157 = lean_ctor_get(x_104, 1); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_104); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +return x_158; +} +} +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_159 = lean_ctor_get(x_98, 0); +x_160 = lean_ctor_get(x_98, 1); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_98); +lean_inc(x_159); +x_161 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__2___boxed), 8, 1); +lean_closure_set(x_161, 0, x_159); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_162 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_161, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_99); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec_ref(x_162); +x_165 = l_List_isEmpty___redArg(x_160); +lean_dec(x_160); +if (x_165 == 0) +{ +lean_dec(x_163); +lean_dec(x_159); +lean_free_object(x_95); +x_53 = x_4; +x_54 = x_5; +x_55 = x_6; +x_56 = x_7; +x_57 = x_8; +x_58 = x_9; +x_59 = x_10; +x_60 = x_11; +x_61 = x_12; +x_62 = x_164; +goto block_92; +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_17); +lean_dec(x_2); +x_166 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed), 7, 0); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc_ref(x_166); +x_167 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_166, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_164); +if (lean_obj_tag(x_167) == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); +lean_dec_ref(x_167); +x_170 = lean_box(0); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_52); +lean_inc(x_163); +lean_ctor_set(x_95, 0, x_163); +x_172 = 0; +lean_inc(x_159); +x_173 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_168); +lean_ctor_set(x_173, 2, x_95); +lean_ctor_set(x_173, 3, x_159); +lean_ctor_set_uint8(x_173, sizeof(void*)*4, x_172); +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_173); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_175 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_174, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_169); +if (lean_obj_tag(x_175) == 0) +{ +lean_object* x_176; lean_object* x_177; +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec_ref(x_175); +x_177 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_166, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_176); +if (lean_obj_tag(x_177) == 0) +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_177, 1); +lean_inc(x_179); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_180 = x_177; +} else { + lean_dec_ref(x_177); + x_180 = lean_box(0); +} +x_181 = l_Lean_Expr_fvarId_x21(x_159); +lean_dec(x_159); +x_182 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_182, 0, x_51); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_178); +lean_ctor_set(x_182, 3, x_163); +x_183 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +x_184 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_182); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_185); +x_187 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_187, 0, x_21); +x_188 = l_Lean_Doc_name___closed__5; +x_189 = lean_array_push(x_188, x_187); +x_190 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_190, 0, x_186); +lean_ctor_set(x_190, 1, x_189); +if (lean_is_scalar(x_180)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_180; +} +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_179); +return x_191; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_163); +lean_dec(x_159); +lean_dec(x_51); +lean_dec_ref(x_21); +x_192 = lean_ctor_get(x_177, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_177, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_194 = x_177; +} else { + lean_dec_ref(x_177); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; +} +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec_ref(x_166); +lean_dec(x_163); +lean_dec(x_159); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_196 = lean_ctor_get(x_175, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_175, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_198 = x_175; +} else { + lean_dec_ref(x_175); + x_198 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_199 = lean_alloc_ctor(1, 2, 0); +} else { + x_199 = x_198; +} +lean_ctor_set(x_199, 0, x_196); +lean_ctor_set(x_199, 1, x_197); +return x_199; +} +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec_ref(x_166); +lean_dec(x_163); +lean_dec(x_159); +lean_free_object(x_95); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_200 = lean_ctor_get(x_167, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_167, 1); +lean_inc(x_201); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_202 = x_167; +} else { + lean_dec_ref(x_167); + x_202 = lean_box(0); +} +if (lean_is_scalar(x_202)) { + x_203 = lean_alloc_ctor(1, 2, 0); +} else { + x_203 = x_202; +} +lean_ctor_set(x_203, 0, x_200); +lean_ctor_set(x_203, 1, x_201); +return x_203; +} +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_160); +lean_dec(x_159); +lean_free_object(x_95); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +x_204 = lean_ctor_get(x_162, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_162, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_206 = x_162; +} else { + lean_dec_ref(x_162); + x_206 = lean_box(0); +} +if (lean_is_scalar(x_206)) { + x_207 = lean_alloc_ctor(1, 2, 0); +} else { + x_207 = x_206; +} +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_205); +return x_207; +} +} +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_208 = lean_ctor_get(x_95, 0); +lean_inc(x_208); +lean_dec(x_95); +x_209 = lean_ctor_get(x_94, 1); +lean_inc(x_209); +lean_dec_ref(x_94); +x_210 = lean_ctor_get(x_208, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_208, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + x_212 = x_208; +} else { + lean_dec_ref(x_208); + x_212 = lean_box(0); +} +lean_inc(x_210); +x_213 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__2___boxed), 8, 1); +lean_closure_set(x_213, 0, x_210); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_214 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_213, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_209); +if (lean_obj_tag(x_214) == 0) +{ +lean_object* x_215; lean_object* x_216; uint8_t x_217; +x_215 = lean_ctor_get(x_214, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_214, 1); +lean_inc(x_216); +lean_dec_ref(x_214); +x_217 = l_List_isEmpty___redArg(x_211); +lean_dec(x_211); +if (x_217 == 0) +{ +lean_dec(x_215); +lean_dec(x_212); +lean_dec(x_210); +x_53 = x_4; +x_54 = x_5; +x_55 = x_6; +x_56 = x_7; +x_57 = x_8; +x_58 = x_9; +x_59 = x_10; +x_60 = x_11; +x_61 = x_12; +x_62 = x_216; +goto block_92; +} +else +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_17); +lean_dec(x_2); +x_218 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed), 7, 0); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc_ref(x_218); +x_219 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_218, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_216); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec_ref(x_219); +x_222 = lean_box(0); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_52); +lean_inc(x_215); +x_224 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_224, 0, x_215); +x_225 = 0; +lean_inc(x_210); +x_226 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_226, 0, x_223); +lean_ctor_set(x_226, 1, x_220); +lean_ctor_set(x_226, 2, x_224); +lean_ctor_set(x_226, 3, x_210); +lean_ctor_set_uint8(x_226, sizeof(void*)*4, x_225); +x_227 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_227, 0, x_226); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_228 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_227, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_221); +if (lean_obj_tag(x_228) == 0) +{ +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_228, 1); +lean_inc(x_229); +lean_dec_ref(x_228); +x_230 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_218, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_229); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_233 = x_230; +} else { + lean_dec_ref(x_230); + x_233 = lean_box(0); +} +x_234 = l_Lean_Expr_fvarId_x21(x_210); +lean_dec(x_210); +x_235 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_235, 0, x_51); +lean_ctor_set(x_235, 1, x_234); +lean_ctor_set(x_235, 2, x_231); +lean_ctor_set(x_235, 3, x_215); +x_236 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +x_237 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +if (lean_is_scalar(x_212)) { + x_238 = lean_alloc_ctor(0, 2, 0); +} else { + x_238 = x_212; +} +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_235); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_236); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_240, 0, x_21); +x_241 = l_Lean_Doc_name___closed__5; +x_242 = lean_array_push(x_241, x_240); +x_243 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_243, 0, x_239); +lean_ctor_set(x_243, 1, x_242); +if (lean_is_scalar(x_233)) { + x_244 = lean_alloc_ctor(0, 2, 0); +} else { + x_244 = x_233; +} +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_232); +return x_244; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +lean_dec(x_215); +lean_dec(x_212); +lean_dec(x_210); +lean_dec(x_51); +lean_dec_ref(x_21); +x_245 = lean_ctor_get(x_230, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_230, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_247 = x_230; +} else { + lean_dec_ref(x_230); + x_247 = lean_box(0); +} +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(1, 2, 0); +} else { + x_248 = x_247; +} +lean_ctor_set(x_248, 0, x_245); +lean_ctor_set(x_248, 1, x_246); +return x_248; +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec_ref(x_218); +lean_dec(x_215); +lean_dec(x_212); +lean_dec(x_210); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_249 = lean_ctor_get(x_228, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_228, 1); +lean_inc(x_250); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_251 = x_228; +} else { + lean_dec_ref(x_228); + x_251 = lean_box(0); +} +if (lean_is_scalar(x_251)) { + x_252 = lean_alloc_ctor(1, 2, 0); +} else { + x_252 = x_251; +} +lean_ctor_set(x_252, 0, x_249); +lean_ctor_set(x_252, 1, x_250); +return x_252; +} +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +lean_dec_ref(x_218); +lean_dec(x_215); +lean_dec(x_212); +lean_dec(x_210); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_253 = lean_ctor_get(x_219, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_219, 1); +lean_inc(x_254); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + x_255 = x_219; +} else { + lean_dec_ref(x_219); + x_255 = lean_box(0); +} +if (lean_is_scalar(x_255)) { + x_256 = lean_alloc_ctor(1, 2, 0); +} else { + x_256 = x_255; +} +lean_ctor_set(x_256, 0, x_253); +lean_ctor_set(x_256, 1, x_254); +return x_256; +} +} +} +else +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +lean_dec(x_212); +lean_dec(x_211); +lean_dec(x_210); +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +x_257 = lean_ctor_get(x_214, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_214, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + lean_ctor_release(x_214, 1); + x_259 = x_214; +} else { + lean_dec_ref(x_214); + x_259 = lean_box(0); +} +if (lean_is_scalar(x_259)) { + x_260 = lean_alloc_ctor(1, 2, 0); +} else { + x_260 = x_259; +} +lean_ctor_set(x_260, 0, x_257); +lean_ctor_set(x_260, 1, x_258); +return x_260; +} +} +} +} +else +{ +uint8_t x_261; +lean_dec(x_52); +lean_dec(x_51); +lean_dec_ref(x_21); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +x_261 = !lean_is_exclusive(x_94); +if (x_261 == 0) +{ +return x_94; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_94, 0); +x_263 = lean_ctor_get(x_94, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_94); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +return x_264; +} +} +} +else +{ +lean_object* x_265; lean_object* x_266; uint8_t x_267; +x_265 = lean_ctor_get(x_1, 0); +x_266 = l_Lean_TSyntax_getId(x_265); +x_267 = l_Lean_Name_isSuffixOf(x_51, x_266); +lean_dec(x_266); +if (x_267 == 0) +{ +uint8_t x_268; +lean_inc(x_265); +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_17); +lean_dec(x_2); +x_268 = !lean_is_exclusive(x_1); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_269 = lean_ctor_get(x_1, 0); +lean_dec(x_269); +x_270 = l_Lean_Doc_name___closed__8; +x_271 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_265, x_270, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_265); +if (lean_obj_tag(x_271) == 0) +{ +uint8_t x_272; +x_272 = !lean_is_exclusive(x_271); +if (x_272 == 0) +{ +lean_object* x_273; +x_273 = lean_ctor_get(x_271, 0); +lean_dec(x_273); +lean_ctor_set_tag(x_1, 3); +lean_ctor_set(x_1, 0, x_21); +lean_ctor_set(x_271, 0, x_1); +return x_271; +} +else +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_ctor_get(x_271, 1); +lean_inc(x_274); +lean_dec(x_271); +lean_ctor_set_tag(x_1, 3); +lean_ctor_set(x_1, 0, x_21); +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_1); +lean_ctor_set(x_275, 1, x_274); +return x_275; +} +} +else +{ +uint8_t x_276; +lean_free_object(x_1); +lean_dec_ref(x_21); +x_276 = !lean_is_exclusive(x_271); +if (x_276 == 0) +{ +return x_271; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_277 = lean_ctor_get(x_271, 0); +x_278 = lean_ctor_get(x_271, 1); +lean_inc(x_278); +lean_inc(x_277); +lean_dec(x_271); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_277); +lean_ctor_set(x_279, 1, x_278); +return x_279; +} +} +} +else +{ +lean_object* x_280; lean_object* x_281; +lean_dec(x_1); +x_280 = l_Lean_Doc_name___closed__8; +x_281 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_265, x_280, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_265); +if (lean_obj_tag(x_281) == 0) +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_283 = x_281; +} else { + lean_dec_ref(x_281); + x_283 = lean_box(0); +} +x_284 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_284, 0, x_21); +if (lean_is_scalar(x_283)) { + x_285 = lean_alloc_ctor(0, 2, 0); +} else { + x_285 = x_283; +} +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_282); +return x_285; +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec_ref(x_21); +x_286 = lean_ctor_get(x_281, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_281, 1); +lean_inc(x_287); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_288 = x_281; +} else { + lean_dec_ref(x_281); + x_288 = lean_box(0); +} +if (lean_is_scalar(x_288)) { + x_289 = lean_alloc_ctor(1, 2, 0); +} else { + x_289 = x_288; +} +lean_ctor_set(x_289, 0, x_286); +lean_ctor_set(x_289, 1, x_287); +return x_289; +} +} +} +else +{ +x_53 = x_4; +x_54 = x_5; +x_55 = x_6; +x_56 = x_7; +x_57 = x_8; +x_58 = x_9; +x_59 = x_10; +x_60 = x_11; +x_61 = x_12; +x_62 = x_16; +goto block_92; +} +} +block_39: +{ +lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_25 = l_Lean_Doc_name___closed__2; +x_26 = lean_array_size(x_23); +x_27 = 0; +x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13(x_26, x_27, x_23); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_19); +lean_ctor_set(x_29, 1, x_24); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_30, 2, x_29); +x_31 = l_Lean_Doc_name___closed__4; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_20); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_34, 0, x_21); +x_35 = l_Lean_Doc_name___closed__5; +x_36 = lean_array_push(x_35, x_34); +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +if (lean_is_scalar(x_17)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_17; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_22); +return x_38; +} +block_50: +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_42 = l_Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_18); +lean_ctor_set(x_43, 1, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_45, 0, x_21); +x_46 = l_Lean_Doc_name___closed__5; +x_47 = lean_array_push(x_46, x_45); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_44); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_41); +return x_49; +} +block_92: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_dec(x_51); +lean_dec(x_17); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_box(0); +x_64 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__0___boxed), 9, 2); +lean_closure_set(x_64, 0, x_52); +lean_closure_set(x_64, 1, x_63); +x_65 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_64, x_55, x_56, x_57, x_58, x_59, x_60, x_61, x_62); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec_ref(x_65); +x_40 = x_66; +x_41 = x_67; +goto block_50; +} +else +{ +uint8_t x_68; +lean_dec_ref(x_21); +x_68 = !lean_is_exclusive(x_65); +if (x_68 == 0) +{ +return x_65; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_65, 0); +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_65); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_1, 0); +lean_inc(x_72); lean_dec_ref(x_1); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) +x_73 = lean_box(0); +x_74 = lean_alloc_closure((void*)(l_Lean_Doc_name___lam__1___boxed), 9, 2); +lean_closure_set(x_74, 0, x_72); +lean_closure_set(x_74, 1, x_73); +lean_inc(x_61); +lean_inc_ref(x_60); +lean_inc(x_59); +lean_inc_ref(x_58); +lean_inc(x_57); +lean_inc_ref(x_56); +x_75 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_74, x_55, x_56, x_57, x_58, x_59, x_60, x_61, x_62); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec_ref(x_75); +lean_inc(x_76); +x_78 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_52, x_76, x_73, x_53, x_54, x_55, x_56, x_57, x_58, x_59, x_60, x_61, x_77); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec_ref(x_78); +x_40 = x_76; +x_41 = x_79; +goto block_50; +} +else +{ +uint8_t x_80; +lean_dec(x_76); +lean_dec_ref(x_21); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +return x_78; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_78, 0); +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_78); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_61); +lean_dec_ref(x_60); +lean_dec(x_59); +lean_dec_ref(x_58); +lean_dec(x_57); +lean_dec_ref(x_56); +lean_dec(x_52); +lean_dec_ref(x_21); +x_84 = !lean_is_exclusive(x_75); +if (x_84 == 0) +{ +return x_75; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_75, 0); +x_86 = lean_ctor_get(x_75, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_75); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +} +else +{ +lean_dec(x_61); +lean_dec_ref(x_60); +lean_dec(x_59); +lean_dec_ref(x_58); +lean_dec(x_57); +lean_dec_ref(x_56); +lean_dec(x_52); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_88); +lean_dec_ref(x_2); +x_22 = x_62; +x_23 = x_88; +x_24 = x_51; +goto block_39; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_51); +x_89 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_89); +lean_dec_ref(x_2); +x_90 = lean_ctor_get(x_1, 0); +lean_inc(x_90); +lean_dec_ref(x_1); +x_91 = l_Lean_TSyntax_getId(x_90); +lean_dec(x_90); +x_22 = x_62; +x_23 = x_89; +x_24 = x_91; +goto block_39; +} +} +} +} +else +{ +uint8_t x_290; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_290 = !lean_is_exclusive(x_14); +if (x_290 == 0) { return x_14; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_inc(x_19); +lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_291 = lean_ctor_get(x_14, 0); +x_292 = lean_ctor_get(x_14, 1); +lean_inc(x_292); +lean_inc(x_291); lean_dec(x_14); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_291); +lean_ctor_set(x_293, 1, x_292); +return x_293; } } } } -LEAN_EXPORT lean_object* l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = 2; -x_12 = 0; -x_13 = l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(x_1, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_21; lean_object* x_22; -x_21 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec_ref(x_22); -x_25 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_26 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_75; lean_object* x_76; lean_object* x_91; lean_object* x_96; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec_ref(x_26); -x_29 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3; -x_30 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0; -x_31 = 1; -x_96 = l_Lean_Syntax_getTailPos_x3f(x_2, x_31); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; -x_97 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_98 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_97); -x_91 = x_98; -goto block_95; -} -else -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_96, 0); -lean_inc(x_99); -lean_dec_ref(x_96); -x_91 = x_99; -goto block_95; -} -block_74: -{ -lean_object* x_36; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec_ref(x_36); -x_39 = l_Lean_Parser_ParserState_setPos(x_32, x_35); -x_40 = lean_box(0); -x_41 = lean_box(0); -lean_inc(x_27); -x_42 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_42, 0, x_27); -lean_ctor_set(x_42, 1, x_37); -lean_ctor_set(x_42, 2, x_40); -lean_ctor_set(x_42, 3, x_41); -x_43 = l_Lean_Parser_getTokenTable(x_27); -lean_inc_ref(x_34); -x_44 = l_Lean_Parser_ParserFn_run(x_1, x_34, x_42, x_43, x_39); -lean_inc_ref(x_44); -x_45 = l_Lean_Parser_ParserState_allErrors(x_44); -x_46 = l_Array_isEmpty___redArg(x_45); -lean_dec_ref(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_inc_ref(x_44); -x_47 = l_Lean_Parser_ParserState_toErrorMsg(x_34, x_44); -x_48 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l_Lean_MessageData_ofFormat(x_48); -x_50 = l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec_ref(x_50); -x_12 = x_44; -x_13 = x_31; -x_14 = x_51; -goto block_20; -} -else -{ -uint8_t x_52; -lean_dec_ref(x_44); -x_52 = !lean_is_exclusive(x_50); -if (x_52 == 0) -{ -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_50, 0); -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_50); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -else -{ -lean_object* x_56; uint8_t x_57; -x_56 = lean_ctor_get(x_44, 2); -lean_inc(x_56); -x_57 = l_Lean_Parser_InputContext_atEnd(x_34, x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_58 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1; -lean_inc_ref(x_44); -x_59 = l_Lean_Parser_ParserState_mkError(x_44, x_58); -x_60 = l_Lean_Parser_ParserState_toErrorMsg(x_34, x_59); -x_61 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = l_Lean_MessageData_ofFormat(x_61); -x_63 = l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec_ref(x_63); -x_12 = x_44; -x_13 = x_31; -x_14 = x_64; -goto block_20; -} -else -{ -uint8_t x_65; -lean_dec_ref(x_44); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) -{ -return x_63; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_63, 0); -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_63); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -else -{ -uint8_t x_69; -lean_dec_ref(x_34); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_69 = 0; -x_12 = x_44; -x_13 = x_69; -x_14 = x_38; -goto block_20; -} -} -} -else -{ -uint8_t x_70; -lean_dec(x_35); -lean_dec_ref(x_34); -lean_dec_ref(x_32); -lean_dec(x_27); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_70 = !lean_is_exclusive(x_36); -if (x_70 == 0) -{ -return x_36; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_36, 0); -x_72 = lean_ctor_get(x_36, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_36); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -block_90: -{ -lean_object* x_77; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_77 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec_ref(x_77); -lean_inc_ref(x_75); -x_80 = l_Lean_Parser_mkInputContext___redArg(x_75, x_78, x_31, x_76); -x_81 = l_Lean_Parser_mkParserState(x_75); -lean_dec_ref(x_75); -x_82 = l_Lean_Syntax_getPos_x3f(x_2, x_31); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -x_83 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_84 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_83); -x_32 = x_81; -x_33 = x_79; -x_34 = x_80; -x_35 = x_84; -goto block_74; -} -else -{ -lean_object* x_85; -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -lean_dec_ref(x_82); -x_32 = x_81; -x_33 = x_79; -x_34 = x_80; -x_35 = x_85; -goto block_74; -} -} -else -{ -uint8_t x_86; -lean_dec(x_76); -lean_dec_ref(x_75); -lean_dec(x_27); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_86 = !lean_is_exclusive(x_77); -if (x_86 == 0) -{ -return x_77; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_77, 0); -x_88 = lean_ctor_get(x_77, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_77); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; -} -} -} -block_95: -{ -lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_92 = lean_ctor_get(x_23, 0); -lean_inc_ref(x_92); -lean_dec(x_23); -x_93 = lean_string_utf8_byte_size(x_92); -x_94 = lean_nat_dec_le(x_91, x_93); -if (x_94 == 0) -{ -lean_dec(x_91); -x_75 = x_92; -x_76 = x_93; -goto block_90; -} -else -{ -lean_dec(x_93); -x_75 = x_92; -x_76 = x_91; -goto block_90; -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_23); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_100 = !lean_is_exclusive(x_26); -if (x_100 == 0) -{ -return x_26; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_26, 0); -x_102 = lean_ctor_get(x_26, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_26); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; -} -} -} -else -{ -uint8_t x_104; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_104 = !lean_is_exclusive(x_22); -if (x_104 == 0) -{ -return x_22; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_22, 0); -x_106 = lean_ctor_get(x_22, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_22); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; -} -} -block_20: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_15); -lean_dec_ref(x_12); -x_16 = l_Lean_Parser_SyntaxStack_back(x_15); -lean_dec_ref(x_15); -x_17 = lean_box(x_13); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_14); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0(x_1, x_2); -lean_dec_ref(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -7712,26 +8474,656 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_6); +x_19 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_5); +x_17 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_5); +x_7 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2(x_1, x_2, x_3, x_4, x_6); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; x_4 = lean_unbox(x_1); x_5 = lean_unbox(x_2); -x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0(x_4, x_5, x_3); +x_6 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5(x_4, x_5, x_3); lean_dec(x_3); x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; x_16 = lean_unbox(x_5); x_17 = lean_unbox(x_6); x_18 = lean_unbox(x_7); -x_19 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__3(x_1, x_2, x_3, x_4, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6(x_1, x_2, x_3, x_4, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -7741,62 +9133,88 @@ lean_dec_ref(x_9); return x_19; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; lean_object* x_15; x_13 = lean_unbox(x_3); x_14 = lean_unbox(x_4); -x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_3); -x_15 = lean_unbox(x_4); -x_16 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +x_16 = lean_unbox(x_4); +x_17 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_name_spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_name___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_name___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_name___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_name(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_2); -x_14 = lean_unbox(x_3); -x_15 = l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_12; +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -8109,140 +9527,140 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_11; +x_11 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) +lean_object* x_11; +x_11 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -return x_10; +return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; } } else { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) { -return x_10; +return x_11; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -return x_16; +return x_17; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -8347,414 +9765,414 @@ x_1 = lean_mk_string_unchecked("pseudo", 6, 6); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_2) == 1) { -lean_object* x_12; -x_12 = lean_ctor_get(x_2, 1); -if (lean_obj_tag(x_12) == 1) +lean_object* x_13; +x_13 = lean_ctor_get(x_2, 1); +if (lean_obj_tag(x_13) == 1) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_2, 2); -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0; -x_17 = lean_string_dec_eq(x_15, x_16); -if (x_17 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_2, 2); +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0; +x_18 = lean_string_dec_eq(x_16, x_17); +if (x_18 == 0) { -lean_object* x_18; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +lean_object* x_19; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_11); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_12); +return x_19; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_array_get_size(x_13); -x_20 = lean_unsigned_to_nat(4u); -x_21 = lean_nat_dec_eq(x_19, x_20); -lean_dec(x_19); -if (x_21 == 0) +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_array_get_size(x_14); +x_21 = lean_unsigned_to_nat(4u); +x_22 = lean_nat_dec_eq(x_20, x_21); +lean_dec(x_20); +if (x_22 == 0) { -lean_object* x_22; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +lean_object* x_23; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_1); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_2); -lean_ctor_set(x_22, 1, x_11); -return x_22; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_2); +lean_ctor_set(x_23, 1, x_12); +return x_23; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_unsigned_to_nat(2u); -x_24 = lean_array_fget_borrowed(x_13, x_23); -if (lean_obj_tag(x_14) == 1) +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_unsigned_to_nat(2u); +x_25 = lean_array_fget_borrowed(x_14, x_24); +if (lean_obj_tag(x_15) == 1) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_14, 0); -x_99 = lean_ctor_get(x_14, 1); -x_100 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__7; -x_101 = lean_string_dec_eq(x_99, x_100); -if (x_101 == 0) +lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_99 = lean_ctor_get(x_15, 0); +x_100 = lean_ctor_get(x_15, 1); +x_101 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__7; +x_102 = lean_string_dec_eq(x_100, x_101); +if (x_102 == 0) { -lean_inc_ref(x_14); -x_25 = x_14; -goto block_97; +lean_inc_ref(x_15); +x_26 = x_15; +goto block_98; } else { -lean_inc(x_98); -x_25 = x_98; -goto block_97; +lean_inc(x_99); +x_26 = x_99; +goto block_98; } } else { -lean_inc(x_14); -x_25 = x_14; -goto block_97; +lean_inc(x_15); +x_26 = x_15; +goto block_98; } -block_97: +block_98: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_box(0); -x_27 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__3; -x_28 = l_Lean_instToExprName___private__1(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -x_30 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__1___boxed), 9, 2); -lean_closure_set(x_30, 0, x_27); -lean_closure_set(x_30, 1, x_29); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_31 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_31) == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_27 = lean_box(0); +x_28 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__3; +x_29 = l_Lean_instToExprName___private__1(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +x_31 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__1___boxed), 9, 2); +lean_closure_set(x_31, 0, x_28); +lean_closure_set(x_31, 1, x_30); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_32 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec_ref(x_31); -x_34 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__5; -x_35 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__6; -x_36 = lean_array_push(x_35, x_32); -x_37 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__2___boxed), 9, 2); -lean_closure_set(x_37, 0, x_34); -lean_closure_set(x_37, 1, x_36); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_38 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -if (lean_obj_tag(x_38) == 0) +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_35 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__5; +x_36 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__6; +x_37 = lean_array_push(x_36, x_33); +x_38 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__2___boxed), 9, 2); +lean_closure_set(x_38, 0, x_35); +lean_closure_set(x_38, 1, x_37); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec_ref(x_38); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_41 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); -if (lean_obj_tag(x_41) == 0) +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec_ref(x_41); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_44 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -if (lean_obj_tag(x_44) == 0) +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_45 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec_ref(x_44); -x_47 = l_Lean_Syntax_getId(x_24); -x_48 = 0; +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec_ref(x_45); +x_48 = l_Lean_Syntax_getId(x_25); x_49 = 0; -lean_inc(x_39); -lean_inc(x_45); -x_50 = l_Lean_LocalContext_mkLocalDecl(x_42, x_45, x_47, x_39, x_48, x_49); -x_51 = l_Lean_Expr_fvar___override(x_45); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_39); -lean_inc_ref(x_50); +x_50 = 0; +lean_inc(x_40); +lean_inc(x_46); +x_51 = l_Lean_LocalContext_mkLocalDecl(x_43, x_46, x_48, x_40, x_49, x_50); +x_52 = l_Lean_Expr_fvar___override(x_46); x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_50); -x_54 = lean_box(0); -x_55 = lean_box(x_21); -lean_inc(x_24); -x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); -lean_closure_set(x_56, 0, x_24); -lean_closure_set(x_56, 1, x_51); -lean_closure_set(x_56, 2, x_52); -lean_closure_set(x_56, 3, x_53); -lean_closure_set(x_56, 4, x_54); -lean_closure_set(x_56, 5, x_55); -x_57 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_46); -if (lean_obj_tag(x_57) == 0) +lean_ctor_set(x_53, 0, x_40); +lean_inc_ref(x_51); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_51); +x_55 = lean_box(0); +x_56 = lean_box(x_22); +lean_inc(x_25); +x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_57, 0, x_25); +lean_closure_set(x_57, 1, x_52); +lean_closure_set(x_57, 2, x_53); +lean_closure_set(x_57, 3, x_54); +lean_closure_set(x_57, 4, x_55); +lean_closure_set(x_57, 5, x_56); +x_58 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec_ref(x_57); -x_59 = lean_st_ref_take(x_4, x_58); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec_ref(x_58); +x_60 = lean_st_ref_take(x_5, x_59); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec_ref(x_59); -x_62 = !lean_is_exclusive(x_60); -if (x_62 == 0) +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec_ref(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_63 = lean_ctor_get(x_60, 2); -lean_dec(x_63); -lean_ctor_set(x_60, 2, x_50); -x_64 = lean_st_ref_set(x_4, x_60, x_61); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; -x_66 = lean_ctor_get(x_64, 0); -lean_dec(x_66); -lean_ctor_set(x_64, 0, x_2); -return x_64; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); +lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_64 = lean_ctor_get(x_61, 2); lean_dec(x_64); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_2); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_ctor_set(x_61, 2, x_51); +x_65 = lean_st_ref_set(x_5, x_61, x_62); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_65, 0); +lean_dec(x_67); +lean_ctor_set(x_65, 0, x_2); +return x_65; +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); +lean_dec(x_65); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_2); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_69 = lean_ctor_get(x_60, 0); -x_70 = lean_ctor_get(x_60, 1); -x_71 = lean_ctor_get(x_60, 3); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_70 = lean_ctor_get(x_61, 0); +x_71 = lean_ctor_get(x_61, 1); +x_72 = lean_ctor_get(x_61, 3); +lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_60); -x_72 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_70); -lean_ctor_set(x_72, 2, x_50); -lean_ctor_set(x_72, 3, x_71); -x_73 = lean_st_ref_set(x_4, x_72, x_61); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_75 = x_73; +lean_dec(x_61); +x_73 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_51); +lean_ctor_set(x_73, 3, x_72); +x_74 = lean_st_ref_set(x_5, x_73, x_62); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; } else { - lean_dec_ref(x_73); - x_75 = lean_box(0); + lean_dec_ref(x_74); + x_76 = lean_box(0); } -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); } else { - x_76 = x_75; + x_77 = x_76; } -lean_ctor_set(x_76, 0, x_2); -lean_ctor_set(x_76, 1, x_74); -return x_76; +lean_ctor_set(x_77, 0, x_2); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } else { -uint8_t x_77; -lean_dec_ref(x_50); +uint8_t x_78; +lean_dec_ref(x_51); lean_dec_ref(x_2); -x_77 = !lean_is_exclusive(x_57); -if (x_77 == 0) +x_78 = !lean_is_exclusive(x_58); +if (x_78 == 0) { -return x_57; +return x_58; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_57, 0); -x_79 = lean_ctor_get(x_57, 1); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_58, 0); +x_80 = lean_ctor_get(x_58, 1); +lean_inc(x_80); lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_57); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; +lean_dec(x_58); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } else { -uint8_t x_81; -lean_dec(x_42); -lean_dec(x_39); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_82; +lean_dec(x_43); +lean_dec(x_40); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_2); -x_81 = !lean_is_exclusive(x_44); -if (x_81 == 0) +x_82 = !lean_is_exclusive(x_45); +if (x_82 == 0) { -return x_44; +return x_45; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_44, 0); -x_83 = lean_ctor_get(x_44, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_45, 0); +x_84 = lean_ctor_get(x_45, 1); +lean_inc(x_84); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_44); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_dec(x_45); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } else { -uint8_t x_85; -lean_dec(x_39); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_86; +lean_dec(x_40); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_2); -x_85 = !lean_is_exclusive(x_41); -if (x_85 == 0) +x_86 = !lean_is_exclusive(x_42); +if (x_86 == 0) { -return x_41; +return x_42; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_41, 0); -x_87 = lean_ctor_get(x_41, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_42, 0); +x_88 = lean_ctor_get(x_42, 1); +lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_41); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_dec(x_42); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_89; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_90; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_89 = !lean_is_exclusive(x_38); -if (x_89 == 0) +x_90 = !lean_is_exclusive(x_39); +if (x_90 == 0) { -return x_38; +return x_39; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_38, 0); -x_91 = lean_ctor_get(x_38, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_39, 0); +x_92 = lean_ctor_get(x_39, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_38); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_dec(x_39); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } else { -uint8_t x_93; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_94; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_93 = !lean_is_exclusive(x_31); -if (x_93 == 0) +x_94 = !lean_is_exclusive(x_32); +if (x_94 == 0) { -return x_31; +return x_32; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_31, 0); -x_95 = lean_ctor_get(x_31, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_32, 0); +x_96 = lean_ctor_get(x_32, 1); +lean_inc(x_96); lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_31); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +lean_dec(x_32); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } @@ -8763,234 +10181,234 @@ return x_96; } else { -lean_object* x_102; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_2); -lean_ctor_set(x_102, 1, x_11); -return x_102; -} -} -else -{ lean_object* x_103; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_2); +lean_ctor_set(x_103, 1, x_12); +return x_103; +} +} +else +{ +lean_object* x_104; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_2); +lean_ctor_set(x_104, 1, x_12); +return x_104; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0___boxed), 7, 0); +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_1, 0); +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_ctor_get(x_1, 2); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_17, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +lean_ctor_set(x_1, 2, x_20); +x_22 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_22; +} +else +{ +uint8_t x_23; +lean_free_object(x_1); +lean_dec(x_15); +lean_dec(x_14); +lean_dec_ref(x_12); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_2); -lean_ctor_set(x_103, 1, x_11); -return x_103; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) { -lean_object* x_11; -x_11 = lean_alloc_closure((void*)(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0___boxed), 7, 0); -if (lean_obj_tag(x_1) == 1) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_1); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_1, 0); -x_14 = lean_ctor_get(x_1, 1); -x_15 = lean_ctor_get(x_1, 2); -x_16 = lean_array_size(x_15); -x_17 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_16, x_17, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -lean_ctor_set(x_1, 2, x_19); -x_21 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -return x_21; +return x_19; } else { -uint8_t x_22; -lean_free_object(x_1); -lean_dec(x_14); -lean_dec(x_13); -lean_dec_ref(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_18, 0); -x_24 = lean_ctor_get(x_18, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 0); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_18); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_1, 0); -x_27 = lean_ctor_get(x_1, 1); -x_28 = lean_ctor_get(x_1, 2); +lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; +x_27 = lean_ctor_get(x_1, 0); +x_28 = lean_ctor_get(x_1, 1); +x_29 = lean_ctor_get(x_1, 2); +lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); lean_dec(x_1); -x_29 = lean_array_size(x_28); -x_30 = 0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_29, x_30, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_31) == 0) +x_30 = lean_array_size(x_29); +x_31 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_32 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_30, x_31, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec_ref(x_31); -x_34 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_34, 0, x_26); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_32); -x_35 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_11, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33); -return x_35; +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_27); +lean_ctor_set(x_35, 1, x_28); +lean_ctor_set(x_35, 2, x_33); +x_36 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_12, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +return x_36; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_28); lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_36 = lean_ctor_get(x_31, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_31, 1); +lean_dec_ref(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_37 = lean_ctor_get(x_32, 0); lean_inc(x_37); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_38 = x_31; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_39 = x_32; } else { - lean_dec_ref(x_31); - x_38 = lean_box(0); + lean_dec_ref(x_32); + x_39 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(1, 2, 0); } else { - x_39 = x_38; + x_40 = x_39; } -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} -} -} -else -{ -lean_object* x_40; -x_40 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); return x_40; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +else +{ +lean_object* x_41; +x_41 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_12; +x_12 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_11, 0, x_14); -return x_11; +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_11); -if (x_18 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_11; +return x_12; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_11, 0); -x_20 = lean_ctor_get(x_11, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_11); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_dec(x_12); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -9032,38 +10450,41 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_11; +x_11 = l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_10; +lean_dec_ref(x_1); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_11; +x_11 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_10; +lean_dec_ref(x_1); +return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_15; +lean_dec_ref(x_4); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -9100,41 +10521,44 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_dec_ref(x_2); +return x_12; } } static lean_object* _init_l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2___boxed), 7, 0); return x_1; } } @@ -9229,32 +10653,40 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_11; +x_11 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; } } static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0() { _start: { lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked(":", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1() { +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2() { +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3() { _start: { lean_object* x_1; @@ -9262,640 +10694,640 @@ x_1 = lean_mk_string_unchecked(" ", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3() { +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = l_Lean_Exception_getRef(x_1); -x_16 = 0; -x_17 = l_Lean_Syntax_getPos_x3f(x_15, x_16); -lean_dec(x_15); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -lean_dec(x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_18 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_11, 0, x_18); -return x_11; -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_17, 0); -x_21 = lean_nat_dec_eq(x_13, x_20); -lean_dec(x_13); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_free_object(x_11); -x_22 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -x_23 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_FileMap_toPosition(x_25, x_20); -lean_dec(x_20); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -x_30 = l_Nat_reprFast(x_28); -lean_ctor_set_tag(x_17, 3); -lean_ctor_set(x_17, 0, x_30); -x_31 = l_Lean_MessageData_ofFormat(x_17); -x_32 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; -lean_ctor_set_tag(x_26, 7); -lean_ctor_set(x_26, 1, x_32); -lean_ctor_set(x_26, 0, x_31); -x_33 = l_Nat_reprFast(x_29); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_MessageData_ofFormat(x_34); -x_36 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_36, 0, x_26); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Exception_toMessageData(x_1); -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_23, 0, x_40); -return x_23; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_41 = lean_ctor_get(x_26, 0); -x_42 = lean_ctor_get(x_26, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_26); -x_43 = l_Nat_reprFast(x_41); -lean_ctor_set_tag(x_17, 3); -lean_ctor_set(x_17, 0, x_43); -x_44 = l_Lean_MessageData_ofFormat(x_17); -x_45 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Nat_reprFast(x_42); -x_48 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l_Lean_MessageData_ofFormat(x_48); -x_50 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Exception_toMessageData(x_1); -x_54 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -lean_ctor_set(x_23, 0, x_54); -return x_23; -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_55 = lean_ctor_get(x_23, 0); -x_56 = lean_ctor_get(x_23, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_23); -x_57 = l_Lean_FileMap_toPosition(x_55, x_20); -lean_dec(x_20); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_60 = x_57; -} else { - lean_dec_ref(x_57); - x_60 = lean_box(0); -} -x_61 = l_Nat_reprFast(x_58); -lean_ctor_set_tag(x_17, 3); -lean_ctor_set(x_17, 0, x_61); -x_62 = l_Lean_MessageData_ofFormat(x_17); -x_63 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; -if (lean_is_scalar(x_60)) { - x_64 = lean_alloc_ctor(7, 2, 0); -} else { - x_64 = x_60; - lean_ctor_set_tag(x_64, 7); -} -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Nat_reprFast(x_59); -x_66 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_67 = l_Lean_MessageData_ofFormat(x_66); -x_68 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_68, 0, x_64); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -x_70 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Exception_toMessageData(x_1); -x_72 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_56); -return x_73; -} -} -else -{ -uint8_t x_74; -lean_free_object(x_17); -lean_dec(x_20); -lean_dec_ref(x_1); -x_74 = !lean_is_exclusive(x_23); -if (x_74 == 0) -{ -return x_23; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_23, 0); -x_76 = lean_ctor_get(x_23, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_23); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -lean_object* x_78; -lean_free_object(x_17); -lean_dec(x_20); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_78 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_11, 0, x_78); -return x_11; -} -} -else -{ -lean_object* x_79; uint8_t x_80; -x_79 = lean_ctor_get(x_17, 0); -lean_inc(x_79); -lean_dec(x_17); -x_80 = lean_nat_dec_eq(x_13, x_79); -lean_dec(x_13); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -lean_free_object(x_11); -x_81 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -x_82 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_85 = x_82; -} else { - lean_dec_ref(x_82); - x_85 = lean_box(0); -} -x_86 = l_Lean_FileMap_toPosition(x_83, x_79); -lean_dec(x_79); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_89 = x_86; -} else { - lean_dec_ref(x_86); - x_89 = lean_box(0); -} -x_90 = l_Nat_reprFast(x_87); -x_91 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = l_Lean_MessageData_ofFormat(x_91); -x_93 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; -if (lean_is_scalar(x_89)) { - x_94 = lean_alloc_ctor(7, 2, 0); -} else { - x_94 = x_89; - lean_ctor_set_tag(x_94, 7); -} -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -x_95 = l_Nat_reprFast(x_88); -x_96 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_MessageData_ofFormat(x_96); -x_98 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_98, 0, x_94); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -x_100 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Exception_toMessageData(x_1); -x_102 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -if (lean_is_scalar(x_85)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_85; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_84); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_79); -lean_dec_ref(x_1); -x_104 = lean_ctor_get(x_82, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_82, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_106 = x_82; -} else { - lean_dec_ref(x_82); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(1, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_105); -return x_107; -} -} -else -{ -lean_object* x_108; -lean_dec(x_79); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_108 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_11, 0, x_108); -return x_11; -} -} -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -x_109 = lean_ctor_get(x_11, 0); -x_110 = lean_ctor_get(x_11, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_11); -x_111 = l_Lean_Exception_getRef(x_1); -x_112 = 0; -x_113 = l_Lean_Syntax_getPos_x3f(x_111, x_112); -lean_dec(x_111); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_109); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_114 = l_Lean_Exception_toMessageData(x_1); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_110); -return x_115; -} -else -{ -lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_116 = lean_ctor_get(x_113, 0); -lean_inc(x_116); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - x_117 = x_113; -} else { - lean_dec_ref(x_113); - x_117 = lean_box(0); -} -x_118 = lean_nat_dec_eq(x_109, x_116); -lean_dec(x_109); -if (x_118 == 0) -{ -lean_object* x_119; lean_object* x_120; -x_119 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -x_120 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_110); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_123 = x_120; -} else { - lean_dec_ref(x_120); - x_123 = lean_box(0); -} -x_124 = l_Lean_FileMap_toPosition(x_121, x_116); -lean_dec(x_116); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_127 = x_124; -} else { - lean_dec_ref(x_124); - x_127 = lean_box(0); -} -x_128 = l_Nat_reprFast(x_125); -if (lean_is_scalar(x_117)) { - x_129 = lean_alloc_ctor(3, 1, 0); -} else { - x_129 = x_117; - lean_ctor_set_tag(x_129, 3); -} -lean_ctor_set(x_129, 0, x_128); -x_130 = l_Lean_MessageData_ofFormat(x_129); -x_131 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; -if (lean_is_scalar(x_127)) { - x_132 = lean_alloc_ctor(7, 2, 0); -} else { - x_132 = x_127; - lean_ctor_set_tag(x_132, 7); -} -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_133 = l_Nat_reprFast(x_126); -x_134 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = l_Lean_MessageData_ofFormat(x_134); -x_136 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_136, 0, x_132); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3; -x_138 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Exception_toMessageData(x_1); -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -if (lean_is_scalar(x_123)) { - x_141 = lean_alloc_ctor(0, 2, 0); -} else { - x_141 = x_123; -} -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_122); -return x_141; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -lean_dec(x_117); -lean_dec(x_116); -lean_dec_ref(x_1); -x_142 = lean_ctor_get(x_120, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_120, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_144 = x_120; -} else { - lean_dec_ref(x_120); - x_144 = lean_box(0); -} -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(1, 2, 0); -} else { - x_145 = x_144; -} -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_143); -return x_145; -} -} -else -{ -lean_object* x_146; lean_object* x_147; -lean_dec(x_117); -lean_dec(x_116); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_146 = l_Lean_Exception_toMessageData(x_1); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_110); -return x_147; -} -} -} -} -else -{ -uint8_t x_148; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_1); -x_148 = !lean_is_exclusive(x_11); -if (x_148 == 0) -{ -return x_11; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_11, 0); -x_150 = lean_ctor_get(x_11, 1); -lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_11); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -return x_151; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); +x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = l_Lean_Exception_getRef(x_1); +x_17 = 0; +x_18 = l_Lean_Syntax_getPos_x3f(x_16, x_17); +lean_dec(x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_19 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_12, 0, x_19); +return x_12; } else { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_16 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_18, 0); +x_22 = lean_nat_dec_eq(x_14, x_21); +lean_dec(x_14); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_free_object(x_12); +x_23 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_24 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = l_Lean_FileMap_toPosition(x_26, x_21); +lean_dec(x_21); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +x_31 = l_Nat_reprFast(x_29); +lean_ctor_set_tag(x_18, 3); +lean_ctor_set(x_18, 0, x_31); +x_32 = l_Lean_MessageData_ofFormat(x_18); +x_33 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_33); +lean_ctor_set(x_27, 0, x_32); +x_34 = l_Nat_reprFast(x_30); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_MessageData_ofFormat(x_35); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Exception_toMessageData(x_1); +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_24, 0, x_41); +return x_24; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_42 = lean_ctor_get(x_27, 0); +x_43 = lean_ctor_get(x_27, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_27); +x_44 = l_Nat_reprFast(x_42); +lean_ctor_set_tag(x_18, 3); +lean_ctor_set(x_18, 0, x_44); +x_45 = l_Lean_MessageData_ofFormat(x_18); +x_46 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Nat_reprFast(x_43); +x_49 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = l_Lean_MessageData_ofFormat(x_49); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Exception_toMessageData(x_1); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_24, 0, x_55); +return x_24; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_56 = lean_ctor_get(x_24, 0); +x_57 = lean_ctor_get(x_24, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_24); +x_58 = l_Lean_FileMap_toPosition(x_56, x_21); +lean_dec(x_21); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_61 = x_58; +} else { + lean_dec_ref(x_58); + x_61 = lean_box(0); +} +x_62 = l_Nat_reprFast(x_59); +lean_ctor_set_tag(x_18, 3); +lean_ctor_set(x_18, 0, x_62); +x_63 = l_Lean_MessageData_ofFormat(x_18); +x_64 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +if (lean_is_scalar(x_61)) { + x_65 = lean_alloc_ctor(7, 2, 0); +} else { + x_65 = x_61; + lean_ctor_set_tag(x_65, 7); +} +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Nat_reprFast(x_60); +x_67 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_68 = l_Lean_MessageData_ofFormat(x_67); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +x_71 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Exception_toMessageData(x_1); +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_57); +return x_74; +} +} +else +{ +uint8_t x_75; +lean_free_object(x_18); +lean_dec(x_21); +lean_dec_ref(x_1); +x_75 = !lean_is_exclusive(x_24); +if (x_75 == 0) +{ +return x_24; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_24, 0); +x_77 = lean_ctor_get(x_24, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_24); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +lean_object* x_79; +lean_free_object(x_18); +lean_dec(x_21); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_79 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_12, 0, x_79); +return x_12; +} +} +else +{ +lean_object* x_80; uint8_t x_81; +x_80 = lean_ctor_get(x_18, 0); +lean_inc(x_80); +lean_dec(x_18); +x_81 = lean_nat_dec_eq(x_14, x_80); +lean_dec(x_14); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; +lean_free_object(x_12); +x_82 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_83 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_86 = x_83; +} else { + lean_dec_ref(x_83); + x_86 = lean_box(0); +} +x_87 = l_Lean_FileMap_toPosition(x_84, x_80); +lean_dec(x_80); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; +} else { + lean_dec_ref(x_87); + x_90 = lean_box(0); +} +x_91 = l_Nat_reprFast(x_88); +x_92 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_93 = l_Lean_MessageData_ofFormat(x_92); +x_94 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +if (lean_is_scalar(x_90)) { + x_95 = lean_alloc_ctor(7, 2, 0); +} else { + x_95 = x_90; + lean_ctor_set_tag(x_95, 7); +} +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Nat_reprFast(x_89); +x_97 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = l_Lean_MessageData_ofFormat(x_97); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +x_101 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Exception_toMessageData(x_1); +x_103 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +if (lean_is_scalar(x_86)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_86; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_85); +return x_104; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_80); +lean_dec_ref(x_1); +x_105 = lean_ctor_get(x_83, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_83, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_107 = x_83; +} else { + lean_dec_ref(x_83); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; +} +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; +lean_dec(x_80); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_109 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_12, 0, x_109); +return x_12; +} +} +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; +x_110 = lean_ctor_get(x_12, 0); +x_111 = lean_ctor_get(x_12, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_12); +x_112 = l_Lean_Exception_getRef(x_1); +x_113 = 0; +x_114 = l_Lean_Syntax_getPos_x3f(x_112, x_113); +lean_dec(x_112); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_110); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_115 = l_Lean_Exception_toMessageData(x_1); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_111); +return x_116; +} +else +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_117 = lean_ctor_get(x_114, 0); +lean_inc(x_117); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + x_118 = x_114; +} else { + lean_dec_ref(x_114); + x_118 = lean_box(0); +} +x_119 = lean_nat_dec_eq(x_110, x_117); +lean_dec(x_110); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; +x_120 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_121 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_120, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_111); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_124 = x_121; +} else { + lean_dec_ref(x_121); + x_124 = lean_box(0); +} +x_125 = l_Lean_FileMap_toPosition(x_122, x_117); +lean_dec(x_117); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_128 = x_125; +} else { + lean_dec_ref(x_125); + x_128 = lean_box(0); +} +x_129 = l_Nat_reprFast(x_126); +if (lean_is_scalar(x_118)) { + x_130 = lean_alloc_ctor(3, 1, 0); +} else { + x_130 = x_118; + lean_ctor_set_tag(x_130, 3); +} +lean_ctor_set(x_130, 0, x_129); +x_131 = l_Lean_MessageData_ofFormat(x_130); +x_132 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2; +if (lean_is_scalar(x_128)) { + x_133 = lean_alloc_ctor(7, 2, 0); +} else { + x_133 = x_128; + lean_ctor_set_tag(x_133, 7); +} +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Nat_reprFast(x_127); +x_135 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_136 = l_Lean_MessageData_ofFormat(x_135); +x_137 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_137, 0, x_133); +lean_ctor_set(x_137, 1, x_136); +x_138 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4; +x_139 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_Lean_Exception_toMessageData(x_1); +x_141 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +if (lean_is_scalar(x_124)) { + x_142 = lean_alloc_ctor(0, 2, 0); +} else { + x_142 = x_124; +} +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_123); +return x_142; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_118); +lean_dec(x_117); +lean_dec_ref(x_1); +x_143 = lean_ctor_get(x_121, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_121, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_145 = x_121; +} else { + lean_dec_ref(x_121); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; +} +} +else +{ +lean_object* x_147; lean_object* x_148; +lean_dec(x_118); +lean_dec(x_117); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_147 = l_Lean_Exception_toMessageData(x_1); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_111); +return x_148; +} +} +} +} +else +{ +uint8_t x_149; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_149 = !lean_is_exclusive(x_12); +if (x_149 == 0) +{ +return x_12; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_12, 0); +x_151 = lean_ctor_get(x_12, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_12); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_17 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; goto _start; } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) { -return x_16; +return x_17; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -9918,938 +11350,36 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_array_size(x_2); -x_13 = 0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_array_size(x_2); +x_14 = 0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; -x_18 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_toMessageList(x_15); -x_20 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) -{ -return x_14; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_unknownIdentifierMessageTag; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0; -x_13 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_2); -lean_ctor_set(x_3, 3, x_1); -lean_ctor_set(x_3, 4, x_1); -lean_ctor_set(x_3, 5, x_1); -lean_ctor_set(x_3, 6, x_1); -lean_ctor_set(x_3, 7, x_1); -lean_ctor_set(x_3, 8, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3; -x_4 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4; -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(1); -x_2 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5; -x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`.", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from `", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_23; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec_ref(x_13); -x_23 = l_Lean_Name_isAnonymous(x_2); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_ctor_get_uint8(x_14, sizeof(void*)*8); -if (x_24 == 0) -{ -lean_dec(x_14); -lean_dec(x_2); -goto block_22; -} -else -{ -lean_object* x_25; uint8_t x_26; -lean_inc(x_14); -x_25 = l_Lean_Environment_setExporting(x_14, x_23); -lean_inc(x_2); -lean_inc_ref(x_25); -x_26 = l_Lean_Environment_contains(x_25, x_2, x_24); -if (x_26 == 0) -{ -lean_dec_ref(x_25); -lean_dec(x_14); -lean_dec(x_2); -goto block_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; -x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_27); -lean_ctor_set(x_30, 2, x_28); -lean_ctor_set(x_30, 3, x_29); -lean_inc(x_2); -x_31 = l_Lean_MessageData_ofConstName(x_2, x_23); -x_32 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Environment_getModuleIdxFor_x3f(x_14, x_2); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_14); -lean_dec(x_2); -x_34 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -x_36 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10; -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_MessageData_note(x_37); -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_38); -x_16 = x_39; -goto block_19; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_40 = lean_ctor_get(x_33, 0); -lean_inc(x_40); -lean_dec_ref(x_33); -x_41 = lean_box(0); -x_42 = l_Lean_Environment_header(x_14); -lean_dec(x_14); -x_43 = l_Lean_EnvironmentHeader_moduleNames(x_42); -x_44 = lean_array_get(x_41, x_43, x_40); -lean_dec(x_40); -lean_dec_ref(x_43); -x_45 = l_Lean_isPrivateName(x_2); -lean_dec(x_2); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_46 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_32); -x_48 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14; -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_MessageData_ofName(x_44); -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16; -x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_MessageData_note(x_53); -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_54); -x_16 = x_55; -goto block_19; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_56 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8; -x_57 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_32); -x_58 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18; -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_MessageData_ofName(x_44); -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20; -x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_MessageData_note(x_63); -x_65 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_64); -x_16 = x_65; -goto block_19; -} -} -} -} -} -else -{ -lean_dec(x_14); -lean_dec(x_2); -goto block_22; -} -block_19: -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_18; -} -block_22: -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_21; -} -} -else -{ -uint8_t x_66; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_2); -lean_dec_ref(x_1); -x_66 = !lean_is_exclusive(x_13); -if (x_66 == 0) -{ -return x_13; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_13, 0); -x_68 = lean_ctor_get(x_13, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_13); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec_ref(x_13); -x_16 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_16; -} -else -{ -uint8_t x_17; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -return x_13; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_13, 0); -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_13); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); -return x_1; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1; -x_13 = 0; -lean_inc(x_2); -x_14 = l_Lean_MessageData_ofConstName(x_2, x_13); -x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_17 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 5); -lean_inc(x_11); -x_12 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = 0; -lean_inc(x_1); -x_17 = l_Lean_Environment_findConstVal_x3f(x_14, x_1, x_16); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -lean_free_object(x_12); -x_18 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -return x_18; -} -else -{ -lean_object* x_19; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec_ref(x_17); -lean_ctor_set(x_12, 0, x_19); -return x_12; -} -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_12, 0); -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_12); -x_22 = 0; -lean_inc(x_1); -x_23 = l_Lean_Environment_findConstVal_x3f(x_20, x_1, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec_ref(x_23); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; -} -} -} -else -{ -uint8_t x_27; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_12); -if (x_27 == 0) -{ -return x_12; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_12, 0); -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_12); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__9(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -x_3 = l_List_reverse___redArg(x_2); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_Lean_mkLevelParam(x_5); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_7); -{ -lean_object* _tmp_0 = x_6; -lean_object* _tmp_1 = x_1; -x_1 = _tmp_0; -x_2 = _tmp_1; -} -goto _start; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = l_Lean_mkLevelParam(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_2); -x_1 = x_10; -x_2 = x_12; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -lean_inc(x_1); -x_11 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_box(0); -x_16 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__9(x_14, x_15); -x_17 = l_Lean_mkConst(x_1, x_16); -lean_ctor_set(x_11, 0, x_17); -return x_11; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_11); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_box(0); -x_22 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__9(x_20, x_21); -x_23 = l_Lean_mkConst(x_1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_19); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_11); -if (x_25 == 0) -{ -return x_11; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_11, 0); -x_27 = lean_ctor_get(x_11, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_11); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -static lean_object* _init_l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_LocalContext_empty; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_13 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec_ref(x_13); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_1); -x_18 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0; -x_19 = 0; -x_20 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_18); -lean_ctor_set(x_20, 2, x_3); -lean_ctor_set(x_20, 3, x_14); -lean_ctor_set_uint8(x_20, sizeof(void*)*4, x_19); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -x_22 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_toMessageList(x_16); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); return x_22; } else @@ -10861,21 +11391,20 @@ lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_13); +lean_dec_ref(x_1); +x_23 = !lean_is_exclusive(x_15); if (x_23 == 0) { -return x_13; +return x_15; } else { lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_13, 0); -x_25 = lean_ctor_get(x_13, 1); +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); lean_inc(x_25); lean_inc(x_24); -lean_dec(x_13); +lean_dec(x_15); x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); @@ -10884,67 +11413,559 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) +lean_object* x_14; +x_14 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(lean_object* x_1) { +_start: { +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_panic_fn(x_2, x_1); return x_3; } +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_8; lean_object* x_9; lean_object* x_15; +x_8 = 1; +x_15 = l_Lean_Syntax_getPos_x3f(x_1, x_8); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_17 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_16); +x_9 = x_17; +goto block_14; +} else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = 0; -x_10 = l_Lean_MessageData_ofConstName(x_6, x_9); +lean_object* x_18; +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec_ref(x_15); +x_9 = x_18; +goto block_14; +} +block_7: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; +} +block_14: +{ +lean_object* x_10; +x_10 = l_Lean_Syntax_getTailPos_x3f(x_1, x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_12 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_11); +x_3 = x_9; +x_4 = x_12; +goto block_7; +} +else +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec_ref(x_10); +x_3 = x_9; +x_4 = x_13; +goto block_7; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(x_1, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("end of input", 12, 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_99; uint8_t x_100; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +x_21 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(x_2, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_ctor_get(x_15, 0); +lean_inc_ref(x_26); +lean_dec(x_15); +x_27 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; +x_28 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; +x_99 = lean_string_utf8_byte_size(x_26); +x_100 = lean_nat_dec_le(x_25, x_99); +if (x_100 == 0) +{ +lean_dec(x_25); +x_29 = x_99; +goto block_98; +} +else +{ +lean_dec(x_99); +x_29 = x_25; +goto block_98; +} +block_98: +{ +lean_object* x_30; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_30 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec_ref(x_30); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +x_37 = 1; +lean_inc_ref(x_26); +x_38 = l_Lean_Parser_mkInputContext___redArg(x_26, x_31, x_37, x_29); +x_39 = l_Lean_Parser_mkParserState(x_26); +lean_dec_ref(x_26); +x_40 = l_Lean_Parser_ParserState_setPos(x_39, x_24); +x_41 = lean_box(0); +x_42 = lean_box(0); +lean_inc(x_19); +x_43 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_43, 0, x_19); +lean_ctor_set(x_43, 1, x_35); +lean_ctor_set(x_43, 2, x_41); +lean_ctor_set(x_43, 3, x_42); +x_44 = l_Lean_Parser_getTokenTable(x_19); +lean_inc_ref(x_38); +x_45 = l_Lean_Parser_ParserFn_run(x_1, x_38, x_43, x_44, x_40); +lean_inc_ref(x_45); +x_46 = l_Lean_Parser_ParserState_allErrors(x_45); +x_47 = l_Array_isEmpty___redArg(x_46); +lean_dec_ref(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_free_object(x_33); +x_48 = l_Lean_Parser_ParserState_toErrorMsg(x_38, x_45); +x_49 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = l_Lean_MessageData_ofFormat(x_49); +x_51 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = lean_ctor_get(x_45, 0); +lean_inc_ref(x_52); +x_53 = lean_ctor_get(x_45, 2); +lean_inc(x_53); +x_54 = l_Lean_Parser_InputContext_atEnd(x_38, x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec_ref(x_52); +lean_free_object(x_33); +x_55 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; +x_56 = l_Lean_Parser_ParserState_mkError(x_45, x_55); +x_57 = l_Lean_Parser_ParserState_toErrorMsg(x_38, x_56); +x_58 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = l_Lean_MessageData_ofFormat(x_58); +x_60 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec_ref(x_45); +lean_dec_ref(x_38); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_61 = l_Lean_Parser_SyntaxStack_back(x_52); +lean_dec_ref(x_52); +lean_ctor_set(x_33, 0, x_61); +return x_33; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_62 = lean_ctor_get(x_33, 0); +x_63 = lean_ctor_get(x_33, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_33); +x_64 = 1; +lean_inc_ref(x_26); +x_65 = l_Lean_Parser_mkInputContext___redArg(x_26, x_31, x_64, x_29); +x_66 = l_Lean_Parser_mkParserState(x_26); +lean_dec_ref(x_26); +x_67 = l_Lean_Parser_ParserState_setPos(x_66, x_24); +x_68 = lean_box(0); +x_69 = lean_box(0); +lean_inc(x_19); +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_19); +lean_ctor_set(x_70, 1, x_62); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_70, 3, x_69); +x_71 = l_Lean_Parser_getTokenTable(x_19); +lean_inc_ref(x_65); +x_72 = l_Lean_Parser_ParserFn_run(x_1, x_65, x_70, x_71, x_67); +lean_inc_ref(x_72); +x_73 = l_Lean_Parser_ParserState_allErrors(x_72); +x_74 = l_Array_isEmpty___redArg(x_73); +lean_dec_ref(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = l_Lean_Parser_ParserState_toErrorMsg(x_65, x_72); +x_76 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = l_Lean_MessageData_ofFormat(x_76); +x_78 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_77, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +return x_78; +} +else +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_79 = lean_ctor_get(x_72, 0); +lean_inc_ref(x_79); +x_80 = lean_ctor_get(x_72, 2); +lean_inc(x_80); +x_81 = l_Lean_Parser_InputContext_atEnd(x_65, x_80); +lean_dec(x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec_ref(x_79); +x_82 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; +x_83 = l_Lean_Parser_ParserState_mkError(x_72, x_82); +x_84 = l_Lean_Parser_ParserState_toErrorMsg(x_65, x_83); +x_85 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = l_Lean_MessageData_ofFormat(x_85); +x_87 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; +lean_dec_ref(x_72); +lean_dec_ref(x_65); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_88 = l_Lean_Parser_SyntaxStack_back(x_79); +lean_dec_ref(x_79); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_63); +return x_89; +} +} +} +} +else +{ +uint8_t x_90; +lean_dec(x_31); +lean_dec(x_29); +lean_dec_ref(x_26); +lean_dec(x_24); +lean_dec(x_19); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_90 = !lean_is_exclusive(x_33); +if (x_90 == 0) +{ +return x_33; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_33, 0); +x_92 = lean_ctor_get(x_33, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_33); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_29); +lean_dec_ref(x_26); +lean_dec(x_24); +lean_dec(x_19); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_94 = !lean_is_exclusive(x_30); +if (x_94 == 0) +{ +return x_30; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_30, 0); +x_96 = lean_ctor_get(x_30, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_30); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_101 = !lean_is_exclusive(x_18); +if (x_101 == 0) +{ +return x_18; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_18, 0); +x_103 = lean_ctor_get(x_18, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_18); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +uint8_t x_105; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_105 = !lean_is_exclusive(x_14); +if (x_105 == 0) +{ +return x_14; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_14, 0); +x_107 = lean_ctor_get(x_14, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_14); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_4, x_3, x_8); +x_10 = l_Lean_MessageData_ofConstName(x_7, x_1); x_11 = 1; -x_12 = lean_usize_add(x_2, x_11); -x_13 = lean_array_uset(x_8, x_2, x_10); -x_2 = x_12; -x_3 = x_13; +x_12 = lean_usize_add(x_3, x_11); +x_13 = lean_array_uset(x_9, x_3, x_10); +x_3 = x_12; +x_4 = x_13; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_12; x_12 = lean_usize_dec_eq(x_4, x_5); if (x_12 == 0) { -lean_object* x_13; uint8_t x_14; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_array_uget(x_3, x_4); -x_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_13, 1); -lean_inc_ref(x_18); -x_19 = lean_string_dec_eq(x_18, x_1); -lean_dec_ref(x_18); -if (x_19 == 0) +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc_ref(x_15); +x_16 = lean_string_dec_eq(x_15, x_1); +lean_dec_ref(x_15); +if (x_16 == 0) { -uint8_t x_20; -x_20 = lean_name_eq(x_17, x_2); -lean_dec(x_17); -x_14 = x_20; -goto block_16; -} -else -{ -lean_dec(x_17); -x_14 = x_19; -goto block_16; -} -block_16: -{ -if (x_14 == 0) +uint8_t x_17; +x_17 = lean_name_eq(x_14, x_2); +lean_dec(x_14); +if (x_17 == 0) { lean_dec_ref(x_13); x_7 = x_6; @@ -10952,12 +11973,20 @@ goto block_11; } else { -lean_object* x_15; -x_15 = lean_array_push(x_6, x_13); -x_7 = x_15; +lean_object* x_18; +x_18 = lean_array_push(x_6, x_13); +x_7 = x_18; goto block_11; } } +else +{ +lean_object* x_19; +lean_dec(x_14); +x_19 = lean_array_push(x_6, x_13); +x_7 = x_19; +goto block_11; +} } else { @@ -11127,927 +12156,885 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_tactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_tactic(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = !lean_is_exclusive(x_8); -if (x_14 == 0) +if (x_1 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_8, 5); -x_16 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__0___boxed), 7, 0); -x_17 = l_Lean_replaceRef(x_12, x_15); -lean_dec(x_15); -lean_ctor_set(x_8, 5, x_17); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_88; lean_object* x_157; lean_object* x_158; uint8_t x_159; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_21 = x_18; -} else { - lean_dec_ref(x_18); - x_21 = lean_box(0); -} -x_22 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__1), 2, 0); -x_23 = l_Lean_TSyntax_getString(x_12); -x_24 = lean_unsigned_to_nat(0u); -x_157 = lean_array_get_size(x_19); -x_158 = l_Lean_Doc_tactic___closed__12; -x_159 = lean_nat_dec_lt(x_24, x_157); -if (x_159 == 0) -{ -lean_dec(x_157); -lean_dec(x_19); -x_88 = x_158; -goto block_156; -} -else -{ -uint8_t x_160; -x_160 = lean_nat_dec_le(x_157, x_157); -if (x_160 == 0) -{ -lean_dec(x_157); -lean_dec(x_19); -x_88 = x_158; -goto block_156; -} -else -{ -lean_object* x_161; size_t x_162; size_t x_163; lean_object* x_164; -lean_inc_ref(x_23); -x_161 = l_String_toName(x_23); -x_162 = 0; -x_163 = lean_usize_of_nat(x_157); -lean_dec(x_157); -x_164 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(x_23, x_161, x_19, x_162, x_163, x_158); -lean_dec(x_19); -lean_dec(x_161); -x_88 = x_164; -goto block_156; -} -} -block_46: -{ -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = lean_array_push(x_33, x_27); -x_38 = lean_array_get_size(x_37); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_dec_eq(x_38, x_39); -lean_dec(x_38); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_21); -x_41 = l_Lean_Doc_tactic___closed__1; -x_42 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_41, x_37, x_35, x_31, x_26, x_34, x_32, x_28, x_30, x_29, x_25); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_34); -lean_dec_ref(x_32); -lean_dec_ref(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec_ref(x_26); -x_43 = lean_array_fget(x_37, x_24); -lean_dec_ref(x_37); -if (lean_is_scalar(x_21)) { - x_44 = lean_alloc_ctor(1, 2, 0); -} else { - x_44 = x_21; - lean_ctor_set_tag(x_44, 1); -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_25); -return x_44; -} -} -else -{ -lean_object* x_45; -lean_dec(x_34); -lean_dec_ref(x_33); -lean_dec_ref(x_32); -lean_dec_ref(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec_ref(x_26); -if (lean_is_scalar(x_21)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_21; - lean_ctor_set_tag(x_45, 1); -} -lean_ctor_set(x_45, 0, x_27); -lean_ctor_set(x_45, 1, x_25); -return x_45; -} -} -block_60: -{ -uint8_t x_58; -x_58 = l_Lean_Exception_isInterrupt(x_56); -if (x_58 == 0) -{ -uint8_t x_59; -x_59 = l_Lean_Exception_isRuntime(x_56); -x_25 = x_57; -x_26 = x_47; -x_27 = x_56; -x_28 = x_48; -x_29 = x_49; -x_30 = x_50; -x_31 = x_51; -x_32 = x_53; -x_33 = x_52; -x_34 = x_55; -x_35 = x_54; -x_36 = x_59; -goto block_46; -} -else -{ -x_25 = x_57; -x_26 = x_47; -x_27 = x_56; -x_28 = x_48; -x_29 = x_49; -x_30 = x_50; -x_31 = x_51; -x_32 = x_53; -x_33 = x_52; -x_34 = x_55; -x_35 = x_54; -x_36 = x_58; -goto block_46; -} -} -block_87: -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = l_Lean_Doc_tactic___closed__2; -x_72 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_72, 0, x_71); -lean_closure_set(x_72, 1, x_22); -lean_inc(x_69); -lean_inc_ref(x_68); -lean_inc(x_67); -lean_inc_ref(x_66); -lean_inc(x_65); -lean_inc_ref(x_64); -x_73 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_72, x_12, x_63, x_64, x_65, x_66, x_67, x_68, x_69, x_70); -lean_dec(x_12); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec_ref(x_73); -lean_inc(x_69); -lean_inc_ref(x_68); -lean_inc(x_67); -lean_inc_ref(x_66); -lean_inc(x_65); -lean_inc_ref(x_64); -x_76 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_74, x_62, x_63, x_64, x_65, x_66, x_67, x_68, x_69, x_75); -if (lean_obj_tag(x_76) == 0) -{ -uint8_t x_77; -lean_dec(x_69); -lean_dec_ref(x_68); -lean_dec(x_67); -lean_dec_ref(x_66); -lean_dec(x_65); -lean_dec_ref(x_64); -lean_dec_ref(x_61); -lean_dec(x_21); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_79, 0, x_23); -lean_ctor_set(x_76, 0, x_79); -return x_76; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_81 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_81, 0, x_23); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} -} -else -{ -lean_object* x_83; lean_object* x_84; -lean_dec_ref(x_23); -x_83 = lean_ctor_get(x_76, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_76, 1); -lean_inc(x_84); -lean_dec_ref(x_76); -x_47 = x_64; -x_48 = x_67; -x_49 = x_69; -x_50 = x_68; -x_51 = x_63; -x_52 = x_61; -x_53 = x_66; -x_54 = x_62; -x_55 = x_65; -x_56 = x_83; -x_57 = x_84; -goto block_60; -} -} -else -{ -lean_object* x_85; lean_object* x_86; -lean_dec_ref(x_23); -x_85 = lean_ctor_get(x_73, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_73, 1); -lean_inc(x_86); -lean_dec_ref(x_73); -x_47 = x_64; -x_48 = x_67; -x_49 = x_69; -x_50 = x_68; -x_51 = x_63; -x_52 = x_61; -x_53 = x_66; -x_54 = x_62; -x_55 = x_65; -x_56 = x_85; -x_57 = x_86; -goto block_60; -} -} -block_156: -{ -lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_89 = l_Lean_Doc_tactic___closed__3; -x_90 = lean_array_get_size(x_88); -x_91 = lean_nat_dec_eq(x_90, x_24); -if (x_91 == 0) -{ -lean_object* x_92; uint8_t x_93; -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_dec_lt(x_92, x_90); -lean_dec(x_90); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec_ref(x_22); -lean_dec(x_21); -x_94 = lean_array_fget(x_88, x_24); -lean_dec_ref(x_88); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -lean_dec_ref(x_94); -x_96 = lean_box(0); -lean_inc(x_95); -x_97 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_12, x_95, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -if (lean_obj_tag(x_97) == 0) -{ -uint8_t x_98; -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_99 = lean_ctor_get(x_97, 0); -lean_dec(x_99); -x_100 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_101 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_95); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_100); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_104, 0, x_23); -x_105 = l_Lean_Doc_name___closed__0; -x_106 = lean_array_push(x_105, x_104); -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_103); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_97, 0, x_107); -return x_97; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_108 = lean_ctor_get(x_97, 1); -lean_inc(x_108); -lean_dec(x_97); -x_109 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_110 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_95); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_113, 0, x_23); -x_114 = l_Lean_Doc_name___closed__0; -x_115 = lean_array_push(x_114, x_113); -x_116 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_116, 0, x_112); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_108); -return x_117; -} -} -else -{ -uint8_t x_118; -lean_dec(x_95); -lean_dec_ref(x_23); -x_118 = !lean_is_exclusive(x_97); -if (x_118 == 0) -{ -return x_97; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_97, 0); -x_120 = lean_ctor_get(x_97, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_97); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -size_t x_122; size_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; -x_122 = lean_array_size(x_88); -x_123 = 0; -x_124 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12(x_122, x_123, x_88); -x_125 = lean_array_to_list(x_124); -x_126 = l_Lean_Doc_tactic___closed__5; -x_127 = l_Lean_stringToMessageData(x_23); -x_128 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_Doc_tactic___closed__7; -x_130 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_MessageData_andList(x_125); -x_132 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_132, x_6, x_7, x_8, x_9, x_20); -x_134 = !lean_is_exclusive(x_133); -if (x_134 == 0) -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_133, 0); -x_136 = lean_ctor_get(x_133, 1); -lean_inc(x_12); -lean_ctor_set(x_133, 1, x_135); -lean_ctor_set(x_133, 0, x_12); -x_137 = lean_array_push(x_89, x_133); -x_61 = x_137; -x_62 = x_2; -x_63 = x_3; -x_64 = x_4; -x_65 = x_5; -x_66 = x_6; -x_67 = x_7; -x_68 = x_8; -x_69 = x_9; -x_70 = x_136; -goto block_87; -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_138 = lean_ctor_get(x_133, 0); -x_139 = lean_ctor_get(x_133, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_133); -lean_inc(x_12); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_12); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_89, x_140); -x_61 = x_141; -x_62 = x_2; -x_63 = x_3; -x_64 = x_4; -x_65 = x_5; -x_66 = x_6; -x_67 = x_7; -x_68 = x_8; -x_69 = x_9; -x_70 = x_139; -goto block_87; -} -} -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -lean_dec(x_90); -lean_dec_ref(x_88); -x_142 = l_Lean_Doc_tactic___closed__9; -x_143 = l_Lean_stringToMessageData(x_23); -x_144 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Doc_tactic___closed__11; -x_146 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_146, x_6, x_7, x_8, x_9, x_20); -x_148 = !lean_is_exclusive(x_147); -if (x_148 == 0) -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_147, 0); -x_150 = lean_ctor_get(x_147, 1); -lean_inc(x_12); -lean_ctor_set(x_147, 1, x_149); -lean_ctor_set(x_147, 0, x_12); -x_151 = lean_array_push(x_89, x_147); -x_61 = x_151; -x_62 = x_2; -x_63 = x_3; -x_64 = x_4; -x_65 = x_5; -x_66 = x_6; -x_67 = x_7; -x_68 = x_8; -x_69 = x_9; -x_70 = x_150; -goto block_87; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_152 = lean_ctor_get(x_147, 0); -x_153 = lean_ctor_get(x_147, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_147); -lean_inc(x_12); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_12); -lean_ctor_set(x_154, 1, x_152); -x_155 = lean_array_push(x_89, x_154); -x_61 = x_155; -x_62 = x_2; -x_63 = x_3; -x_64 = x_4; -x_65 = x_5; -x_66 = x_6; -x_67 = x_7; -x_68 = x_8; -x_69 = x_9; -x_70 = x_153; -goto block_87; -} -} -} -} -else -{ -uint8_t x_165; -lean_dec_ref(x_8); -lean_dec(x_12); +uint8_t x_14; +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_165 = !lean_is_exclusive(x_18); -if (x_165 == 0) +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -return x_18; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +x_17 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_13, 0, x_17); +return x_13; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_18, 0); -x_167 = lean_ctor_get(x_18, 1); -lean_inc(x_167); -lean_inc(x_166); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +x_20 = l_Lean_TSyntax_getString(x_18); lean_dec(x_18); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; -} +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_169 = lean_ctor_get(x_8, 0); -x_170 = lean_ctor_get(x_8, 1); -x_171 = lean_ctor_get(x_8, 2); -x_172 = lean_ctor_get(x_8, 3); -x_173 = lean_ctor_get(x_8, 4); -x_174 = lean_ctor_get(x_8, 5); -x_175 = lean_ctor_get(x_8, 6); -x_176 = lean_ctor_get(x_8, 7); -x_177 = lean_ctor_get(x_8, 8); -x_178 = lean_ctor_get(x_8, 9); -x_179 = lean_ctor_get(x_8, 10); -x_180 = lean_ctor_get(x_8, 11); -x_181 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_182 = lean_ctor_get(x_8, 12); -x_183 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_184 = lean_ctor_get(x_8, 13); -lean_inc(x_184); -lean_inc(x_182); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_inc(x_177); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_8); -x_185 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__0___boxed), 7, 0); -x_186 = l_Lean_replaceRef(x_12, x_174); -lean_dec(x_174); -x_187 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_187, 0, x_169); -lean_ctor_set(x_187, 1, x_170); -lean_ctor_set(x_187, 2, x_171); -lean_ctor_set(x_187, 3, x_172); -lean_ctor_set(x_187, 4, x_173); -lean_ctor_set(x_187, 5, x_186); -lean_ctor_set(x_187, 6, x_175); -lean_ctor_set(x_187, 7, x_176); -lean_ctor_set(x_187, 8, x_177); -lean_ctor_set(x_187, 9, x_178); -lean_ctor_set(x_187, 10, x_179); -lean_ctor_set(x_187, 11, x_180); -lean_ctor_set(x_187, 12, x_182); -lean_ctor_set(x_187, 13, x_184); -lean_ctor_set_uint8(x_187, sizeof(void*)*14, x_181); -lean_ctor_set_uint8(x_187, sizeof(void*)*14 + 1, x_183); +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_13, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_dec_ref(x_13); +x_25 = !lean_is_exclusive(x_10); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_10, 5); +x_27 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__0___boxed), 7, 0); +x_28 = l_Lean_replaceRef(x_23, x_26); +lean_dec(x_26); +lean_ctor_set(x_10, 5, x_28); +lean_inc(x_11); +lean_inc_ref(x_10); lean_inc(x_9); -lean_inc_ref(x_187); +lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_188 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_185, x_3, x_4, x_5, x_6, x_7, x_187, x_9, x_13); -if (lean_obj_tag(x_188) == 0) +x_29 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_256; lean_object* x_310; lean_object* x_311; uint8_t x_312; -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_103; lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__1), 2, 0); +x_34 = 0; +x_35 = l_Lean_TSyntax_getString(x_23); +x_36 = lean_unsigned_to_nat(0u); +x_172 = lean_array_get_size(x_30); +x_173 = l_Lean_Doc_tactic___closed__12; +x_174 = lean_nat_dec_lt(x_36, x_172); +if (x_174 == 0) +{ +lean_dec(x_172); +lean_dec(x_30); +x_103 = x_173; +goto block_171; +} +else +{ +uint8_t x_175; +x_175 = lean_nat_dec_le(x_172, x_172); +if (x_175 == 0) +{ +lean_dec(x_172); +lean_dec(x_30); +x_103 = x_173; +goto block_171; +} +else +{ +lean_object* x_176; size_t x_177; size_t x_178; lean_object* x_179; +lean_inc_ref(x_35); +x_176 = l_String_toName(x_35); +x_177 = 0; +x_178 = lean_usize_of_nat(x_172); +lean_dec(x_172); +x_179 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(x_35, x_176, x_30, x_177, x_178, x_173); +lean_dec(x_30); +lean_dec(x_176); +x_103 = x_179; +goto block_171; +} +} +block_59: +{ +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_array_push(x_46, x_37); +x_51 = lean_array_get_size(x_50); +x_52 = lean_unsigned_to_nat(1u); +x_53 = lean_nat_dec_eq(x_51, x_52); +lean_dec(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_32); +x_54 = l_Lean_Doc_tactic___closed__1; +x_55 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_54, x_50, x_48, x_44, x_45, x_42, x_38, x_41, x_43, x_39, x_40, x_47); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec_ref(x_41); +lean_dec(x_40); +lean_dec_ref(x_39); +lean_dec(x_38); +x_56 = lean_array_fget(x_50, x_36); +lean_dec_ref(x_50); +if (lean_is_scalar(x_32)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_32; + lean_ctor_set_tag(x_57, 1); +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_47); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec_ref(x_46); +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec_ref(x_41); +lean_dec(x_40); +lean_dec_ref(x_39); +lean_dec(x_38); +if (lean_is_scalar(x_32)) { + x_58 = lean_alloc_ctor(1, 2, 0); +} else { + x_58 = x_32; + lean_ctor_set_tag(x_58, 1); +} +lean_ctor_set(x_58, 0, x_37); +lean_ctor_set(x_58, 1, x_47); +return x_58; +} +} +block_74: +{ +uint8_t x_72; +x_72 = l_Lean_Exception_isInterrupt(x_70); +if (x_72 == 0) +{ +uint8_t x_73; +x_73 = l_Lean_Exception_isRuntime(x_70); +x_37 = x_70; +x_38 = x_60; +x_39 = x_61; +x_40 = x_64; +x_41 = x_63; +x_42 = x_62; +x_43 = x_65; +x_44 = x_66; +x_45 = x_67; +x_46 = x_68; +x_47 = x_71; +x_48 = x_69; +x_49 = x_73; +goto block_59; +} +else +{ +x_37 = x_70; +x_38 = x_60; +x_39 = x_61; +x_40 = x_64; +x_41 = x_63; +x_42 = x_62; +x_43 = x_65; +x_44 = x_66; +x_45 = x_67; +x_46 = x_68; +x_47 = x_71; +x_48 = x_69; +x_49 = x_72; +goto block_59; +} +} +block_102: +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = l_Lean_Doc_tactic___closed__2; +x_87 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_87, 0, x_86); +lean_closure_set(x_87, 1, x_33); +lean_inc(x_84); +lean_inc_ref(x_83); +lean_inc(x_82); +lean_inc_ref(x_81); +lean_inc(x_80); +lean_inc_ref(x_79); +x_88 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_87, x_23, x_76, x_77, x_78, x_79, x_80, x_81, x_82, x_83, x_84, x_85); +lean_dec(x_23); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec_ref(x_88); +lean_inc(x_84); +lean_inc_ref(x_83); +lean_inc(x_82); +lean_inc_ref(x_81); +lean_inc(x_80); +lean_inc_ref(x_79); +x_91 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_89, x_76, x_77, x_78, x_79, x_80, x_81, x_82, x_83, x_84, x_90); +if (lean_obj_tag(x_91) == 0) +{ +uint8_t x_92; +lean_dec(x_84); +lean_dec_ref(x_83); +lean_dec(x_82); +lean_dec_ref(x_81); +lean_dec(x_80); +lean_dec_ref(x_79); +lean_dec_ref(x_75); +lean_dec(x_32); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_91, 0); +lean_dec(x_93); +x_94 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_94, 0, x_35); +lean_ctor_set(x_91, 0, x_94); +return x_91; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_91, 1); +lean_inc(x_95); +lean_dec(x_91); +x_96 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_96, 0, x_35); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_dec_ref(x_35); +x_98 = lean_ctor_get(x_91, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_91, 1); +lean_inc(x_99); +lean_dec_ref(x_91); +x_60 = x_80; +x_61 = x_83; +x_62 = x_79; +x_63 = x_81; +x_64 = x_84; +x_65 = x_82; +x_66 = x_77; +x_67 = x_78; +x_68 = x_75; +x_69 = x_76; +x_70 = x_98; +x_71 = x_99; +goto block_74; +} +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec_ref(x_35); +x_100 = lean_ctor_get(x_88, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_88, 1); +lean_inc(x_101); +lean_dec_ref(x_88); +x_60 = x_80; +x_61 = x_83; +x_62 = x_79; +x_63 = x_81; +x_64 = x_84; +x_65 = x_82; +x_66 = x_77; +x_67 = x_78; +x_68 = x_75; +x_69 = x_76; +x_70 = x_100; +x_71 = x_101; +goto block_74; +} +} +block_171: +{ +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = l_Lean_Doc_tactic___closed__3; +x_105 = lean_array_get_size(x_103); +x_106 = lean_nat_dec_eq(x_105, x_36); +if (x_106 == 0) +{ +lean_object* x_107; uint8_t x_108; +x_107 = lean_unsigned_to_nat(1u); +x_108 = lean_nat_dec_lt(x_107, x_105); +lean_dec(x_105); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec_ref(x_33); +lean_dec(x_32); +x_109 = lean_array_fget(x_103, x_36); +lean_dec_ref(x_103); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +lean_dec_ref(x_109); +x_111 = lean_box(0); +lean_inc(x_110); +x_112 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_23, x_110, x_111, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +if (lean_obj_tag(x_112) == 0) +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_114 = lean_ctor_get(x_112, 0); +lean_dec(x_114); +x_115 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_116 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_110); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_119, 0, x_35); +x_120 = l_Lean_Doc_name___closed__5; +x_121 = lean_array_push(x_120, x_119); +x_122 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_122, 0, x_118); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_112, 0, x_122); +return x_112; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_123 = lean_ctor_get(x_112, 1); +lean_inc(x_123); +lean_dec(x_112); +x_124 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_125 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_110); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_128, 0, x_35); +x_129 = l_Lean_Doc_name___closed__5; +x_130 = lean_array_push(x_129, x_128); +x_131 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_131, 0, x_127); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_123); +return x_132; +} +} +else +{ +uint8_t x_133; +lean_dec(x_110); +lean_dec_ref(x_35); +x_133 = !lean_is_exclusive(x_112); +if (x_133 == 0) +{ +return x_112; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_112, 0); +x_135 = lean_ctor_get(x_112, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_112); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} +else +{ +size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_137 = lean_array_size(x_103); +x_138 = 0; +x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7(x_34, x_137, x_138, x_103); +x_140 = lean_array_to_list(x_139); +x_141 = l_Lean_Doc_tactic___closed__5; +x_142 = l_Lean_stringToMessageData(x_35); +x_143 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Lean_Doc_tactic___closed__7; +x_145 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_MessageData_andList(x_140); +x_147 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_147, x_8, x_9, x_10, x_11, x_31); +x_149 = !lean_is_exclusive(x_148); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_148, 0); +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_23); +lean_ctor_set(x_148, 1, x_150); +lean_ctor_set(x_148, 0, x_23); +x_152 = lean_array_push(x_104, x_148); +x_75 = x_152; +x_76 = x_3; +x_77 = x_4; +x_78 = x_5; +x_79 = x_6; +x_80 = x_7; +x_81 = x_8; +x_82 = x_9; +x_83 = x_10; +x_84 = x_11; +x_85 = x_151; +goto block_102; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = lean_ctor_get(x_148, 0); +x_154 = lean_ctor_get(x_148, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_148); +lean_inc(x_23); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_23); +lean_ctor_set(x_155, 1, x_153); +x_156 = lean_array_push(x_104, x_155); +x_75 = x_156; +x_76 = x_3; +x_77 = x_4; +x_78 = x_5; +x_79 = x_6; +x_80 = x_7; +x_81 = x_8; +x_82 = x_9; +x_83 = x_10; +x_84 = x_11; +x_85 = x_154; +goto block_102; +} +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; +lean_dec(x_105); +lean_dec_ref(x_103); +x_157 = l_Lean_Doc_tactic___closed__9; +x_158 = l_Lean_stringToMessageData(x_35); +x_159 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lean_Doc_tactic___closed__11; +x_161 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +x_162 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_161, x_8, x_9, x_10, x_11, x_31); +x_163 = !lean_is_exclusive(x_162); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_162, 0); +x_165 = lean_ctor_get(x_162, 1); +lean_inc(x_23); +lean_ctor_set(x_162, 1, x_164); +lean_ctor_set(x_162, 0, x_23); +x_166 = lean_array_push(x_104, x_162); +x_75 = x_166; +x_76 = x_3; +x_77 = x_4; +x_78 = x_5; +x_79 = x_6; +x_80 = x_7; +x_81 = x_8; +x_82 = x_9; +x_83 = x_10; +x_84 = x_11; +x_85 = x_165; +goto block_102; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_167 = lean_ctor_get(x_162, 0); +x_168 = lean_ctor_get(x_162, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_162); +lean_inc(x_23); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_23); +lean_ctor_set(x_169, 1, x_167); +x_170 = lean_array_push(x_104, x_169); +x_75 = x_170; +x_76 = x_3; +x_77 = x_4; +x_78 = x_5; +x_79 = x_6; +x_80 = x_7; +x_81 = x_8; +x_82 = x_9; +x_83 = x_10; +x_84 = x_11; +x_85 = x_168; +goto block_102; +} +} +} +} +else +{ +uint8_t x_180; +lean_dec_ref(x_10); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_180 = !lean_is_exclusive(x_29); +if (x_180 == 0) +{ +return x_29; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_29, 0); +x_182 = lean_ctor_get(x_29, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_29); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_184 = lean_ctor_get(x_10, 0); +x_185 = lean_ctor_get(x_10, 1); +x_186 = lean_ctor_get(x_10, 2); +x_187 = lean_ctor_get(x_10, 3); +x_188 = lean_ctor_get(x_10, 4); +x_189 = lean_ctor_get(x_10, 5); +x_190 = lean_ctor_get(x_10, 6); +x_191 = lean_ctor_get(x_10, 7); +x_192 = lean_ctor_get(x_10, 8); +x_193 = lean_ctor_get(x_10, 9); +x_194 = lean_ctor_get(x_10, 10); +x_195 = lean_ctor_get(x_10, 11); +x_196 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_197 = lean_ctor_get(x_10, 12); +x_198 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_199 = lean_ctor_get(x_10, 13); +lean_inc(x_199); +lean_inc(x_197); +lean_inc(x_195); +lean_inc(x_194); +lean_inc(x_193); +lean_inc(x_192); +lean_inc(x_191); lean_inc(x_190); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_191 = x_188; +lean_inc(x_189); +lean_inc(x_188); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_10); +x_200 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__0___boxed), 7, 0); +x_201 = l_Lean_replaceRef(x_23, x_189); +lean_dec(x_189); +x_202 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_202, 0, x_184); +lean_ctor_set(x_202, 1, x_185); +lean_ctor_set(x_202, 2, x_186); +lean_ctor_set(x_202, 3, x_187); +lean_ctor_set(x_202, 4, x_188); +lean_ctor_set(x_202, 5, x_201); +lean_ctor_set(x_202, 6, x_190); +lean_ctor_set(x_202, 7, x_191); +lean_ctor_set(x_202, 8, x_192); +lean_ctor_set(x_202, 9, x_193); +lean_ctor_set(x_202, 10, x_194); +lean_ctor_set(x_202, 11, x_195); +lean_ctor_set(x_202, 12, x_197); +lean_ctor_set(x_202, 13, x_199); +lean_ctor_set_uint8(x_202, sizeof(void*)*14, x_196); +lean_ctor_set_uint8(x_202, sizeof(void*)*14 + 1, x_198); +lean_inc(x_11); +lean_inc_ref(x_202); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_203 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_200, x_5, x_6, x_7, x_8, x_9, x_202, x_11, x_24); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_275; lean_object* x_329; lean_object* x_330; uint8_t x_331; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_206 = x_203; } else { - lean_dec_ref(x_188); - x_191 = lean_box(0); + lean_dec_ref(x_203); + x_206 = lean_box(0); } -x_192 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__1), 2, 0); -x_193 = l_Lean_TSyntax_getString(x_12); -x_194 = lean_unsigned_to_nat(0u); -x_310 = lean_array_get_size(x_189); -x_311 = l_Lean_Doc_tactic___closed__12; -x_312 = lean_nat_dec_lt(x_194, x_310); -if (x_312 == 0) +x_207 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__1), 2, 0); +x_208 = 0; +x_209 = l_Lean_TSyntax_getString(x_23); +x_210 = lean_unsigned_to_nat(0u); +x_329 = lean_array_get_size(x_204); +x_330 = l_Lean_Doc_tactic___closed__12; +x_331 = lean_nat_dec_lt(x_210, x_329); +if (x_331 == 0) { -lean_dec(x_310); -lean_dec(x_189); -x_256 = x_311; -goto block_309; -} -else -{ -uint8_t x_313; -x_313 = lean_nat_dec_le(x_310, x_310); -if (x_313 == 0) -{ -lean_dec(x_310); -lean_dec(x_189); -x_256 = x_311; -goto block_309; -} -else -{ -lean_object* x_314; size_t x_315; size_t x_316; lean_object* x_317; -lean_inc_ref(x_193); -x_314 = l_String_toName(x_193); -x_315 = 0; -x_316 = lean_usize_of_nat(x_310); -lean_dec(x_310); -x_317 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(x_193, x_314, x_189, x_315, x_316, x_311); -lean_dec(x_189); -lean_dec(x_314); -x_256 = x_317; -goto block_309; -} -} -block_216: -{ -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_207 = lean_array_push(x_203, x_197); -x_208 = lean_array_get_size(x_207); -x_209 = lean_unsigned_to_nat(1u); -x_210 = lean_nat_dec_eq(x_208, x_209); -lean_dec(x_208); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -lean_dec(x_191); -x_211 = l_Lean_Doc_tactic___closed__1; -x_212 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_211, x_207, x_205, x_201, x_196, x_204, x_202, x_198, x_200, x_199, x_195); -return x_212; -} -else -{ -lean_object* x_213; lean_object* x_214; +lean_dec(x_329); lean_dec(x_204); -lean_dec_ref(x_202); -lean_dec_ref(x_200); -lean_dec(x_199); -lean_dec(x_198); -lean_dec_ref(x_196); -x_213 = lean_array_fget(x_207, x_194); -lean_dec_ref(x_207); -if (lean_is_scalar(x_191)) { - x_214 = lean_alloc_ctor(1, 2, 0); -} else { - x_214 = x_191; - lean_ctor_set_tag(x_214, 1); -} -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_195); -return x_214; -} +x_275 = x_330; +goto block_328; } else { -lean_object* x_215; +uint8_t x_332; +x_332 = lean_nat_dec_le(x_329, x_329); +if (x_332 == 0) +{ +lean_dec(x_329); lean_dec(x_204); -lean_dec_ref(x_203); -lean_dec_ref(x_202); -lean_dec_ref(x_200); -lean_dec(x_199); -lean_dec(x_198); -lean_dec_ref(x_196); -if (lean_is_scalar(x_191)) { - x_215 = lean_alloc_ctor(1, 2, 0); -} else { - x_215 = x_191; - lean_ctor_set_tag(x_215, 1); -} -lean_ctor_set(x_215, 0, x_197); -lean_ctor_set(x_215, 1, x_195); -return x_215; -} -} -block_230: -{ -uint8_t x_228; -x_228 = l_Lean_Exception_isInterrupt(x_226); -if (x_228 == 0) -{ -uint8_t x_229; -x_229 = l_Lean_Exception_isRuntime(x_226); -x_195 = x_227; -x_196 = x_217; -x_197 = x_226; -x_198 = x_218; -x_199 = x_219; -x_200 = x_220; -x_201 = x_221; -x_202 = x_223; -x_203 = x_222; -x_204 = x_225; -x_205 = x_224; -x_206 = x_229; -goto block_216; +x_275 = x_330; +goto block_328; } else { -x_195 = x_227; -x_196 = x_217; -x_197 = x_226; -x_198 = x_218; -x_199 = x_219; -x_200 = x_220; -x_201 = x_221; -x_202 = x_223; -x_203 = x_222; -x_204 = x_225; -x_205 = x_224; -x_206 = x_228; -goto block_216; +lean_object* x_333; size_t x_334; size_t x_335; lean_object* x_336; +lean_inc_ref(x_209); +x_333 = l_String_toName(x_209); +x_334 = 0; +x_335 = lean_usize_of_nat(x_329); +lean_dec(x_329); +x_336 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(x_209, x_333, x_204, x_334, x_335, x_330); +lean_dec(x_204); +lean_dec(x_333); +x_275 = x_336; +goto block_328; } } -block_255: +block_233: { -lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_241 = l_Lean_Doc_tactic___closed__2; -x_242 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_242, 0, x_241); -lean_closure_set(x_242, 1, x_192); -lean_inc(x_239); -lean_inc_ref(x_238); -lean_inc(x_237); -lean_inc_ref(x_236); -lean_inc(x_235); -lean_inc_ref(x_234); -x_243 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_242, x_12, x_233, x_234, x_235, x_236, x_237, x_238, x_239, x_240); -lean_dec(x_12); -if (lean_obj_tag(x_243) == 0) +if (x_223 == 0) { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec_ref(x_243); -lean_inc(x_239); -lean_inc_ref(x_238); -lean_inc(x_237); -lean_inc_ref(x_236); -lean_inc(x_235); -lean_inc_ref(x_234); -x_246 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_244, x_232, x_233, x_234, x_235, x_236, x_237, x_238, x_239, x_245); -if (lean_obj_tag(x_246) == 0) +lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; +x_224 = lean_array_push(x_220, x_211); +x_225 = lean_array_get_size(x_224); +x_226 = lean_unsigned_to_nat(1u); +x_227 = lean_nat_dec_eq(x_225, x_226); +lean_dec(x_225); +if (x_227 == 0) { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -lean_dec(x_239); -lean_dec_ref(x_238); -lean_dec(x_237); -lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec_ref(x_234); -lean_dec_ref(x_231); -lean_dec(x_191); -x_247 = lean_ctor_get(x_246, 1); -lean_inc(x_247); -if (lean_is_exclusive(x_246)) { - lean_ctor_release(x_246, 0); - lean_ctor_release(x_246, 1); - x_248 = x_246; -} else { - lean_dec_ref(x_246); - x_248 = lean_box(0); -} -x_249 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_249, 0, x_193); -if (lean_is_scalar(x_248)) { - x_250 = lean_alloc_ctor(0, 2, 0); -} else { - x_250 = x_248; -} -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_247); -return x_250; +lean_object* x_228; lean_object* x_229; +lean_dec(x_206); +x_228 = l_Lean_Doc_tactic___closed__1; +x_229 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_228, x_224, x_222, x_218, x_219, x_216, x_212, x_215, x_217, x_213, x_214, x_221); +return x_229; } else { -lean_object* x_251; lean_object* x_252; -lean_dec_ref(x_193); -x_251 = lean_ctor_get(x_246, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_246, 1); -lean_inc(x_252); -lean_dec_ref(x_246); -x_217 = x_234; -x_218 = x_237; -x_219 = x_239; -x_220 = x_238; -x_221 = x_233; -x_222 = x_231; -x_223 = x_236; -x_224 = x_232; -x_225 = x_235; -x_226 = x_251; -x_227 = x_252; -goto block_230; +lean_object* x_230; lean_object* x_231; +lean_dec(x_217); +lean_dec_ref(x_216); +lean_dec_ref(x_215); +lean_dec(x_214); +lean_dec_ref(x_213); +lean_dec(x_212); +x_230 = lean_array_fget(x_224, x_210); +lean_dec_ref(x_224); +if (lean_is_scalar(x_206)) { + x_231 = lean_alloc_ctor(1, 2, 0); +} else { + x_231 = x_206; + lean_ctor_set_tag(x_231, 1); +} +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_221); +return x_231; } } else { -lean_object* x_253; lean_object* x_254; -lean_dec_ref(x_193); -x_253 = lean_ctor_get(x_243, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_243, 1); +lean_object* x_232; +lean_dec_ref(x_220); +lean_dec(x_217); +lean_dec_ref(x_216); +lean_dec_ref(x_215); +lean_dec(x_214); +lean_dec_ref(x_213); +lean_dec(x_212); +if (lean_is_scalar(x_206)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_206; + lean_ctor_set_tag(x_232, 1); +} +lean_ctor_set(x_232, 0, x_211); +lean_ctor_set(x_232, 1, x_221); +return x_232; +} +} +block_248: +{ +uint8_t x_246; +x_246 = l_Lean_Exception_isInterrupt(x_244); +if (x_246 == 0) +{ +uint8_t x_247; +x_247 = l_Lean_Exception_isRuntime(x_244); +x_211 = x_244; +x_212 = x_234; +x_213 = x_235; +x_214 = x_238; +x_215 = x_237; +x_216 = x_236; +x_217 = x_239; +x_218 = x_240; +x_219 = x_241; +x_220 = x_242; +x_221 = x_245; +x_222 = x_243; +x_223 = x_247; +goto block_233; +} +else +{ +x_211 = x_244; +x_212 = x_234; +x_213 = x_235; +x_214 = x_238; +x_215 = x_237; +x_216 = x_236; +x_217 = x_239; +x_218 = x_240; +x_219 = x_241; +x_220 = x_242; +x_221 = x_245; +x_222 = x_243; +x_223 = x_246; +goto block_233; +} +} +block_274: +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = l_Lean_Doc_tactic___closed__2; +x_261 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_261, 0, x_260); +lean_closure_set(x_261, 1, x_207); +lean_inc(x_258); +lean_inc_ref(x_257); +lean_inc(x_256); +lean_inc_ref(x_255); lean_inc(x_254); -lean_dec_ref(x_243); -x_217 = x_234; -x_218 = x_237; -x_219 = x_239; -x_220 = x_238; -x_221 = x_233; -x_222 = x_231; -x_223 = x_236; -x_224 = x_232; -x_225 = x_235; -x_226 = x_253; -x_227 = x_254; -goto block_230; -} -} -block_309: +lean_inc_ref(x_253); +x_262 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_261, x_23, x_250, x_251, x_252, x_253, x_254, x_255, x_256, x_257, x_258, x_259); +lean_dec(x_23); +if (lean_obj_tag(x_262) == 0) { -lean_object* x_257; lean_object* x_258; uint8_t x_259; -x_257 = l_Lean_Doc_tactic___closed__3; -x_258 = lean_array_get_size(x_256); -x_259 = lean_nat_dec_eq(x_258, x_194); -if (x_259 == 0) -{ -lean_object* x_260; uint8_t x_261; -x_260 = lean_unsigned_to_nat(1u); -x_261 = lean_nat_dec_lt(x_260, x_258); -lean_dec(x_258); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec_ref(x_192); -lean_dec(x_191); -x_262 = lean_array_fget(x_256, x_194); -lean_dec_ref(x_256); +lean_object* x_263; lean_object* x_264; lean_object* x_265; x_263 = lean_ctor_get(x_262, 0); lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); lean_dec_ref(x_262); -x_264 = lean_box(0); -lean_inc(x_263); -x_265 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_12, x_263, x_264, x_2, x_3, x_4, x_5, x_6, x_7, x_187, x_9, x_190); +lean_inc(x_258); +lean_inc_ref(x_257); +lean_inc(x_256); +lean_inc_ref(x_255); +lean_inc(x_254); +lean_inc_ref(x_253); +x_265 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_263, x_250, x_251, x_252, x_253, x_254, x_255, x_256, x_257, x_258, x_264); if (lean_obj_tag(x_265) == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_dec(x_258); +lean_dec_ref(x_257); +lean_dec(x_256); +lean_dec_ref(x_255); +lean_dec(x_254); +lean_dec_ref(x_253); +lean_dec_ref(x_249); +lean_dec(x_206); x_266 = lean_ctor_get(x_265, 1); lean_inc(x_266); if (lean_is_exclusive(x_265)) { @@ -12058,221 +13045,321 @@ if (lean_is_exclusive(x_265)) { lean_dec_ref(x_265); x_267 = lean_box(0); } -x_268 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_269 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_270 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_263); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_268); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_272, 0, x_193); -x_273 = l_Lean_Doc_name___closed__0; -x_274 = lean_array_push(x_273, x_272); -x_275 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_275, 0, x_271); -lean_ctor_set(x_275, 1, x_274); +x_268 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_268, 0, x_209); if (lean_is_scalar(x_267)) { - x_276 = lean_alloc_ctor(0, 2, 0); + x_269 = lean_alloc_ctor(0, 2, 0); } else { - x_276 = x_267; + x_269 = x_267; } -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_266); -return x_276; +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_266); +return x_269; } else { -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_263); -lean_dec_ref(x_193); -x_277 = lean_ctor_get(x_265, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_265, 1); -lean_inc(x_278); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_279 = x_265; -} else { - lean_dec_ref(x_265); - x_279 = lean_box(0); -} -if (lean_is_scalar(x_279)) { - x_280 = lean_alloc_ctor(1, 2, 0); -} else { - x_280 = x_279; -} -lean_ctor_set(x_280, 0, x_277); -lean_ctor_set(x_280, 1, x_278); -return x_280; +lean_object* x_270; lean_object* x_271; +lean_dec_ref(x_209); +x_270 = lean_ctor_get(x_265, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_265, 1); +lean_inc(x_271); +lean_dec_ref(x_265); +x_234 = x_254; +x_235 = x_257; +x_236 = x_253; +x_237 = x_255; +x_238 = x_258; +x_239 = x_256; +x_240 = x_251; +x_241 = x_252; +x_242 = x_249; +x_243 = x_250; +x_244 = x_270; +x_245 = x_271; +goto block_248; } } else { -size_t x_281; size_t x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_281 = lean_array_size(x_256); -x_282 = 0; -x_283 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12(x_281, x_282, x_256); -x_284 = lean_array_to_list(x_283); -x_285 = l_Lean_Doc_tactic___closed__5; -x_286 = l_Lean_stringToMessageData(x_193); -x_287 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_287, 0, x_285); -lean_ctor_set(x_287, 1, x_286); -x_288 = l_Lean_Doc_tactic___closed__7; -x_289 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -x_290 = l_Lean_MessageData_andList(x_284); -x_291 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_290); -x_292 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_291, x_6, x_7, x_187, x_9, x_190); -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -if (lean_is_exclusive(x_292)) { - lean_ctor_release(x_292, 0); - lean_ctor_release(x_292, 1); - x_295 = x_292; -} else { - lean_dec_ref(x_292); - x_295 = lean_box(0); +lean_object* x_272; lean_object* x_273; +lean_dec_ref(x_209); +x_272 = lean_ctor_get(x_262, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_262, 1); +lean_inc(x_273); +lean_dec_ref(x_262); +x_234 = x_254; +x_235 = x_257; +x_236 = x_253; +x_237 = x_255; +x_238 = x_258; +x_239 = x_256; +x_240 = x_251; +x_241 = x_252; +x_242 = x_249; +x_243 = x_250; +x_244 = x_272; +x_245 = x_273; +goto block_248; } -lean_inc(x_12); -if (lean_is_scalar(x_295)) { - x_296 = lean_alloc_ctor(0, 2, 0); -} else { - x_296 = x_295; } -lean_ctor_set(x_296, 0, x_12); -lean_ctor_set(x_296, 1, x_293); -x_297 = lean_array_push(x_257, x_296); -x_231 = x_297; -x_232 = x_2; -x_233 = x_3; -x_234 = x_4; -x_235 = x_5; -x_236 = x_6; -x_237 = x_7; -x_238 = x_187; -x_239 = x_9; -x_240 = x_294; -goto block_255; +block_328: +{ +lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_276 = l_Lean_Doc_tactic___closed__3; +x_277 = lean_array_get_size(x_275); +x_278 = lean_nat_dec_eq(x_277, x_210); +if (x_278 == 0) +{ +lean_object* x_279; uint8_t x_280; +x_279 = lean_unsigned_to_nat(1u); +x_280 = lean_nat_dec_lt(x_279, x_277); +lean_dec(x_277); +if (x_280 == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_dec_ref(x_207); +lean_dec(x_206); +x_281 = lean_array_fget(x_275, x_210); +lean_dec_ref(x_275); +x_282 = lean_ctor_get(x_281, 0); +lean_inc(x_282); +lean_dec_ref(x_281); +x_283 = lean_box(0); +lean_inc(x_282); +x_284 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_23, x_282, x_283, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_202, x_11, x_205); +if (lean_obj_tag(x_284) == 0) +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_285 = lean_ctor_get(x_284, 1); +lean_inc(x_285); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_286 = x_284; +} else { + lean_dec_ref(x_284); + x_286 = lean_box(0); +} +x_287 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_288 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_282); +x_290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_290, 0, x_287); +lean_ctor_set(x_290, 1, x_289); +x_291 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_291, 0, x_209); +x_292 = l_Lean_Doc_name___closed__5; +x_293 = lean_array_push(x_292, x_291); +x_294 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_294, 0, x_290); +lean_ctor_set(x_294, 1, x_293); +if (lean_is_scalar(x_286)) { + x_295 = lean_alloc_ctor(0, 2, 0); +} else { + x_295 = x_286; +} +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_285); +return x_295; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_282); +lean_dec_ref(x_209); +x_296 = lean_ctor_get(x_284, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_284, 1); +lean_inc(x_297); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_298 = x_284; +} else { + lean_dec_ref(x_284); + x_298 = lean_box(0); +} +if (lean_is_scalar(x_298)) { + x_299 = lean_alloc_ctor(1, 2, 0); +} else { + x_299 = x_298; +} +lean_ctor_set(x_299, 0, x_296); +lean_ctor_set(x_299, 1, x_297); +return x_299; } } else { -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -lean_dec(x_258); -lean_dec_ref(x_256); -x_298 = l_Lean_Doc_tactic___closed__9; -x_299 = l_Lean_stringToMessageData(x_193); -x_300 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_300, 0, x_298); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_Lean_Doc_tactic___closed__11; -x_302 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_302, 0, x_300); -lean_ctor_set(x_302, 1, x_301); -x_303 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_302, x_6, x_7, x_187, x_9, x_190); -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_306 = x_303; +size_t x_300; size_t x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_300 = lean_array_size(x_275); +x_301 = 0; +x_302 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7(x_208, x_300, x_301, x_275); +x_303 = lean_array_to_list(x_302); +x_304 = l_Lean_Doc_tactic___closed__5; +x_305 = l_Lean_stringToMessageData(x_209); +x_306 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_306, 0, x_304); +lean_ctor_set(x_306, 1, x_305); +x_307 = l_Lean_Doc_tactic___closed__7; +x_308 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_308, 0, x_306); +lean_ctor_set(x_308, 1, x_307); +x_309 = l_Lean_MessageData_andList(x_303); +x_310 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_310, 0, x_308); +lean_ctor_set(x_310, 1, x_309); +x_311 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_310, x_8, x_9, x_202, x_11, x_205); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + lean_ctor_release(x_311, 1); + x_314 = x_311; } else { - lean_dec_ref(x_303); - x_306 = lean_box(0); + lean_dec_ref(x_311); + x_314 = lean_box(0); } -lean_inc(x_12); -if (lean_is_scalar(x_306)) { - x_307 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_23); +if (lean_is_scalar(x_314)) { + x_315 = lean_alloc_ctor(0, 2, 0); } else { - x_307 = x_306; + x_315 = x_314; } -lean_ctor_set(x_307, 0, x_12); -lean_ctor_set(x_307, 1, x_304); -x_308 = lean_array_push(x_257, x_307); -x_231 = x_308; -x_232 = x_2; -x_233 = x_3; -x_234 = x_4; -x_235 = x_5; -x_236 = x_6; -x_237 = x_7; -x_238 = x_187; -x_239 = x_9; -x_240 = x_305; -goto block_255; +lean_ctor_set(x_315, 0, x_23); +lean_ctor_set(x_315, 1, x_312); +x_316 = lean_array_push(x_276, x_315); +x_249 = x_316; +x_250 = x_3; +x_251 = x_4; +x_252 = x_5; +x_253 = x_6; +x_254 = x_7; +x_255 = x_8; +x_256 = x_9; +x_257 = x_202; +x_258 = x_11; +x_259 = x_313; +goto block_274; +} +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_dec(x_277); +lean_dec_ref(x_275); +x_317 = l_Lean_Doc_tactic___closed__9; +x_318 = l_Lean_stringToMessageData(x_209); +x_319 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_319, 0, x_317); +lean_ctor_set(x_319, 1, x_318); +x_320 = l_Lean_Doc_tactic___closed__11; +x_321 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_321, 0, x_319); +lean_ctor_set(x_321, 1, x_320); +x_322 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_321, x_8, x_9, x_202, x_11, x_205); +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_322, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_322)) { + lean_ctor_release(x_322, 0); + lean_ctor_release(x_322, 1); + x_325 = x_322; +} else { + lean_dec_ref(x_322); + x_325 = lean_box(0); +} +lean_inc(x_23); +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(0, 2, 0); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_23); +lean_ctor_set(x_326, 1, x_323); +x_327 = lean_array_push(x_276, x_326); +x_249 = x_327; +x_250 = x_3; +x_251 = x_4; +x_252 = x_5; +x_253 = x_6; +x_254 = x_7; +x_255 = x_8; +x_256 = x_9; +x_257 = x_202; +x_258 = x_11; +x_259 = x_324; +goto block_274; } } } else { -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_dec_ref(x_187); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_318 = lean_ctor_get(x_188, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_188, 1); -lean_inc(x_319); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_320 = x_188; -} else { - lean_dec_ref(x_188); - x_320 = lean_box(0); -} -if (lean_is_scalar(x_320)) { - x_321 = lean_alloc_ctor(1, 2, 0); -} else { - x_321 = x_320; -} -lean_ctor_set(x_321, 0, x_318); -lean_ctor_set(x_321, 1, x_319); -return x_321; -} -} -} -else -{ -uint8_t x_322; +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +lean_dec_ref(x_202); +lean_dec(x_23); +lean_dec(x_11); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_322 = !lean_is_exclusive(x_11); -if (x_322 == 0) -{ -return x_11; +x_337 = lean_ctor_get(x_203, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_203, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_339 = x_203; +} else { + lean_dec_ref(x_203); + x_339 = lean_box(0); +} +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(1, 2, 0); +} else { + x_340 = x_339; +} +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +return x_340; +} +} +} } else { -lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_323 = lean_ctor_get(x_11, 0); -x_324 = lean_ctor_get(x_11, 1); -lean_inc(x_324); -lean_inc(x_323); +uint8_t x_341; lean_dec(x_11); -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_323); -lean_ctor_set(x_325, 1, x_324); -return x_325; +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_341 = !lean_is_exclusive(x_13); +if (x_341 == 0) +{ +return x_13; +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_342 = lean_ctor_get(x_13, 0); +x_343 = lean_ctor_get(x_13, 1); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_13); +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set(x_344, 1, x_343); +return x_344; } } } @@ -12286,65 +13373,79 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); lean_dec(x_2); +lean_dec_ref(x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); +lean_dec_ref(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); @@ -12353,126 +13454,37 @@ lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); +lean_dec_ref(x_2); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); +lean_dec_ref(x_3); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_11; -x_11 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); +uint8_t x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_5 = lean_unbox(x_1); +x_6 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); +x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -return x_12; +x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7(x_5, x_6, x_7, x_4); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__12(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; size_t x_8; lean_object* x_9; @@ -12480,7 +13492,7 @@ x_7 = lean_unbox_usize(x_4); lean_dec(x_4); x_8 = lean_unbox_usize(x_5); lean_dec(x_5); -x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(x_1, x_2, x_3, x_7, x_8, x_6); +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(x_1, x_2, x_3, x_7, x_8, x_6); lean_dec_ref(x_3); lean_dec(x_2); lean_dec_ref(x_1); @@ -12497,15 +13509,17 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Doc_tactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_tactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_tactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_11; +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +x_14 = l_Lean_Doc_tactic(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -13094,7 +14108,7 @@ goto _start; } } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -13105,7 +14119,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1() { _start: { lean_object* x_1; @@ -13113,7 +14127,7 @@ x_1 = l_Lean_Parser_parserExtension; return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2() { _start: { lean_object* x_1; @@ -13121,7 +14135,7 @@ x_1 = l_Lean_Parser_ParserExtension_instInhabitedState_default; return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3() { _start: { lean_object* x_1; @@ -13129,16 +14143,16 @@ x_1 = lean_mk_string_unchecked("conv", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5() { _start: { lean_object* x_1; @@ -13146,16 +14160,16 @@ x_1 = lean_mk_string_unchecked("Couldn't find conv tactic list", 30, 30); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7() { _start: { lean_object* x_1; @@ -13163,16 +14177,16 @@ x_1 = lean_mk_string_unchecked("Multiple matching conv tactics: ", 32, 32); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9() { _start: { lean_object* x_1; @@ -13180,463 +14194,455 @@ x_1 = lean_mk_string_unchecked("Conv tactic not found: `", 24, 24); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0; +lean_object* x_12; lean_object* x_13; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_15) == 0) +x_17 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_20 = lean_ctor_get(x_19, 1); -lean_inc_ref(x_20); -x_21 = lean_ctor_get(x_20, 0); -lean_inc_ref(x_21); -lean_dec_ref(x_20); -x_22 = lean_ctor_get(x_21, 2); -lean_inc(x_22); -lean_dec_ref(x_21); -x_23 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_24 = l_Lean_ScopedEnvExtension_getState___redArg(x_23, x_19, x_17, x_22); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; +x_22 = lean_ctor_get(x_21, 1); +lean_inc_ref(x_22); +x_23 = lean_ctor_get(x_22, 0); +lean_inc_ref(x_23); +lean_dec_ref(x_22); +x_24 = lean_ctor_get(x_23, 2); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; +x_26 = l_Lean_ScopedEnvExtension_getState___redArg(x_25, x_21, x_19, x_24); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_19, 1); -lean_dec(x_26); -x_27 = lean_ctor_get(x_19, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_24, 2); -lean_inc_ref(x_28); -lean_dec_ref(x_24); -x_29 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4; -x_30 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_28, x_29); -if (lean_obj_tag(x_30) == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_21, 1); +lean_dec(x_28); +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_26, 2); +lean_inc_ref(x_30); +lean_dec_ref(x_26); +x_31 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; +x_32 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_30, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_31; lean_object* x_32; -lean_free_object(x_19); -lean_free_object(x_15); -lean_dec(x_12); -x_31 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6; -x_32 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_32; +lean_object* x_33; lean_object* x_34; +lean_free_object(x_21); +lean_free_object(x_17); +lean_dec(x_14); +x_33 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6; +x_34 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_34; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_33 = lean_ctor_get(x_30, 0); -lean_inc(x_33); -lean_dec_ref(x_30); -x_34 = lean_ctor_get(x_33, 1); -lean_inc_ref(x_34); -lean_dec(x_33); -x_35 = l_Lean_Syntax_getId(x_12); -lean_dec(x_12); -x_36 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_34); -lean_dec_ref(x_34); -x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_array_get_size(x_36); -x_39 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_35, x_36, x_37, x_38); -lean_dec(x_38); -lean_dec_ref(x_36); -x_40 = lean_array_get_size(x_39); -x_41 = lean_nat_dec_eq(x_40, x_37); -if (x_41 == 0) -{ -lean_object* x_42; uint8_t x_43; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_32, 0); +lean_inc(x_35); +lean_dec_ref(x_32); +x_36 = lean_ctor_get(x_35, 1); +lean_inc_ref(x_36); lean_dec(x_35); -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_nat_dec_lt(x_42, x_40); +x_37 = l_Lean_Syntax_getId(x_14); +lean_dec(x_14); +x_38 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_36); +lean_dec_ref(x_36); +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_array_get_size(x_38); +x_41 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_37, x_38, x_39, x_40); lean_dec(x_40); +lean_dec_ref(x_38); +x_42 = lean_array_get_size(x_41); +x_43 = lean_nat_dec_eq(x_42, x_39); if (x_43 == 0) { -lean_object* x_44; -lean_free_object(x_19); +lean_object* x_44; uint8_t x_45; +lean_dec(x_37); +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_dec_lt(x_44, x_42); +lean_dec(x_42); +if (x_45 == 0) +{ +lean_object* x_46; +lean_free_object(x_21); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_44 = lean_array_fget(x_39, x_37); -lean_dec_ref(x_39); -lean_ctor_set(x_15, 0, x_44); -return x_15; +x_46 = lean_array_fget(x_41, x_39); +lean_dec_ref(x_41); +lean_ctor_set(x_17, 0, x_46); +return x_17; } else { -size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_free_object(x_15); -x_45 = lean_array_size(x_39); -x_46 = 0; -x_47 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_45, x_46, x_39); -x_48 = lean_array_to_list(x_47); -x_49 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8; -x_50 = l_Lean_MessageData_andList(x_48); -lean_ctor_set_tag(x_19, 7); -lean_ctor_set(x_19, 1, x_50); -lean_ctor_set(x_19, 0, x_49); -x_51 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_51; +size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_free_object(x_17); +x_47 = lean_array_size(x_41); +x_48 = 0; +x_49 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_47, x_48, x_41); +x_50 = lean_array_to_list(x_49); +x_51 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8; +x_52 = l_Lean_MessageData_andList(x_50); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_52); +lean_ctor_set(x_21, 0, x_51); +x_53 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_53; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_40); -lean_dec_ref(x_39); -lean_free_object(x_15); -x_52 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10; -x_53 = l_Lean_MessageData_ofName(x_35); -lean_ctor_set_tag(x_19, 7); -lean_ctor_set(x_19, 1, x_53); -lean_ctor_set(x_19, 0, x_52); -x_54 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_19); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_56; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_42); +lean_dec_ref(x_41); +lean_free_object(x_17); +x_54 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10; +x_55 = l_Lean_MessageData_ofName(x_37); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_55); +lean_ctor_set(x_21, 0, x_54); +x_56 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_21); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_58; } } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_19); -x_57 = lean_ctor_get(x_24, 2); -lean_inc_ref(x_57); -lean_dec_ref(x_24); -x_58 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4; -x_59 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_57, x_58); -if (lean_obj_tag(x_59) == 0) +lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_21); +x_59 = lean_ctor_get(x_26, 2); +lean_inc_ref(x_59); +lean_dec_ref(x_26); +x_60 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; +x_61 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_59, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_60; lean_object* x_61; -lean_free_object(x_15); -lean_dec(x_12); -x_60 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6; -x_61 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_61; +lean_object* x_62; lean_object* x_63; +lean_free_object(x_17); +lean_dec(x_14); +x_62 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6; +x_63 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_63; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_62 = lean_ctor_get(x_59, 0); -lean_inc(x_62); -lean_dec_ref(x_59); -x_63 = lean_ctor_get(x_62, 1); -lean_inc_ref(x_63); -lean_dec(x_62); -x_64 = l_Lean_Syntax_getId(x_12); -lean_dec(x_12); -x_65 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_63); -lean_dec_ref(x_63); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_array_get_size(x_65); -x_68 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_64, x_65, x_66, x_67); -lean_dec(x_67); -lean_dec_ref(x_65); -x_69 = lean_array_get_size(x_68); -x_70 = lean_nat_dec_eq(x_69, x_66); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +lean_dec_ref(x_61); +x_65 = lean_ctor_get(x_64, 1); +lean_inc_ref(x_65); lean_dec(x_64); -x_71 = lean_unsigned_to_nat(1u); -x_72 = lean_nat_dec_lt(x_71, x_69); +x_66 = l_Lean_Syntax_getId(x_14); +lean_dec(x_14); +x_67 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_65); +lean_dec_ref(x_65); +x_68 = lean_unsigned_to_nat(0u); +x_69 = lean_array_get_size(x_67); +x_70 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_66, x_67, x_68, x_69); lean_dec(x_69); +lean_dec_ref(x_67); +x_71 = lean_array_get_size(x_70); +x_72 = lean_nat_dec_eq(x_71, x_68); if (x_72 == 0) { -lean_object* x_73; +lean_object* x_73; uint8_t x_74; +lean_dec(x_66); +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_dec_lt(x_73, x_71); +lean_dec(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_73 = lean_array_fget(x_68, x_66); -lean_dec_ref(x_68); -lean_ctor_set(x_15, 0, x_73); -return x_15; +x_75 = lean_array_fget(x_70, x_68); +lean_dec_ref(x_70); +lean_ctor_set(x_17, 0, x_75); +return x_17; } else { -size_t x_74; size_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_free_object(x_15); -x_74 = lean_array_size(x_68); -x_75 = 0; -x_76 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_74, x_75, x_68); -x_77 = lean_array_to_list(x_76); -x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8; -x_79 = l_Lean_MessageData_andList(x_77); -x_80 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_81; +size_t x_76; size_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_free_object(x_17); +x_76 = lean_array_size(x_70); +x_77 = 0; +x_78 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_76, x_77, x_70); +x_79 = lean_array_to_list(x_78); +x_80 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8; +x_81 = l_Lean_MessageData_andList(x_79); +x_82 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_83; } } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_69); -lean_dec_ref(x_68); -lean_free_object(x_15); -x_82 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10; -x_83 = l_Lean_MessageData_ofName(x_64); -x_84 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_71); +lean_dec_ref(x_70); +lean_free_object(x_17); +x_84 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10; +x_85 = l_Lean_MessageData_ofName(x_66); x_86 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_87; +x_87 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_89; } } } } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_88 = lean_ctor_get(x_15, 0); -x_89 = lean_ctor_get(x_15, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_15); -x_90 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_91 = lean_ctor_get(x_90, 1); -lean_inc_ref(x_91); -x_92 = lean_ctor_get(x_91, 0); -lean_inc_ref(x_92); -lean_dec_ref(x_91); -x_93 = lean_ctor_get(x_92, 2); -lean_inc(x_93); -lean_dec_ref(x_92); -x_94 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_95 = l_Lean_ScopedEnvExtension_getState___redArg(x_94, x_90, x_88, x_93); -lean_dec(x_93); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_96 = x_90; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_90 = lean_ctor_get(x_17, 0); +x_91 = lean_ctor_get(x_17, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_17); +x_92 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; +x_93 = lean_ctor_get(x_92, 1); +lean_inc_ref(x_93); +x_94 = lean_ctor_get(x_93, 0); +lean_inc_ref(x_94); +lean_dec_ref(x_93); +x_95 = lean_ctor_get(x_94, 2); +lean_inc(x_95); +lean_dec_ref(x_94); +x_96 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; +x_97 = l_Lean_ScopedEnvExtension_getState___redArg(x_96, x_92, x_90, x_95); +lean_dec(x_95); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_98 = x_92; } else { - lean_dec_ref(x_90); - x_96 = lean_box(0); + lean_dec_ref(x_92); + x_98 = lean_box(0); } -x_97 = lean_ctor_get(x_95, 2); -lean_inc_ref(x_97); -lean_dec_ref(x_95); -x_98 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4; -x_99 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_97, x_98); -if (lean_obj_tag(x_99) == 0) +x_99 = lean_ctor_get(x_97, 2); +lean_inc_ref(x_99); +lean_dec_ref(x_97); +x_100 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; +x_101 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_99, x_100); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_100; lean_object* x_101; -lean_dec(x_96); -lean_dec(x_12); -x_100 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6; -x_101 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_100, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); -return x_101; +lean_object* x_102; lean_object* x_103; +lean_dec(x_98); +lean_dec(x_14); +x_102 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6; +x_103 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_102, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); +return x_103; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_102 = lean_ctor_get(x_99, 0); -lean_inc(x_102); -lean_dec_ref(x_99); -x_103 = lean_ctor_get(x_102, 1); -lean_inc_ref(x_103); -lean_dec(x_102); -x_104 = l_Lean_Syntax_getId(x_12); -lean_dec(x_12); -x_105 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_103); -lean_dec_ref(x_103); -x_106 = lean_unsigned_to_nat(0u); -x_107 = lean_array_get_size(x_105); -x_108 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_104, x_105, x_106, x_107); -lean_dec(x_107); -lean_dec_ref(x_105); -x_109 = lean_array_get_size(x_108); -x_110 = lean_nat_dec_eq(x_109, x_106); -if (x_110 == 0) -{ -lean_object* x_111; uint8_t x_112; +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_104 = lean_ctor_get(x_101, 0); +lean_inc(x_104); +lean_dec_ref(x_101); +x_105 = lean_ctor_get(x_104, 1); +lean_inc_ref(x_105); lean_dec(x_104); -x_111 = lean_unsigned_to_nat(1u); -x_112 = lean_nat_dec_lt(x_111, x_109); +x_106 = l_Lean_Syntax_getId(x_14); +lean_dec(x_14); +x_107 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_105); +lean_dec_ref(x_105); +x_108 = lean_unsigned_to_nat(0u); +x_109 = lean_array_get_size(x_107); +x_110 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(x_106, x_107, x_108, x_109); lean_dec(x_109); +lean_dec_ref(x_107); +x_111 = lean_array_get_size(x_110); +x_112 = lean_nat_dec_eq(x_111, x_108); if (x_112 == 0) { -lean_object* x_113; lean_object* x_114; -lean_dec(x_96); +lean_object* x_113; uint8_t x_114; +lean_dec(x_106); +x_113 = lean_unsigned_to_nat(1u); +x_114 = lean_nat_dec_lt(x_113, x_111); +lean_dec(x_111); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_98); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_113 = lean_array_fget(x_108, x_106); -lean_dec_ref(x_108); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_89); -return x_114; +x_115 = lean_array_fget(x_110, x_108); +lean_dec_ref(x_110); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_91); +return x_116; } else { -size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_115 = lean_array_size(x_108); -x_116 = 0; -x_117 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_115, x_116, x_108); -x_118 = lean_array_to_list(x_117); -x_119 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8; -x_120 = l_Lean_MessageData_andList(x_118); -if (lean_is_scalar(x_96)) { - x_121 = lean_alloc_ctor(7, 2, 0); +size_t x_117; size_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_117 = lean_array_size(x_110); +x_118 = 0; +x_119 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(x_117, x_118, x_110); +x_120 = lean_array_to_list(x_119); +x_121 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8; +x_122 = l_Lean_MessageData_andList(x_120); +if (lean_is_scalar(x_98)) { + x_123 = lean_alloc_ctor(7, 2, 0); } else { - x_121 = x_96; - lean_ctor_set_tag(x_121, 7); + x_123 = x_98; + lean_ctor_set_tag(x_123, 7); } -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_121, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); -return x_122; +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_123, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); +return x_124; } } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_109); -lean_dec_ref(x_108); -x_123 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10; -x_124 = l_Lean_MessageData_ofName(x_104); -if (lean_is_scalar(x_96)) { - x_125 = lean_alloc_ctor(7, 2, 0); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_111); +lean_dec_ref(x_110); +x_125 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10; +x_126 = l_Lean_MessageData_ofName(x_106); +if (lean_is_scalar(x_98)) { + x_127 = lean_alloc_ctor(7, 2, 0); } else { - x_125 = x_96; - lean_ctor_set_tag(x_125, 7); + x_127 = x_98; + lean_ctor_set_tag(x_127, 7); } -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_127 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_127, 0, x_125); lean_ctor_set(x_127, 1, x_126); -x_128 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_127, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); -return x_128; +x_128 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_129 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_129, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); +return x_130; } } } } else { -uint8_t x_129; -lean_dec(x_12); +uint8_t x_131; +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_129 = !lean_is_exclusive(x_15); -if (x_129 == 0) +x_131 = !lean_is_exclusive(x_17); +if (x_131 == 0) { -return x_15; +return x_17; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_15, 0); -x_131 = lean_ctor_get(x_15, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_15); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_17, 0); +x_133 = lean_ctor_get(x_17, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_17); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } } else { -uint8_t x_133; +uint8_t x_135; +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_133 = !lean_is_exclusive(x_11); -if (x_133 == 0) +x_135 = !lean_is_exclusive(x_13); +if (x_135 == 0) { -return x_11; +return x_13; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_11, 0); -x_135 = lean_ctor_get(x_11, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_11); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -return x_136; +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_13, 0); +x_137 = lean_ctor_get(x_13, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_13); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -13855,94 +14861,87 @@ x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_array_get_size(x_2); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_fget(x_2, x_16); -lean_dec_ref(x_2); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_11); -return x_18; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_array_get_size(x_2); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_dec_ref(x_2); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_12); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); +lean_dec_ref(x_3); return x_13; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_conv___lam__0(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; x_4 = l_Lean_Parser_categoryParserFn(x_3, x_1, x_2); return x_4; } @@ -13964,457 +14963,458 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_conv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_conv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_14 = x_11; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; } else { - lean_dec_ref(x_11); - x_14 = lean_box(0); + lean_dec_ref(x_12); + x_15 = lean_box(0); } -x_15 = !lean_is_exclusive(x_8); -if (x_15 == 0) +x_16 = !lean_is_exclusive(x_9); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_59; lean_object* x_60; lean_object* x_64; -x_16 = lean_ctor_get(x_8, 5); -x_17 = lean_alloc_closure((void*)(l_Lean_Doc_conv___lam__0), 2, 0); -x_18 = l_Lean_Doc_tactic___closed__3; -x_19 = l_Lean_replaceRef(x_12, x_16); -lean_dec(x_16); -lean_ctor_set(x_8, 5, x_19); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_64 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_64) == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_60; lean_object* x_61; lean_object* x_65; +x_17 = lean_ctor_get(x_9, 5); +x_18 = lean_alloc_closure((void*)(l_Lean_Doc_conv___lam__0), 2, 0); +x_19 = l_Lean_Doc_tactic___closed__3; +x_20 = l_Lean_replaceRef(x_13, x_17); +lean_dec(x_17); +lean_ctor_set(x_9, 5, x_20); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_65 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_65) == 0) { -uint8_t x_65; -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) +uint8_t x_66; +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_ctor_get(x_64, 1); -x_68 = lean_box(0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_66); -lean_inc(x_12); -x_69 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_12, x_66, x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_67); -if (lean_obj_tag(x_69) == 0) +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_65, 0); +x_68 = lean_ctor_get(x_65, 1); +x_69 = lean_box(0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_67); +lean_inc(x_13); +x_70 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_13, x_67, x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); +if (lean_obj_tag(x_70) == 0) { -uint8_t x_70; -lean_dec_ref(x_8); -lean_dec_ref(x_17); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) +uint8_t x_71; +lean_dec_ref(x_9); +lean_dec_ref(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -x_72 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_73 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; -lean_ctor_set(x_64, 1, x_66); -lean_ctor_set(x_64, 0, x_72); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_64); -x_75 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_76 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_77 = l_Lean_Doc_name___closed__0; -x_78 = lean_array_push(x_77, x_76); -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_74); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_69, 0, x_79); -return x_69; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_72 = lean_ctor_get(x_70, 0); +lean_dec(x_72); +x_73 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_74 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; +lean_ctor_set(x_65, 1, x_67); +lean_ctor_set(x_65, 0, x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_65); +x_76 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_77 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = l_Lean_Doc_name___closed__5; +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_70, 0, x_80); +return x_70; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_80 = lean_ctor_get(x_69, 1); -lean_inc(x_80); -lean_dec(x_69); -x_81 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_82 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; -lean_ctor_set(x_64, 1, x_66); -lean_ctor_set(x_64, 0, x_81); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_64); -x_84 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_85 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_86 = l_Lean_Doc_name___closed__0; -x_87 = lean_array_push(x_86, x_85); -x_88 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_88, 0, x_83); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_80); -return x_89; +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_70, 1); +lean_inc(x_81); +lean_dec(x_70); +x_82 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_83 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; +lean_ctor_set(x_65, 1, x_67); +lean_ctor_set(x_65, 0, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_65); +x_85 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_86 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_87 = l_Lean_Doc_name___closed__5; +x_88 = lean_array_push(x_87, x_86); +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_84); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_81); +return x_90; } } else { -lean_object* x_90; lean_object* x_91; -lean_free_object(x_64); -lean_dec(x_66); -x_90 = lean_ctor_get(x_69, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_69, 1); +lean_object* x_91; lean_object* x_92; +lean_free_object(x_65); +lean_dec(x_67); +x_91 = lean_ctor_get(x_70, 0); lean_inc(x_91); -lean_dec_ref(x_69); -x_59 = x_90; +x_92 = lean_ctor_get(x_70, 1); +lean_inc(x_92); +lean_dec_ref(x_70); x_60 = x_91; -goto block_63; +x_61 = x_92; +goto block_64; } } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_64, 0); -x_93 = lean_ctor_get(x_64, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get(x_65, 0); +x_94 = lean_ctor_get(x_65, 1); +lean_inc(x_94); lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_64); -x_94 = lean_box(0); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_92); -lean_inc(x_12); -x_95 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_12, x_92, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_93); -if (lean_obj_tag(x_95) == 0) +lean_dec(x_65); +x_95 = lean_box(0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_93); +lean_inc(x_13); +x_96 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_13, x_93, x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_94); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec_ref(x_8); -lean_dec_ref(x_17); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_9); +lean_dec_ref(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -x_98 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_99 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_92); +x_99 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_100 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; x_101 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_103 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_104 = l_Lean_Doc_name___closed__0; -x_105 = lean_array_push(x_104, x_103); -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_101); -lean_ctor_set(x_106, 1, x_105); -if (lean_is_scalar(x_97)) { - x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 1, x_93); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_104 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l_Lean_Doc_name___closed__5; +x_106 = lean_array_push(x_105, x_104); +x_107 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_107, 0, x_102); +lean_ctor_set(x_107, 1, x_106); +if (lean_is_scalar(x_98)) { + x_108 = lean_alloc_ctor(0, 2, 0); } else { - x_107 = x_97; + x_108 = x_98; } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_96); -return x_107; +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_97); +return x_108; } else { -lean_object* x_108; lean_object* x_109; -lean_dec(x_92); -x_108 = lean_ctor_get(x_95, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_95, 1); +lean_object* x_109; lean_object* x_110; +lean_dec(x_93); +x_109 = lean_ctor_get(x_96, 0); lean_inc(x_109); -lean_dec_ref(x_95); -x_59 = x_108; -x_60 = x_109; -goto block_63; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_64, 0); +x_110 = lean_ctor_get(x_96, 1); lean_inc(x_110); -x_111 = lean_ctor_get(x_64, 1); -lean_inc(x_111); -lean_dec_ref(x_64); -x_59 = x_110; -x_60 = x_111; -goto block_63; +lean_dec_ref(x_96); +x_60 = x_109; +x_61 = x_110; +goto block_64; +} } -block_28: -{ -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_14); -x_24 = lean_array_push(x_21, x_22); -x_25 = l_Lean_Doc_conv___closed__1; -x_26 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_25, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -return x_26; } else { -lean_object* x_27; -lean_dec_ref(x_21); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_14)) { - x_27 = lean_alloc_ctor(1, 2, 0); -} else { - x_27 = x_14; - lean_ctor_set_tag(x_27, 1); +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_65, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_65, 1); +lean_inc(x_112); +lean_dec_ref(x_65); +x_60 = x_111; +x_61 = x_112; +goto block_64; } -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_20); +block_29: +{ +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_15); +x_25 = lean_array_push(x_21, x_23); +x_26 = l_Lean_Doc_conv___closed__1; +x_27 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); return x_27; } -} -block_34: +else { -uint8_t x_32; -x_32 = l_Lean_Exception_isInterrupt(x_30); -if (x_32 == 0) +lean_object* x_28; +lean_dec_ref(x_21); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_15)) { + x_28 = lean_alloc_ctor(1, 2, 0); +} else { + x_28 = x_15; + lean_ctor_set_tag(x_28, 1); +} +lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 1, x_22); +return x_28; +} +} +block_35: { uint8_t x_33; -x_33 = l_Lean_Exception_isRuntime(x_30); -x_20 = x_31; -x_21 = x_29; -x_22 = x_30; -x_23 = x_33; -goto block_28; +x_33 = l_Lean_Exception_isInterrupt(x_31); +if (x_33 == 0) +{ +uint8_t x_34; +x_34 = l_Lean_Exception_isRuntime(x_31); +x_21 = x_30; +x_22 = x_32; +x_23 = x_31; +x_24 = x_34; +goto block_29; } else { -x_20 = x_31; -x_21 = x_29; -x_22 = x_30; -x_23 = x_32; -goto block_28; +x_21 = x_30; +x_22 = x_32; +x_23 = x_31; +x_24 = x_33; +goto block_29; } } -block_58: +block_59: { -if (x_37 == 0) +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_array_push(x_18, x_36); -x_39 = l_Lean_Doc_tactic___closed__2; -x_40 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_40, 0, x_39); -lean_closure_set(x_40, 1, x_17); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_41 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_40, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -if (lean_obj_tag(x_41) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_array_push(x_19, x_36); +x_40 = l_Lean_Doc_tactic___closed__2; +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_41, 0, x_40); +lean_closure_set(x_41, 1, x_18); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_42 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_41, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec_ref(x_41); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_44 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_43); -if (lean_obj_tag(x_44) == 0) +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_45 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +if (lean_obj_tag(x_45) == 0) { -uint8_t x_45; -lean_dec_ref(x_38); -lean_dec_ref(x_8); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) +uint8_t x_46; +lean_dec_ref(x_39); +lean_dec_ref(x_9); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_48 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_44, 0, x_48); -return x_44; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_49 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_45, 0, x_49); +return x_45; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_dec(x_44); -x_50 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_51 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_dec(x_45); +x_51 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_52 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -return x_52; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; } } else { -lean_object* x_53; lean_object* x_54; -lean_dec(x_12); -x_53 = lean_ctor_get(x_44, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_44, 1); +lean_object* x_54; lean_object* x_55; +lean_dec(x_13); +x_54 = lean_ctor_get(x_45, 0); lean_inc(x_54); -lean_dec_ref(x_44); -x_29 = x_38; -x_30 = x_53; -x_31 = x_54; -goto block_34; -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_12); -x_55 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_45, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_41, 1); -lean_inc(x_56); -lean_dec_ref(x_41); -x_29 = x_38; -x_30 = x_55; -x_31 = x_56; -goto block_34; +lean_dec_ref(x_45); +x_30 = x_39; +x_31 = x_54; +x_32 = x_55; +goto block_35; } } else { -lean_object* x_57; -lean_dec_ref(x_8); -lean_dec_ref(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_36); -lean_ctor_set(x_57, 1, x_35); -return x_57; +lean_object* x_56; lean_object* x_57; +lean_dec(x_13); +x_56 = lean_ctor_get(x_42, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_42, 1); +lean_inc(x_57); +lean_dec_ref(x_42); +x_30 = x_39; +x_31 = x_56; +x_32 = x_57; +goto block_35; } } -block_63: +else { -uint8_t x_61; -x_61 = l_Lean_Exception_isInterrupt(x_59); -if (x_61 == 0) +lean_object* x_58; +lean_dec_ref(x_9); +lean_dec_ref(x_18); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_36); +lean_ctor_set(x_58, 1, x_37); +return x_58; +} +} +block_64: { uint8_t x_62; -x_62 = l_Lean_Exception_isRuntime(x_59); -x_35 = x_60; -x_36 = x_59; -x_37 = x_62; -goto block_58; -} -else +x_62 = l_Lean_Exception_isInterrupt(x_60); +if (x_62 == 0) { -x_35 = x_60; -x_36 = x_59; +uint8_t x_63; +x_63 = l_Lean_Exception_isRuntime(x_60); +x_36 = x_60; x_37 = x_61; -goto block_58; +x_38 = x_63; +goto block_59; +} +else +{ +x_36 = x_60; +x_37 = x_61; +x_38 = x_62; +goto block_59; } } } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_object* x_168; lean_object* x_169; lean_object* x_173; -x_112 = lean_ctor_get(x_8, 0); -x_113 = lean_ctor_get(x_8, 1); -x_114 = lean_ctor_get(x_8, 2); -x_115 = lean_ctor_get(x_8, 3); -x_116 = lean_ctor_get(x_8, 4); -x_117 = lean_ctor_get(x_8, 5); -x_118 = lean_ctor_get(x_8, 6); -x_119 = lean_ctor_get(x_8, 7); -x_120 = lean_ctor_get(x_8, 8); -x_121 = lean_ctor_get(x_8, 9); -x_122 = lean_ctor_get(x_8, 10); -x_123 = lean_ctor_get(x_8, 11); -x_124 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_125 = lean_ctor_get(x_8, 12); -x_126 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_127 = lean_ctor_get(x_8, 13); -lean_inc(x_127); -lean_inc(x_125); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_169; lean_object* x_170; lean_object* x_174; +x_113 = lean_ctor_get(x_9, 0); +x_114 = lean_ctor_get(x_9, 1); +x_115 = lean_ctor_get(x_9, 2); +x_116 = lean_ctor_get(x_9, 3); +x_117 = lean_ctor_get(x_9, 4); +x_118 = lean_ctor_get(x_9, 5); +x_119 = lean_ctor_get(x_9, 6); +x_120 = lean_ctor_get(x_9, 7); +x_121 = lean_ctor_get(x_9, 8); +x_122 = lean_ctor_get(x_9, 9); +x_123 = lean_ctor_get(x_9, 10); +x_124 = lean_ctor_get(x_9, 11); +x_125 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_126 = lean_ctor_get(x_9, 12); +x_127 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_128 = lean_ctor_get(x_9, 13); +lean_inc(x_128); +lean_inc(x_126); +lean_inc(x_124); lean_inc(x_123); lean_inc(x_122); lean_inc(x_121); @@ -14426,391 +15426,373 @@ lean_inc(x_116); lean_inc(x_115); lean_inc(x_114); lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_8); -x_128 = lean_alloc_closure((void*)(l_Lean_Doc_conv___lam__0), 2, 0); -x_129 = l_Lean_Doc_tactic___closed__3; -x_130 = l_Lean_replaceRef(x_12, x_117); -lean_dec(x_117); -x_131 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_131, 0, x_112); -lean_ctor_set(x_131, 1, x_113); -lean_ctor_set(x_131, 2, x_114); -lean_ctor_set(x_131, 3, x_115); -lean_ctor_set(x_131, 4, x_116); -lean_ctor_set(x_131, 5, x_130); -lean_ctor_set(x_131, 6, x_118); -lean_ctor_set(x_131, 7, x_119); -lean_ctor_set(x_131, 8, x_120); -lean_ctor_set(x_131, 9, x_121); -lean_ctor_set(x_131, 10, x_122); -lean_ctor_set(x_131, 11, x_123); -lean_ctor_set(x_131, 12, x_125); -lean_ctor_set(x_131, 13, x_127); -lean_ctor_set_uint8(x_131, sizeof(void*)*14, x_124); -lean_ctor_set_uint8(x_131, sizeof(void*)*14 + 1, x_126); -lean_inc(x_9); -lean_inc_ref(x_131); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_173 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg(x_12, x_3, x_4, x_5, x_6, x_7, x_131, x_9, x_13); -if (lean_obj_tag(x_173) == 0) +lean_dec(x_9); +x_129 = lean_alloc_closure((void*)(l_Lean_Doc_conv___lam__0), 2, 0); +x_130 = l_Lean_Doc_tactic___closed__3; +x_131 = l_Lean_replaceRef(x_13, x_118); +lean_dec(x_118); +x_132 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_132, 0, x_113); +lean_ctor_set(x_132, 1, x_114); +lean_ctor_set(x_132, 2, x_115); +lean_ctor_set(x_132, 3, x_116); +lean_ctor_set(x_132, 4, x_117); +lean_ctor_set(x_132, 5, x_131); +lean_ctor_set(x_132, 6, x_119); +lean_ctor_set(x_132, 7, x_120); +lean_ctor_set(x_132, 8, x_121); +lean_ctor_set(x_132, 9, x_122); +lean_ctor_set(x_132, 10, x_123); +lean_ctor_set(x_132, 11, x_124); +lean_ctor_set(x_132, 12, x_126); +lean_ctor_set(x_132, 13, x_128); +lean_ctor_set_uint8(x_132, sizeof(void*)*14, x_125); +lean_ctor_set_uint8(x_132, sizeof(void*)*14 + 1, x_127); +lean_inc(x_10); +lean_inc_ref(x_132); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_174 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_14); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_176 = x_173; +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_177 = x_174; } else { - lean_dec_ref(x_173); - x_176 = lean_box(0); + lean_dec_ref(x_174); + x_177 = lean_box(0); } -x_177 = lean_box(0); -lean_inc(x_9); -lean_inc_ref(x_131); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_174); -lean_inc(x_12); -x_178 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_12, x_174, x_177, x_2, x_3, x_4, x_5, x_6, x_7, x_131, x_9, x_175); -if (lean_obj_tag(x_178) == 0) +x_178 = lean_box(0); +lean_inc(x_10); +lean_inc_ref(x_132); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_175); +lean_inc(x_13); +x_179 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_13, x_175, x_178, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_176); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec_ref(x_131); -lean_dec_ref(x_128); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_180 = x_178; +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec_ref(x_132); +lean_dec_ref(x_129); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_181 = x_179; } else { - lean_dec_ref(x_178); - x_180 = lean_box(0); + lean_dec_ref(x_179); + x_181 = lean_box(0); } -x_181 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; -x_182 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; -if (lean_is_scalar(x_176)) { - x_183 = lean_alloc_ctor(0, 2, 0); +x_182 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; +x_183 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; +if (lean_is_scalar(x_177)) { + x_184 = lean_alloc_ctor(0, 2, 0); } else { - x_183 = x_176; + x_184 = x_177; } -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_174); -x_184 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_184, 0, x_182); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_186 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_186, 0, x_185); -x_187 = l_Lean_Doc_name___closed__0; -x_188 = lean_array_push(x_187, x_186); -x_189 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_189, 0, x_184); -lean_ctor_set(x_189, 1, x_188); -if (lean_is_scalar(x_180)) { - x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 1, x_175); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +x_186 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_187 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_187, 0, x_186); +x_188 = l_Lean_Doc_name___closed__5; +x_189 = lean_array_push(x_188, x_187); +x_190 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_190, 0, x_185); +lean_ctor_set(x_190, 1, x_189); +if (lean_is_scalar(x_181)) { + x_191 = lean_alloc_ctor(0, 2, 0); } else { - x_190 = x_180; + x_191 = x_181; } -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_179); -return x_190; +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_180); +return x_191; } else { -lean_object* x_191; lean_object* x_192; -lean_dec(x_176); -lean_dec(x_174); -x_191 = lean_ctor_get(x_178, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_178, 1); +lean_object* x_192; lean_object* x_193; +lean_dec(x_177); +lean_dec(x_175); +x_192 = lean_ctor_get(x_179, 0); lean_inc(x_192); -lean_dec_ref(x_178); -x_168 = x_191; -x_169 = x_192; -goto block_172; -} -} -else -{ -lean_object* x_193; lean_object* x_194; -x_193 = lean_ctor_get(x_173, 0); +x_193 = lean_ctor_get(x_179, 1); lean_inc(x_193); -x_194 = lean_ctor_get(x_173, 1); -lean_inc(x_194); -lean_dec_ref(x_173); -x_168 = x_193; -x_169 = x_194; -goto block_172; +lean_dec_ref(x_179); +x_169 = x_192; +x_170 = x_193; +goto block_173; } -block_140: -{ -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_14); -x_136 = lean_array_push(x_133, x_134); -x_137 = l_Lean_Doc_conv___closed__1; -x_138 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_137, x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_131, x_9, x_132); -return x_138; } else { -lean_object* x_139; -lean_dec_ref(x_133); -lean_dec_ref(x_131); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_14)) { - x_139 = lean_alloc_ctor(1, 2, 0); -} else { - x_139 = x_14; - lean_ctor_set_tag(x_139, 1); +lean_object* x_194; lean_object* x_195; +x_194 = lean_ctor_get(x_174, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_174, 1); +lean_inc(x_195); +lean_dec_ref(x_174); +x_169 = x_194; +x_170 = x_195; +goto block_173; } -lean_ctor_set(x_139, 0, x_134); -lean_ctor_set(x_139, 1, x_132); +block_141: +{ +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_15); +x_137 = lean_array_push(x_133, x_135); +x_138 = l_Lean_Doc_conv___closed__1; +x_139 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_138, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_134); return x_139; } -} -block_146: +else { -uint8_t x_144; -x_144 = l_Lean_Exception_isInterrupt(x_142); -if (x_144 == 0) +lean_object* x_140; +lean_dec_ref(x_133); +lean_dec_ref(x_132); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_15)) { + x_140 = lean_alloc_ctor(1, 2, 0); +} else { + x_140 = x_15; + lean_ctor_set_tag(x_140, 1); +} +lean_ctor_set(x_140, 0, x_135); +lean_ctor_set(x_140, 1, x_134); +return x_140; +} +} +block_147: { uint8_t x_145; -x_145 = l_Lean_Exception_isRuntime(x_142); -x_132 = x_143; -x_133 = x_141; -x_134 = x_142; -x_135 = x_145; -goto block_140; +x_145 = l_Lean_Exception_isInterrupt(x_143); +if (x_145 == 0) +{ +uint8_t x_146; +x_146 = l_Lean_Exception_isRuntime(x_143); +x_133 = x_142; +x_134 = x_144; +x_135 = x_143; +x_136 = x_146; +goto block_141; } else { -x_132 = x_143; -x_133 = x_141; -x_134 = x_142; -x_135 = x_144; -goto block_140; +x_133 = x_142; +x_134 = x_144; +x_135 = x_143; +x_136 = x_145; +goto block_141; } } -block_167: +block_168: { -if (x_149 == 0) +if (x_150 == 0) { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_150 = lean_array_push(x_129, x_148); -x_151 = l_Lean_Doc_tactic___closed__2; -x_152 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_152, 0, x_151); -lean_closure_set(x_152, 1, x_128); -lean_inc(x_9); -lean_inc_ref(x_131); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_153 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_152, x_12, x_3, x_4, x_5, x_6, x_7, x_131, x_9, x_147); -if (lean_obj_tag(x_153) == 0) +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_151 = lean_array_push(x_130, x_148); +x_152 = l_Lean_Doc_tactic___closed__2; +x_153 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_153, 0, x_152); +lean_closure_set(x_153, 1, x_129); +lean_inc(x_10); +lean_inc_ref(x_132); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_154 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_153, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_149); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_154, 0); lean_inc(x_155); -lean_dec_ref(x_153); -lean_inc(x_9); -lean_inc_ref(x_131); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_156 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_154, x_2, x_3, x_4, x_5, x_6, x_7, x_131, x_9, x_155); -if (lean_obj_tag(x_156) == 0) +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +lean_dec_ref(x_154); +lean_inc(x_10); +lean_inc_ref(x_132); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_157 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_155, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_156); +if (lean_obj_tag(x_157) == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec_ref(x_150); -lean_dec_ref(x_131); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_158 = x_156; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec_ref(x_151); +lean_dec_ref(x_132); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_159 = x_157; } else { - lean_dec_ref(x_156); - x_158 = lean_box(0); -} -x_159 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_160 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_160, 0, x_159); -if (lean_is_scalar(x_158)) { - x_161 = lean_alloc_ctor(0, 2, 0); -} else { - x_161 = x_158; + lean_dec_ref(x_157); + x_159 = lean_box(0); } +x_160 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_161 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_157); -return x_161; +if (lean_is_scalar(x_159)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_159; +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_158); +return x_162; } else { -lean_object* x_162; lean_object* x_163; -lean_dec(x_12); -x_162 = lean_ctor_get(x_156, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_156, 1); +lean_object* x_163; lean_object* x_164; +lean_dec(x_13); +x_163 = lean_ctor_get(x_157, 0); lean_inc(x_163); -lean_dec_ref(x_156); -x_141 = x_150; -x_142 = x_162; -x_143 = x_163; -goto block_146; -} -} -else -{ -lean_object* x_164; lean_object* x_165; -lean_dec(x_12); -x_164 = lean_ctor_get(x_153, 0); +x_164 = lean_ctor_get(x_157, 1); lean_inc(x_164); -x_165 = lean_ctor_get(x_153, 1); -lean_inc(x_165); -lean_dec_ref(x_153); -x_141 = x_150; -x_142 = x_164; -x_143 = x_165; -goto block_146; +lean_dec_ref(x_157); +x_142 = x_151; +x_143 = x_163; +x_144 = x_164; +goto block_147; } } else { -lean_object* x_166; -lean_dec_ref(x_131); -lean_dec_ref(x_128); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_148); -lean_ctor_set(x_166, 1, x_147); -return x_166; +lean_object* x_165; lean_object* x_166; +lean_dec(x_13); +x_165 = lean_ctor_get(x_154, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_154, 1); +lean_inc(x_166); +lean_dec_ref(x_154); +x_142 = x_151; +x_143 = x_165; +x_144 = x_166; +goto block_147; } } -block_172: +else { -uint8_t x_170; -x_170 = l_Lean_Exception_isInterrupt(x_168); -if (x_170 == 0) +lean_object* x_167; +lean_dec_ref(x_132); +lean_dec_ref(x_129); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_148); +lean_ctor_set(x_167, 1, x_149); +return x_167; +} +} +block_173: { uint8_t x_171; -x_171 = l_Lean_Exception_isRuntime(x_168); -x_147 = x_169; -x_148 = x_168; -x_149 = x_171; -goto block_167; -} -else +x_171 = l_Lean_Exception_isInterrupt(x_169); +if (x_171 == 0) { -x_147 = x_169; -x_148 = x_168; +uint8_t x_172; +x_172 = l_Lean_Exception_isRuntime(x_169); +x_148 = x_169; x_149 = x_170; -goto block_167; +x_150 = x_172; +goto block_168; +} +else +{ +x_148 = x_169; +x_149 = x_170; +x_150 = x_171; +goto block_168; } } } } else { -uint8_t x_195; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_195 = !lean_is_exclusive(x_11); -if (x_195 == 0) +uint8_t x_196; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_196 = !lean_is_exclusive(x_12); +if (x_196 == 0) { -return x_11; +return x_12; } else { -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_11, 0); -x_197 = lean_ctor_get(x_11, 1); +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_12, 0); +x_198 = lean_ctor_get(x_12, 1); +lean_inc(x_198); lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_11); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_196); -lean_ctor_set(x_198, 1, x_197); -return x_198; +lean_dec(x_12); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +return x_199; } } } } -LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_conv(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = 2; -x_12 = 0; -x_13 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Doc_conv(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -14853,7 +15835,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_13; @@ -14902,7 +15884,7 @@ goto _start; } } } -static lean_object* _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0() { +static lean_object* _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -14911,11 +15893,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; -x_7 = l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0; +x_7 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0; x_8 = lean_nat_dec_lt(x_5, x_6); if (x_8 == 0) { @@ -14938,13 +15920,13 @@ else size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_usize_of_nat(x_5); x_12 = lean_usize_of_nat(x_6); -x_13 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2(x_1, x_2, x_3, x_4, x_11, x_12, x_7); +x_13 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1(x_1, x_2, x_3, x_4, x_11, x_12, x_7); return x_13; } } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -14954,7 +15936,7 @@ x_5 = lean_nat_dec_lt(x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -14967,7 +15949,7 @@ return x_1; else { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0___boxed), 2, 0); +x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0___boxed), 2, 0); lean_inc(x_2); x_6 = l_Array_qpartition___redArg(x_1, x_5, x_2, x_3); x_7 = lean_ctor_get(x_6, 0); @@ -14979,7 +15961,7 @@ x_9 = lean_nat_dec_le(x_3, x_7); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(x_8, x_2, x_7); +x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_8, x_2, x_7); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_7, x_11); lean_dec(x_7); @@ -14996,11 +15978,11 @@ return x_8; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(x_2, x_3, x_4); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_2, x_3, x_4); return x_8; } } @@ -15012,32 +15994,32 @@ x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_15 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_16 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_TSyntax_getString(x_3); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_Doc_name___closed__0; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_4); -x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_TSyntax_getString(x_3); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Lean_Doc_name___closed__5; +x_22 = lean_array_push(x_21, x_20); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_18); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_14); -return x_24; +lean_ctor_set(x_24, 1, x_4); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_15); +return x_25; } } static lean_object* _init_l_Lean_Doc_attr___lam__2___closed__0() { @@ -15057,69 +16039,70 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_14 = l_Lean_Doc_attr___lam__2___closed__1; -x_15 = l_Lean_MessageData_ofName(x_1); -x_16 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_18 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = l_Lean_Doc_attr___lam__2___closed__1; +x_16 = l_Lean_MessageData_ofName(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Doc_checkNameExists___redArg___closed__8; x_19 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_20 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_2, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_20) == 0) +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_21 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_2, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec_ref(x_20); -x_23 = lean_apply_10(x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_23; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_apply_11(x_3, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +return x_24; } else { -uint8_t x_24; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +uint8_t x_25; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); lean_dec_ref(x_3); -x_24 = !lean_is_exclusive(x_20); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) { -return x_20; +return x_21; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_20, 0); -x_26 = lean_ctor_get(x_20, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 0); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_20); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_21); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -15170,7 +16153,7 @@ static lean_object* _init_l_Lean_Doc_attr___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; +x_1 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -15283,793 +16266,802 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_attr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_attr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_14 = x_11; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; } else { - lean_dec_ref(x_11); - x_14 = lean_box(0); + lean_dec_ref(x_12); + x_15 = lean_box(0); } -x_15 = l_Lean_Doc_attr___closed__0; -x_16 = lean_ctor_get(x_15, 1); -lean_inc_ref(x_16); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_17 = x_15; +x_16 = l_Lean_Doc_attr___closed__0; +x_17 = lean_ctor_get(x_16, 1); +lean_inc_ref(x_17); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_18 = x_16; } else { - lean_dec_ref(x_15); - x_17 = lean_box(0); + lean_dec_ref(x_16); + x_18 = lean_box(0); } -x_18 = !lean_is_exclusive(x_8); -if (x_18 == 0) +x_19 = !lean_is_exclusive(x_9); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_43; lean_object* x_44; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_118; lean_object* x_119; lean_object* x_152; lean_object* x_153; uint8_t x_154; lean_object* x_158; lean_object* x_159; lean_object* x_163; -x_19 = lean_ctor_get(x_8, 5); -x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -x_21 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_Doc_tactic___closed__3; -x_24 = l_Lean_replaceRef(x_12, x_19); -lean_dec(x_19); -lean_ctor_set(x_8, 5, x_24); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_163 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_16, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_163) == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_44; lean_object* x_45; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_119; lean_object* x_120; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_159; lean_object* x_160; lean_object* x_164; +x_20 = lean_ctor_get(x_9, 5); +x_21 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +x_22 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_Doc_tactic___closed__3; +x_25 = l_Lean_replaceRef(x_13, x_20); +lean_dec(x_20); +lean_ctor_set(x_9, 5, x_25); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_164 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_17, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_164) == 0) { -uint8_t x_164; -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) +uint8_t x_165; +x_165 = !lean_is_exclusive(x_164); +if (x_165 == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_165 = lean_ctor_get(x_163, 0); -x_166 = lean_ctor_get(x_163, 1); -x_167 = l_Lean_Doc_attr___closed__15; -lean_inc(x_165); -x_168 = l_Lean_Syntax_isOfKind(x_165, x_167); -if (x_168 == 0) +lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_166 = lean_ctor_get(x_164, 0); +x_167 = lean_ctor_get(x_164, 1); +x_168 = l_Lean_Doc_attr___closed__15; +lean_inc(x_166); +x_169 = l_Lean_Syntax_isOfKind(x_166, x_168); +if (x_169 == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_free_object(x_163); -lean_dec(x_165); -x_169 = l_Lean_Doc_attr___closed__17; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_170 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_169, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_free_object(x_164); +lean_dec(x_166); +x_170 = l_Lean_Doc_attr___closed__17; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_171 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_170, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_167); +x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); -lean_dec_ref(x_170); -x_158 = x_171; +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec_ref(x_171); x_159 = x_172; -goto block_162; +x_160 = x_173; +goto block_163; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_dec_ref(x_8); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec_ref(x_9); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_173 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_174 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_165); +lean_dec_ref(x_2); +x_174 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; +x_175 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_178 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_178, 0, x_177); -x_179 = l_Lean_Doc_name___closed__0; -x_180 = lean_array_push(x_179, x_178); -x_181 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_181, 0, x_176); -lean_ctor_set(x_181, 1, x_180); -lean_ctor_set(x_163, 0, x_181); -return x_163; +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_166); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_174); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_179 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_179, 0, x_178); +x_180 = l_Lean_Doc_name___closed__5; +x_181 = lean_array_push(x_180, x_179); +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_177); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_164, 0, x_182); +return x_164; } } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; -x_182 = lean_ctor_get(x_163, 0); -x_183 = lean_ctor_get(x_163, 1); +lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_183 = lean_ctor_get(x_164, 0); +x_184 = lean_ctor_get(x_164, 1); +lean_inc(x_184); lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_163); -x_184 = l_Lean_Doc_attr___closed__15; -lean_inc(x_182); -x_185 = l_Lean_Syntax_isOfKind(x_182, x_184); -if (x_185 == 0) +lean_dec(x_164); +x_185 = l_Lean_Doc_attr___closed__15; +lean_inc(x_183); +x_186 = l_Lean_Syntax_isOfKind(x_183, x_185); +if (x_186 == 0) { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_182); -x_186 = l_Lean_Doc_attr___closed__17; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_187 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_186, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_183); -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_183); +x_187 = l_Lean_Doc_attr___closed__17; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_188 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_187, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_184); +x_189 = lean_ctor_get(x_188, 0); lean_inc(x_189); -lean_dec_ref(x_187); -x_158 = x_188; +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec_ref(x_188); x_159 = x_189; -goto block_162; +x_160 = x_190; +goto block_163; } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec_ref(x_8); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec_ref(x_9); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_190 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_191 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_182); +lean_dec_ref(x_2); +x_191 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; +x_192 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_190); -lean_ctor_set(x_193, 1, x_192); -x_194 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_195 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_195, 0, x_194); -x_196 = l_Lean_Doc_name___closed__0; -x_197 = lean_array_push(x_196, x_195); -x_198 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_198, 0, x_193); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_183); -return x_199; +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_183); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_191); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_196 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_196, 0, x_195); +x_197 = l_Lean_Doc_name___closed__5; +x_198 = lean_array_push(x_197, x_196); +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_194); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_184); +return x_200; } } } else { -lean_object* x_200; lean_object* x_201; -x_200 = lean_ctor_get(x_163, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_163, 1); +lean_object* x_201; lean_object* x_202; +x_201 = lean_ctor_get(x_164, 0); lean_inc(x_201); -lean_dec_ref(x_163); -x_158 = x_200; +x_202 = lean_ctor_get(x_164, 1); +lean_inc(x_202); +lean_dec_ref(x_164); x_159 = x_201; -goto block_162; +x_160 = x_202; +goto block_163; } -block_29: +block_30: { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_Doc_attr___closed__2; -x_28 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_27, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Doc_attr___closed__2; +x_29 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_28; +lean_dec_ref(x_2); +return x_29; } -block_36: +block_37: { -if (x_33 == 0) -{ -lean_object* x_34; -lean_dec(x_14); -x_34 = lean_array_push(x_30, x_31); -x_25 = x_34; -x_26 = x_32; -goto block_29; -} -else +if (x_34 == 0) { lean_object* x_35; -lean_dec_ref(x_30); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_14)) { - x_35 = lean_alloc_ctor(1, 2, 0); -} else { - x_35 = x_14; - lean_ctor_set_tag(x_35, 1); -} -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -block_42: -{ -uint8_t x_40; -x_40 = l_Lean_Exception_isInterrupt(x_38); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = l_Lean_Exception_isRuntime(x_38); -x_30 = x_37; -x_31 = x_38; -x_32 = x_39; -x_33 = x_41; -goto block_36; +lean_dec(x_15); +x_35 = lean_array_push(x_31, x_32); +x_26 = x_35; +x_27 = x_33; +goto block_30; } else { -x_30 = x_37; +lean_object* x_36; +lean_dec_ref(x_31); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_is_scalar(x_15)) { + x_36 = lean_alloc_ctor(1, 2, 0); +} else { + x_36 = x_15; + lean_ctor_set_tag(x_36, 1); +} +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_33); +return x_36; +} +} +block_43: +{ +uint8_t x_41; +x_41 = l_Lean_Exception_isInterrupt(x_39); +if (x_41 == 0) +{ +uint8_t x_42; +x_42 = l_Lean_Exception_isRuntime(x_39); x_31 = x_38; x_32 = x_39; x_33 = x_40; -goto block_36; +x_34 = x_42; +goto block_37; +} +else +{ +x_31 = x_38; +x_32 = x_39; +x_33 = x_40; +x_34 = x_41; +goto block_37; } } -block_56: +block_57: { -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; -lean_dec_ref(x_43); -lean_dec(x_14); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); if (lean_obj_tag(x_45) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); +lean_object* x_46; lean_dec_ref(x_44); +lean_dec(x_15); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec_ref(x_45); -x_25 = x_47; -x_26 = x_46; -goto block_29; +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec_ref(x_46); +x_26 = x_48; +x_27 = x_47; +goto block_30; } else { -uint8_t x_48; -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +uint8_t x_49; +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) +lean_dec_ref(x_2); +x_49 = !lean_is_exclusive(x_45); +if (x_49 == 0) { -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_44, 0); -lean_dec(x_49); +lean_object* x_50; lean_object* x_51; x_50 = lean_ctor_get(x_45, 0); -lean_inc(x_50); -lean_dec_ref(x_45); -lean_ctor_set(x_44, 0, x_50); -return x_44; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_44, 1); +lean_dec(x_50); +x_51 = lean_ctor_get(x_46, 0); lean_inc(x_51); -lean_dec(x_44); -x_52 = lean_ctor_get(x_45, 0); +lean_dec_ref(x_46); +lean_ctor_set(x_45, 0, x_51); +return x_45; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_45, 1); lean_inc(x_52); -lean_dec_ref(x_45); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; +lean_dec(x_45); +x_53 = lean_ctor_get(x_46, 0); +lean_inc(x_53); +lean_dec_ref(x_46); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; } } } else { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_44, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_44, 1); +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_45, 0); lean_inc(x_55); -lean_dec_ref(x_44); -x_37 = x_43; -x_38 = x_54; +x_56 = lean_ctor_get(x_45, 1); +lean_inc(x_56); +lean_dec_ref(x_45); +x_38 = x_44; x_39 = x_55; -goto block_42; +x_40 = x_56; +goto block_43; } } -block_78: +block_79: { -size_t x_61; size_t x_62; lean_object* x_63; uint8_t x_64; -x_61 = lean_array_size(x_60); -x_62 = 0; -x_63 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1(x_61, x_62, x_60); -x_64 = l_Array_isEmpty___redArg(x_63); -if (x_64 == 0) +size_t x_62; size_t x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_array_size(x_61); +x_63 = 0; +x_64 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(x_62, x_63, x_61); +x_65 = l_Array_isEmpty___redArg(x_64); +if (x_65 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_65 = l_Lean_Doc_attr___closed__4; -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_12); -x_67 = lean_box(0); -x_68 = lean_box(x_64); -x_69 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_69, 0, x_65); -lean_closure_set(x_69, 1, x_63); -lean_closure_set(x_69, 2, x_66); -lean_closure_set(x_69, 3, x_67); -lean_closure_set(x_69, 4, x_68); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_70 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -if (lean_obj_tag(x_70) == 0) +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = l_Lean_Doc_attr___closed__4; +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_13); +x_68 = lean_box(0); +x_69 = lean_box(x_65); +x_70 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_70, 0, x_66); +lean_closure_set(x_70, 1, x_64); +lean_closure_set(x_70, 2, x_67); +lean_closure_set(x_70, 3, x_68); +lean_closure_set(x_70, 4, x_69); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_71 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec_ref(x_70); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec_ref(x_71); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_73 = lean_apply_10(x_59, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_72); -x_43 = x_57; -x_44 = x_73; -goto block_56; +lean_inc_ref(x_2); +x_74 = lean_apply_11(x_59, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +x_44 = x_58; +x_45 = x_74; +goto block_57; } else { -lean_object* x_74; lean_object* x_75; +lean_object* x_75; lean_object* x_76; lean_dec_ref(x_59); -x_74 = lean_ctor_get(x_70, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_70, 1); +x_75 = lean_ctor_get(x_71, 0); lean_inc(x_75); -lean_dec_ref(x_70); -x_37 = x_57; -x_38 = x_74; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec_ref(x_71); +x_38 = x_58; x_39 = x_75; -goto block_42; +x_40 = x_76; +goto block_43; } } else { -lean_object* x_76; lean_object* x_77; -lean_dec_ref(x_63); -lean_dec(x_12); -x_76 = l_Lean_Doc_attr___closed__5; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); +lean_object* x_77; lean_object* x_78; +lean_dec_ref(x_64); +lean_dec(x_13); +x_77 = l_Lean_Doc_attr___closed__5; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_77 = lean_apply_10(x_59, x_76, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -x_43 = x_57; -x_44 = x_77; -goto block_56; +lean_inc_ref(x_2); +x_78 = lean_apply_11(x_59, x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_44 = x_58; +x_45 = x_78; +goto block_57; } } -block_87: +block_88: { -lean_object* x_86; +lean_object* x_87; lean_dec(x_84); -x_86 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(x_83, x_82, x_85); -lean_dec(x_85); -x_57 = x_79; +x_87 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_82, x_85, x_86); +lean_dec(x_86); x_58 = x_80; x_59 = x_81; -x_60 = x_86; -goto block_78; +x_60 = x_83; +x_61 = x_87; +goto block_79; } -block_96: +block_97: { -uint8_t x_95; -x_95 = lean_nat_dec_le(x_94, x_90); -if (x_95 == 0) +uint8_t x_96; +x_96 = lean_nat_dec_le(x_95, x_90); +if (x_96 == 0) { lean_dec(x_90); -lean_inc(x_94); -x_79 = x_88; +lean_inc(x_95); x_80 = x_89; -x_81 = x_91; -x_82 = x_94; -x_83 = x_92; +x_81 = x_92; +x_82 = x_91; +x_83 = x_94; x_84 = x_93; -x_85 = x_94; -goto block_87; +x_85 = x_95; +x_86 = x_95; +goto block_88; } else { -x_79 = x_88; x_80 = x_89; -x_81 = x_91; -x_82 = x_94; -x_83 = x_92; +x_81 = x_92; +x_82 = x_91; +x_83 = x_94; x_84 = x_93; -x_85 = x_90; -goto block_87; +x_85 = x_95; +x_86 = x_90; +goto block_88; } } -block_117: +block_118: { -lean_object* x_103; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_103 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_101); -if (lean_obj_tag(x_103) == 0) +lean_object* x_104; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_104 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_99); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec_ref(x_103); -x_106 = l_Lean_getAttributeNames(x_104); -x_107 = lean_array_mk(x_106); -x_108 = lean_array_get_size(x_107); -x_109 = l_Array_filterMapM___at___Lean_Doc_attr_spec__2(x_97, x_99, x_102, x_107, x_22, x_108); -lean_dec(x_108); -lean_dec_ref(x_107); -lean_dec(x_102); -x_110 = lean_array_get_size(x_109); -x_111 = lean_nat_dec_eq(x_110, x_22); -if (x_111 == 0) +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +x_107 = l_Lean_getAttributeNames(x_105); +x_108 = lean_array_mk(x_107); +x_109 = lean_array_get_size(x_108); +x_110 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_102, x_101, x_103, x_108, x_23, x_109); +lean_dec(x_109); +lean_dec_ref(x_108); +lean_dec(x_103); +x_111 = lean_array_get_size(x_110); +x_112 = lean_nat_dec_eq(x_111, x_23); +if (x_112 == 0) { -lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_112 = lean_unsigned_to_nat(1u); -x_113 = lean_nat_sub(x_110, x_112); -x_114 = lean_nat_dec_le(x_22, x_113); -if (x_114 == 0) +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_unsigned_to_nat(1u); +x_114 = lean_nat_sub(x_111, x_113); +x_115 = lean_nat_dec_le(x_23, x_114); +if (x_115 == 0) { -lean_inc(x_113); -x_88 = x_98; -x_89 = x_105; -x_90 = x_113; -x_91 = x_100; -x_92 = x_109; -x_93 = x_110; -x_94 = x_113; -goto block_96; +lean_inc(x_114); +x_89 = x_98; +x_90 = x_114; +x_91 = x_110; +x_92 = x_100; +x_93 = x_111; +x_94 = x_106; +x_95 = x_114; +goto block_97; } else { -x_88 = x_98; -x_89 = x_105; -x_90 = x_113; -x_91 = x_100; -x_92 = x_109; -x_93 = x_110; -x_94 = x_22; -goto block_96; +x_89 = x_98; +x_90 = x_114; +x_91 = x_110; +x_92 = x_100; +x_93 = x_111; +x_94 = x_106; +x_95 = x_23; +goto block_97; } } else { -lean_dec(x_110); -x_57 = x_98; -x_58 = x_105; +lean_dec(x_111); +x_58 = x_98; x_59 = x_100; -x_60 = x_109; -goto block_78; +x_60 = x_106; +x_61 = x_110; +goto block_79; } } else { -lean_object* x_115; lean_object* x_116; -lean_dec(x_102); +lean_object* x_116; lean_object* x_117; +lean_dec(x_103); +lean_dec_ref(x_101); lean_dec_ref(x_100); -lean_dec_ref(x_99); -lean_dec(x_12); -x_115 = lean_ctor_get(x_103, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_103, 1); +lean_dec(x_13); +x_116 = lean_ctor_get(x_104, 0); lean_inc(x_116); -lean_dec_ref(x_103); -x_37 = x_98; -x_38 = x_115; +x_117 = lean_ctor_get(x_104, 1); +lean_inc(x_117); +lean_dec_ref(x_104); +x_38 = x_98; x_39 = x_116; -goto block_42; +x_40 = x_117; +goto block_43; } } -block_151: +block_152: { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = l_Lean_Doc_attr___closed__8; -x_121 = lean_ctor_get(x_120, 1); -lean_inc_ref(x_121); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_122 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_121, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_119); -if (lean_obj_tag(x_122) == 0) +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = l_Lean_Doc_attr___closed__8; +x_122 = lean_ctor_get(x_121, 1); +lean_inc_ref(x_122); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_123 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_122, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_120); +if (lean_obj_tag(x_123) == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); -lean_dec_ref(x_122); -lean_inc_ref(x_118); -lean_inc(x_12); -lean_inc(x_123); -x_125 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__0___boxed), 14, 4); -lean_closure_set(x_125, 0, x_21); -lean_closure_set(x_125, 1, x_123); -lean_closure_set(x_125, 2, x_12); -lean_closure_set(x_125, 3, x_118); -lean_inc(x_123); -x_126 = l_Lean_Syntax_getKind(x_123); -x_127 = l_Lean_Doc_attr___closed__12; -x_128 = lean_name_eq(x_126, x_127); -lean_dec(x_126); -if (x_128 == 0) +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec_ref(x_123); +lean_inc_ref(x_119); +lean_inc(x_13); +lean_inc(x_124); +x_126 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__0___boxed), 15, 4); +lean_closure_set(x_126, 0, x_22); +lean_closure_set(x_126, 1, x_124); +lean_closure_set(x_126, 2, x_13); +lean_closure_set(x_126, 3, x_119); +lean_inc(x_124); +x_127 = l_Lean_Syntax_getKind(x_124); +x_128 = l_Lean_Doc_attr___closed__12; +x_129 = lean_name_eq(x_127, x_128); +lean_dec(x_127); +if (x_129 == 0) { -lean_object* x_129; lean_object* x_130; -lean_dec_ref(x_125); -x_129 = lean_box(0); -lean_inc_ref(x_118); -x_130 = l_Lean_Doc_attr___lam__0(x_21, x_123, x_12, x_118, x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_124); -lean_dec(x_12); -x_43 = x_118; -x_44 = x_130; -goto block_56; +lean_object* x_130; lean_object* x_131; +lean_dec_ref(x_126); +x_130 = lean_box(0); +lean_inc_ref(x_119); +x_131 = l_Lean_Doc_attr___lam__0(x_22, x_124, x_13, x_119, x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_125); +lean_dec(x_13); +x_44 = x_119; +x_45 = x_131; +goto block_57; } else { -lean_object* x_131; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_131 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_124); -if (lean_obj_tag(x_131) == 0) +lean_object* x_132; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_132 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_125); +if (lean_obj_tag(x_132) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); -lean_dec_ref(x_131); -x_134 = l_Lean_Syntax_getArg(x_123, x_22); -x_135 = l_Lean_Syntax_getId(x_134); -lean_dec(x_134); -x_136 = lean_erase_macro_scopes(x_135); -x_137 = l_Lean_isAttribute(x_132, x_136); -if (x_137 == 0) +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec_ref(x_132); +x_135 = l_Lean_Syntax_getArg(x_124, x_23); +x_136 = l_Lean_Syntax_getId(x_135); +lean_dec(x_135); +x_137 = lean_erase_macro_scopes(x_136); +x_138 = l_Lean_isAttribute(x_133, x_137); +if (x_138 == 0) { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -lean_inc(x_136); -x_138 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__2___boxed), 13, 3); -lean_closure_set(x_138, 0, x_136); -lean_closure_set(x_138, 1, x_123); -lean_closure_set(x_138, 2, x_125); -x_139 = l_Lean_Name_toString(x_136, x_128); -x_140 = lean_unsigned_to_nat(2u); -x_141 = lean_string_length(x_139); -x_142 = lean_unsigned_to_nat(3u); -x_143 = lean_nat_div(x_141, x_142); -lean_dec(x_141); -x_144 = lean_nat_dec_le(x_140, x_143); -if (x_144 == 0) +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +lean_inc(x_137); +x_139 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__2___boxed), 14, 3); +lean_closure_set(x_139, 0, x_137); +lean_closure_set(x_139, 1, x_124); +lean_closure_set(x_139, 2, x_126); +x_140 = l_Lean_Name_toString(x_137, x_129); +x_141 = lean_unsigned_to_nat(2u); +x_142 = lean_string_length(x_140); +x_143 = lean_unsigned_to_nat(3u); +x_144 = lean_nat_div(x_142, x_143); +lean_dec(x_142); +x_145 = lean_nat_dec_le(x_141, x_144); +if (x_145 == 0) { -lean_dec(x_143); -x_97 = x_128; -x_98 = x_118; -x_99 = x_139; -x_100 = x_138; -x_101 = x_133; -x_102 = x_140; -goto block_117; +lean_dec(x_144); +x_98 = x_119; +x_99 = x_134; +x_100 = x_139; +x_101 = x_140; +x_102 = x_129; +x_103 = x_141; +goto block_118; } else { -x_97 = x_128; -x_98 = x_118; -x_99 = x_139; -x_100 = x_138; -x_101 = x_133; -x_102 = x_143; -goto block_117; +x_98 = x_119; +x_99 = x_134; +x_100 = x_139; +x_101 = x_140; +x_102 = x_129; +x_103 = x_144; +goto block_118; } } else { -lean_object* x_145; lean_object* x_146; -lean_dec(x_136); -lean_dec_ref(x_125); -x_145 = lean_box(0); -lean_inc_ref(x_118); -x_146 = l_Lean_Doc_attr___lam__0(x_21, x_123, x_12, x_118, x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_133); -lean_dec(x_12); -x_43 = x_118; -x_44 = x_146; -goto block_56; +lean_object* x_146; lean_object* x_147; +lean_dec(x_137); +lean_dec_ref(x_126); +x_146 = lean_box(0); +lean_inc_ref(x_119); +x_147 = l_Lean_Doc_attr___lam__0(x_22, x_124, x_13, x_119, x_146, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_134); +lean_dec(x_13); +x_44 = x_119; +x_45 = x_147; +goto block_57; } } else { -lean_object* x_147; lean_object* x_148; -lean_dec_ref(x_125); -lean_dec(x_123); -lean_dec(x_12); -x_147 = lean_ctor_get(x_131, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_131, 1); +lean_object* x_148; lean_object* x_149; +lean_dec_ref(x_126); +lean_dec(x_124); +lean_dec(x_13); +x_148 = lean_ctor_get(x_132, 0); lean_inc(x_148); -lean_dec_ref(x_131); -x_37 = x_118; -x_38 = x_147; -x_39 = x_148; -goto block_42; -} -} -} -else -{ -lean_object* x_149; lean_object* x_150; -lean_dec(x_12); -x_149 = lean_ctor_get(x_122, 0); +x_149 = lean_ctor_get(x_132, 1); lean_inc(x_149); -x_150 = lean_ctor_get(x_122, 1); -lean_inc(x_150); -lean_dec_ref(x_122); -x_37 = x_118; -x_38 = x_149; -x_39 = x_150; -goto block_42; +lean_dec_ref(x_132); +x_38 = x_119; +x_39 = x_148; +x_40 = x_149; +goto block_43; } } -block_157: -{ -if (x_154 == 0) -{ -lean_object* x_155; -lean_dec(x_17); -x_155 = lean_array_push(x_23, x_152); -x_118 = x_155; -x_119 = x_153; -goto block_151; } else { +lean_object* x_150; lean_object* x_151; +lean_dec(x_13); +x_150 = lean_ctor_get(x_123, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_123, 1); +lean_inc(x_151); +lean_dec_ref(x_123); +x_38 = x_119; +x_39 = x_150; +x_40 = x_151; +goto block_43; +} +} +block_158: +{ +if (x_155 == 0) +{ lean_object* x_156; -lean_dec_ref(x_8); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_17)) { - x_156 = lean_alloc_ctor(1, 2, 0); -} else { - x_156 = x_17; - lean_ctor_set_tag(x_156, 1); +lean_dec(x_18); +x_156 = lean_array_push(x_24, x_154); +x_119 = x_156; +x_120 = x_153; +goto block_152; } -lean_ctor_set(x_156, 0, x_152); -lean_ctor_set(x_156, 1, x_153); -return x_156; -} -} -block_162: +else { -uint8_t x_160; -x_160 = l_Lean_Exception_isInterrupt(x_158); -if (x_160 == 0) +lean_object* x_157; +lean_dec_ref(x_9); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_is_scalar(x_18)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_18; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_153); +return x_157; +} +} +block_163: { uint8_t x_161; -x_161 = l_Lean_Exception_isRuntime(x_158); -x_152 = x_158; -x_153 = x_159; -x_154 = x_161; -goto block_157; +x_161 = l_Lean_Exception_isInterrupt(x_159); +if (x_161 == 0) +{ +uint8_t x_162; +x_162 = l_Lean_Exception_isRuntime(x_159); +x_153 = x_160; +x_154 = x_159; +x_155 = x_162; +goto block_158; } else { -x_152 = x_158; -x_153 = x_159; -x_154 = x_160; -goto block_157; +x_153 = x_160; +x_154 = x_159; +x_155 = x_161; +goto block_158; } } } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_242; lean_object* x_243; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_315; lean_object* x_316; lean_object* x_349; lean_object* x_350; uint8_t x_351; lean_object* x_355; lean_object* x_356; lean_object* x_360; -x_202 = lean_ctor_get(x_8, 0); -x_203 = lean_ctor_get(x_8, 1); -x_204 = lean_ctor_get(x_8, 2); -x_205 = lean_ctor_get(x_8, 3); -x_206 = lean_ctor_get(x_8, 4); -x_207 = lean_ctor_get(x_8, 5); -x_208 = lean_ctor_get(x_8, 6); -x_209 = lean_ctor_get(x_8, 7); -x_210 = lean_ctor_get(x_8, 8); -x_211 = lean_ctor_get(x_8, 9); -x_212 = lean_ctor_get(x_8, 10); -x_213 = lean_ctor_get(x_8, 11); -x_214 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_215 = lean_ctor_get(x_8, 12); -x_216 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_217 = lean_ctor_get(x_8, 13); -lean_inc(x_217); -lean_inc(x_215); +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_243; lean_object* x_244; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; lean_object* x_300; lean_object* x_316; lean_object* x_317; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_356; lean_object* x_357; lean_object* x_361; +x_203 = lean_ctor_get(x_9, 0); +x_204 = lean_ctor_get(x_9, 1); +x_205 = lean_ctor_get(x_9, 2); +x_206 = lean_ctor_get(x_9, 3); +x_207 = lean_ctor_get(x_9, 4); +x_208 = lean_ctor_get(x_9, 5); +x_209 = lean_ctor_get(x_9, 6); +x_210 = lean_ctor_get(x_9, 7); +x_211 = lean_ctor_get(x_9, 8); +x_212 = lean_ctor_get(x_9, 9); +x_213 = lean_ctor_get(x_9, 10); +x_214 = lean_ctor_get(x_9, 11); +x_215 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_216 = lean_ctor_get(x_9, 12); +x_217 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_218 = lean_ctor_get(x_9, 13); +lean_inc(x_218); +lean_inc(x_216); +lean_inc(x_214); lean_inc(x_213); lean_inc(x_212); lean_inc(x_211); @@ -16081,741 +17073,727 @@ lean_inc(x_206); lean_inc(x_205); lean_inc(x_204); lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_8); -x_218 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -x_219 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; -x_220 = lean_unsigned_to_nat(0u); -x_221 = l_Lean_Doc_tactic___closed__3; -x_222 = l_Lean_replaceRef(x_12, x_207); -lean_dec(x_207); -x_223 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_223, 0, x_202); -lean_ctor_set(x_223, 1, x_203); -lean_ctor_set(x_223, 2, x_204); -lean_ctor_set(x_223, 3, x_205); -lean_ctor_set(x_223, 4, x_206); -lean_ctor_set(x_223, 5, x_222); -lean_ctor_set(x_223, 6, x_208); -lean_ctor_set(x_223, 7, x_209); -lean_ctor_set(x_223, 8, x_210); -lean_ctor_set(x_223, 9, x_211); -lean_ctor_set(x_223, 10, x_212); -lean_ctor_set(x_223, 11, x_213); -lean_ctor_set(x_223, 12, x_215); -lean_ctor_set(x_223, 13, x_217); -lean_ctor_set_uint8(x_223, sizeof(void*)*14, x_214); -lean_ctor_set_uint8(x_223, sizeof(void*)*14 + 1, x_216); -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_360 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_16, x_12, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_13); -if (lean_obj_tag(x_360) == 0) -{ -lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 1); -lean_inc(x_362); -if (lean_is_exclusive(x_360)) { - lean_ctor_release(x_360, 0); - lean_ctor_release(x_360, 1); - x_363 = x_360; -} else { - lean_dec_ref(x_360); - x_363 = lean_box(0); -} -x_364 = l_Lean_Doc_attr___closed__15; -lean_inc(x_361); -x_365 = l_Lean_Syntax_isOfKind(x_361, x_364); -if (x_365 == 0) -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; -lean_dec(x_363); -lean_dec(x_361); -x_366 = l_Lean_Doc_attr___closed__17; -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_367 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_366, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_362); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_367, 1); -lean_inc(x_369); -lean_dec_ref(x_367); -x_355 = x_368; -x_356 = x_369; -goto block_359; -} -else -{ -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -lean_dec_ref(x_223); -lean_dec(x_17); -lean_dec(x_14); lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_370 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_371 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; -x_372 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_361); -x_373 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_373, 0, x_370); -lean_ctor_set(x_373, 1, x_372); -x_374 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_375 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_375, 0, x_374); -x_376 = l_Lean_Doc_name___closed__0; -x_377 = lean_array_push(x_376, x_375); -x_378 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_378, 0, x_373); -lean_ctor_set(x_378, 1, x_377); -if (lean_is_scalar(x_363)) { - x_379 = lean_alloc_ctor(0, 2, 0); +x_219 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +x_220 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Lean_Doc_tactic___closed__3; +x_223 = l_Lean_replaceRef(x_13, x_208); +lean_dec(x_208); +x_224 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_224, 0, x_203); +lean_ctor_set(x_224, 1, x_204); +lean_ctor_set(x_224, 2, x_205); +lean_ctor_set(x_224, 3, x_206); +lean_ctor_set(x_224, 4, x_207); +lean_ctor_set(x_224, 5, x_223); +lean_ctor_set(x_224, 6, x_209); +lean_ctor_set(x_224, 7, x_210); +lean_ctor_set(x_224, 8, x_211); +lean_ctor_set(x_224, 9, x_212); +lean_ctor_set(x_224, 10, x_213); +lean_ctor_set(x_224, 11, x_214); +lean_ctor_set(x_224, 12, x_216); +lean_ctor_set(x_224, 13, x_218); +lean_ctor_set_uint8(x_224, sizeof(void*)*14, x_215); +lean_ctor_set_uint8(x_224, sizeof(void*)*14 + 1, x_217); +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_361 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_17, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_14); +if (lean_obj_tag(x_361) == 0) +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +if (lean_is_exclusive(x_361)) { + lean_ctor_release(x_361, 0); + lean_ctor_release(x_361, 1); + x_364 = x_361; } else { - x_379 = x_363; -} -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_362); -return x_379; + lean_dec_ref(x_361); + x_364 = lean_box(0); } +x_365 = l_Lean_Doc_attr___closed__15; +lean_inc(x_362); +x_366 = l_Lean_Syntax_isOfKind(x_362, x_365); +if (x_366 == 0) +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_dec(x_364); +lean_dec(x_362); +x_367 = l_Lean_Doc_attr___closed__17; +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_368 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_367, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_363); +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +lean_dec_ref(x_368); +x_356 = x_369; +x_357 = x_370; +goto block_360; } else { -lean_object* x_380; lean_object* x_381; -x_380 = lean_ctor_get(x_360, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_360, 1); -lean_inc(x_381); -lean_dec_ref(x_360); -x_355 = x_380; -x_356 = x_381; -goto block_359; -} -block_228: -{ -lean_object* x_226; lean_object* x_227; -x_226 = l_Lean_Doc_attr___closed__2; -x_227 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_226, x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_225); +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +lean_dec_ref(x_224); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_227; +lean_dec_ref(x_2); +x_371 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; +x_372 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; +x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_373, 0, x_372); +lean_ctor_set(x_373, 1, x_362); +x_374 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_374, 0, x_371); +lean_ctor_set(x_374, 1, x_373); +x_375 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_376 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_376, 0, x_375); +x_377 = l_Lean_Doc_name___closed__5; +x_378 = lean_array_push(x_377, x_376); +x_379 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_379, 0, x_374); +lean_ctor_set(x_379, 1, x_378); +if (lean_is_scalar(x_364)) { + x_380 = lean_alloc_ctor(0, 2, 0); +} else { + x_380 = x_364; +} +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_363); +return x_380; } -block_235: -{ -if (x_232 == 0) -{ -lean_object* x_233; -lean_dec(x_14); -x_233 = lean_array_push(x_229, x_230); -x_224 = x_233; -x_225 = x_231; -goto block_228; } else { +lean_object* x_381; lean_object* x_382; +x_381 = lean_ctor_get(x_361, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_361, 1); +lean_inc(x_382); +lean_dec_ref(x_361); +x_356 = x_381; +x_357 = x_382; +goto block_360; +} +block_229: +{ +lean_object* x_227; lean_object* x_228; +x_227 = l_Lean_Doc_attr___closed__2; +x_228 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_227, x_225, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_226); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_228; +} +block_236: +{ +if (x_233 == 0) +{ lean_object* x_234; -lean_dec_ref(x_229); -lean_dec_ref(x_223); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_14)) { - x_234 = lean_alloc_ctor(1, 2, 0); -} else { - x_234 = x_14; - lean_ctor_set_tag(x_234, 1); -} -lean_ctor_set(x_234, 0, x_230); -lean_ctor_set(x_234, 1, x_231); -return x_234; -} -} -block_241: -{ -uint8_t x_239; -x_239 = l_Lean_Exception_isInterrupt(x_237); -if (x_239 == 0) -{ -uint8_t x_240; -x_240 = l_Lean_Exception_isRuntime(x_237); -x_229 = x_236; -x_230 = x_237; -x_231 = x_238; -x_232 = x_240; -goto block_235; +lean_dec(x_15); +x_234 = lean_array_push(x_230, x_231); +x_225 = x_234; +x_226 = x_232; +goto block_229; } else { -x_229 = x_236; +lean_object* x_235; +lean_dec_ref(x_230); +lean_dec_ref(x_224); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_is_scalar(x_15)) { + x_235 = lean_alloc_ctor(1, 2, 0); +} else { + x_235 = x_15; + lean_ctor_set_tag(x_235, 1); +} +lean_ctor_set(x_235, 0, x_231); +lean_ctor_set(x_235, 1, x_232); +return x_235; +} +} +block_242: +{ +uint8_t x_240; +x_240 = l_Lean_Exception_isInterrupt(x_238); +if (x_240 == 0) +{ +uint8_t x_241; +x_241 = l_Lean_Exception_isRuntime(x_238); x_230 = x_237; x_231 = x_238; x_232 = x_239; -goto block_235; +x_233 = x_241; +goto block_236; +} +else +{ +x_230 = x_237; +x_231 = x_238; +x_232 = x_239; +x_233 = x_240; +goto block_236; } } -block_253: +block_254: { -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; -lean_dec_ref(x_242); -lean_dec(x_14); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); if (lean_obj_tag(x_244) == 0) { -lean_object* x_245; lean_object* x_246; -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); +lean_object* x_245; lean_dec_ref(x_243); +lean_dec(x_15); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +if (lean_obj_tag(x_245) == 0) +{ +lean_object* x_246; lean_object* x_247; x_246 = lean_ctor_get(x_244, 1); lean_inc(x_246); lean_dec_ref(x_244); -x_224 = x_246; -x_225 = x_245; -goto block_228; -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -lean_dec_ref(x_223); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_247 = lean_ctor_get(x_243, 1); +x_247 = lean_ctor_get(x_245, 1); lean_inc(x_247); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_248 = x_243; -} else { - lean_dec_ref(x_243); - x_248 = lean_box(0); -} -x_249 = lean_ctor_get(x_244, 0); -lean_inc(x_249); -lean_dec_ref(x_244); -if (lean_is_scalar(x_248)) { - x_250 = lean_alloc_ctor(0, 2, 0); -} else { - x_250 = x_248; -} -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_247); -return x_250; -} +lean_dec_ref(x_245); +x_225 = x_247; +x_226 = x_246; +goto block_229; } else { -lean_object* x_251; lean_object* x_252; -x_251 = lean_ctor_get(x_243, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_243, 1); -lean_inc(x_252); -lean_dec_ref(x_243); -x_236 = x_242; -x_237 = x_251; -x_238 = x_252; -goto block_241; -} -} -block_275: -{ -size_t x_258; size_t x_259; lean_object* x_260; uint8_t x_261; -x_258 = lean_array_size(x_257); -x_259 = 0; -x_260 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1(x_258, x_259, x_257); -x_261 = l_Array_isEmpty___redArg(x_260); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_262 = l_Lean_Doc_attr___closed__4; -x_263 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_263, 0, x_12); -x_264 = lean_box(0); -x_265 = lean_box(x_261); -x_266 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_266, 0, x_262); -lean_closure_set(x_266, 1, x_260); -lean_closure_set(x_266, 2, x_263); -lean_closure_set(x_266, 3, x_264); -lean_closure_set(x_266, 4, x_265); -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_267 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_266, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_255); -if (lean_obj_tag(x_267) == 0) -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec_ref(x_267); -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_270 = lean_apply_10(x_256, x_268, x_2, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_269); -x_242 = x_254; -x_243 = x_270; -goto block_253; -} -else -{ -lean_object* x_271; lean_object* x_272; -lean_dec_ref(x_256); -x_271 = lean_ctor_get(x_267, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_267, 1); -lean_inc(x_272); -lean_dec_ref(x_267); -x_236 = x_254; -x_237 = x_271; -x_238 = x_272; -goto block_241; -} -} -else -{ -lean_object* x_273; lean_object* x_274; -lean_dec_ref(x_260); -lean_dec(x_12); -x_273 = l_Lean_Doc_attr___closed__5; -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_274 = lean_apply_10(x_256, x_273, x_2, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_255); -x_242 = x_254; -x_243 = x_274; -goto block_253; -} -} -block_284: -{ -lean_object* x_283; -lean_dec(x_281); -x_283 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(x_280, x_279, x_282); -lean_dec(x_282); -x_254 = x_276; -x_255 = x_277; -x_256 = x_278; -x_257 = x_283; -goto block_275; -} -block_293: -{ -uint8_t x_292; -x_292 = lean_nat_dec_le(x_291, x_287); -if (x_292 == 0) -{ -lean_dec(x_287); -lean_inc(x_291); -x_276 = x_285; -x_277 = x_286; -x_278 = x_288; -x_279 = x_291; -x_280 = x_289; -x_281 = x_290; -x_282 = x_291; -goto block_284; -} -else -{ -x_276 = x_285; -x_277 = x_286; -x_278 = x_288; -x_279 = x_291; -x_280 = x_289; -x_281 = x_290; -x_282 = x_287; -goto block_284; -} -} -block_314: -{ -lean_object* x_300; -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_300 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_218, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_298); -if (lean_obj_tag(x_300) == 0) -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec_ref(x_300); -x_303 = l_Lean_getAttributeNames(x_301); -x_304 = lean_array_mk(x_303); -x_305 = lean_array_get_size(x_304); -x_306 = l_Array_filterMapM___at___Lean_Doc_attr_spec__2(x_294, x_296, x_299, x_304, x_220, x_305); -lean_dec(x_305); -lean_dec_ref(x_304); -lean_dec(x_299); -x_307 = lean_array_get_size(x_306); -x_308 = lean_nat_dec_eq(x_307, x_220); -if (x_308 == 0) -{ -lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_309 = lean_unsigned_to_nat(1u); -x_310 = lean_nat_sub(x_307, x_309); -x_311 = lean_nat_dec_le(x_220, x_310); -if (x_311 == 0) -{ -lean_inc(x_310); -x_285 = x_295; -x_286 = x_302; -x_287 = x_310; -x_288 = x_297; -x_289 = x_306; -x_290 = x_307; -x_291 = x_310; -goto block_293; -} -else -{ -x_285 = x_295; -x_286 = x_302; -x_287 = x_310; -x_288 = x_297; -x_289 = x_306; -x_290 = x_307; -x_291 = x_220; -goto block_293; -} -} -else -{ -lean_dec(x_307); -x_254 = x_295; -x_255 = x_302; -x_256 = x_297; -x_257 = x_306; -goto block_275; -} -} -else -{ -lean_object* x_312; lean_object* x_313; -lean_dec(x_299); -lean_dec_ref(x_297); -lean_dec_ref(x_296); -lean_dec(x_12); -x_312 = lean_ctor_get(x_300, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_300, 1); -lean_inc(x_313); -lean_dec_ref(x_300); -x_236 = x_295; -x_237 = x_312; -x_238 = x_313; -goto block_241; -} -} -block_348: -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_317 = l_Lean_Doc_attr___closed__8; -x_318 = lean_ctor_get(x_317, 1); -lean_inc_ref(x_318); -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_319 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_318, x_12, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_316); -if (lean_obj_tag(x_319) == 0) -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); -lean_inc(x_321); -lean_dec_ref(x_319); -lean_inc_ref(x_315); -lean_inc(x_12); -lean_inc(x_320); -x_322 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__0___boxed), 14, 4); -lean_closure_set(x_322, 0, x_219); -lean_closure_set(x_322, 1, x_320); -lean_closure_set(x_322, 2, x_12); -lean_closure_set(x_322, 3, x_315); -lean_inc(x_320); -x_323 = l_Lean_Syntax_getKind(x_320); -x_324 = l_Lean_Doc_attr___closed__12; -x_325 = lean_name_eq(x_323, x_324); -lean_dec(x_323); -if (x_325 == 0) -{ -lean_object* x_326; lean_object* x_327; -lean_dec_ref(x_322); -x_326 = lean_box(0); -lean_inc_ref(x_315); -x_327 = l_Lean_Doc_attr___lam__0(x_219, x_320, x_12, x_315, x_326, x_2, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_321); -lean_dec(x_12); -x_242 = x_315; -x_243 = x_327; -goto block_253; -} -else -{ -lean_object* x_328; -lean_inc(x_9); -lean_inc_ref(x_223); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_328 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_218, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_321); -if (lean_obj_tag(x_328) == 0) -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; uint8_t x_334; -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec_ref(x_328); -x_331 = l_Lean_Syntax_getArg(x_320, x_220); -x_332 = l_Lean_Syntax_getId(x_331); -lean_dec(x_331); -x_333 = lean_erase_macro_scopes(x_332); -x_334 = l_Lean_isAttribute(x_329, x_333); -if (x_334 == 0) -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; -lean_inc(x_333); -x_335 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__2___boxed), 13, 3); -lean_closure_set(x_335, 0, x_333); -lean_closure_set(x_335, 1, x_320); -lean_closure_set(x_335, 2, x_322); -x_336 = l_Lean_Name_toString(x_333, x_325); -x_337 = lean_unsigned_to_nat(2u); -x_338 = lean_string_length(x_336); -x_339 = lean_unsigned_to_nat(3u); -x_340 = lean_nat_div(x_338, x_339); -lean_dec(x_338); -x_341 = lean_nat_dec_le(x_337, x_340); -if (x_341 == 0) -{ -lean_dec(x_340); -x_294 = x_325; -x_295 = x_315; -x_296 = x_336; -x_297 = x_335; -x_298 = x_330; -x_299 = x_337; -goto block_314; -} -else -{ -x_294 = x_325; -x_295 = x_315; -x_296 = x_336; -x_297 = x_335; -x_298 = x_330; -x_299 = x_340; -goto block_314; -} -} -else -{ -lean_object* x_342; lean_object* x_343; -lean_dec(x_333); -lean_dec_ref(x_322); -x_342 = lean_box(0); -lean_inc_ref(x_315); -x_343 = l_Lean_Doc_attr___lam__0(x_219, x_320, x_12, x_315, x_342, x_2, x_3, x_4, x_5, x_6, x_7, x_223, x_9, x_330); -lean_dec(x_12); -x_242 = x_315; -x_243 = x_343; -goto block_253; -} -} -else -{ -lean_object* x_344; lean_object* x_345; -lean_dec_ref(x_322); -lean_dec(x_320); -lean_dec(x_12); -x_344 = lean_ctor_get(x_328, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_328, 1); -lean_inc(x_345); -lean_dec_ref(x_328); -x_236 = x_315; -x_237 = x_344; -x_238 = x_345; -goto block_241; -} -} -} -else -{ -lean_object* x_346; lean_object* x_347; -lean_dec(x_12); -x_346 = lean_ctor_get(x_319, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_319, 1); -lean_inc(x_347); -lean_dec_ref(x_319); -x_236 = x_315; -x_237 = x_346; -x_238 = x_347; -goto block_241; -} -} -block_354: -{ -if (x_351 == 0) -{ -lean_object* x_352; -lean_dec(x_17); -x_352 = lean_array_push(x_221, x_349); -x_315 = x_352; -x_316 = x_350; -goto block_348; -} -else -{ -lean_object* x_353; -lean_dec_ref(x_223); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_17)) { - x_353 = lean_alloc_ctor(1, 2, 0); -} else { - x_353 = x_17; - lean_ctor_set_tag(x_353, 1); -} -lean_ctor_set(x_353, 0, x_349); -lean_ctor_set(x_353, 1, x_350); -return x_353; -} -} -block_359: -{ -uint8_t x_357; -x_357 = l_Lean_Exception_isInterrupt(x_355); -if (x_357 == 0) -{ -uint8_t x_358; -x_358 = l_Lean_Exception_isRuntime(x_355); -x_349 = x_355; -x_350 = x_356; -x_351 = x_358; -goto block_354; -} -else -{ -x_349 = x_355; -x_350 = x_356; -x_351 = x_357; -goto block_354; -} -} -} -} -else -{ -uint8_t x_382; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_382 = !lean_is_exclusive(x_11); -if (x_382 == 0) -{ -return x_11; -} -else -{ -lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_383 = lean_ctor_get(x_11, 0); -x_384 = lean_ctor_get(x_11, 1); -lean_inc(x_384); -lean_inc(x_383); -lean_dec(x_11); -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_383); -lean_ctor_set(x_385, 1, x_384); -return x_385; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec_ref(x_224); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); +lean_dec_ref(x_2); +x_248 = lean_ctor_get(x_244, 1); +lean_inc(x_248); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_249 = x_244; +} else { + lean_dec_ref(x_244); + x_249 = lean_box(0); +} +x_250 = lean_ctor_get(x_245, 0); +lean_inc(x_250); +lean_dec_ref(x_245); +if (lean_is_scalar(x_249)) { + x_251 = lean_alloc_ctor(0, 2, 0); +} else { + x_251 = x_249; +} +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_248); +return x_251; +} +} +else +{ +lean_object* x_252; lean_object* x_253; +x_252 = lean_ctor_get(x_244, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_244, 1); +lean_inc(x_253); +lean_dec_ref(x_244); +x_237 = x_243; +x_238 = x_252; +x_239 = x_253; +goto block_242; +} +} +block_276: +{ +size_t x_259; size_t x_260; lean_object* x_261; uint8_t x_262; +x_259 = lean_array_size(x_258); +x_260 = 0; +x_261 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(x_259, x_260, x_258); +x_262 = l_Array_isEmpty___redArg(x_261); +if (x_262 == 0) +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_263 = l_Lean_Doc_attr___closed__4; +x_264 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_264, 0, x_13); +x_265 = lean_box(0); +x_266 = lean_box(x_262); +x_267 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_267, 0, x_263); +lean_closure_set(x_267, 1, x_261); +lean_closure_set(x_267, 2, x_264); +lean_closure_set(x_267, 3, x_265); +lean_closure_set(x_267, 4, x_266); +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_268 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_267, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_257); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec_ref(x_268); +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_271 = lean_apply_11(x_256, x_269, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_270); +x_243 = x_255; +x_244 = x_271; +goto block_254; +} +else +{ +lean_object* x_272; lean_object* x_273; +lean_dec_ref(x_256); +x_272 = lean_ctor_get(x_268, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_268, 1); +lean_inc(x_273); +lean_dec_ref(x_268); +x_237 = x_255; +x_238 = x_272; +x_239 = x_273; +goto block_242; +} +} +else +{ +lean_object* x_274; lean_object* x_275; +lean_dec_ref(x_261); +lean_dec(x_13); +x_274 = l_Lean_Doc_attr___closed__5; +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_275 = lean_apply_11(x_256, x_274, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_257); +x_243 = x_255; +x_244 = x_275; +goto block_254; +} +} +block_285: +{ +lean_object* x_284; +lean_dec(x_281); +x_284 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_279, x_282, x_283); +lean_dec(x_283); +x_255 = x_277; +x_256 = x_278; +x_257 = x_280; +x_258 = x_284; +goto block_276; +} +block_294: +{ +uint8_t x_293; +x_293 = lean_nat_dec_le(x_292, x_287); +if (x_293 == 0) +{ +lean_dec(x_287); +lean_inc(x_292); +x_277 = x_286; +x_278 = x_289; +x_279 = x_288; +x_280 = x_291; +x_281 = x_290; +x_282 = x_292; +x_283 = x_292; +goto block_285; +} +else +{ +x_277 = x_286; +x_278 = x_289; +x_279 = x_288; +x_280 = x_291; +x_281 = x_290; +x_282 = x_292; +x_283 = x_287; +goto block_285; +} +} +block_315: +{ +lean_object* x_301; +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_301 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_219, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_296); +if (lean_obj_tag(x_301) == 0) +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec_ref(x_301); +x_304 = l_Lean_getAttributeNames(x_302); +x_305 = lean_array_mk(x_304); +x_306 = lean_array_get_size(x_305); +x_307 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_299, x_298, x_300, x_305, x_221, x_306); +lean_dec(x_306); +lean_dec_ref(x_305); +lean_dec(x_300); +x_308 = lean_array_get_size(x_307); +x_309 = lean_nat_dec_eq(x_308, x_221); +if (x_309 == 0) +{ +lean_object* x_310; lean_object* x_311; uint8_t x_312; +x_310 = lean_unsigned_to_nat(1u); +x_311 = lean_nat_sub(x_308, x_310); +x_312 = lean_nat_dec_le(x_221, x_311); +if (x_312 == 0) +{ +lean_inc(x_311); +x_286 = x_295; +x_287 = x_311; +x_288 = x_307; +x_289 = x_297; +x_290 = x_308; +x_291 = x_303; +x_292 = x_311; +goto block_294; +} +else +{ +x_286 = x_295; +x_287 = x_311; +x_288 = x_307; +x_289 = x_297; +x_290 = x_308; +x_291 = x_303; +x_292 = x_221; +goto block_294; +} +} +else +{ +lean_dec(x_308); +x_255 = x_295; +x_256 = x_297; +x_257 = x_303; +x_258 = x_307; +goto block_276; +} +} +else +{ +lean_object* x_313; lean_object* x_314; +lean_dec(x_300); +lean_dec_ref(x_298); +lean_dec_ref(x_297); +lean_dec(x_13); +x_313 = lean_ctor_get(x_301, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_301, 1); +lean_inc(x_314); +lean_dec_ref(x_301); +x_237 = x_295; +x_238 = x_313; +x_239 = x_314; +goto block_242; +} +} +block_349: +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_318 = l_Lean_Doc_attr___closed__8; +x_319 = lean_ctor_get(x_318, 1); +lean_inc_ref(x_319); +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_320 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_319, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_317); +if (lean_obj_tag(x_320) == 0) +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec_ref(x_320); +lean_inc_ref(x_316); +lean_inc(x_13); +lean_inc(x_321); +x_323 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__0___boxed), 15, 4); +lean_closure_set(x_323, 0, x_220); +lean_closure_set(x_323, 1, x_321); +lean_closure_set(x_323, 2, x_13); +lean_closure_set(x_323, 3, x_316); +lean_inc(x_321); +x_324 = l_Lean_Syntax_getKind(x_321); +x_325 = l_Lean_Doc_attr___closed__12; +x_326 = lean_name_eq(x_324, x_325); +lean_dec(x_324); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; +lean_dec_ref(x_323); +x_327 = lean_box(0); +lean_inc_ref(x_316); +x_328 = l_Lean_Doc_attr___lam__0(x_220, x_321, x_13, x_316, x_327, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_322); +lean_dec(x_13); +x_243 = x_316; +x_244 = x_328; +goto block_254; +} +else +{ +lean_object* x_329; +lean_inc(x_10); +lean_inc_ref(x_224); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_329 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_219, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_322); +if (lean_obj_tag(x_329) == 0) +{ +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_330 = lean_ctor_get(x_329, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_329, 1); +lean_inc(x_331); +lean_dec_ref(x_329); +x_332 = l_Lean_Syntax_getArg(x_321, x_221); +x_333 = l_Lean_Syntax_getId(x_332); +lean_dec(x_332); +x_334 = lean_erase_macro_scopes(x_333); +x_335 = l_Lean_isAttribute(x_330, x_334); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; +lean_inc(x_334); +x_336 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__2___boxed), 14, 3); +lean_closure_set(x_336, 0, x_334); +lean_closure_set(x_336, 1, x_321); +lean_closure_set(x_336, 2, x_323); +x_337 = l_Lean_Name_toString(x_334, x_326); +x_338 = lean_unsigned_to_nat(2u); +x_339 = lean_string_length(x_337); +x_340 = lean_unsigned_to_nat(3u); +x_341 = lean_nat_div(x_339, x_340); +lean_dec(x_339); +x_342 = lean_nat_dec_le(x_338, x_341); +if (x_342 == 0) +{ +lean_dec(x_341); +x_295 = x_316; +x_296 = x_331; +x_297 = x_336; +x_298 = x_337; +x_299 = x_326; +x_300 = x_338; +goto block_315; +} +else +{ +x_295 = x_316; +x_296 = x_331; +x_297 = x_336; +x_298 = x_337; +x_299 = x_326; +x_300 = x_341; +goto block_315; +} +} +else +{ +lean_object* x_343; lean_object* x_344; +lean_dec(x_334); +lean_dec_ref(x_323); +x_343 = lean_box(0); +lean_inc_ref(x_316); +x_344 = l_Lean_Doc_attr___lam__0(x_220, x_321, x_13, x_316, x_343, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_331); +lean_dec(x_13); +x_243 = x_316; +x_244 = x_344; +goto block_254; +} +} +else +{ +lean_object* x_345; lean_object* x_346; +lean_dec_ref(x_323); +lean_dec(x_321); +lean_dec(x_13); +x_345 = lean_ctor_get(x_329, 0); +lean_inc(x_345); +x_346 = lean_ctor_get(x_329, 1); +lean_inc(x_346); +lean_dec_ref(x_329); +x_237 = x_316; +x_238 = x_345; +x_239 = x_346; +goto block_242; +} +} +} +else +{ +lean_object* x_347; lean_object* x_348; +lean_dec(x_13); +x_347 = lean_ctor_get(x_320, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_320, 1); +lean_inc(x_348); +lean_dec_ref(x_320); +x_237 = x_316; +x_238 = x_347; +x_239 = x_348; +goto block_242; +} +} +block_355: +{ +if (x_352 == 0) +{ +lean_object* x_353; +lean_dec(x_18); +x_353 = lean_array_push(x_222, x_351); +x_316 = x_353; +x_317 = x_350; +goto block_349; +} +else +{ +lean_object* x_354; +lean_dec_ref(x_224); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_is_scalar(x_18)) { + x_354 = lean_alloc_ctor(1, 2, 0); +} else { + x_354 = x_18; + lean_ctor_set_tag(x_354, 1); +} +lean_ctor_set(x_354, 0, x_351); +lean_ctor_set(x_354, 1, x_350); +return x_354; +} +} +block_360: +{ +uint8_t x_358; +x_358 = l_Lean_Exception_isInterrupt(x_356); +if (x_358 == 0) +{ +uint8_t x_359; +x_359 = l_Lean_Exception_isRuntime(x_356); +x_350 = x_357; +x_351 = x_356; +x_352 = x_359; +goto block_355; +} +else +{ +x_350 = x_357; +x_351 = x_356; +x_352 = x_358; +goto block_355; +} +} +} +} +else +{ +uint8_t x_383; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_383 = !lean_is_exclusive(x_12); +if (x_383 == 0) +{ return x_12; } +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; +x_384 = lean_ctor_get(x_12, 0); +x_385 = lean_ctor_get(x_12, 1); +lean_inc(x_385); +lean_inc(x_384); +lean_dec(x_12); +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); +return x_386; } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -16823,11 +17801,11 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__1(x_4, x_5, x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; size_t x_9; size_t x_10; lean_object* x_11; @@ -16836,18 +17814,18 @@ x_9 = lean_unbox_usize(x_5); lean_dec(x_5); x_10 = lean_unbox_usize(x_6); lean_dec(x_6); -x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__2_spec__2(x_8, x_2, x_3, x_4, x_9, x_10, x_7); +x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1(x_8, x_2, x_3, x_4, x_9, x_10, x_7); lean_dec_ref(x_4); lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_attr_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_1); -x_8 = l_Array_filterMapM___at___Lean_Doc_attr_spec__2(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec_ref(x_4); @@ -16855,31 +17833,31 @@ lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___lam__0(x_1, x_2); +x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0(x_1, x_2); lean_dec_ref(x_2); lean_dec_ref(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___redArg(x_1, x_2, x_3); +x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); lean_dec(x_1); return x_8; @@ -16898,39 +17876,40 @@ lean_dec_ref(x_6); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Doc_attr___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Doc_attr___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); +x_15 = l_Lean_Doc_attr___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Doc_attr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_14; -x_14 = l_Lean_Doc_attr___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_attr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_attr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Doc_attr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_1); -return x_11; +return x_12; } } static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0() { @@ -16993,221 +17972,222 @@ x_1 = lean_mk_string_unchecked("true", 4, 4); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_18; lean_object* x_19; lean_object* x_36; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_18 = lean_unsigned_to_nat(3u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_36 = l_Lean_Syntax_isStrLit_x3f(x_19); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; -x_37 = l_Lean_Syntax_isNatLit_x3f(x_19); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_19; lean_object* x_20; lean_object* x_37; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_19 = lean_unsigned_to_nat(3u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_37 = l_Lean_Syntax_isStrLit_x3f(x_20); if (lean_obj_tag(x_37) == 0) { -if (lean_obj_tag(x_19) == 2) +lean_object* x_38; +x_38 = l_Lean_Syntax_isNatLit_x3f(x_20); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_19, 1); -lean_inc_ref(x_38); -x_39 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__6; -x_40 = lean_string_dec_eq(x_38, x_39); -lean_dec_ref(x_38); -if (x_40 == 0) +if (lean_obj_tag(x_20) == 2) { -goto block_35; +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_20, 1); +lean_inc_ref(x_39); +x_40 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__6; +x_41 = lean_string_dec_eq(x_39, x_40); +lean_dec_ref(x_39); +if (x_41 == 0) +{ +goto block_36; } else { -lean_object* x_41; -lean_dec_ref(x_19); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_41 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_41, 0, x_40); -x_13 = x_41; -x_14 = x_10; -goto block_17; +lean_object* x_42; +lean_dec_ref(x_20); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_42 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_42, 0, x_41); +x_14 = x_42; +x_15 = x_11; +goto block_18; } } else { -goto block_35; +goto block_36; } } else { -uint8_t x_42; -lean_dec(x_19); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_42 = !lean_is_exclusive(x_37); -if (x_42 == 0) +uint8_t x_43; +lean_dec(x_20); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_43 = !lean_is_exclusive(x_38); +if (x_43 == 0) { -lean_ctor_set_tag(x_37, 3); -x_13 = x_37; -x_14 = x_10; -goto block_17; +lean_ctor_set_tag(x_38, 3); +x_14 = x_38; +x_15 = x_11; +goto block_18; } else { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_37, 0); -lean_inc(x_43); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_38, 0); +lean_inc(x_44); +lean_dec(x_38); +x_45 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_14 = x_45; +x_15 = x_11; +goto block_18; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_20); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_46 = !lean_is_exclusive(x_37); +if (x_46 == 0) +{ +lean_ctor_set_tag(x_37, 0); +x_14 = x_37; +x_15 = x_11; +goto block_18; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_37, 0); +lean_inc(x_47); lean_dec(x_37); -x_44 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_13 = x_44; -x_14 = x_10; -goto block_17; +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_14 = x_48; +x_15 = x_11; +goto block_18; } } -} -else +block_18: { -uint8_t x_45; -lean_dec(x_19); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_45 = !lean_is_exclusive(x_36); -if (x_45 == 0) -{ -lean_ctor_set_tag(x_36, 0); -x_13 = x_36; -x_14 = x_10; -goto block_17; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_36, 0); -lean_inc(x_46); -lean_dec(x_36); -x_47 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_13 = x_47; -x_14 = x_10; -goto block_17; -} -} -block_17: -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_13); +lean_object* x_16; lean_object* x_17; x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 0, x_13); lean_ctor_set(x_16, 1, x_14); -return x_16; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } -block_30: +block_31: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1; -lean_inc(x_19); -x_21 = l_Lean_MessageData_ofSyntax(x_19); -x_22 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__3; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_19, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_19); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1; +lean_inc(x_20); +x_22 = l_Lean_MessageData_ofSyntax(x_20); +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__3; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_20, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_20); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -return x_25; +return x_26; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } -block_35: +block_36: { -if (lean_obj_tag(x_19) == 2) +if (lean_obj_tag(x_20) == 2) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = lean_ctor_get(x_19, 1); -lean_inc_ref(x_31); -x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__4; -x_33 = lean_string_dec_eq(x_31, x_32); -lean_dec_ref(x_31); -if (x_33 == 0) +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_20, 1); +lean_inc_ref(x_32); +x_33 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__4; +x_34 = lean_string_dec_eq(x_32, x_33); +lean_dec_ref(x_32); +if (x_34 == 0) { -lean_dec(x_12); -goto block_30; +lean_dec(x_13); +goto block_31; } else { -lean_object* x_34; -lean_dec_ref(x_19); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_34 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__5; -x_13 = x_34; -x_14 = x_10; -goto block_17; +lean_object* x_35; +lean_dec_ref(x_20); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_35 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__5; +x_14 = x_35; +x_15 = x_11; +goto block_18; } } else { -lean_dec(x_12); -goto block_30; +lean_dec(x_13); +goto block_31; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_11; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } static lean_object* _init_l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__0() { @@ -17257,16 +18237,16 @@ x_13 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at____ x_14 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__2(lean_object* x_1) { @@ -17370,7 +18350,7 @@ static lean_object* _init_l___private_Lean_Elab_SetOption_0__Lean_Elab_validateO _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2; +x_1 = l_Lean_Doc_checkNameExists___redArg___closed__7; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -17393,345 +18373,873 @@ x_1 = lean_mk_string_unchecked("-", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(x_3); -if (lean_obj_tag(x_13) == 0) -{ lean_object* x_14; +x_14 = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(x_3); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_dec_ref(x_2); -x_14 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_37; lean_object* x_98; -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec_ref(x_13); -x_98 = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(x_2); -if (lean_obj_tag(x_98) == 0) +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_38; lean_object* x_99; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec_ref(x_14); +x_99 = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(x_2); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_99; lean_object* x_100; -x_99 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_100 = l_panic___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__2(x_99); -x_37 = x_100; -goto block_97; +lean_object* x_100; lean_object* x_101; +x_100 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_101 = l_panic___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__2(x_100); +x_38 = x_101; +goto block_98; } else { -lean_object* x_101; -x_101 = lean_ctor_get(x_98, 0); -lean_inc(x_101); -lean_dec_ref(x_98); -x_37 = x_101; -goto block_97; +lean_object* x_102; +x_102 = lean_ctor_get(x_99, 0); +lean_inc(x_102); +lean_dec_ref(x_99); +x_38 = x_102; +goto block_98; } -block_36: +block_37: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_19 = l_Lean_MessageData_ofFormat(x_18); -x_20 = l_Lean_indentD(x_19); -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__1; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_MessageData_ofExpr(x_17); -x_25 = l_Lean_indentD(x_24); -x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_23); -lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__3; -x_28 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_MessageData_ofName(x_1); -x_30 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__5; -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_indentExpr(x_15); -x_34 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_35; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_20 = l_Lean_MessageData_ofFormat(x_19); +x_21 = l_Lean_indentD(x_20); +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_21); +x_23 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_MessageData_ofExpr(x_17); +x_26 = l_Lean_indentD(x_25); +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__3; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofName(x_1); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__5; +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_indentExpr(x_16); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_36; } -block_97: +block_98: { -lean_object* x_38; -x_38 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__7; +lean_object* x_39; +x_39 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__7; switch (lean_obj_tag(x_2)) { case 0: { -uint8_t x_39; -x_39 = !lean_is_exclusive(x_2); -if (x_39 == 0) +uint8_t x_40; +x_40 = !lean_is_exclusive(x_2); +if (x_40 == 0) { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_2, 0); -x_41 = l_String_quote(x_40); +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_2, 0); +x_42 = l_String_quote(x_41); lean_ctor_set_tag(x_2, 3); -lean_ctor_set(x_2, 0, x_41); -x_16 = x_38; -x_17 = x_37; -x_18 = x_2; -goto block_36; +lean_ctor_set(x_2, 0, x_42); +x_17 = x_38; +x_18 = x_39; +x_19 = x_2; +goto block_37; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_2, 0); -lean_inc(x_42); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_2, 0); +lean_inc(x_43); lean_dec(x_2); -x_43 = l_String_quote(x_42); -x_44 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_16 = x_38; -x_17 = x_37; -x_18 = x_44; -goto block_36; +x_44 = l_String_quote(x_43); +x_45 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_17 = x_38; +x_18 = x_39; +x_19 = x_45; +goto block_37; } } case 1: { -uint8_t x_45; -x_45 = lean_ctor_get_uint8(x_2, 0); +uint8_t x_46; +x_46 = lean_ctor_get_uint8(x_2, 0); lean_dec_ref(x_2); -if (x_45 == 0) +if (x_46 == 0) { -lean_object* x_46; -x_46 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__8; -x_16 = x_38; -x_17 = x_37; -x_18 = x_46; -goto block_36; +lean_object* x_47; +x_47 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__8; +x_17 = x_38; +x_18 = x_39; +x_19 = x_47; +goto block_37; } else { -lean_object* x_47; -x_47 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__9; -x_16 = x_38; -x_17 = x_37; -x_18 = x_47; -goto block_36; +lean_object* x_48; +x_48 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__9; +x_17 = x_38; +x_18 = x_39; +x_19 = x_48; +goto block_37; } } case 2: { -uint8_t x_48; -x_48 = !lean_is_exclusive(x_2); -if (x_48 == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_2); +if (x_49 == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_2, 0); -x_50 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; -x_51 = 1; -x_52 = l_Lean_Name_toString(x_49, x_51); +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; +x_50 = lean_ctor_get(x_2, 0); +x_51 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; +x_52 = 1; +x_53 = l_Lean_Name_toString(x_50, x_52); lean_ctor_set_tag(x_2, 3); -lean_ctor_set(x_2, 0, x_52); -x_53 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_2); -x_16 = x_38; -x_17 = x_37; -x_18 = x_53; -goto block_36; +lean_ctor_set(x_2, 0, x_53); +x_54 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_2); +x_17 = x_38; +x_18 = x_39; +x_19 = x_54; +goto block_37; } else { -lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_54 = lean_ctor_get(x_2, 0); -lean_inc(x_54); +lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_55 = lean_ctor_get(x_2, 0); +lean_inc(x_55); lean_dec(x_2); -x_55 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; -x_56 = 1; -x_57 = l_Lean_Name_toString(x_54, x_56); -x_58 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_58, 0, x_57); -x_59 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_59, 0, x_55); -lean_ctor_set(x_59, 1, x_58); -x_16 = x_38; -x_17 = x_37; -x_18 = x_59; -goto block_36; +x_56 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; +x_57 = 1; +x_58 = l_Lean_Name_toString(x_55, x_57); +x_59 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +x_17 = x_38; +x_18 = x_39; +x_19 = x_60; +goto block_37; } } case 3: { -uint8_t x_60; -x_60 = !lean_is_exclusive(x_2); -if (x_60 == 0) +uint8_t x_61; +x_61 = !lean_is_exclusive(x_2); +if (x_61 == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_2, 0); -x_62 = l_Nat_reprFast(x_61); -lean_ctor_set(x_2, 0, x_62); -x_16 = x_38; -x_17 = x_37; -x_18 = x_2; -goto block_36; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_2, 0); +x_63 = l_Nat_reprFast(x_62); +lean_ctor_set(x_2, 0, x_63); +x_17 = x_38; +x_18 = x_39; +x_19 = x_2; +goto block_37; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_2, 0); -lean_inc(x_63); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_2, 0); +lean_inc(x_64); lean_dec(x_2); -x_64 = l_Nat_reprFast(x_63); -x_65 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_65, 0, x_64); -x_16 = x_38; -x_17 = x_37; -x_18 = x_65; -goto block_36; +x_65 = l_Nat_reprFast(x_64); +x_66 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_17 = x_38; +x_18 = x_39; +x_19 = x_66; +goto block_37; } } case 4: { -uint8_t x_66; -x_66 = !lean_is_exclusive(x_2); -if (x_66 == 0) +uint8_t x_67; +x_67 = !lean_is_exclusive(x_2); +if (x_67 == 0) { -lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_67 = lean_ctor_get(x_2, 0); -x_68 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; -x_69 = lean_int_dec_lt(x_67, x_68); -if (x_69 == 0) +lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_68 = lean_ctor_get(x_2, 0); +x_69 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; +x_70 = lean_int_dec_lt(x_68, x_69); +if (x_70 == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = lean_nat_abs(x_67); -lean_dec(x_67); -x_71 = l_Nat_reprFast(x_70); +lean_object* x_71; lean_object* x_72; +x_71 = lean_nat_abs(x_68); +lean_dec(x_68); +x_72 = l_Nat_reprFast(x_71); lean_ctor_set_tag(x_2, 3); -lean_ctor_set(x_2, 0, x_71); -x_16 = x_38; -x_17 = x_37; -x_18 = x_2; -goto block_36; +lean_ctor_set(x_2, 0, x_72); +x_17 = x_38; +x_18 = x_39; +x_19 = x_2; +goto block_37; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_72 = lean_nat_abs(x_67); -lean_dec(x_67); -x_73 = lean_unsigned_to_nat(1u); -x_74 = lean_nat_sub(x_72, x_73); -lean_dec(x_72); -x_75 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__12; -x_76 = lean_nat_add(x_74, x_73); -lean_dec(x_74); -x_77 = l_Nat_reprFast(x_76); -x_78 = lean_string_append(x_75, x_77); -lean_dec_ref(x_77); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_73 = lean_nat_abs(x_68); +lean_dec(x_68); +x_74 = lean_unsigned_to_nat(1u); +x_75 = lean_nat_sub(x_73, x_74); +lean_dec(x_73); +x_76 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__12; +x_77 = lean_nat_add(x_75, x_74); +lean_dec(x_75); +x_78 = l_Nat_reprFast(x_77); +x_79 = lean_string_append(x_76, x_78); +lean_dec_ref(x_78); lean_ctor_set_tag(x_2, 3); -lean_ctor_set(x_2, 0, x_78); -x_16 = x_38; -x_17 = x_37; -x_18 = x_2; -goto block_36; +lean_ctor_set(x_2, 0, x_79); +x_17 = x_38; +x_18 = x_39; +x_19 = x_2; +goto block_37; } } else { -lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_79 = lean_ctor_get(x_2, 0); -lean_inc(x_79); +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_2, 0); +lean_inc(x_80); lean_dec(x_2); -x_80 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; -x_81 = lean_int_dec_lt(x_79, x_80); -if (x_81 == 0) +x_81 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; +x_82 = lean_int_dec_lt(x_80, x_81); +if (x_82 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_nat_abs(x_79); -lean_dec(x_79); -x_83 = l_Nat_reprFast(x_82); -x_84 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_16 = x_38; -x_17 = x_37; -x_18 = x_84; -goto block_36; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_nat_abs(x_80); +lean_dec(x_80); +x_84 = l_Nat_reprFast(x_83); +x_85 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_17 = x_38; +x_18 = x_39; +x_19 = x_85; +goto block_37; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_85 = lean_nat_abs(x_79); -lean_dec(x_79); -x_86 = lean_unsigned_to_nat(1u); -x_87 = lean_nat_sub(x_85, x_86); -lean_dec(x_85); -x_88 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__12; -x_89 = lean_nat_add(x_87, x_86); -lean_dec(x_87); -x_90 = l_Nat_reprFast(x_89); -x_91 = lean_string_append(x_88, x_90); -lean_dec_ref(x_90); -x_92 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_16 = x_38; -x_17 = x_37; -x_18 = x_92; -goto block_36; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_nat_abs(x_80); +lean_dec(x_80); +x_87 = lean_unsigned_to_nat(1u); +x_88 = lean_nat_sub(x_86, x_87); +lean_dec(x_86); +x_89 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__12; +x_90 = lean_nat_add(x_88, x_87); +lean_dec(x_88); +x_91 = l_Nat_reprFast(x_90); +x_92 = lean_string_append(x_89, x_91); +lean_dec_ref(x_91); +x_93 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_17 = x_38; +x_18 = x_39; +x_19 = x_93; +goto block_37; } } } default: { -lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_2, 0); -lean_inc(x_93); +lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_2, 0); +lean_inc(x_94); lean_dec_ref(x_2); -x_94 = lean_box(0); -x_95 = 0; -x_96 = l_Lean_Syntax_formatStx(x_93, x_94, x_95); -x_16 = x_38; -x_17 = x_37; -x_18 = x_96; -goto block_36; +x_95 = lean_box(0); +x_96 = 0; +x_97 = l_Lean_Syntax_formatStx(x_94, x_95, x_96); +x_17 = x_38; +x_18 = x_39; +x_19 = x_97; +goto block_37; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_2, 1); -x_14 = l_Lean_DataValue_sameCtor(x_13, x_3); -if (x_14 == 0) +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_2, 1); +x_15 = l_Lean_DataValue_sameCtor(x_14, x_3); +if (x_15 == 0) { -lean_object* x_15; -x_15 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(x_1, x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +lean_object* x_16; +x_16 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(x_1, x_3, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } else { -lean_object* x_16; lean_object* x_17; +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +lean_dec(x_1); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +lean_dec(x_14); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = 2; +x_13 = 0; +x_14 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_1, 0); +x_14 = l_Lean_Parser_SyntaxStack_back(x_13); +x_15 = lean_box(x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_70; lean_object* x_71; lean_object* x_86; lean_object* x_91; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +x_21 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; +x_22 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; +x_23 = 1; +x_91 = l_Lean_Syntax_getTailPos_x3f(x_2, x_23); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; +x_92 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_93 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_92); +x_86 = x_93; +goto block_90; +} +else +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_91, 0); +lean_inc(x_94); +lean_dec_ref(x_91); +x_86 = x_94; +goto block_90; +} +block_69: +{ +lean_object* x_28; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = l_Lean_Parser_ParserState_setPos(x_26, x_27); +x_32 = lean_box(0); +x_33 = lean_box(0); +lean_inc(x_19); +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_29); +lean_ctor_set(x_34, 2, x_32); +lean_ctor_set(x_34, 3, x_33); +x_35 = l_Lean_Parser_getTokenTable(x_19); +lean_inc_ref(x_25); +x_36 = l_Lean_Parser_ParserFn_run(x_1, x_25, x_34, x_35, x_31); +lean_inc_ref(x_36); +x_37 = l_Lean_Parser_ParserState_allErrors(x_36); +x_38 = l_Array_isEmpty___redArg(x_37); +lean_dec_ref(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_inc_ref(x_36); +x_39 = l_Lean_Parser_ParserState_toErrorMsg(x_25, x_36); +x_40 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = l_Lean_MessageData_ofFormat(x_40); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_42 = l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec_ref(x_42); +x_44 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(x_36, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_12); -return x_17; +lean_dec_ref(x_36); +return x_44; +} +else +{ +uint8_t x_45; +lean_dec_ref(x_36); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_45 = !lean_is_exclusive(x_42); +if (x_45 == 0) +{ +return x_42; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 0); +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_42); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_36, 2); +lean_inc(x_49); +x_50 = l_Lean_Parser_InputContext_atEnd(x_25, x_49); +lean_dec(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; +lean_inc_ref(x_36); +x_52 = l_Lean_Parser_ParserState_mkError(x_36, x_51); +x_53 = l_Lean_Parser_ParserState_toErrorMsg(x_25, x_52); +x_54 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_55 = l_Lean_MessageData_ofFormat(x_54); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_56 = l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec_ref(x_56); +x_58 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(x_36, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_57); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_36); +return x_58; +} +else +{ +uint8_t x_59; +lean_dec_ref(x_36); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_59 = !lean_is_exclusive(x_56); +if (x_59 == 0) +{ +return x_56; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; lean_object* x_64; +lean_dec_ref(x_25); +x_63 = 0; +x_64 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(x_36, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_36); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_27); +lean_dec_ref(x_26); +lean_dec_ref(x_25); +lean_dec(x_19); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +block_85: +{ +lean_object* x_72; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_72 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec_ref(x_72); +lean_inc_ref(x_70); +x_75 = l_Lean_Parser_mkInputContext___redArg(x_70, x_73, x_23, x_71); +x_76 = l_Lean_Parser_mkParserState(x_70); +lean_dec_ref(x_70); +x_77 = l_Lean_Syntax_getPos_x3f(x_2, x_23); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_79 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_78); +x_24 = x_74; +x_25 = x_75; +x_26 = x_76; +x_27 = x_79; +goto block_69; +} +else +{ +lean_object* x_80; +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +lean_dec_ref(x_77); +x_24 = x_74; +x_25 = x_75; +x_26 = x_76; +x_27 = x_80; +goto block_69; +} +} +else +{ +uint8_t x_81; +lean_dec(x_71); +lean_dec_ref(x_70); +lean_dec(x_19); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_81 = !lean_is_exclusive(x_72); +if (x_81 == 0) +{ +return x_72; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_72, 0); +x_83 = lean_ctor_get(x_72, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_72); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +block_90: +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = lean_ctor_get(x_15, 0); +lean_inc_ref(x_87); +lean_dec(x_15); +x_88 = lean_string_utf8_byte_size(x_87); +x_89 = lean_nat_dec_le(x_86, x_88); +if (x_89 == 0) +{ +lean_dec(x_86); +x_70 = x_87; +x_71 = x_88; +goto block_85; +} +else +{ +lean_dec(x_88); +x_70 = x_87; +x_71 = x_86; +goto block_85; +} +} +} +else +{ +uint8_t x_95; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_95 = !lean_is_exclusive(x_18); +if (x_95 == 0) +{ +return x_18; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_18, 0); +x_97 = lean_ctor_get(x_18, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_18); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +uint8_t x_99; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_99 = !lean_is_exclusive(x_14); +if (x_99 == 0) +{ +return x_14; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_14, 0); +x_101 = lean_ctor_get(x_14, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_14); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} } } } @@ -17866,1672 +19374,1685 @@ x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_option(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_option(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_14 = x_11; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; } else { - lean_dec_ref(x_11); - x_14 = lean_box(0); + lean_dec_ref(x_12); + x_15 = lean_box(0); } -x_65 = l_Lean_Doc_option___closed__0; -x_66 = lean_ctor_get(x_65, 1); -lean_inc_ref(x_66); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_67 = x_65; +x_70 = l_Lean_Doc_option___closed__0; +x_71 = lean_ctor_get(x_70, 1); +lean_inc_ref(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; } else { - lean_dec_ref(x_65); - x_67 = lean_box(0); + lean_dec_ref(x_70); + x_72 = lean_box(0); } -x_68 = !lean_is_exclusive(x_8); -if (x_68 == 0) +x_73 = !lean_is_exclusive(x_9); +if (x_73 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_166; -x_69 = lean_ctor_get(x_8, 5); -x_70 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; -x_71 = l_Lean_replaceRef(x_12, x_69); -lean_dec(x_69); -lean_inc(x_71); -lean_ctor_set(x_8, 5, x_71); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_166 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_66, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_166) == 0) +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_171; +x_74 = lean_ctor_get(x_9, 5); +x_75 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +x_76 = l_Lean_replaceRef(x_13, x_74); +lean_dec(x_74); +lean_inc(x_76); +lean_ctor_set(x_9, 5, x_76); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_171 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_71, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_171) == 0) { -lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_14); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec_ref(x_166); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_169 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_167, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_168); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec_ref(x_169); -x_172 = lean_ctor_get(x_170, 0); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_15); +x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); -x_173 = lean_ctor_get(x_170, 1); +x_173 = lean_ctor_get(x_171, 1); lean_inc(x_173); -lean_dec(x_170); -x_174 = l_Lean_Syntax_getArgs(x_167); -x_175 = lean_unsigned_to_nat(3u); -x_176 = lean_unsigned_to_nat(0u); -x_177 = lean_array_get_size(x_174); -x_178 = lean_nat_dec_le(x_175, x_177); -if (x_178 == 0) +lean_dec_ref(x_171); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_174 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_172, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_173); +if (lean_obj_tag(x_174) == 0) { -x_98 = x_173; -x_99 = x_167; -x_100 = x_174; -x_101 = x_171; -x_102 = x_172; -x_103 = x_176; -x_104 = x_177; -goto block_165; +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec_ref(x_174); +x_177 = lean_ctor_get(x_175, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_175, 1); +lean_inc(x_178); +lean_dec(x_175); +x_179 = l_Lean_Syntax_getArgs(x_172); +x_180 = lean_unsigned_to_nat(3u); +x_181 = lean_unsigned_to_nat(0u); +x_182 = lean_array_get_size(x_179); +x_183 = lean_nat_dec_le(x_180, x_182); +if (x_183 == 0) +{ +x_103 = x_178; +x_104 = x_172; +x_105 = x_179; +x_106 = x_177; +x_107 = x_176; +x_108 = x_181; +x_109 = x_182; +goto block_170; } else { -lean_dec(x_177); -x_98 = x_173; -x_99 = x_167; -x_100 = x_174; -x_101 = x_171; -x_102 = x_172; -x_103 = x_176; -x_104 = x_175; -goto block_165; +lean_dec(x_182); +x_103 = x_178; +x_104 = x_172; +x_105 = x_179; +x_106 = x_177; +x_107 = x_176; +x_108 = x_181; +x_109 = x_180; +goto block_170; } } else { -uint8_t x_179; -lean_dec(x_167); -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_67); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_179 = !lean_is_exclusive(x_169); -if (x_179 == 0) +uint8_t x_184; +lean_dec(x_172); +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_184 = !lean_is_exclusive(x_174); +if (x_184 == 0) { -return x_169; +return x_174; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_169, 0); -x_181 = lean_ctor_get(x_169, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_169); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_174, 0); +x_186 = lean_ctor_get(x_174, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_174); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; } } } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_200; lean_object* x_201; lean_object* x_205; uint8_t x_206; uint8_t x_382; -lean_dec(x_67); -x_183 = lean_ctor_get(x_166, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_166, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_185 = x_166; +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_205; lean_object* x_206; lean_object* x_210; uint8_t x_211; uint8_t x_387; +lean_dec(x_72); +x_188 = lean_ctor_get(x_171, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_171, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_190 = x_171; } else { - lean_dec_ref(x_166); - x_185 = lean_box(0); + lean_dec_ref(x_171); + x_190 = lean_box(0); } -x_205 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -x_382 = l_Lean_Exception_isInterrupt(x_183); -if (x_382 == 0) +x_210 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +x_387 = l_Lean_Exception_isInterrupt(x_188); +if (x_387 == 0) { -uint8_t x_383; -x_383 = l_Lean_Exception_isRuntime(x_183); -x_206 = x_383; -goto block_381; +uint8_t x_388; +x_388 = l_Lean_Exception_isRuntime(x_188); +x_211 = x_388; +goto block_386; } else { -x_206 = x_382; -goto block_381; -} -block_199: -{ -if (x_188 == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -lean_dec(x_185); -x_189 = l_Lean_Doc_option___closed__2; -x_190 = l_Lean_Doc_option___closed__3; -x_191 = lean_array_push(x_190, x_183); -x_192 = lean_array_push(x_191, x_187); -x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_189, x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_186); -x_194 = !lean_is_exclusive(x_193); -if (x_194 == 0) -{ -return x_193; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_193, 0); -x_196 = lean_ctor_get(x_193, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_193); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; -} -} -else -{ -lean_object* x_198; -lean_dec(x_183); -lean_dec_ref(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_185)) { - x_198 = lean_alloc_ctor(1, 2, 0); -} else { - x_198 = x_185; -} -lean_ctor_set(x_198, 0, x_187); -lean_ctor_set(x_198, 1, x_186); -return x_198; -} +x_211 = x_387; +goto block_386; } block_204: { -uint8_t x_202; -x_202 = l_Lean_Exception_isInterrupt(x_200); -if (x_202 == 0) +if (x_193 == 0) { -uint8_t x_203; -x_203 = l_Lean_Exception_isRuntime(x_200); -x_186 = x_201; -x_187 = x_200; -x_188 = x_203; -goto block_199; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +lean_dec(x_190); +x_194 = l_Lean_Doc_option___closed__2; +x_195 = l_Lean_Doc_option___closed__3; +x_196 = lean_array_push(x_195, x_188); +x_197 = lean_array_push(x_196, x_192); +x_198 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_194, x_197, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_191); +x_199 = !lean_is_exclusive(x_198); +if (x_199 == 0) +{ +return x_198; } else { -x_186 = x_201; -x_187 = x_200; -x_188 = x_202; -goto block_199; -} -} -block_381: -{ -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -lean_dec(x_14); -x_207 = l_Lean_Doc_option___closed__4; -x_208 = lean_ctor_get(x_207, 1); -lean_inc_ref(x_208); -x_209 = l_Lean_Doc_option___closed__6; -x_210 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_210, 0, x_209); -lean_closure_set(x_210, 1, x_208); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_211 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27(x_210, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_184); -if (lean_obj_tag(x_211) == 0) -{ -uint8_t x_212; -x_212 = !lean_is_exclusive(x_211); -if (x_212 == 0) -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_211, 0); -x_214 = !lean_is_exclusive(x_213); -if (x_214 == 0) -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_215 = lean_ctor_get(x_211, 1); -x_216 = lean_ctor_get(x_213, 0); -x_217 = lean_ctor_get(x_213, 1); -x_218 = lean_unsigned_to_nat(0u); -x_219 = l_Lean_Syntax_getArg(x_216, x_218); -lean_dec(x_216); -lean_inc(x_219); -x_220 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_220, 0, x_219); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_221 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_220, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_215); -if (lean_obj_tag(x_221) == 0) -{ -uint8_t x_222; -x_222 = lean_unbox(x_217); -lean_dec(x_217); -if (x_222 == 0) -{ -uint8_t x_223; -lean_dec(x_185); -lean_dec(x_183); -x_223 = !lean_is_exclusive(x_221); -if (x_223 == 0) -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_224 = lean_ctor_get(x_221, 1); -x_225 = lean_ctor_get(x_221, 0); -lean_dec(x_225); -x_226 = l_Lean_Syntax_getId(x_219); -x_227 = lean_erase_macro_scopes(x_226); -lean_inc(x_227); -x_228 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_228, 0, x_227); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_229 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_228, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_224); -if (lean_obj_tag(x_229) == 0) -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_230 = lean_ctor_get(x_229, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); -lean_inc(x_231); -lean_dec_ref(x_229); -x_232 = lean_ctor_get(x_230, 0); -lean_inc(x_232); -lean_dec(x_230); -lean_inc(x_227); -x_233 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_233, 0, x_219); -lean_ctor_set(x_233, 1, x_227); -lean_ctor_set(x_233, 2, x_232); -x_234 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_234, 0, x_233); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_235 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_234, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_231); -if (lean_obj_tag(x_235) == 0) -{ -uint8_t x_236; -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_236 = !lean_is_exclusive(x_235); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_237 = lean_ctor_get(x_235, 0); -lean_dec(x_237); -x_238 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -lean_ctor_set(x_213, 1, x_227); -lean_ctor_set(x_213, 0, x_205); -lean_ctor_set(x_221, 1, x_213); -lean_ctor_set(x_221, 0, x_238); -x_239 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_240 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_240, 0, x_239); -x_241 = l_Lean_Doc_name___closed__0; -x_242 = lean_array_push(x_241, x_240); -lean_ctor_set_tag(x_211, 10); -lean_ctor_set(x_211, 1, x_242); -lean_ctor_set(x_211, 0, x_221); -lean_ctor_set(x_235, 0, x_211); -return x_235; -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_243 = lean_ctor_get(x_235, 1); -lean_inc(x_243); -lean_dec(x_235); -x_244 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -lean_ctor_set(x_213, 1, x_227); -lean_ctor_set(x_213, 0, x_205); -lean_ctor_set(x_221, 1, x_213); -lean_ctor_set(x_221, 0, x_244); -x_245 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_246 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_246, 0, x_245); -x_247 = l_Lean_Doc_name___closed__0; -x_248 = lean_array_push(x_247, x_246); -lean_ctor_set_tag(x_211, 10); -lean_ctor_set(x_211, 1, x_248); -lean_ctor_set(x_211, 0, x_221); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_211); -lean_ctor_set(x_249, 1, x_243); -return x_249; +lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_200 = lean_ctor_get(x_198, 0); +x_201 = lean_ctor_get(x_198, 1); +lean_inc(x_201); +lean_inc(x_200); +lean_dec(x_198); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +return x_202; } } else { -uint8_t x_250; -lean_dec(x_227); -lean_free_object(x_221); -lean_free_object(x_213); -lean_free_object(x_211); -x_250 = !lean_is_exclusive(x_235); -if (x_250 == 0) +lean_object* x_203; +lean_dec(x_188); +lean_dec_ref(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_190)) { + x_203 = lean_alloc_ctor(1, 2, 0); +} else { + x_203 = x_190; +} +lean_ctor_set(x_203, 0, x_192); +lean_ctor_set(x_203, 1, x_191); +return x_203; +} +} +block_209: { -lean_object* x_251; lean_object* x_252; -x_251 = lean_ctor_get(x_235, 0); -x_252 = lean_ctor_get(x_235, 1); -lean_inc(x_252); -lean_inc(x_251); -x_79 = x_235; -x_80 = x_251; -x_81 = x_252; -goto block_84; +uint8_t x_207; +x_207 = l_Lean_Exception_isInterrupt(x_205); +if (x_207 == 0) +{ +uint8_t x_208; +x_208 = l_Lean_Exception_isRuntime(x_205); +x_191 = x_206; +x_192 = x_205; +x_193 = x_208; +goto block_204; } else { -lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_235, 0); -x_254 = lean_ctor_get(x_235, 1); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_235); -lean_inc(x_254); -lean_inc(x_253); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_253); -lean_ctor_set(x_255, 1, x_254); -x_79 = x_255; -x_80 = x_253; -x_81 = x_254; -goto block_84; +x_191 = x_206; +x_192 = x_205; +x_193 = x_207; +goto block_204; } } -} -else +block_386: { -uint8_t x_256; -lean_dec(x_227); -lean_free_object(x_221); -lean_dec(x_219); -lean_free_object(x_213); -lean_free_object(x_211); -x_256 = !lean_is_exclusive(x_229); -if (x_256 == 0) +if (x_211 == 0) { -lean_object* x_257; lean_object* x_258; -x_257 = lean_ctor_get(x_229, 0); -x_258 = lean_ctor_get(x_229, 1); -lean_inc(x_258); -lean_inc(x_257); -x_79 = x_229; -x_80 = x_257; -x_81 = x_258; -goto block_84; -} -else +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_15); +x_212 = l_Lean_Doc_option___closed__4; +x_213 = lean_ctor_get(x_212, 1); +lean_inc_ref(x_213); +x_214 = l_Lean_Doc_option___closed__6; +x_215 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_215, 0, x_214); +lean_closure_set(x_215, 1, x_213); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_216 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5(x_215, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_189); +if (lean_obj_tag(x_216) == 0) { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_229, 0); -x_260 = lean_ctor_get(x_229, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_229); -lean_inc(x_260); -lean_inc(x_259); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -x_79 = x_261; -x_80 = x_259; -x_81 = x_260; -goto block_84; -} -} -} -else +uint8_t x_217; +x_217 = !lean_is_exclusive(x_216); +if (x_217 == 0) { -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_262 = lean_ctor_get(x_221, 1); -lean_inc(x_262); +lean_object* x_218; uint8_t x_219; +x_218 = lean_ctor_get(x_216, 0); +x_219 = !lean_is_exclusive(x_218); +if (x_219 == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_220 = lean_ctor_get(x_216, 1); +x_221 = lean_ctor_get(x_218, 0); +x_222 = lean_ctor_get(x_218, 1); +x_223 = lean_unsigned_to_nat(0u); +x_224 = l_Lean_Syntax_getArg(x_221, x_223); lean_dec(x_221); -x_263 = l_Lean_Syntax_getId(x_219); -x_264 = lean_erase_macro_scopes(x_263); -lean_inc(x_264); -x_265 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_265, 0, x_264); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_266 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_265, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_262); -if (lean_obj_tag(x_266) == 0) +lean_inc(x_224); +x_225 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_225, 0, x_224); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_226 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_225, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_220); +if (lean_obj_tag(x_226) == 0) { -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_267 = lean_ctor_get(x_266, 0); +uint8_t x_227; +x_227 = lean_unbox(x_222); +lean_dec(x_222); +if (x_227 == 0) +{ +uint8_t x_228; +lean_dec(x_190); +lean_dec(x_188); +x_228 = !lean_is_exclusive(x_226); +if (x_228 == 0) +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_229 = lean_ctor_get(x_226, 1); +x_230 = lean_ctor_get(x_226, 0); +lean_dec(x_230); +x_231 = l_Lean_Syntax_getId(x_224); +x_232 = lean_erase_macro_scopes(x_231); +lean_inc(x_232); +x_233 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_233, 0, x_232); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_234 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_233, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_229); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec_ref(x_234); +x_237 = lean_ctor_get(x_235, 0); +lean_inc(x_237); +lean_dec(x_235); +lean_inc(x_232); +x_238 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_238, 0, x_224); +lean_ctor_set(x_238, 1, x_232); +lean_ctor_set(x_238, 2, x_237); +x_239 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_239, 0, x_238); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_240 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_239, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_236); +if (lean_obj_tag(x_240) == 0) +{ +uint8_t x_241; +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_241 = !lean_is_exclusive(x_240); +if (x_241 == 0) +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_242 = lean_ctor_get(x_240, 0); +lean_dec(x_242); +x_243 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +lean_ctor_set(x_218, 1, x_232); +lean_ctor_set(x_218, 0, x_210); +lean_ctor_set(x_226, 1, x_218); +lean_ctor_set(x_226, 0, x_243); +x_244 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_245 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_245, 0, x_244); +x_246 = l_Lean_Doc_name___closed__5; +x_247 = lean_array_push(x_246, x_245); +lean_ctor_set_tag(x_216, 10); +lean_ctor_set(x_216, 1, x_247); +lean_ctor_set(x_216, 0, x_226); +lean_ctor_set(x_240, 0, x_216); +return x_240; +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_248 = lean_ctor_get(x_240, 1); +lean_inc(x_248); +lean_dec(x_240); +x_249 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +lean_ctor_set(x_218, 1, x_232); +lean_ctor_set(x_218, 0, x_210); +lean_ctor_set(x_226, 1, x_218); +lean_ctor_set(x_226, 0, x_249); +x_250 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_251 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_251, 0, x_250); +x_252 = l_Lean_Doc_name___closed__5; +x_253 = lean_array_push(x_252, x_251); +lean_ctor_set_tag(x_216, 10); +lean_ctor_set(x_216, 1, x_253); +lean_ctor_set(x_216, 0, x_226); +x_254 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_254, 0, x_216); +lean_ctor_set(x_254, 1, x_248); +return x_254; +} +} +else +{ +uint8_t x_255; +lean_dec(x_232); +lean_free_object(x_226); +lean_free_object(x_218); +lean_free_object(x_216); +x_255 = !lean_is_exclusive(x_240); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_ctor_get(x_240, 0); +x_257 = lean_ctor_get(x_240, 1); +lean_inc(x_257); +lean_inc(x_256); +x_84 = x_240; +x_85 = x_256; +x_86 = x_257; +goto block_89; +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_258 = lean_ctor_get(x_240, 0); +x_259 = lean_ctor_get(x_240, 1); +lean_inc(x_259); +lean_inc(x_258); +lean_dec(x_240); +lean_inc(x_259); +lean_inc(x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_258); +lean_ctor_set(x_260, 1, x_259); +x_84 = x_260; +x_85 = x_258; +x_86 = x_259; +goto block_89; +} +} +} +else +{ +uint8_t x_261; +lean_dec(x_232); +lean_free_object(x_226); +lean_dec(x_224); +lean_free_object(x_218); +lean_free_object(x_216); +x_261 = !lean_is_exclusive(x_234); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; +x_262 = lean_ctor_get(x_234, 0); +x_263 = lean_ctor_get(x_234, 1); +lean_inc(x_263); +lean_inc(x_262); +x_84 = x_234; +x_85 = x_262; +x_86 = x_263; +goto block_89; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = lean_ctor_get(x_234, 0); +x_265 = lean_ctor_get(x_234, 1); +lean_inc(x_265); +lean_inc(x_264); +lean_dec(x_234); +lean_inc(x_265); +lean_inc(x_264); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +x_84 = x_266; +x_85 = x_264; +x_86 = x_265; +goto block_89; +} +} +} +else +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_267 = lean_ctor_get(x_226, 1); lean_inc(x_267); -x_268 = lean_ctor_get(x_266, 1); -lean_inc(x_268); -lean_dec_ref(x_266); -x_269 = lean_ctor_get(x_267, 0); +lean_dec(x_226); +x_268 = l_Lean_Syntax_getId(x_224); +x_269 = lean_erase_macro_scopes(x_268); lean_inc(x_269); -lean_dec(x_267); -lean_inc(x_264); -x_270 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_270, 0, x_219); -lean_ctor_set(x_270, 1, x_264); -lean_ctor_set(x_270, 2, x_269); -x_271 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_271, 0, x_270); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_272 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_271, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_268); -if (lean_obj_tag(x_272) == 0) +x_270 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_270, 0, x_269); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_271 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_270, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_267); +if (lean_obj_tag(x_271) == 0) { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_273 = lean_ctor_get(x_272, 1); +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_272 = lean_ctor_get(x_271, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_271, 1); lean_inc(x_273); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_274 = x_272; -} else { - lean_dec_ref(x_272); - x_274 = lean_box(0); -} -x_275 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -lean_ctor_set(x_213, 1, x_264); -lean_ctor_set(x_213, 0, x_205); -x_276 = lean_alloc_ctor(0, 2, 0); +lean_dec_ref(x_271); +x_274 = lean_ctor_get(x_272, 0); +lean_inc(x_274); +lean_dec(x_272); +lean_inc(x_269); +x_275 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_275, 0, x_224); +lean_ctor_set(x_275, 1, x_269); +lean_ctor_set(x_275, 2, x_274); +x_276 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_213); -x_277 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_278 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_278, 0, x_277); -x_279 = l_Lean_Doc_name___closed__0; -x_280 = lean_array_push(x_279, x_278); -lean_ctor_set_tag(x_211, 10); -lean_ctor_set(x_211, 1, x_280); -lean_ctor_set(x_211, 0, x_276); -if (lean_is_scalar(x_274)) { - x_281 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_277 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_273); +if (lean_obj_tag(x_277) == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_278 = lean_ctor_get(x_277, 1); +lean_inc(x_278); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + x_279 = x_277; } else { - x_281 = x_274; + lean_dec_ref(x_277); + x_279 = lean_box(0); } -lean_ctor_set(x_281, 0, x_211); -lean_ctor_set(x_281, 1, x_273); -return x_281; +x_280 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +lean_ctor_set(x_218, 1, x_269); +lean_ctor_set(x_218, 0, x_210); +x_281 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_218); +x_282 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_283 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_283, 0, x_282); +x_284 = l_Lean_Doc_name___closed__5; +x_285 = lean_array_push(x_284, x_283); +lean_ctor_set_tag(x_216, 10); +lean_ctor_set(x_216, 1, x_285); +lean_ctor_set(x_216, 0, x_281); +if (lean_is_scalar(x_279)) { + x_286 = lean_alloc_ctor(0, 2, 0); +} else { + x_286 = x_279; +} +lean_ctor_set(x_286, 0, x_216); +lean_ctor_set(x_286, 1, x_278); +return x_286; } else { -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -lean_dec(x_264); -lean_free_object(x_213); -lean_free_object(x_211); -x_282 = lean_ctor_get(x_272, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_272, 1); -lean_inc(x_283); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_284 = x_272; -} else { - lean_dec_ref(x_272); - x_284 = lean_box(0); -} -lean_inc(x_283); -lean_inc(x_282); -if (lean_is_scalar(x_284)) { - x_285 = lean_alloc_ctor(1, 2, 0); -} else { - x_285 = x_284; -} -lean_ctor_set(x_285, 0, x_282); -lean_ctor_set(x_285, 1, x_283); -x_79 = x_285; -x_80 = x_282; -x_81 = x_283; -goto block_84; -} -} -else -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -lean_dec(x_264); -lean_dec(x_219); -lean_free_object(x_213); -lean_free_object(x_211); -x_286 = lean_ctor_get(x_266, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_266, 1); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +lean_dec(x_269); +lean_free_object(x_218); +lean_free_object(x_216); +x_287 = lean_ctor_get(x_277, 0); lean_inc(x_287); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - lean_ctor_release(x_266, 1); - x_288 = x_266; +x_288 = lean_ctor_get(x_277, 1); +lean_inc(x_288); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + x_289 = x_277; } else { - lean_dec_ref(x_266); - x_288 = lean_box(0); + lean_dec_ref(x_277); + x_289 = lean_box(0); } +lean_inc(x_288); lean_inc(x_287); -lean_inc(x_286); -if (lean_is_scalar(x_288)) { - x_289 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_289)) { + x_290 = lean_alloc_ctor(1, 2, 0); } else { - x_289 = x_288; + x_290 = x_289; } -lean_ctor_set(x_289, 0, x_286); -lean_ctor_set(x_289, 1, x_287); -x_79 = x_289; -x_80 = x_286; -x_81 = x_287; -goto block_84; -} -} -} -else -{ -lean_object* x_290; -lean_dec(x_219); -lean_free_object(x_213); -lean_free_object(x_211); -lean_dec(x_71); -lean_dec(x_12); -x_290 = lean_ctor_get(x_221, 1); -lean_inc(x_290); -lean_dec_ref(x_221); -lean_inc(x_183); -x_200 = x_183; -x_201 = x_290; -goto block_204; +lean_ctor_set(x_290, 0, x_287); +lean_ctor_set(x_290, 1, x_288); +x_84 = x_290; +x_85 = x_287; +x_86 = x_288; +goto block_89; } } else { -lean_object* x_291; lean_object* x_292; -lean_dec(x_219); -lean_free_object(x_213); -lean_dec(x_217); -lean_free_object(x_211); -lean_dec(x_71); -lean_dec(x_12); -x_291 = lean_ctor_get(x_221, 0); +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_269); +lean_dec(x_224); +lean_free_object(x_218); +lean_free_object(x_216); +x_291 = lean_ctor_get(x_271, 0); lean_inc(x_291); -x_292 = lean_ctor_get(x_221, 1); +x_292 = lean_ctor_get(x_271, 1); lean_inc(x_292); -lean_dec_ref(x_221); -x_200 = x_291; -x_201 = x_292; -goto block_204; +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + x_293 = x_271; +} else { + lean_dec_ref(x_271); + x_293 = lean_box(0); +} +lean_inc(x_292); +lean_inc(x_291); +if (lean_is_scalar(x_293)) { + x_294 = lean_alloc_ctor(1, 2, 0); +} else { + x_294 = x_293; +} +lean_ctor_set(x_294, 0, x_291); +lean_ctor_set(x_294, 1, x_292); +x_84 = x_294; +x_85 = x_291; +x_86 = x_292; +goto block_89; +} } } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_293 = lean_ctor_get(x_211, 1); -x_294 = lean_ctor_get(x_213, 0); -x_295 = lean_ctor_get(x_213, 1); +lean_object* x_295; +lean_dec(x_224); +lean_free_object(x_218); +lean_free_object(x_216); +lean_dec(x_76); +lean_dec(x_13); +x_295 = lean_ctor_get(x_226, 1); lean_inc(x_295); -lean_inc(x_294); -lean_dec(x_213); -x_296 = lean_unsigned_to_nat(0u); -x_297 = l_Lean_Syntax_getArg(x_294, x_296); -lean_dec(x_294); +lean_dec_ref(x_226); +lean_inc(x_188); +x_205 = x_188; +x_206 = x_295; +goto block_209; +} +} +else +{ +lean_object* x_296; lean_object* x_297; +lean_dec(x_224); +lean_free_object(x_218); +lean_dec(x_222); +lean_free_object(x_216); +lean_dec(x_76); +lean_dec(x_13); +x_296 = lean_ctor_get(x_226, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_226, 1); lean_inc(x_297); -x_298 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_298, 0, x_297); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_299 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_298, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_293); -if (lean_obj_tag(x_299) == 0) -{ -uint8_t x_300; -x_300 = lean_unbox(x_295); -lean_dec(x_295); -if (x_300 == 0) -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_dec(x_185); -lean_dec(x_183); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_302 = x_299; -} else { - lean_dec_ref(x_299); - x_302 = lean_box(0); +lean_dec_ref(x_226); +x_205 = x_296; +x_206 = x_297; +goto block_209; } -x_303 = l_Lean_Syntax_getId(x_297); -x_304 = lean_erase_macro_scopes(x_303); -lean_inc(x_304); -x_305 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_305, 0, x_304); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_306 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_305, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_301); -if (lean_obj_tag(x_306) == 0) +} +else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec_ref(x_306); -x_309 = lean_ctor_get(x_307, 0); +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_298 = lean_ctor_get(x_216, 1); +x_299 = lean_ctor_get(x_218, 0); +x_300 = lean_ctor_get(x_218, 1); +lean_inc(x_300); +lean_inc(x_299); +lean_dec(x_218); +x_301 = lean_unsigned_to_nat(0u); +x_302 = l_Lean_Syntax_getArg(x_299, x_301); +lean_dec(x_299); +lean_inc(x_302); +x_303 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_303, 0, x_302); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_304 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_303, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_298); +if (lean_obj_tag(x_304) == 0) +{ +uint8_t x_305; +x_305 = lean_unbox(x_300); +lean_dec(x_300); +if (x_305 == 0) +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_190); +lean_dec(x_188); +x_306 = lean_ctor_get(x_304, 1); +lean_inc(x_306); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + lean_ctor_release(x_304, 1); + x_307 = x_304; +} else { + lean_dec_ref(x_304); + x_307 = lean_box(0); +} +x_308 = l_Lean_Syntax_getId(x_302); +x_309 = lean_erase_macro_scopes(x_308); lean_inc(x_309); -lean_dec(x_307); -lean_inc(x_304); -x_310 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_310, 0, x_297); -lean_ctor_set(x_310, 1, x_304); -lean_ctor_set(x_310, 2, x_309); -x_311 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_311, 0, x_310); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_312 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_311, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_308); -if (lean_obj_tag(x_312) == 0) +x_310 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_310, 0, x_309); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_311 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_310, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_306); +if (lean_obj_tag(x_311) == 0) { -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_313 = lean_ctor_get(x_312, 1); +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); lean_inc(x_313); -if (lean_is_exclusive(x_312)) { - lean_ctor_release(x_312, 0); - lean_ctor_release(x_312, 1); - x_314 = x_312; +lean_dec_ref(x_311); +x_314 = lean_ctor_get(x_312, 0); +lean_inc(x_314); +lean_dec(x_312); +lean_inc(x_309); +x_315 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_315, 0, x_302); +lean_ctor_set(x_315, 1, x_309); +lean_ctor_set(x_315, 2, x_314); +x_316 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_316, 0, x_315); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_317 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_316, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_313); +if (lean_obj_tag(x_317) == 0) +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_318 = lean_ctor_get(x_317, 1); +lean_inc(x_318); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + x_319 = x_317; } else { - lean_dec_ref(x_312); - x_314 = lean_box(0); + lean_dec_ref(x_317); + x_319 = lean_box(0); } -x_315 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_205); -lean_ctor_set(x_316, 1, x_304); -if (lean_is_scalar(x_302)) { - x_317 = lean_alloc_ctor(0, 2, 0); -} else { - x_317 = x_302; -} -lean_ctor_set(x_317, 0, x_315); -lean_ctor_set(x_317, 1, x_316); -x_318 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_319 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_319, 0, x_318); -x_320 = l_Lean_Doc_name___closed__0; -x_321 = lean_array_push(x_320, x_319); -lean_ctor_set_tag(x_211, 10); -lean_ctor_set(x_211, 1, x_321); -lean_ctor_set(x_211, 0, x_317); -if (lean_is_scalar(x_314)) { +x_320 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +x_321 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_321, 0, x_210); +lean_ctor_set(x_321, 1, x_309); +if (lean_is_scalar(x_307)) { x_322 = lean_alloc_ctor(0, 2, 0); } else { - x_322 = x_314; + x_322 = x_307; } -lean_ctor_set(x_322, 0, x_211); -lean_ctor_set(x_322, 1, x_313); -return x_322; +lean_ctor_set(x_322, 0, x_320); +lean_ctor_set(x_322, 1, x_321); +x_323 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_324 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_324, 0, x_323); +x_325 = l_Lean_Doc_name___closed__5; +x_326 = lean_array_push(x_325, x_324); +lean_ctor_set_tag(x_216, 10); +lean_ctor_set(x_216, 1, x_326); +lean_ctor_set(x_216, 0, x_322); +if (lean_is_scalar(x_319)) { + x_327 = lean_alloc_ctor(0, 2, 0); +} else { + x_327 = x_319; +} +lean_ctor_set(x_327, 0, x_216); +lean_ctor_set(x_327, 1, x_318); +return x_327; } else { -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -lean_dec(x_304); -lean_dec(x_302); -lean_free_object(x_211); -x_323 = lean_ctor_get(x_312, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_312, 1); -lean_inc(x_324); -if (lean_is_exclusive(x_312)) { - lean_ctor_release(x_312, 0); - lean_ctor_release(x_312, 1); - x_325 = x_312; -} else { - lean_dec_ref(x_312); - x_325 = lean_box(0); -} -lean_inc(x_324); -lean_inc(x_323); -if (lean_is_scalar(x_325)) { - x_326 = lean_alloc_ctor(1, 2, 0); -} else { - x_326 = x_325; -} -lean_ctor_set(x_326, 0, x_323); -lean_ctor_set(x_326, 1, x_324); -x_79 = x_326; -x_80 = x_323; -x_81 = x_324; -goto block_84; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -lean_dec(x_304); -lean_dec(x_302); -lean_dec(x_297); -lean_free_object(x_211); -x_327 = lean_ctor_get(x_306, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_306, 1); +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +lean_dec(x_309); +lean_dec(x_307); +lean_free_object(x_216); +x_328 = lean_ctor_get(x_317, 0); lean_inc(x_328); -if (lean_is_exclusive(x_306)) { - lean_ctor_release(x_306, 0); - lean_ctor_release(x_306, 1); - x_329 = x_306; +x_329 = lean_ctor_get(x_317, 1); +lean_inc(x_329); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + x_330 = x_317; } else { - lean_dec_ref(x_306); - x_329 = lean_box(0); + lean_dec_ref(x_317); + x_330 = lean_box(0); } +lean_inc(x_329); lean_inc(x_328); -lean_inc(x_327); -if (lean_is_scalar(x_329)) { - x_330 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_330)) { + x_331 = lean_alloc_ctor(1, 2, 0); } else { - x_330 = x_329; + x_331 = x_330; } -lean_ctor_set(x_330, 0, x_327); -lean_ctor_set(x_330, 1, x_328); -x_79 = x_330; -x_80 = x_327; -x_81 = x_328; -goto block_84; +lean_ctor_set(x_331, 0, x_328); +lean_ctor_set(x_331, 1, x_329); +x_84 = x_331; +x_85 = x_328; +x_86 = x_329; +goto block_89; } } else { -lean_object* x_331; -lean_dec(x_297); -lean_free_object(x_211); -lean_dec(x_71); -lean_dec(x_12); -x_331 = lean_ctor_get(x_299, 1); -lean_inc(x_331); -lean_dec_ref(x_299); -lean_inc(x_183); -x_200 = x_183; -x_201 = x_331; -goto block_204; -} -} -else -{ -lean_object* x_332; lean_object* x_333; -lean_dec(x_297); -lean_dec(x_295); -lean_free_object(x_211); -lean_dec(x_71); -lean_dec(x_12); -x_332 = lean_ctor_get(x_299, 0); +lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_dec(x_309); +lean_dec(x_307); +lean_dec(x_302); +lean_free_object(x_216); +x_332 = lean_ctor_get(x_311, 0); lean_inc(x_332); -x_333 = lean_ctor_get(x_299, 1); +x_333 = lean_ctor_get(x_311, 1); lean_inc(x_333); -lean_dec_ref(x_299); -x_200 = x_332; -x_201 = x_333; -goto block_204; +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + lean_ctor_release(x_311, 1); + x_334 = x_311; +} else { + lean_dec_ref(x_311); + x_334 = lean_box(0); } +lean_inc(x_333); +lean_inc(x_332); +if (lean_is_scalar(x_334)) { + x_335 = lean_alloc_ctor(1, 2, 0); +} else { + x_335 = x_334; +} +lean_ctor_set(x_335, 0, x_332); +lean_ctor_set(x_335, 1, x_333); +x_84 = x_335; +x_85 = x_332; +x_86 = x_333; +goto block_89; } } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_334 = lean_ctor_get(x_211, 0); -x_335 = lean_ctor_get(x_211, 1); -lean_inc(x_335); -lean_inc(x_334); -lean_dec(x_211); -x_336 = lean_ctor_get(x_334, 0); +lean_object* x_336; +lean_dec(x_302); +lean_free_object(x_216); +lean_dec(x_76); +lean_dec(x_13); +x_336 = lean_ctor_get(x_304, 1); lean_inc(x_336); -x_337 = lean_ctor_get(x_334, 1); +lean_dec_ref(x_304); +lean_inc(x_188); +x_205 = x_188; +x_206 = x_336; +goto block_209; +} +} +else +{ +lean_object* x_337; lean_object* x_338; +lean_dec(x_302); +lean_dec(x_300); +lean_free_object(x_216); +lean_dec(x_76); +lean_dec(x_13); +x_337 = lean_ctor_get(x_304, 0); lean_inc(x_337); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_338 = x_334; -} else { - lean_dec_ref(x_334); - x_338 = lean_box(0); +x_338 = lean_ctor_get(x_304, 1); +lean_inc(x_338); +lean_dec_ref(x_304); +x_205 = x_337; +x_206 = x_338; +goto block_209; } -x_339 = lean_unsigned_to_nat(0u); -x_340 = l_Lean_Syntax_getArg(x_336, x_339); -lean_dec(x_336); +} +} +else +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_339 = lean_ctor_get(x_216, 0); +x_340 = lean_ctor_get(x_216, 1); lean_inc(x_340); -x_341 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_341, 0, x_340); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_342 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_341, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_335); -if (lean_obj_tag(x_342) == 0) -{ -uint8_t x_343; -x_343 = lean_unbox(x_337); -lean_dec(x_337); -if (x_343 == 0) -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -lean_dec(x_185); -lean_dec(x_183); -x_344 = lean_ctor_get(x_342, 1); -lean_inc(x_344); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_345 = x_342; +lean_inc(x_339); +lean_dec(x_216); +x_341 = lean_ctor_get(x_339, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_339, 1); +lean_inc(x_342); +if (lean_is_exclusive(x_339)) { + lean_ctor_release(x_339, 0); + lean_ctor_release(x_339, 1); + x_343 = x_339; } else { - lean_dec_ref(x_342); - x_345 = lean_box(0); + lean_dec_ref(x_339); + x_343 = lean_box(0); } -x_346 = l_Lean_Syntax_getId(x_340); -x_347 = lean_erase_macro_scopes(x_346); -lean_inc(x_347); -x_348 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_348, 0, x_347); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_349 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_348, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_344); -if (lean_obj_tag(x_349) == 0) +x_344 = lean_unsigned_to_nat(0u); +x_345 = l_Lean_Syntax_getArg(x_341, x_344); +lean_dec(x_341); +lean_inc(x_345); +x_346 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_346, 0, x_345); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_347 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_346, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_340); +if (lean_obj_tag(x_347) == 0) { -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -lean_dec_ref(x_349); -x_352 = lean_ctor_get(x_350, 0); +uint8_t x_348; +x_348 = lean_unbox(x_342); +lean_dec(x_342); +if (x_348 == 0) +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_dec(x_190); +lean_dec(x_188); +x_349 = lean_ctor_get(x_347, 1); +lean_inc(x_349); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_350 = x_347; +} else { + lean_dec_ref(x_347); + x_350 = lean_box(0); +} +x_351 = l_Lean_Syntax_getId(x_345); +x_352 = lean_erase_macro_scopes(x_351); lean_inc(x_352); -lean_dec(x_350); -lean_inc(x_347); -x_353 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_353, 0, x_340); -lean_ctor_set(x_353, 1, x_347); -lean_ctor_set(x_353, 2, x_352); -x_354 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_354, 0, x_353); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_355 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_354, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_351); -if (lean_obj_tag(x_355) == 0) +x_353 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_353, 0, x_352); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_354 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_353, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_349); +if (lean_obj_tag(x_354) == 0) { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_356 = lean_ctor_get(x_355, 1); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_354, 1); lean_inc(x_356); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_357 = x_355; +lean_dec_ref(x_354); +x_357 = lean_ctor_get(x_355, 0); +lean_inc(x_357); +lean_dec(x_355); +lean_inc(x_352); +x_358 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_358, 0, x_345); +lean_ctor_set(x_358, 1, x_352); +lean_ctor_set(x_358, 2, x_357); +x_359 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_359, 0, x_358); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_360 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_359, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_356); +if (lean_obj_tag(x_360) == 0) +{ +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_361 = lean_ctor_get(x_360, 1); +lean_inc(x_361); +if (lean_is_exclusive(x_360)) { + lean_ctor_release(x_360, 0); + lean_ctor_release(x_360, 1); + x_362 = x_360; } else { - lean_dec_ref(x_355); - x_357 = lean_box(0); + lean_dec_ref(x_360); + x_362 = lean_box(0); } -x_358 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -if (lean_is_scalar(x_338)) { - x_359 = lean_alloc_ctor(0, 2, 0); +x_363 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +if (lean_is_scalar(x_343)) { + x_364 = lean_alloc_ctor(0, 2, 0); } else { - x_359 = x_338; + x_364 = x_343; } -lean_ctor_set(x_359, 0, x_205); -lean_ctor_set(x_359, 1, x_347); -if (lean_is_scalar(x_345)) { - x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_210); +lean_ctor_set(x_364, 1, x_352); +if (lean_is_scalar(x_350)) { + x_365 = lean_alloc_ctor(0, 2, 0); } else { - x_360 = x_345; + x_365 = x_350; } -lean_ctor_set(x_360, 0, x_358); -lean_ctor_set(x_360, 1, x_359); -x_361 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_362 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_362, 0, x_361); -x_363 = l_Lean_Doc_name___closed__0; -x_364 = lean_array_push(x_363, x_362); -x_365 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_365, 0, x_360); +lean_ctor_set(x_365, 0, x_363); lean_ctor_set(x_365, 1, x_364); -if (lean_is_scalar(x_357)) { - x_366 = lean_alloc_ctor(0, 2, 0); +x_366 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_367 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_367, 0, x_366); +x_368 = l_Lean_Doc_name___closed__5; +x_369 = lean_array_push(x_368, x_367); +x_370 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_370, 0, x_365); +lean_ctor_set(x_370, 1, x_369); +if (lean_is_scalar(x_362)) { + x_371 = lean_alloc_ctor(0, 2, 0); } else { - x_366 = x_357; + x_371 = x_362; } -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_356); -return x_366; +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_361); +return x_371; } else { -lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -lean_dec(x_347); -lean_dec(x_345); -lean_dec(x_338); -x_367 = lean_ctor_get(x_355, 0); -lean_inc(x_367); -x_368 = lean_ctor_get(x_355, 1); -lean_inc(x_368); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_369 = x_355; -} else { - lean_dec_ref(x_355); - x_369 = lean_box(0); -} -lean_inc(x_368); -lean_inc(x_367); -if (lean_is_scalar(x_369)) { - x_370 = lean_alloc_ctor(1, 2, 0); -} else { - x_370 = x_369; -} -lean_ctor_set(x_370, 0, x_367); -lean_ctor_set(x_370, 1, x_368); -x_79 = x_370; -x_80 = x_367; -x_81 = x_368; -goto block_84; -} -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -lean_dec(x_347); -lean_dec(x_345); -lean_dec(x_340); -lean_dec(x_338); -x_371 = lean_ctor_get(x_349, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_349, 1); +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +lean_dec(x_352); +lean_dec(x_350); +lean_dec(x_343); +x_372 = lean_ctor_get(x_360, 0); lean_inc(x_372); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - x_373 = x_349; +x_373 = lean_ctor_get(x_360, 1); +lean_inc(x_373); +if (lean_is_exclusive(x_360)) { + lean_ctor_release(x_360, 0); + lean_ctor_release(x_360, 1); + x_374 = x_360; } else { - lean_dec_ref(x_349); - x_373 = lean_box(0); + lean_dec_ref(x_360); + x_374 = lean_box(0); } +lean_inc(x_373); lean_inc(x_372); -lean_inc(x_371); -if (lean_is_scalar(x_373)) { - x_374 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_374)) { + x_375 = lean_alloc_ctor(1, 2, 0); } else { - x_374 = x_373; + x_375 = x_374; } -lean_ctor_set(x_374, 0, x_371); -lean_ctor_set(x_374, 1, x_372); -x_79 = x_374; -x_80 = x_371; -x_81 = x_372; -goto block_84; +lean_ctor_set(x_375, 0, x_372); +lean_ctor_set(x_375, 1, x_373); +x_84 = x_375; +x_85 = x_372; +x_86 = x_373; +goto block_89; } } else { -lean_object* x_375; -lean_dec(x_340); -lean_dec(x_338); -lean_dec(x_71); -lean_dec(x_12); -x_375 = lean_ctor_get(x_342, 1); -lean_inc(x_375); -lean_dec_ref(x_342); -lean_inc(x_183); -x_200 = x_183; -x_201 = x_375; -goto block_204; -} -} -else -{ -lean_object* x_376; lean_object* x_377; -lean_dec(x_340); -lean_dec(x_338); -lean_dec(x_337); -lean_dec(x_71); -lean_dec(x_12); -x_376 = lean_ctor_get(x_342, 0); +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_dec(x_352); +lean_dec(x_350); +lean_dec(x_345); +lean_dec(x_343); +x_376 = lean_ctor_get(x_354, 0); lean_inc(x_376); -x_377 = lean_ctor_get(x_342, 1); +x_377 = lean_ctor_get(x_354, 1); lean_inc(x_377); -lean_dec_ref(x_342); -x_200 = x_376; -x_201 = x_377; -goto block_204; +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + x_378 = x_354; +} else { + lean_dec_ref(x_354); + x_378 = lean_box(0); } +lean_inc(x_377); +lean_inc(x_376); +if (lean_is_scalar(x_378)) { + x_379 = lean_alloc_ctor(1, 2, 0); +} else { + x_379 = x_378; } -} -else -{ -lean_object* x_378; lean_object* x_379; -lean_dec(x_71); -lean_dec(x_12); -x_378 = lean_ctor_get(x_211, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_211, 1); -lean_inc(x_379); -lean_dec_ref(x_211); -x_200 = x_378; -x_201 = x_379; -goto block_204; +lean_ctor_set(x_379, 0, x_376); +lean_ctor_set(x_379, 1, x_377); +x_84 = x_379; +x_85 = x_376; +x_86 = x_377; +goto block_89; } } else { lean_object* x_380; -lean_dec(x_185); -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_14)) { - x_380 = lean_alloc_ctor(1, 2, 0); -} else { - x_380 = x_14; - lean_ctor_set_tag(x_380, 1); -} -lean_ctor_set(x_380, 0, x_183); -lean_ctor_set(x_380, 1, x_184); -return x_380; -} -} -} -block_78: -{ -if (x_75 == 0) -{ -lean_object* x_76; uint8_t x_77; -lean_dec_ref(x_74); -x_76 = l_Lean_Exception_getRef(x_72); -x_77 = l_Lean_Syntax_isMissing(x_76); -if (x_77 == 0) -{ -lean_dec(x_71); -x_40 = x_72; -x_41 = x_76; -x_42 = x_3; -x_43 = x_4; -x_44 = x_5; -x_45 = x_6; -x_46 = x_7; -x_47 = x_8; -x_48 = x_9; -x_49 = x_73; -goto block_64; -} -else -{ +lean_dec(x_345); +lean_dec(x_343); lean_dec(x_76); -x_40 = x_72; -x_41 = x_71; -x_42 = x_3; -x_43 = x_4; -x_44 = x_5; -x_45 = x_6; -x_46 = x_7; -x_47 = x_8; -x_48 = x_9; -x_49 = x_73; -goto block_64; +lean_dec(x_13); +x_380 = lean_ctor_get(x_347, 1); +lean_inc(x_380); +lean_dec_ref(x_347); +lean_inc(x_188); +x_205 = x_188; +x_206 = x_380; +goto block_209; } } else { -lean_dec_ref(x_72); -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_74; +lean_object* x_381; lean_object* x_382; +lean_dec(x_345); +lean_dec(x_343); +lean_dec(x_342); +lean_dec(x_76); +lean_dec(x_13); +x_381 = lean_ctor_get(x_347, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_347, 1); +lean_inc(x_382); +lean_dec_ref(x_347); +x_205 = x_381; +x_206 = x_382; +goto block_209; } } -block_84: +} +else { -uint8_t x_82; -x_82 = l_Lean_Exception_isInterrupt(x_80); +lean_object* x_383; lean_object* x_384; +lean_dec(x_76); +lean_dec(x_13); +x_383 = lean_ctor_get(x_216, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_216, 1); +lean_inc(x_384); +lean_dec_ref(x_216); +x_205 = x_383; +x_206 = x_384; +goto block_209; +} +} +else +{ +lean_object* x_385; +lean_dec(x_190); +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_15)) { + x_385 = lean_alloc_ctor(1, 2, 0); +} else { + x_385 = x_15; + lean_ctor_set_tag(x_385, 1); +} +lean_ctor_set(x_385, 0, x_188); +lean_ctor_set(x_385, 1, x_189); +return x_385; +} +} +} +block_83: +{ +if (x_80 == 0) +{ +lean_object* x_81; uint8_t x_82; +lean_dec_ref(x_77); +x_81 = l_Lean_Exception_getRef(x_79); +x_82 = l_Lean_Syntax_isMissing(x_81); if (x_82 == 0) { -uint8_t x_83; -x_83 = l_Lean_Exception_isRuntime(x_80); -x_72 = x_80; -x_73 = x_81; -x_74 = x_79; -x_75 = x_83; -goto block_78; +lean_dec(x_76); +x_43 = x_79; +x_44 = x_81; +x_45 = x_2; +x_46 = x_3; +x_47 = x_4; +x_48 = x_5; +x_49 = x_6; +x_50 = x_7; +x_51 = x_8; +x_52 = x_9; +x_53 = x_10; +x_54 = x_78; +goto block_69; } else { -x_72 = x_80; -x_73 = x_81; -x_74 = x_79; -x_75 = x_82; -goto block_78; -} -} -block_91: -{ -if (x_88 == 0) -{ -lean_object* x_89; uint8_t x_90; -lean_dec_ref(x_86); -x_89 = l_Lean_Exception_getRef(x_85); -x_90 = l_Lean_Syntax_isMissing(x_89); -if (x_90 == 0) -{ -lean_dec(x_71); -x_15 = x_85; -x_16 = x_89; -x_17 = x_3; -x_18 = x_4; -x_19 = x_5; -x_20 = x_6; -x_21 = x_7; -x_22 = x_8; -x_23 = x_9; -x_24 = x_87; -goto block_39; -} -else -{ -lean_dec(x_89); -x_15 = x_85; -x_16 = x_71; -x_17 = x_3; -x_18 = x_4; -x_19 = x_5; -x_20 = x_6; -x_21 = x_7; -x_22 = x_8; -x_23 = x_9; -x_24 = x_87; -goto block_39; +lean_dec(x_81); +x_43 = x_79; +x_44 = x_76; +x_45 = x_2; +x_46 = x_3; +x_47 = x_4; +x_48 = x_5; +x_49 = x_6; +x_50 = x_7; +x_51 = x_8; +x_52 = x_9; +x_53 = x_10; +x_54 = x_78; +goto block_69; } } else { -lean_dec_ref(x_85); -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_86; +lean_dec_ref(x_79); +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_77; } } -block_97: +block_89: { -uint8_t x_95; -x_95 = l_Lean_Exception_isInterrupt(x_93); +uint8_t x_87; +x_87 = l_Lean_Exception_isInterrupt(x_85); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Exception_isRuntime(x_85); +x_77 = x_84; +x_78 = x_86; +x_79 = x_85; +x_80 = x_88; +goto block_83; +} +else +{ +x_77 = x_84; +x_78 = x_86; +x_79 = x_85; +x_80 = x_87; +goto block_83; +} +} +block_96: +{ +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +lean_dec_ref(x_92); +x_94 = l_Lean_Exception_getRef(x_90); +x_95 = l_Lean_Syntax_isMissing(x_94); if (x_95 == 0) { -uint8_t x_96; -x_96 = l_Lean_Exception_isRuntime(x_93); -x_85 = x_93; -x_86 = x_92; -x_87 = x_94; -x_88 = x_96; -goto block_91; +lean_dec(x_76); +x_16 = x_90; +x_17 = x_94; +x_18 = x_2; +x_19 = x_3; +x_20 = x_4; +x_21 = x_5; +x_22 = x_6; +x_23 = x_7; +x_24 = x_8; +x_25 = x_9; +x_26 = x_10; +x_27 = x_91; +goto block_42; } else { -x_85 = x_93; -x_86 = x_92; -x_87 = x_94; -x_88 = x_95; -goto block_91; +lean_dec(x_94); +x_16 = x_90; +x_17 = x_76; +x_18 = x_2; +x_19 = x_3; +x_20 = x_4; +x_21 = x_5; +x_22 = x_6; +x_23 = x_7; +x_24 = x_8; +x_25 = x_9; +x_26 = x_10; +x_27 = x_91; +goto block_42; } } -block_165: +else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_105 = l_Array_toSubarray___redArg(x_100, x_103, x_104); -x_106 = l_Array_ofSubarray___redArg(x_105); -lean_dec_ref(x_105); -lean_inc(x_99); -x_107 = l_Lean_Syntax_setArgs(x_99, x_106); -x_108 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_108, 0, x_107); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_109 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_101); -if (lean_obj_tag(x_109) == 0) +lean_dec_ref(x_90); +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_92; +} +} +block_102: +{ +uint8_t x_100; +x_100 = l_Lean_Exception_isInterrupt(x_98); +if (x_100 == 0) +{ +uint8_t x_101; +x_101 = l_Lean_Exception_isRuntime(x_98); +x_90 = x_98; +x_91 = x_99; +x_92 = x_97; +x_93 = x_101; +goto block_96; +} +else +{ +x_90 = x_98; +x_91 = x_99; +x_92 = x_97; +x_93 = x_100; +goto block_96; +} +} +block_170: { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec_ref(x_109); -x_111 = l_Lean_TSyntax_getId(x_102); -x_112 = lean_erase_macro_scopes(x_111); -lean_inc(x_112); -x_113 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_113, 0, x_112); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_114 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_110); +x_110 = l_Array_toSubarray___redArg(x_105, x_108, x_109); +x_111 = l_Array_ofSubarray___redArg(x_110); +lean_dec_ref(x_110); +lean_inc(x_104); +x_112 = l_Lean_Syntax_setArgs(x_104, x_111); +x_113 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_113, 0, x_112); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_114 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_107); if (lean_obj_tag(x_114) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_115 = lean_ctor_get(x_114, 0); +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_114, 1); lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); lean_dec_ref(x_114); -x_117 = lean_ctor_get(x_115, 0); +x_116 = l_Lean_TSyntax_getId(x_106); +x_117 = lean_erase_macro_scopes(x_116); lean_inc(x_117); -lean_inc(x_112); -x_118 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_118, 0, x_102); -lean_ctor_set(x_118, 1, x_112); -lean_ctor_set(x_118, 2, x_117); -x_119 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_119, 0, x_118); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_120 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_116); -if (lean_obj_tag(x_120) == 0) +x_118 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_118, 0, x_117); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_119 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_115); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_120, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); -lean_dec_ref(x_120); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_122 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_112, x_115, x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_121); -lean_dec(x_115); -if (lean_obj_tag(x_122) == 0) +lean_dec_ref(x_119); +x_122 = lean_ctor_get(x_120, 0); +lean_inc(x_122); +lean_inc(x_117); +x_123 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_123, 0, x_106); +lean_ctor_set(x_123, 1, x_117); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_124, 0, x_123); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_125 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); +if (lean_obj_tag(x_125) == 0) { -uint8_t x_123; -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_123 = !lean_is_exclusive(x_122); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_124 = lean_ctor_get(x_122, 0); -lean_dec(x_124); -x_125 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; -if (lean_is_scalar(x_67)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_67; -} -lean_ctor_set(x_126, 0, x_70); -lean_ctor_set(x_126, 1, x_99); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -x_128 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_129 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_129, 0, x_128); -x_130 = l_Lean_Doc_name___closed__0; -x_131 = lean_array_push(x_130, x_129); -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_127); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set(x_122, 0, x_132); -return x_122; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_133 = lean_ctor_get(x_122, 1); -lean_inc(x_133); -lean_dec(x_122); -x_134 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; -if (lean_is_scalar(x_67)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_67; -} -lean_ctor_set(x_135, 0, x_70); -lean_ctor_set(x_135, 1, x_99); -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_138 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_139 = l_Lean_Doc_name___closed__0; -x_140 = lean_array_push(x_139, x_138); -x_141 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_141, 0, x_136); -lean_ctor_set(x_141, 1, x_140); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_133); -return x_142; -} -} -else -{ -uint8_t x_143; -lean_dec(x_99); -lean_dec(x_67); -x_143 = !lean_is_exclusive(x_122); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; -x_144 = lean_ctor_get(x_122, 0); -x_145 = lean_ctor_get(x_122, 1); -lean_inc(x_145); -lean_inc(x_144); -x_92 = x_122; -x_93 = x_144; -x_94 = x_145; -goto block_97; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_122, 0); -x_147 = lean_ctor_get(x_122, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_122); -lean_inc(x_147); -lean_inc(x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -x_92 = x_148; -x_93 = x_146; -x_94 = x_147; -goto block_97; -} -} -} -else -{ -uint8_t x_149; -lean_dec(x_115); -lean_dec(x_112); -lean_dec(x_99); -lean_dec_ref(x_98); -lean_dec(x_67); -x_149 = !lean_is_exclusive(x_120); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_120, 0); -x_151 = lean_ctor_get(x_120, 1); -lean_inc(x_151); -lean_inc(x_150); -x_92 = x_120; -x_93 = x_150; -x_94 = x_151; -goto block_97; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_120, 0); -x_153 = lean_ctor_get(x_120, 1); -lean_inc(x_153); -lean_inc(x_152); +lean_object* x_126; lean_object* x_127; +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec_ref(x_125); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_127 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_117, x_120, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_126); lean_dec(x_120); -lean_inc(x_153); +if (lean_obj_tag(x_127) == 0) +{ +uint8_t x_128; +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_129 = lean_ctor_get(x_127, 0); +lean_dec(x_129); +x_130 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +if (lean_is_scalar(x_72)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_72; +} +lean_ctor_set(x_131, 0, x_75); +lean_ctor_set(x_131, 1, x_104); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_134 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = l_Lean_Doc_name___closed__5; +x_136 = lean_array_push(x_135, x_134); +x_137 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_137, 0, x_132); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_127, 0, x_137); +return x_127; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_138 = lean_ctor_get(x_127, 1); +lean_inc(x_138); +lean_dec(x_127); +x_139 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +if (lean_is_scalar(x_72)) { + x_140 = lean_alloc_ctor(0, 2, 0); +} else { + x_140 = x_72; +} +lean_ctor_set(x_140, 0, x_75); +lean_ctor_set(x_140, 1, x_104); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_143 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_143, 0, x_142); +x_144 = l_Lean_Doc_name___closed__5; +x_145 = lean_array_push(x_144, x_143); +x_146 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_138); +return x_147; +} +} +else +{ +uint8_t x_148; +lean_dec(x_104); +lean_dec(x_72); +x_148 = !lean_is_exclusive(x_127); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_127, 0); +x_150 = lean_ctor_get(x_127, 1); +lean_inc(x_150); +lean_inc(x_149); +x_97 = x_127; +x_98 = x_149; +x_99 = x_150; +goto block_102; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_127, 0); +x_152 = lean_ctor_get(x_127, 1); lean_inc(x_152); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -x_92 = x_154; -x_93 = x_152; -x_94 = x_153; -goto block_97; +lean_inc(x_151); +lean_dec(x_127); +lean_inc(x_152); +lean_inc(x_151); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_97 = x_153; +x_98 = x_151; +x_99 = x_152; +goto block_102; } } } else { -uint8_t x_155; -lean_dec(x_112); -lean_dec(x_102); -lean_dec(x_99); -lean_dec_ref(x_98); -lean_dec(x_67); -x_155 = !lean_is_exclusive(x_114); -if (x_155 == 0) +uint8_t x_154; +lean_dec(x_120); +lean_dec(x_117); +lean_dec(x_104); +lean_dec_ref(x_103); +lean_dec(x_72); +x_154 = !lean_is_exclusive(x_125); +if (x_154 == 0) { -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_114, 0); -x_157 = lean_ctor_get(x_114, 1); -lean_inc(x_157); +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_125, 0); +x_156 = lean_ctor_get(x_125, 1); lean_inc(x_156); -x_92 = x_114; -x_93 = x_156; -x_94 = x_157; -goto block_97; +lean_inc(x_155); +x_97 = x_125; +x_98 = x_155; +x_99 = x_156; +goto block_102; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_114, 0); -x_159 = lean_ctor_get(x_114, 1); -lean_inc(x_159); +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_125, 0); +x_158 = lean_ctor_get(x_125, 1); lean_inc(x_158); -lean_dec(x_114); -lean_inc(x_159); +lean_inc(x_157); +lean_dec(x_125); lean_inc(x_158); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_92 = x_160; -x_93 = x_158; -x_94 = x_159; -goto block_97; +lean_inc(x_157); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_97 = x_159; +x_98 = x_157; +x_99 = x_158; +goto block_102; } } } else { -uint8_t x_161; -lean_dec(x_102); -lean_dec(x_99); -lean_dec_ref(x_98); -lean_dec_ref(x_8); -lean_dec(x_71); -lean_dec(x_67); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_161 = !lean_is_exclusive(x_109); -if (x_161 == 0) +uint8_t x_160; +lean_dec(x_117); +lean_dec(x_106); +lean_dec(x_104); +lean_dec_ref(x_103); +lean_dec(x_72); +x_160 = !lean_is_exclusive(x_119); +if (x_160 == 0) { -return x_109; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_109, 0); -x_163 = lean_ctor_get(x_109, 1); -lean_inc(x_163); +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_119, 0); +x_162 = lean_ctor_get(x_119, 1); lean_inc(x_162); -lean_dec(x_109); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; +lean_inc(x_161); +x_97 = x_119; +x_98 = x_161; +x_99 = x_162; +goto block_102; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_119, 0); +x_164 = lean_ctor_get(x_119, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_119); +lean_inc(x_164); +lean_inc(x_163); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +x_97 = x_165; +x_98 = x_163; +x_99 = x_164; +goto block_102; +} +} +} +else +{ +uint8_t x_166; +lean_dec(x_106); +lean_dec(x_104); +lean_dec_ref(x_103); +lean_dec_ref(x_9); +lean_dec(x_76); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_166 = !lean_is_exclusive(x_114); +if (x_166 == 0) +{ +return x_114; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_114, 0); +x_168 = lean_ctor_get(x_114, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_114); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; } } } } else { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; lean_object* x_397; uint8_t x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_482; -x_384 = lean_ctor_get(x_8, 0); -x_385 = lean_ctor_get(x_8, 1); -x_386 = lean_ctor_get(x_8, 2); -x_387 = lean_ctor_get(x_8, 3); -x_388 = lean_ctor_get(x_8, 4); -x_389 = lean_ctor_get(x_8, 5); -x_390 = lean_ctor_get(x_8, 6); -x_391 = lean_ctor_get(x_8, 7); -x_392 = lean_ctor_get(x_8, 8); -x_393 = lean_ctor_get(x_8, 9); -x_394 = lean_ctor_get(x_8, 10); -x_395 = lean_ctor_get(x_8, 11); -x_396 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_397 = lean_ctor_get(x_8, 12); -x_398 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_399 = lean_ctor_get(x_8, 13); +lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; lean_object* x_402; uint8_t x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; uint8_t x_411; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_487; +x_389 = lean_ctor_get(x_9, 0); +x_390 = lean_ctor_get(x_9, 1); +x_391 = lean_ctor_get(x_9, 2); +x_392 = lean_ctor_get(x_9, 3); +x_393 = lean_ctor_get(x_9, 4); +x_394 = lean_ctor_get(x_9, 5); +x_395 = lean_ctor_get(x_9, 6); +x_396 = lean_ctor_get(x_9, 7); +x_397 = lean_ctor_get(x_9, 8); +x_398 = lean_ctor_get(x_9, 9); +x_399 = lean_ctor_get(x_9, 10); +x_400 = lean_ctor_get(x_9, 11); +x_401 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_402 = lean_ctor_get(x_9, 12); +x_403 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_404 = lean_ctor_get(x_9, 13); +lean_inc(x_404); +lean_inc(x_402); +lean_inc(x_400); lean_inc(x_399); +lean_inc(x_398); lean_inc(x_397); +lean_inc(x_396); lean_inc(x_395); lean_inc(x_394); lean_inc(x_393); @@ -19539,1132 +21060,1136 @@ lean_inc(x_392); lean_inc(x_391); lean_inc(x_390); lean_inc(x_389); -lean_inc(x_388); -lean_inc(x_387); -lean_inc(x_386); -lean_inc(x_385); -lean_inc(x_384); -lean_dec(x_8); -x_400 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; -x_401 = l_Lean_replaceRef(x_12, x_389); -lean_dec(x_389); -lean_inc(x_401); -x_402 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_402, 0, x_384); -lean_ctor_set(x_402, 1, x_385); -lean_ctor_set(x_402, 2, x_386); -lean_ctor_set(x_402, 3, x_387); -lean_ctor_set(x_402, 4, x_388); -lean_ctor_set(x_402, 5, x_401); -lean_ctor_set(x_402, 6, x_390); -lean_ctor_set(x_402, 7, x_391); -lean_ctor_set(x_402, 8, x_392); -lean_ctor_set(x_402, 9, x_393); -lean_ctor_set(x_402, 10, x_394); -lean_ctor_set(x_402, 11, x_395); -lean_ctor_set(x_402, 12, x_397); -lean_ctor_set(x_402, 13, x_399); -lean_ctor_set_uint8(x_402, sizeof(void*)*14, x_396); -lean_ctor_set_uint8(x_402, sizeof(void*)*14 + 1, x_398); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_482 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_66, x_12, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_13); -if (lean_obj_tag(x_482) == 0) +lean_dec(x_9); +x_405 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +x_406 = l_Lean_replaceRef(x_13, x_394); +lean_dec(x_394); +lean_inc(x_406); +x_407 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_407, 0, x_389); +lean_ctor_set(x_407, 1, x_390); +lean_ctor_set(x_407, 2, x_391); +lean_ctor_set(x_407, 3, x_392); +lean_ctor_set(x_407, 4, x_393); +lean_ctor_set(x_407, 5, x_406); +lean_ctor_set(x_407, 6, x_395); +lean_ctor_set(x_407, 7, x_396); +lean_ctor_set(x_407, 8, x_397); +lean_ctor_set(x_407, 9, x_398); +lean_ctor_set(x_407, 10, x_399); +lean_ctor_set(x_407, 11, x_400); +lean_ctor_set(x_407, 12, x_402); +lean_ctor_set(x_407, 13, x_404); +lean_ctor_set_uint8(x_407, sizeof(void*)*14, x_401); +lean_ctor_set_uint8(x_407, sizeof(void*)*14 + 1, x_403); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_487 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_71, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_14); +if (lean_obj_tag(x_487) == 0) { -lean_object* x_483; lean_object* x_484; lean_object* x_485; -lean_dec(x_14); -x_483 = lean_ctor_get(x_482, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_482, 1); -lean_inc(x_484); -lean_dec_ref(x_482); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_485 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_483, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_484); -if (lean_obj_tag(x_485) == 0) -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -x_486 = lean_ctor_get(x_485, 0); -lean_inc(x_486); -x_487 = lean_ctor_get(x_485, 1); -lean_inc(x_487); -lean_dec_ref(x_485); -x_488 = lean_ctor_get(x_486, 0); +lean_object* x_488; lean_object* x_489; lean_object* x_490; +lean_dec(x_15); +x_488 = lean_ctor_get(x_487, 0); lean_inc(x_488); -x_489 = lean_ctor_get(x_486, 1); +x_489 = lean_ctor_get(x_487, 1); lean_inc(x_489); -lean_dec(x_486); -x_490 = l_Lean_Syntax_getArgs(x_483); -x_491 = lean_unsigned_to_nat(3u); -x_492 = lean_unsigned_to_nat(0u); -x_493 = lean_array_get_size(x_490); -x_494 = lean_nat_dec_le(x_491, x_493); -if (x_494 == 0) +lean_dec_ref(x_487); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_490 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal(x_488, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_489); +if (lean_obj_tag(x_490) == 0) { -x_429 = x_489; -x_430 = x_483; -x_431 = x_490; -x_432 = x_487; -x_433 = x_488; -x_434 = x_492; -x_435 = x_493; -goto block_481; +lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +lean_dec_ref(x_490); +x_493 = lean_ctor_get(x_491, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_491, 1); +lean_inc(x_494); +lean_dec(x_491); +x_495 = l_Lean_Syntax_getArgs(x_488); +x_496 = lean_unsigned_to_nat(3u); +x_497 = lean_unsigned_to_nat(0u); +x_498 = lean_array_get_size(x_495); +x_499 = lean_nat_dec_le(x_496, x_498); +if (x_499 == 0) +{ +x_434 = x_494; +x_435 = x_488; +x_436 = x_495; +x_437 = x_493; +x_438 = x_492; +x_439 = x_497; +x_440 = x_498; +goto block_486; } else { -lean_dec(x_493); -x_429 = x_489; -x_430 = x_483; -x_431 = x_490; -x_432 = x_487; -x_433 = x_488; -x_434 = x_492; -x_435 = x_491; -goto block_481; +lean_dec(x_498); +x_434 = x_494; +x_435 = x_488; +x_436 = x_495; +x_437 = x_493; +x_438 = x_492; +x_439 = x_497; +x_440 = x_496; +goto block_486; } } else { -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; -lean_dec(x_483); -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_67); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_495 = lean_ctor_get(x_485, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_485, 1); -lean_inc(x_496); -if (lean_is_exclusive(x_485)) { - lean_ctor_release(x_485, 0); - lean_ctor_release(x_485, 1); - x_497 = x_485; -} else { - lean_dec_ref(x_485); - x_497 = lean_box(0); -} -if (lean_is_scalar(x_497)) { - x_498 = lean_alloc_ctor(1, 2, 0); -} else { - x_498 = x_497; -} -lean_ctor_set(x_498, 0, x_495); -lean_ctor_set(x_498, 1, x_496); -return x_498; -} -} -else -{ -lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_object* x_516; lean_object* x_517; lean_object* x_521; uint8_t x_522; uint8_t x_577; -lean_dec(x_67); -x_499 = lean_ctor_get(x_482, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_482, 1); +lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; +lean_dec(x_488); +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_500 = lean_ctor_get(x_490, 0); lean_inc(x_500); -if (lean_is_exclusive(x_482)) { - lean_ctor_release(x_482, 0); - lean_ctor_release(x_482, 1); - x_501 = x_482; +x_501 = lean_ctor_get(x_490, 1); +lean_inc(x_501); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_502 = x_490; } else { - lean_dec_ref(x_482); - x_501 = lean_box(0); + lean_dec_ref(x_490); + x_502 = lean_box(0); +} +if (lean_is_scalar(x_502)) { + x_503 = lean_alloc_ctor(1, 2, 0); +} else { + x_503 = x_502; +} +lean_ctor_set(x_503, 0, x_500); +lean_ctor_set(x_503, 1, x_501); +return x_503; } -x_521 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -x_577 = l_Lean_Exception_isInterrupt(x_499); -if (x_577 == 0) -{ -uint8_t x_578; -x_578 = l_Lean_Exception_isRuntime(x_499); -x_522 = x_578; -goto block_576; } else { -x_522 = x_577; -goto block_576; -} -block_515: -{ -if (x_504 == 0) -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; -lean_dec(x_501); -x_505 = l_Lean_Doc_option___closed__2; -x_506 = l_Lean_Doc_option___closed__3; -x_507 = lean_array_push(x_506, x_499); -x_508 = lean_array_push(x_507, x_503); -x_509 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_505, x_508, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_502); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_509, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - x_512 = x_509; +lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; lean_object* x_521; lean_object* x_522; lean_object* x_526; uint8_t x_527; uint8_t x_582; +lean_dec(x_72); +x_504 = lean_ctor_get(x_487, 0); +lean_inc(x_504); +x_505 = lean_ctor_get(x_487, 1); +lean_inc(x_505); +if (lean_is_exclusive(x_487)) { + lean_ctor_release(x_487, 0); + lean_ctor_release(x_487, 1); + x_506 = x_487; } else { - lean_dec_ref(x_509); - x_512 = lean_box(0); + lean_dec_ref(x_487); + x_506 = lean_box(0); } -if (lean_is_scalar(x_512)) { - x_513 = lean_alloc_ctor(1, 2, 0); -} else { - x_513 = x_512; -} -lean_ctor_set(x_513, 0, x_510); -lean_ctor_set(x_513, 1, x_511); -return x_513; +x_526 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +x_582 = l_Lean_Exception_isInterrupt(x_504); +if (x_582 == 0) +{ +uint8_t x_583; +x_583 = l_Lean_Exception_isRuntime(x_504); +x_527 = x_583; +goto block_581; } else { -lean_object* x_514; -lean_dec(x_499); -lean_dec_ref(x_402); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_501)) { - x_514 = lean_alloc_ctor(1, 2, 0); -} else { - x_514 = x_501; -} -lean_ctor_set(x_514, 0, x_503); -lean_ctor_set(x_514, 1, x_502); -return x_514; -} +x_527 = x_582; +goto block_581; } block_520: { -uint8_t x_518; -x_518 = l_Lean_Exception_isInterrupt(x_516); -if (x_518 == 0) +if (x_509 == 0) { -uint8_t x_519; -x_519 = l_Lean_Exception_isRuntime(x_516); -x_502 = x_517; -x_503 = x_516; -x_504 = x_519; -goto block_515; +lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +lean_dec(x_506); +x_510 = l_Lean_Doc_option___closed__2; +x_511 = l_Lean_Doc_option___closed__3; +x_512 = lean_array_push(x_511, x_504); +x_513 = lean_array_push(x_512, x_508); +x_514 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_510, x_513, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_507); +x_515 = lean_ctor_get(x_514, 0); +lean_inc(x_515); +x_516 = lean_ctor_get(x_514, 1); +lean_inc(x_516); +if (lean_is_exclusive(x_514)) { + lean_ctor_release(x_514, 0); + lean_ctor_release(x_514, 1); + x_517 = x_514; +} else { + lean_dec_ref(x_514); + x_517 = lean_box(0); +} +if (lean_is_scalar(x_517)) { + x_518 = lean_alloc_ctor(1, 2, 0); +} else { + x_518 = x_517; +} +lean_ctor_set(x_518, 0, x_515); +lean_ctor_set(x_518, 1, x_516); +return x_518; } else { -x_502 = x_517; -x_503 = x_516; -x_504 = x_518; -goto block_515; -} -} -block_576: -{ -if (x_522 == 0) -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -lean_dec(x_14); -x_523 = l_Lean_Doc_option___closed__4; -x_524 = lean_ctor_get(x_523, 1); -lean_inc_ref(x_524); -x_525 = l_Lean_Doc_option___closed__6; -x_526 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_526, 0, x_525); -lean_closure_set(x_526, 1, x_524); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_527 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27(x_526, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_500); -if (lean_obj_tag(x_527) == 0) -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_527, 1); -lean_inc(x_529); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - lean_ctor_release(x_527, 1); - x_530 = x_527; +lean_object* x_519; +lean_dec(x_504); +lean_dec_ref(x_407); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_506)) { + x_519 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_527); - x_530 = lean_box(0); + x_519 = x_506; } -x_531 = lean_ctor_get(x_528, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_528, 1); -lean_inc(x_532); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - lean_ctor_release(x_528, 1); - x_533 = x_528; +lean_ctor_set(x_519, 0, x_508); +lean_ctor_set(x_519, 1, x_507); +return x_519; +} +} +block_525: +{ +uint8_t x_523; +x_523 = l_Lean_Exception_isInterrupt(x_521); +if (x_523 == 0) +{ +uint8_t x_524; +x_524 = l_Lean_Exception_isRuntime(x_521); +x_507 = x_522; +x_508 = x_521; +x_509 = x_524; +goto block_520; +} +else +{ +x_507 = x_522; +x_508 = x_521; +x_509 = x_523; +goto block_520; +} +} +block_581: +{ +if (x_527 == 0) +{ +lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; +lean_dec(x_15); +x_528 = l_Lean_Doc_option___closed__4; +x_529 = lean_ctor_get(x_528, 1); +lean_inc_ref(x_529); +x_530 = l_Lean_Doc_option___closed__6; +x_531 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_531, 0, x_530); +lean_closure_set(x_531, 1, x_529); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_532 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5(x_531, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_505); +if (lean_obj_tag(x_532) == 0) +{ +lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; +x_533 = lean_ctor_get(x_532, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_532, 1); +lean_inc(x_534); +if (lean_is_exclusive(x_532)) { + lean_ctor_release(x_532, 0); + lean_ctor_release(x_532, 1); + x_535 = x_532; } else { - lean_dec_ref(x_528); - x_533 = lean_box(0); + lean_dec_ref(x_532); + x_535 = lean_box(0); } -x_534 = lean_unsigned_to_nat(0u); -x_535 = l_Lean_Syntax_getArg(x_531, x_534); -lean_dec(x_531); -lean_inc(x_535); -x_536 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_536, 0, x_535); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_537 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_536, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_529); -if (lean_obj_tag(x_537) == 0) -{ -uint8_t x_538; -x_538 = lean_unbox(x_532); -lean_dec(x_532); -if (x_538 == 0) -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -lean_dec(x_501); -lean_dec(x_499); -x_539 = lean_ctor_get(x_537, 1); -lean_inc(x_539); -if (lean_is_exclusive(x_537)) { - lean_ctor_release(x_537, 0); - lean_ctor_release(x_537, 1); - x_540 = x_537; +x_536 = lean_ctor_get(x_533, 0); +lean_inc(x_536); +x_537 = lean_ctor_get(x_533, 1); +lean_inc(x_537); +if (lean_is_exclusive(x_533)) { + lean_ctor_release(x_533, 0); + lean_ctor_release(x_533, 1); + x_538 = x_533; } else { - lean_dec_ref(x_537); - x_540 = lean_box(0); + lean_dec_ref(x_533); + x_538 = lean_box(0); } -x_541 = l_Lean_Syntax_getId(x_535); -x_542 = lean_erase_macro_scopes(x_541); -lean_inc(x_542); -x_543 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_543, 0, x_542); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_544 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_543, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_539); -if (lean_obj_tag(x_544) == 0) +x_539 = lean_unsigned_to_nat(0u); +x_540 = l_Lean_Syntax_getArg(x_536, x_539); +lean_dec(x_536); +lean_inc(x_540); +x_541 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_541, 0, x_540); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_542 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_541, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_534); +if (lean_obj_tag(x_542) == 0) { -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_545 = lean_ctor_get(x_544, 0); -lean_inc(x_545); -x_546 = lean_ctor_get(x_544, 1); -lean_inc(x_546); -lean_dec_ref(x_544); -x_547 = lean_ctor_get(x_545, 0); +uint8_t x_543; +x_543 = lean_unbox(x_537); +lean_dec(x_537); +if (x_543 == 0) +{ +lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +lean_dec(x_506); +lean_dec(x_504); +x_544 = lean_ctor_get(x_542, 1); +lean_inc(x_544); +if (lean_is_exclusive(x_542)) { + lean_ctor_release(x_542, 0); + lean_ctor_release(x_542, 1); + x_545 = x_542; +} else { + lean_dec_ref(x_542); + x_545 = lean_box(0); +} +x_546 = l_Lean_Syntax_getId(x_540); +x_547 = lean_erase_macro_scopes(x_546); lean_inc(x_547); -lean_dec(x_545); -lean_inc(x_542); -x_548 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_548, 0, x_535); -lean_ctor_set(x_548, 1, x_542); -lean_ctor_set(x_548, 2, x_547); -x_549 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_549, 0, x_548); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_550 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_549, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_546); -if (lean_obj_tag(x_550) == 0) +x_548 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_548, 0, x_547); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_549 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_548, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_544); +if (lean_obj_tag(x_549) == 0) { -lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_551 = lean_ctor_get(x_550, 1); +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_550 = lean_ctor_get(x_549, 0); +lean_inc(x_550); +x_551 = lean_ctor_get(x_549, 1); lean_inc(x_551); -if (lean_is_exclusive(x_550)) { - lean_ctor_release(x_550, 0); - lean_ctor_release(x_550, 1); - x_552 = x_550; +lean_dec_ref(x_549); +x_552 = lean_ctor_get(x_550, 0); +lean_inc(x_552); +lean_dec(x_550); +lean_inc(x_547); +x_553 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_553, 0, x_540); +lean_ctor_set(x_553, 1, x_547); +lean_ctor_set(x_553, 2, x_552); +x_554 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_554, 0, x_553); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_555 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_554, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_551); +if (lean_obj_tag(x_555) == 0) +{ +lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_556 = lean_ctor_get(x_555, 1); +lean_inc(x_556); +if (lean_is_exclusive(x_555)) { + lean_ctor_release(x_555, 0); + lean_ctor_release(x_555, 1); + x_557 = x_555; } else { - lean_dec_ref(x_550); - x_552 = lean_box(0); + lean_dec_ref(x_555); + x_557 = lean_box(0); } -x_553 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; -if (lean_is_scalar(x_533)) { - x_554 = lean_alloc_ctor(0, 2, 0); +x_558 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; +if (lean_is_scalar(x_538)) { + x_559 = lean_alloc_ctor(0, 2, 0); } else { - x_554 = x_533; + x_559 = x_538; } -lean_ctor_set(x_554, 0, x_521); -lean_ctor_set(x_554, 1, x_542); -if (lean_is_scalar(x_540)) { - x_555 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_559, 0, x_526); +lean_ctor_set(x_559, 1, x_547); +if (lean_is_scalar(x_545)) { + x_560 = lean_alloc_ctor(0, 2, 0); } else { - x_555 = x_540; + x_560 = x_545; } -lean_ctor_set(x_555, 0, x_553); -lean_ctor_set(x_555, 1, x_554); -x_556 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_557 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_557, 0, x_556); -x_558 = l_Lean_Doc_name___closed__0; -x_559 = lean_array_push(x_558, x_557); -if (lean_is_scalar(x_530)) { - x_560 = lean_alloc_ctor(10, 2, 0); -} else { - x_560 = x_530; - lean_ctor_set_tag(x_560, 10); -} -lean_ctor_set(x_560, 0, x_555); +lean_ctor_set(x_560, 0, x_558); lean_ctor_set(x_560, 1, x_559); -if (lean_is_scalar(x_552)) { - x_561 = lean_alloc_ctor(0, 2, 0); +x_561 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_562 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_562, 0, x_561); +x_563 = l_Lean_Doc_name___closed__5; +x_564 = lean_array_push(x_563, x_562); +if (lean_is_scalar(x_535)) { + x_565 = lean_alloc_ctor(10, 2, 0); } else { - x_561 = x_552; + x_565 = x_535; + lean_ctor_set_tag(x_565, 10); } -lean_ctor_set(x_561, 0, x_560); -lean_ctor_set(x_561, 1, x_551); -return x_561; +lean_ctor_set(x_565, 0, x_560); +lean_ctor_set(x_565, 1, x_564); +if (lean_is_scalar(x_557)) { + x_566 = lean_alloc_ctor(0, 2, 0); +} else { + x_566 = x_557; +} +lean_ctor_set(x_566, 0, x_565); +lean_ctor_set(x_566, 1, x_556); +return x_566; } else { -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; -lean_dec(x_542); -lean_dec(x_540); -lean_dec(x_533); -lean_dec(x_530); -x_562 = lean_ctor_get(x_550, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_550, 1); -lean_inc(x_563); -if (lean_is_exclusive(x_550)) { - lean_ctor_release(x_550, 0); - lean_ctor_release(x_550, 1); - x_564 = x_550; -} else { - lean_dec_ref(x_550); - x_564 = lean_box(0); -} -lean_inc(x_563); -lean_inc(x_562); -if (lean_is_scalar(x_564)) { - x_565 = lean_alloc_ctor(1, 2, 0); -} else { - x_565 = x_564; -} -lean_ctor_set(x_565, 0, x_562); -lean_ctor_set(x_565, 1, x_563); -x_410 = x_565; -x_411 = x_562; -x_412 = x_563; -goto block_415; -} -} -else -{ -lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; -lean_dec(x_542); -lean_dec(x_540); +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; +lean_dec(x_547); +lean_dec(x_545); +lean_dec(x_538); lean_dec(x_535); -lean_dec(x_533); -lean_dec(x_530); -x_566 = lean_ctor_get(x_544, 0); -lean_inc(x_566); -x_567 = lean_ctor_get(x_544, 1); +x_567 = lean_ctor_get(x_555, 0); lean_inc(x_567); -if (lean_is_exclusive(x_544)) { - lean_ctor_release(x_544, 0); - lean_ctor_release(x_544, 1); - x_568 = x_544; +x_568 = lean_ctor_get(x_555, 1); +lean_inc(x_568); +if (lean_is_exclusive(x_555)) { + lean_ctor_release(x_555, 0); + lean_ctor_release(x_555, 1); + x_569 = x_555; } else { - lean_dec_ref(x_544); - x_568 = lean_box(0); + lean_dec_ref(x_555); + x_569 = lean_box(0); } +lean_inc(x_568); lean_inc(x_567); -lean_inc(x_566); -if (lean_is_scalar(x_568)) { - x_569 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_569)) { + x_570 = lean_alloc_ctor(1, 2, 0); } else { - x_569 = x_568; + x_570 = x_569; } -lean_ctor_set(x_569, 0, x_566); -lean_ctor_set(x_569, 1, x_567); -x_410 = x_569; -x_411 = x_566; -x_412 = x_567; -goto block_415; +lean_ctor_set(x_570, 0, x_567); +lean_ctor_set(x_570, 1, x_568); +x_415 = x_570; +x_416 = x_567; +x_417 = x_568; +goto block_420; } } else { -lean_object* x_570; +lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; +lean_dec(x_547); +lean_dec(x_545); +lean_dec(x_540); +lean_dec(x_538); lean_dec(x_535); -lean_dec(x_533); -lean_dec(x_530); -lean_dec(x_401); -lean_dec(x_12); -x_570 = lean_ctor_get(x_537, 1); -lean_inc(x_570); -lean_dec_ref(x_537); -lean_inc(x_499); -x_516 = x_499; -x_517 = x_570; -goto block_520; -} -} -else -{ -lean_object* x_571; lean_object* x_572; -lean_dec(x_535); -lean_dec(x_533); -lean_dec(x_532); -lean_dec(x_530); -lean_dec(x_401); -lean_dec(x_12); -x_571 = lean_ctor_get(x_537, 0); +x_571 = lean_ctor_get(x_549, 0); lean_inc(x_571); -x_572 = lean_ctor_get(x_537, 1); +x_572 = lean_ctor_get(x_549, 1); lean_inc(x_572); -lean_dec_ref(x_537); -x_516 = x_571; -x_517 = x_572; -goto block_520; +if (lean_is_exclusive(x_549)) { + lean_ctor_release(x_549, 0); + lean_ctor_release(x_549, 1); + x_573 = x_549; +} else { + lean_dec_ref(x_549); + x_573 = lean_box(0); } +lean_inc(x_572); +lean_inc(x_571); +if (lean_is_scalar(x_573)) { + x_574 = lean_alloc_ctor(1, 2, 0); +} else { + x_574 = x_573; } -else -{ -lean_object* x_573; lean_object* x_574; -lean_dec(x_401); -lean_dec(x_12); -x_573 = lean_ctor_get(x_527, 0); -lean_inc(x_573); -x_574 = lean_ctor_get(x_527, 1); -lean_inc(x_574); -lean_dec_ref(x_527); -x_516 = x_573; -x_517 = x_574; -goto block_520; +lean_ctor_set(x_574, 0, x_571); +lean_ctor_set(x_574, 1, x_572); +x_415 = x_574; +x_416 = x_571; +x_417 = x_572; +goto block_420; } } else { lean_object* x_575; -lean_dec(x_501); -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_14)) { - x_575 = lean_alloc_ctor(1, 2, 0); +lean_dec(x_540); +lean_dec(x_538); +lean_dec(x_535); +lean_dec(x_406); +lean_dec(x_13); +x_575 = lean_ctor_get(x_542, 1); +lean_inc(x_575); +lean_dec_ref(x_542); +lean_inc(x_504); +x_521 = x_504; +x_522 = x_575; +goto block_525; +} +} +else +{ +lean_object* x_576; lean_object* x_577; +lean_dec(x_540); +lean_dec(x_538); +lean_dec(x_537); +lean_dec(x_535); +lean_dec(x_406); +lean_dec(x_13); +x_576 = lean_ctor_get(x_542, 0); +lean_inc(x_576); +x_577 = lean_ctor_get(x_542, 1); +lean_inc(x_577); +lean_dec_ref(x_542); +x_521 = x_576; +x_522 = x_577; +goto block_525; +} +} +else +{ +lean_object* x_578; lean_object* x_579; +lean_dec(x_406); +lean_dec(x_13); +x_578 = lean_ctor_get(x_532, 0); +lean_inc(x_578); +x_579 = lean_ctor_get(x_532, 1); +lean_inc(x_579); +lean_dec_ref(x_532); +x_521 = x_578; +x_522 = x_579; +goto block_525; +} +} +else +{ +lean_object* x_580; +lean_dec(x_506); +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_15)) { + x_580 = lean_alloc_ctor(1, 2, 0); } else { - x_575 = x_14; - lean_ctor_set_tag(x_575, 1); + x_580 = x_15; + lean_ctor_set_tag(x_580, 1); } -lean_ctor_set(x_575, 0, x_499); -lean_ctor_set(x_575, 1, x_500); -return x_575; +lean_ctor_set(x_580, 0, x_504); +lean_ctor_set(x_580, 1, x_505); +return x_580; } } } -block_409: +block_414: { -if (x_406 == 0) +if (x_411 == 0) { -lean_object* x_407; uint8_t x_408; -lean_dec_ref(x_405); -x_407 = l_Lean_Exception_getRef(x_403); -x_408 = l_Lean_Syntax_isMissing(x_407); -if (x_408 == 0) -{ -lean_dec(x_401); -x_40 = x_403; -x_41 = x_407; -x_42 = x_3; -x_43 = x_4; -x_44 = x_5; -x_45 = x_6; -x_46 = x_7; -x_47 = x_402; -x_48 = x_9; -x_49 = x_404; -goto block_64; -} -else -{ -lean_dec(x_407); -x_40 = x_403; -x_41 = x_401; -x_42 = x_3; -x_43 = x_4; -x_44 = x_5; -x_45 = x_6; -x_46 = x_7; -x_47 = x_402; -x_48 = x_9; -x_49 = x_404; -goto block_64; -} -} -else -{ -lean_dec_ref(x_403); -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_405; -} -} -block_415: -{ -uint8_t x_413; -x_413 = l_Lean_Exception_isInterrupt(x_411); +lean_object* x_412; uint8_t x_413; +lean_dec_ref(x_408); +x_412 = l_Lean_Exception_getRef(x_410); +x_413 = l_Lean_Syntax_isMissing(x_412); if (x_413 == 0) { -uint8_t x_414; -x_414 = l_Lean_Exception_isRuntime(x_411); -x_403 = x_411; -x_404 = x_412; -x_405 = x_410; -x_406 = x_414; -goto block_409; +lean_dec(x_406); +x_43 = x_410; +x_44 = x_412; +x_45 = x_2; +x_46 = x_3; +x_47 = x_4; +x_48 = x_5; +x_49 = x_6; +x_50 = x_7; +x_51 = x_8; +x_52 = x_407; +x_53 = x_10; +x_54 = x_409; +goto block_69; } else { -x_403 = x_411; -x_404 = x_412; -x_405 = x_410; -x_406 = x_413; -goto block_409; -} -} -block_422: -{ -if (x_419 == 0) -{ -lean_object* x_420; uint8_t x_421; -lean_dec_ref(x_417); -x_420 = l_Lean_Exception_getRef(x_416); -x_421 = l_Lean_Syntax_isMissing(x_420); -if (x_421 == 0) -{ -lean_dec(x_401); -x_15 = x_416; -x_16 = x_420; -x_17 = x_3; -x_18 = x_4; -x_19 = x_5; -x_20 = x_6; -x_21 = x_7; -x_22 = x_402; -x_23 = x_9; -x_24 = x_418; -goto block_39; -} -else -{ -lean_dec(x_420); -x_15 = x_416; -x_16 = x_401; -x_17 = x_3; -x_18 = x_4; -x_19 = x_5; -x_20 = x_6; -x_21 = x_7; -x_22 = x_402; -x_23 = x_9; -x_24 = x_418; -goto block_39; +lean_dec(x_412); +x_43 = x_410; +x_44 = x_406; +x_45 = x_2; +x_46 = x_3; +x_47 = x_4; +x_48 = x_5; +x_49 = x_6; +x_50 = x_7; +x_51 = x_8; +x_52 = x_407; +x_53 = x_10; +x_54 = x_409; +goto block_69; } } else { -lean_dec_ref(x_416); -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_417; +lean_dec_ref(x_410); +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_408; } } -block_428: +block_420: { -uint8_t x_426; -x_426 = l_Lean_Exception_isInterrupt(x_424); +uint8_t x_418; +x_418 = l_Lean_Exception_isInterrupt(x_416); +if (x_418 == 0) +{ +uint8_t x_419; +x_419 = l_Lean_Exception_isRuntime(x_416); +x_408 = x_415; +x_409 = x_417; +x_410 = x_416; +x_411 = x_419; +goto block_414; +} +else +{ +x_408 = x_415; +x_409 = x_417; +x_410 = x_416; +x_411 = x_418; +goto block_414; +} +} +block_427: +{ +if (x_424 == 0) +{ +lean_object* x_425; uint8_t x_426; +lean_dec_ref(x_423); +x_425 = l_Lean_Exception_getRef(x_421); +x_426 = l_Lean_Syntax_isMissing(x_425); if (x_426 == 0) { -uint8_t x_427; -x_427 = l_Lean_Exception_isRuntime(x_424); -x_416 = x_424; -x_417 = x_423; -x_418 = x_425; -x_419 = x_427; -goto block_422; +lean_dec(x_406); +x_16 = x_421; +x_17 = x_425; +x_18 = x_2; +x_19 = x_3; +x_20 = x_4; +x_21 = x_5; +x_22 = x_6; +x_23 = x_7; +x_24 = x_8; +x_25 = x_407; +x_26 = x_10; +x_27 = x_422; +goto block_42; } else { -x_416 = x_424; -x_417 = x_423; -x_418 = x_425; -x_419 = x_426; -goto block_422; +lean_dec(x_425); +x_16 = x_421; +x_17 = x_406; +x_18 = x_2; +x_19 = x_3; +x_20 = x_4; +x_21 = x_5; +x_22 = x_6; +x_23 = x_7; +x_24 = x_8; +x_25 = x_407; +x_26 = x_10; +x_27 = x_422; +goto block_42; } } -block_481: +else { -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_436 = l_Array_toSubarray___redArg(x_431, x_434, x_435); -x_437 = l_Array_ofSubarray___redArg(x_436); -lean_dec_ref(x_436); -lean_inc(x_430); -x_438 = l_Lean_Syntax_setArgs(x_430, x_437); -x_439 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_439, 0, x_438); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_440 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_439, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_432); -if (lean_obj_tag(x_440) == 0) +lean_dec_ref(x_421); +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_423; +} +} +block_433: +{ +uint8_t x_431; +x_431 = l_Lean_Exception_isInterrupt(x_429); +if (x_431 == 0) +{ +uint8_t x_432; +x_432 = l_Lean_Exception_isRuntime(x_429); +x_421 = x_429; +x_422 = x_430; +x_423 = x_428; +x_424 = x_432; +goto block_427; +} +else +{ +x_421 = x_429; +x_422 = x_430; +x_423 = x_428; +x_424 = x_431; +goto block_427; +} +} +block_486: { lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -x_441 = lean_ctor_get(x_440, 1); -lean_inc(x_441); -lean_dec_ref(x_440); -x_442 = l_Lean_TSyntax_getId(x_433); -x_443 = lean_erase_macro_scopes(x_442); -lean_inc(x_443); -x_444 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_444, 0, x_443); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_445 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_444, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_441); +x_441 = l_Array_toSubarray___redArg(x_436, x_439, x_440); +x_442 = l_Array_ofSubarray___redArg(x_441); +lean_dec_ref(x_441); +lean_inc(x_435); +x_443 = l_Lean_Syntax_setArgs(x_435, x_442); +x_444 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_444, 0, x_443); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_445 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_444, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_438); if (lean_obj_tag(x_445) == 0) { -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_446 = lean_ctor_get(x_445, 0); +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +x_446 = lean_ctor_get(x_445, 1); lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); lean_dec_ref(x_445); -x_448 = lean_ctor_get(x_446, 0); +x_447 = l_Lean_TSyntax_getId(x_437); +x_448 = lean_erase_macro_scopes(x_447); lean_inc(x_448); -lean_inc(x_443); -x_449 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_449, 0, x_433); -lean_ctor_set(x_449, 1, x_443); -lean_ctor_set(x_449, 2, x_448); -x_450 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_450, 0, x_449); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_451 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_450, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_447); -if (lean_obj_tag(x_451) == 0) +x_449 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_449, 0, x_448); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_450 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_449, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_446); +if (lean_obj_tag(x_450) == 0) { -lean_object* x_452; lean_object* x_453; -x_452 = lean_ctor_get(x_451, 1); +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; +x_451 = lean_ctor_get(x_450, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_450, 1); lean_inc(x_452); -lean_dec_ref(x_451); -lean_inc(x_9); -lean_inc_ref(x_402); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_453 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_443, x_446, x_429, x_2, x_3, x_4, x_5, x_6, x_7, x_402, x_9, x_452); -lean_dec(x_446); -if (lean_obj_tag(x_453) == 0) +lean_dec_ref(x_450); +x_453 = lean_ctor_get(x_451, 0); +lean_inc(x_453); +lean_inc(x_448); +x_454 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_454, 0, x_437); +lean_ctor_set(x_454, 1, x_448); +lean_ctor_set(x_454, 2, x_453); +x_455 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_455, 0, x_454); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_456 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_455, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_452); +if (lean_obj_tag(x_456) == 0) { -lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_454 = lean_ctor_get(x_453, 1); -lean_inc(x_454); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_455 = x_453; +lean_object* x_457; lean_object* x_458; +x_457 = lean_ctor_get(x_456, 1); +lean_inc(x_457); +lean_dec_ref(x_456); +lean_inc(x_10); +lean_inc_ref(x_407); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_458 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_448, x_451, x_434, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_457); +lean_dec(x_451); +if (lean_obj_tag(x_458) == 0) +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_459 = lean_ctor_get(x_458, 1); +lean_inc(x_459); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + x_460 = x_458; } else { - lean_dec_ref(x_453); - x_455 = lean_box(0); + lean_dec_ref(x_458); + x_460 = lean_box(0); } -x_456 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; -if (lean_is_scalar(x_67)) { - x_457 = lean_alloc_ctor(0, 2, 0); +x_461 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +if (lean_is_scalar(x_72)) { + x_462 = lean_alloc_ctor(0, 2, 0); } else { - x_457 = x_67; + x_462 = x_72; } -lean_ctor_set(x_457, 0, x_400); -lean_ctor_set(x_457, 1, x_430); -x_458 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_458, 0, x_456); -lean_ctor_set(x_458, 1, x_457); -x_459 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_460 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_460, 0, x_459); -x_461 = l_Lean_Doc_name___closed__0; -x_462 = lean_array_push(x_461, x_460); -x_463 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_463, 0, x_458); +lean_ctor_set(x_462, 0, x_405); +lean_ctor_set(x_462, 1, x_435); +x_463 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_463, 0, x_461); lean_ctor_set(x_463, 1, x_462); -if (lean_is_scalar(x_455)) { - x_464 = lean_alloc_ctor(0, 2, 0); +x_464 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_465 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_465, 0, x_464); +x_466 = l_Lean_Doc_name___closed__5; +x_467 = lean_array_push(x_466, x_465); +x_468 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_468, 0, x_463); +lean_ctor_set(x_468, 1, x_467); +if (lean_is_scalar(x_460)) { + x_469 = lean_alloc_ctor(0, 2, 0); } else { - x_464 = x_455; + x_469 = x_460; } -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_454); -return x_464; +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_459); +return x_469; } else { -lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; -lean_dec(x_430); -lean_dec(x_67); -x_465 = lean_ctor_get(x_453, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_453, 1); -lean_inc(x_466); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_467 = x_453; -} else { - lean_dec_ref(x_453); - x_467 = lean_box(0); -} -lean_inc(x_466); -lean_inc(x_465); -if (lean_is_scalar(x_467)) { - x_468 = lean_alloc_ctor(1, 2, 0); -} else { - x_468 = x_467; -} -lean_ctor_set(x_468, 0, x_465); -lean_ctor_set(x_468, 1, x_466); -x_423 = x_468; -x_424 = x_465; -x_425 = x_466; -goto block_428; -} -} -else -{ -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; -lean_dec(x_446); -lean_dec(x_443); -lean_dec(x_430); -lean_dec_ref(x_429); -lean_dec(x_67); -x_469 = lean_ctor_get(x_451, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_451, 1); +lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; +lean_dec(x_435); +lean_dec(x_72); +x_470 = lean_ctor_get(x_458, 0); lean_inc(x_470); -if (lean_is_exclusive(x_451)) { - lean_ctor_release(x_451, 0); - lean_ctor_release(x_451, 1); - x_471 = x_451; +x_471 = lean_ctor_get(x_458, 1); +lean_inc(x_471); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + x_472 = x_458; } else { - lean_dec_ref(x_451); - x_471 = lean_box(0); + lean_dec_ref(x_458); + x_472 = lean_box(0); } +lean_inc(x_471); lean_inc(x_470); -lean_inc(x_469); -if (lean_is_scalar(x_471)) { - x_472 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_472)) { + x_473 = lean_alloc_ctor(1, 2, 0); } else { - x_472 = x_471; + x_473 = x_472; } -lean_ctor_set(x_472, 0, x_469); -lean_ctor_set(x_472, 1, x_470); -x_423 = x_472; -x_424 = x_469; -x_425 = x_470; -goto block_428; +lean_ctor_set(x_473, 0, x_470); +lean_ctor_set(x_473, 1, x_471); +x_428 = x_473; +x_429 = x_470; +x_430 = x_471; +goto block_433; } } else { -lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; -lean_dec(x_443); -lean_dec(x_433); -lean_dec(x_430); -lean_dec_ref(x_429); -lean_dec(x_67); -x_473 = lean_ctor_get(x_445, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_445, 1); +lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +lean_dec(x_451); +lean_dec(x_448); +lean_dec(x_435); +lean_dec_ref(x_434); +lean_dec(x_72); +x_474 = lean_ctor_get(x_456, 0); lean_inc(x_474); +x_475 = lean_ctor_get(x_456, 1); +lean_inc(x_475); +if (lean_is_exclusive(x_456)) { + lean_ctor_release(x_456, 0); + lean_ctor_release(x_456, 1); + x_476 = x_456; +} else { + lean_dec_ref(x_456); + x_476 = lean_box(0); +} +lean_inc(x_475); +lean_inc(x_474); +if (lean_is_scalar(x_476)) { + x_477 = lean_alloc_ctor(1, 2, 0); +} else { + x_477 = x_476; +} +lean_ctor_set(x_477, 0, x_474); +lean_ctor_set(x_477, 1, x_475); +x_428 = x_477; +x_429 = x_474; +x_430 = x_475; +goto block_433; +} +} +else +{ +lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_448); +lean_dec(x_437); +lean_dec(x_435); +lean_dec_ref(x_434); +lean_dec(x_72); +x_478 = lean_ctor_get(x_450, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_450, 1); +lean_inc(x_479); +if (lean_is_exclusive(x_450)) { + lean_ctor_release(x_450, 0); + lean_ctor_release(x_450, 1); + x_480 = x_450; +} else { + lean_dec_ref(x_450); + x_480 = lean_box(0); +} +lean_inc(x_479); +lean_inc(x_478); +if (lean_is_scalar(x_480)) { + x_481 = lean_alloc_ctor(1, 2, 0); +} else { + x_481 = x_480; +} +lean_ctor_set(x_481, 0, x_478); +lean_ctor_set(x_481, 1, x_479); +x_428 = x_481; +x_429 = x_478; +x_430 = x_479; +goto block_433; +} +} +else +{ +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +lean_dec(x_437); +lean_dec(x_435); +lean_dec_ref(x_434); +lean_dec_ref(x_407); +lean_dec(x_406); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_482 = lean_ctor_get(x_445, 0); +lean_inc(x_482); +x_483 = lean_ctor_get(x_445, 1); +lean_inc(x_483); if (lean_is_exclusive(x_445)) { lean_ctor_release(x_445, 0); lean_ctor_release(x_445, 1); - x_475 = x_445; + x_484 = x_445; } else { lean_dec_ref(x_445); - x_475 = lean_box(0); + x_484 = lean_box(0); } -lean_inc(x_474); -lean_inc(x_473); -if (lean_is_scalar(x_475)) { - x_476 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_484)) { + x_485 = lean_alloc_ctor(1, 2, 0); } else { - x_476 = x_475; + x_485 = x_484; } -lean_ctor_set(x_476, 0, x_473); -lean_ctor_set(x_476, 1, x_474); -x_423 = x_476; -x_424 = x_473; -x_425 = x_474; -goto block_428; +lean_ctor_set(x_485, 0, x_482); +lean_ctor_set(x_485, 1, x_483); +return x_485; } } -else +} +block_42: { -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -lean_dec(x_433); -lean_dec(x_430); -lean_dec_ref(x_429); -lean_dec_ref(x_402); -lean_dec(x_401); -lean_dec(x_67); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_477 = lean_ctor_get(x_440, 0); -lean_inc(x_477); -x_478 = lean_ctor_get(x_440, 1); -lean_inc(x_478); -if (lean_is_exclusive(x_440)) { - lean_ctor_release(x_440, 0); - lean_ctor_release(x_440, 1); - x_479 = x_440; -} else { - lean_dec_ref(x_440); - x_479 = lean_box(0); -} -if (lean_is_scalar(x_479)) { - x_480 = lean_alloc_ctor(1, 2, 0); -} else { - x_480 = x_479; -} -lean_ctor_set(x_480, 0, x_477); -lean_ctor_set(x_480, 1, x_478); -return x_480; -} -} -} -block_39: +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Exception_toMessageData(x_16); +x_29 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_17, x_28, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27); +lean_dec(x_17); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = l_Lean_Exception_toMessageData(x_15); -x_26 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_16, x_25, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -lean_dec(x_16); -if (lean_obj_tag(x_26) == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -x_29 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_30 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_26, 0, x_30); -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_dec(x_26); -x_32 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); x_33 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); -return x_34; +lean_ctor_set(x_29, 0, x_33); +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_dec(x_29); +x_35 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_36 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } } else { -uint8_t x_35; -lean_dec(x_12); -x_35 = !lean_is_exclusive(x_26); -if (x_35 == 0) +uint8_t x_38; +lean_dec(x_13); +x_38 = !lean_is_exclusive(x_29); +if (x_38 == 0) { -return x_26; +return x_29; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_26, 0); -x_37 = lean_ctor_get(x_26, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_26); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_29, 0); +x_40 = lean_ctor_get(x_29, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_29); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } -block_64: +block_69: { -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_Exception_toMessageData(x_40); -x_51 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_41, x_50, x_42, x_43, x_44, x_45, x_46, x_47, x_48, x_49); -lean_dec(x_41); -if (lean_obj_tag(x_51) == 0) +lean_object* x_55; lean_object* x_56; +x_55 = l_Lean_Exception_toMessageData(x_43); +x_56 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_44, x_55, x_45, x_46, x_47, x_48, x_49, x_50, x_51, x_52, x_53, x_54); +lean_dec(x_44); +if (lean_obj_tag(x_56) == 0) { -uint8_t x_52; -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -x_54 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_55 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_51, 0, x_55); -return x_51; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +x_59 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_60 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_56, 0, x_60); +return x_56; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_51, 1); -lean_inc(x_56); -lean_dec(x_51); -x_57 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_58 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_58, 0, x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -else -{ -uint8_t x_60; -lean_dec(x_12); -x_60 = !lean_is_exclusive(x_51); -if (x_60 == 0) -{ -return x_51; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_51, 0); -x_62 = lean_ctor_get(x_51, 1); -lean_inc(x_62); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_56, 1); lean_inc(x_61); -lean_dec(x_51); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_dec(x_56); +x_62 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; +} +} +else +{ +uint8_t x_65; +lean_dec(x_13); +x_65 = !lean_is_exclusive(x_56); +if (x_65 == 0) +{ +return x_56; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_56, 0); +x_67 = lean_ctor_get(x_56, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_56); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } } else { -uint8_t x_579; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_579 = !lean_is_exclusive(x_11); -if (x_579 == 0) +uint8_t x_584; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_584 = !lean_is_exclusive(x_12); +if (x_584 == 0) { -return x_11; +return x_12; } else { -lean_object* x_580; lean_object* x_581; lean_object* x_582; -x_580 = lean_ctor_get(x_11, 0); -x_581 = lean_ctor_get(x_11, 1); -lean_inc(x_581); -lean_inc(x_580); -lean_dec(x_11); -x_582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_582, 0, x_580); -lean_ctor_set(x_582, 1, x_581); -return x_582; +lean_object* x_585; lean_object* x_586; lean_object* x_587; +x_585 = lean_ctor_get(x_12, 0); +x_586 = lean_ctor_get(x_12, 1); +lean_inc(x_586); +lean_inc(x_585); +lean_dec(x_12); +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_585); +lean_ctor_set(x_587, 1, x_586); +return x_587; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_dec_ref(x_2); +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -20676,35 +22201,104 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_2); +x_13 = lean_unbox(x_3); +x_14 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); +x_15 = lean_unbox(x_3); +x_16 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +x_14 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); -lean_dec_ref(x_2); +lean_dec_ref(x_3); +lean_dec(x_2); return x_13; } } @@ -20722,6754 +22316,19 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Doc_option___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_option(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_7; uint8_t x_9; -x_9 = lean_nat_dec_lt(x_3, x_2); -if (x_9 == 0) -{ -return x_3; -} -else -{ -uint32_t x_10; uint8_t x_11; uint32_t x_17; uint8_t x_18; -x_10 = lean_string_utf8_get(x_1, x_3); -x_17 = 32; -x_18 = lean_uint32_dec_eq(x_10, x_17); -if (x_18 == 0) -{ -uint32_t x_19; uint8_t x_20; -x_19 = 9; -x_20 = lean_uint32_dec_eq(x_10, x_19); -x_11 = x_20; -goto block_16; -} -else -{ -x_11 = x_18; -goto block_16; -} -block_16: -{ -if (x_11 == 0) -{ -uint32_t x_12; uint8_t x_13; -x_12 = 13; -x_13 = lean_uint32_dec_eq(x_10, x_12); -if (x_13 == 0) -{ -uint32_t x_14; uint8_t x_15; -x_14 = 10; -x_15 = lean_uint32_dec_eq(x_10, x_14); -x_7 = x_15; -goto block_8; -} -else -{ -x_7 = x_13; -goto block_8; -} -} -else -{ -goto block_6; -} -} -} -block_6: -{ -lean_object* x_4; -x_4 = lean_string_utf8_next(x_1, x_3); -lean_dec(x_3); -x_3 = x_4; -goto _start; -} -block_8: -{ -if (x_7 == 0) -{ -return x_3; -} -else -{ -goto block_6; -} -} -} -} -LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_nat_dec_lt(x_2, x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; uint8_t x_6; uint32_t x_9; uint8_t x_10; uint32_t x_17; uint8_t x_18; -x_5 = lean_string_utf8_prev(x_1, x_3); -x_9 = lean_string_utf8_get(x_1, x_5); -x_17 = 32; -x_18 = lean_uint32_dec_eq(x_9, x_17); -if (x_18 == 0) -{ -uint32_t x_19; uint8_t x_20; -x_19 = 9; -x_20 = lean_uint32_dec_eq(x_9, x_19); -x_10 = x_20; -goto block_16; -} -else -{ -x_10 = x_18; -goto block_16; -} -block_8: -{ -if (x_6 == 0) -{ -lean_dec(x_5); -return x_3; -} -else -{ -lean_dec(x_3); -x_3 = x_5; -goto _start; -} -} -block_16: -{ -if (x_10 == 0) -{ -uint32_t x_11; uint8_t x_12; -x_11 = 13; -x_12 = lean_uint32_dec_eq(x_9, x_11); -if (x_12 == 0) -{ -uint32_t x_13; uint8_t x_14; -x_13 = 10; -x_14 = lean_uint32_dec_eq(x_9, x_13); -x_6 = x_14; -goto block_8; -} -else -{ -x_6 = x_12; -goto block_8; -} -} -else -{ -lean_dec(x_3); -x_3 = x_5; -goto _start; -} -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("HAndThen", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("hAndThen", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ParserDescr", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("withAntiquot", 12, 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("leadingNode", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("nonReservedSymbol", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("symbol", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unicodeSymbol", 13, 13); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("withCache", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("node", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("trailingNode", 12, 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unary", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("binary", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_56; lean_object* x_57; lean_object* x_67; lean_object* x_68; -lean_inc_ref(x_2); -x_67 = l_Lean_Expr_getAppFnArgs(x_2); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 1) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 1) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_69, 0); -switch (lean_obj_tag(x_70)) { -case 0: -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec_ref(x_67); -x_72 = lean_ctor_get(x_68, 1); -lean_inc_ref(x_72); -lean_dec_ref(x_68); -x_73 = lean_ctor_get(x_69, 1); -lean_inc_ref(x_73); -lean_dec_ref(x_69); -x_74 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0; -x_75 = lean_string_dec_eq(x_73, x_74); -lean_dec_ref(x_73); -if (x_75 == 0) -{ -lean_dec_ref(x_72); -lean_dec(x_71); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_76; uint8_t x_77; -x_76 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1; -x_77 = lean_string_dec_eq(x_72, x_76); -lean_dec_ref(x_72); -if (x_77 == 0) -{ -lean_dec(x_71); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_78 = lean_array_get_size(x_71); -x_79 = lean_unsigned_to_nat(6u); -x_80 = lean_nat_dec_eq(x_78, x_79); -lean_dec(x_78); -if (x_80 == 0) -{ -lean_dec(x_71); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec_ref(x_2); -x_81 = lean_unsigned_to_nat(4u); -x_82 = lean_array_fget_borrowed(x_71, x_81); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc_ref(x_82); -x_83 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_82, x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_unbox(x_84); -lean_dec(x_84); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); -lean_dec_ref(x_83); -x_87 = lean_unsigned_to_nat(5u); -x_88 = lean_array_fget(x_71, x_87); -lean_dec(x_71); -x_89 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_88, x_1, x_4, x_5, x_6, x_7, x_86); -return x_89; -} -else -{ -lean_dec(x_71); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_83; -} -} -else -{ -lean_dec(x_71); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_83; -} -} -} -} -} -case 1: -{ -lean_object* x_90; -lean_inc_ref(x_70); -x_90 = lean_ctor_get(x_70, 0); -if (lean_obj_tag(x_90) == 0) -{ -uint8_t x_91; -x_91 = !lean_is_exclusive(x_67); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_92 = lean_ctor_get(x_67, 1); -x_93 = lean_ctor_get(x_67, 0); -lean_dec(x_93); -x_94 = lean_ctor_get(x_68, 1); -lean_inc_ref(x_94); -lean_dec_ref(x_68); -x_95 = lean_ctor_get(x_69, 1); -lean_inc_ref(x_95); -lean_dec_ref(x_69); -x_96 = lean_ctor_get(x_70, 1); -lean_inc_ref(x_96); -lean_dec_ref(x_70); -x_97 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_98 = lean_string_dec_eq(x_96, x_97); -lean_dec_ref(x_96); -if (x_98 == 0) -{ -lean_dec_ref(x_95); -lean_dec_ref(x_94); -lean_free_object(x_67); -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_99; uint8_t x_100; -x_99 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2; -x_100 = lean_string_dec_eq(x_95, x_99); -if (x_100 == 0) -{ -lean_object* x_101; uint8_t x_102; -x_101 = l_Lean_Doc_attr___closed__9; -x_102 = lean_string_dec_eq(x_95, x_101); -lean_dec_ref(x_95); -if (x_102 == 0) -{ -lean_dec_ref(x_94); -lean_free_object(x_67); -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_103; uint8_t x_104; -x_103 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3; -x_104 = lean_string_dec_eq(x_94, x_103); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4; -x_106 = lean_string_dec_eq(x_94, x_105); -if (x_106 == 0) -{ -lean_object* x_107; uint8_t x_108; -x_107 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5; -x_108 = lean_string_dec_eq(x_94, x_107); -if (x_108 == 0) -{ -lean_object* x_109; uint8_t x_110; -x_109 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6; -x_110 = lean_string_dec_eq(x_94, x_109); -if (x_110 == 0) -{ -lean_object* x_111; uint8_t x_112; -lean_free_object(x_67); -x_111 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7; -x_112 = lean_string_dec_eq(x_94, x_111); -if (x_112 == 0) -{ -lean_object* x_113; uint8_t x_114; -x_113 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8; -x_114 = lean_string_dec_eq(x_94, x_113); -lean_dec_ref(x_94); -if (x_114 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = lean_array_get_size(x_92); -x_116 = lean_unsigned_to_nat(2u); -x_117 = lean_nat_dec_eq(x_115, x_116); -lean_dec(x_115); -if (x_117 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec_ref(x_2); -x_118 = lean_unsigned_to_nat(1u); -x_119 = lean_array_fget(x_92, x_118); -lean_dec(x_92); -x_120 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_119, x_1, x_4, x_5, x_6, x_7, x_8); -return x_120; -} -} -} -else -{ -lean_object* x_121; lean_object* x_122; uint8_t x_123; -lean_dec_ref(x_94); -x_121 = lean_array_get_size(x_92); -x_122 = lean_unsigned_to_nat(3u); -x_123 = lean_nat_dec_eq(x_121, x_122); -lean_dec(x_121); -if (x_123 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_unsigned_to_nat(0u); -x_125 = lean_array_fget_borrowed(x_92, x_124); -if (lean_obj_tag(x_125) == 9) -{ -lean_object* x_126; -x_126 = lean_ctor_get(x_125, 0); -if (lean_obj_tag(x_126) == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_126, 0); -lean_inc_ref(x_127); -x_128 = lean_unsigned_to_nat(1u); -x_129 = lean_array_fget(x_92, x_128); -lean_dec(x_92); -if (lean_obj_tag(x_129) == 9) -{ -lean_object* x_130; -x_130 = lean_ctor_get(x_129, 0); -lean_inc_ref(x_130); -lean_dec_ref(x_129); -if (lean_obj_tag(x_130) == 0) -{ -lean_dec_ref(x_130); -lean_dec_ref(x_127); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_131; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_131 = lean_ctor_get(x_130, 0); -lean_inc_ref(x_131); -lean_dec_ref(x_130); -x_37 = x_127; -x_38 = x_131; -x_39 = x_8; -goto block_55; -} -} -else -{ -lean_dec_ref(x_129); -lean_dec_ref(x_127); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; uint8_t x_134; -lean_dec_ref(x_94); -x_132 = lean_array_get_size(x_92); -x_133 = lean_unsigned_to_nat(1u); -x_134 = lean_nat_dec_eq(x_132, x_133); -lean_dec(x_132); -if (x_134 == 0) -{ -lean_free_object(x_67); -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_135; lean_object* x_136; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_135 = lean_unsigned_to_nat(0u); -x_136 = lean_array_fget(x_92, x_135); -lean_dec(x_92); -if (lean_obj_tag(x_136) == 9) -{ -lean_object* x_137; -x_137 = lean_ctor_get(x_136, 0); -lean_inc_ref(x_137); -lean_dec_ref(x_136); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; -lean_dec_ref(x_137); -x_138 = lean_box(x_108); -lean_ctor_set(x_67, 1, x_8); -lean_ctor_set(x_67, 0, x_138); -return x_67; -} -else -{ -lean_object* x_139; -lean_free_object(x_67); -x_139 = lean_ctor_get(x_137, 0); -lean_inc_ref(x_139); -lean_dec_ref(x_137); -x_56 = x_139; -x_57 = x_8; -goto block_66; -} -} -else -{ -lean_object* x_140; -lean_dec_ref(x_136); -x_140 = lean_box(x_108); -lean_ctor_set(x_67, 1, x_8); -lean_ctor_set(x_67, 0, x_140); -return x_67; -} -} -} -} -else -{ -lean_object* x_141; lean_object* x_142; uint8_t x_143; -lean_dec_ref(x_94); -lean_free_object(x_67); -x_141 = lean_array_get_size(x_92); -x_142 = lean_unsigned_to_nat(2u); -x_143 = lean_nat_dec_eq(x_141, x_142); -lean_dec(x_141); -if (x_143 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_144; lean_object* x_145; -x_144 = lean_unsigned_to_nat(0u); -x_145 = lean_array_fget(x_92, x_144); -lean_dec(x_92); -if (lean_obj_tag(x_145) == 9) -{ -lean_object* x_146; -x_146 = lean_ctor_get(x_145, 0); -lean_inc_ref(x_146); -lean_dec_ref(x_145); -if (lean_obj_tag(x_146) == 0) -{ -lean_dec_ref(x_146); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_147; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_147 = lean_ctor_get(x_146, 0); -lean_inc_ref(x_147); -lean_dec_ref(x_146); -x_26 = x_147; -x_27 = x_8; -goto block_36; -} -} -else -{ -lean_dec_ref(x_145); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; uint8_t x_150; -lean_dec_ref(x_94); -lean_free_object(x_67); -x_148 = lean_array_get_size(x_92); -x_149 = lean_unsigned_to_nat(3u); -x_150 = lean_nat_dec_eq(x_148, x_149); -lean_dec(x_148); -if (x_150 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec_ref(x_2); -x_151 = lean_unsigned_to_nat(2u); -x_152 = lean_array_fget(x_92, x_151); -lean_dec(x_92); -x_153 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_152, x_1, x_4, x_5, x_6, x_7, x_8); -return x_153; -} -} -} -else -{ -lean_object* x_154; lean_object* x_155; uint8_t x_156; -lean_dec_ref(x_94); -lean_free_object(x_67); -x_154 = lean_array_get_size(x_92); -x_155 = lean_unsigned_to_nat(2u); -x_156 = lean_nat_dec_eq(x_154, x_155); -lean_dec(x_154); -if (x_156 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec_ref(x_2); -x_157 = lean_unsigned_to_nat(1u); -x_158 = lean_array_fget(x_92, x_157); -lean_dec(x_92); -x_159 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_158, x_1, x_4, x_5, x_6, x_7, x_8); -return x_159; -} -} -} -} -else -{ -lean_object* x_160; uint8_t x_161; -lean_dec_ref(x_95); -lean_free_object(x_67); -x_160 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9; -x_161 = lean_string_dec_eq(x_94, x_160); -if (x_161 == 0) -{ -lean_object* x_162; uint8_t x_163; -x_162 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10; -x_163 = lean_string_dec_eq(x_94, x_162); -if (x_163 == 0) -{ -lean_object* x_164; uint8_t x_165; -x_164 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11; -x_165 = lean_string_dec_eq(x_94, x_164); -if (x_165 == 0) -{ -lean_object* x_166; uint8_t x_167; -x_166 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12; -x_167 = lean_string_dec_eq(x_94, x_166); -if (x_167 == 0) -{ -lean_object* x_168; uint8_t x_169; -x_168 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5; -x_169 = lean_string_dec_eq(x_94, x_168); -if (x_169 == 0) -{ -lean_object* x_170; uint8_t x_171; -x_170 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7; -x_171 = lean_string_dec_eq(x_94, x_170); -if (x_171 == 0) -{ -lean_object* x_172; uint8_t x_173; -x_172 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6; -x_173 = lean_string_dec_eq(x_94, x_172); -lean_dec_ref(x_94); -if (x_173 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_174 = lean_array_get_size(x_92); -x_175 = lean_unsigned_to_nat(1u); -x_176 = lean_nat_dec_eq(x_174, x_175); -lean_dec(x_174); -if (x_176 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_177; lean_object* x_178; -x_177 = lean_unsigned_to_nat(0u); -x_178 = lean_array_fget(x_92, x_177); -lean_dec(x_92); -if (lean_obj_tag(x_178) == 9) -{ -lean_object* x_179; -x_179 = lean_ctor_get(x_178, 0); -lean_inc_ref(x_179); -lean_dec_ref(x_178); -if (lean_obj_tag(x_179) == 0) -{ -lean_dec_ref(x_179); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_180; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_180 = lean_ctor_get(x_179, 0); -lean_inc_ref(x_180); -lean_dec_ref(x_179); -x_56 = x_180; -x_57 = x_8; -goto block_66; -} -} -else -{ -lean_dec_ref(x_178); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_181; lean_object* x_182; uint8_t x_183; -lean_dec_ref(x_94); -x_181 = lean_array_get_size(x_92); -x_182 = lean_unsigned_to_nat(3u); -x_183 = lean_nat_dec_eq(x_181, x_182); -lean_dec(x_181); -if (x_183 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_184; lean_object* x_185; -x_184 = lean_unsigned_to_nat(0u); -x_185 = lean_array_fget_borrowed(x_92, x_184); -if (lean_obj_tag(x_185) == 9) -{ -lean_object* x_186; -x_186 = lean_ctor_get(x_185, 0); -if (lean_obj_tag(x_186) == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_186, 0); -lean_inc_ref(x_187); -x_188 = lean_unsigned_to_nat(1u); -x_189 = lean_array_fget(x_92, x_188); -lean_dec(x_92); -if (lean_obj_tag(x_189) == 9) -{ -lean_object* x_190; -x_190 = lean_ctor_get(x_189, 0); -lean_inc_ref(x_190); -lean_dec_ref(x_189); -if (lean_obj_tag(x_190) == 0) -{ -lean_dec_ref(x_190); -lean_dec_ref(x_187); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_191; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_191 = lean_ctor_get(x_190, 0); -lean_inc_ref(x_191); -lean_dec_ref(x_190); -x_37 = x_187; -x_38 = x_191; -x_39 = x_8; -goto block_55; -} -} -else -{ -lean_dec_ref(x_189); -lean_dec_ref(x_187); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_192; lean_object* x_193; uint8_t x_194; -lean_dec_ref(x_94); -x_192 = lean_array_get_size(x_92); -x_193 = lean_unsigned_to_nat(2u); -x_194 = lean_nat_dec_eq(x_192, x_193); -lean_dec(x_192); -if (x_194 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_195; lean_object* x_196; -x_195 = lean_unsigned_to_nat(0u); -x_196 = lean_array_fget(x_92, x_195); -lean_dec(x_92); -if (lean_obj_tag(x_196) == 9) -{ -lean_object* x_197; -x_197 = lean_ctor_get(x_196, 0); -lean_inc_ref(x_197); -lean_dec_ref(x_196); -if (lean_obj_tag(x_197) == 0) -{ -lean_dec_ref(x_197); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_198; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_198 = lean_ctor_get(x_197, 0); -lean_inc_ref(x_198); -lean_dec_ref(x_197); -x_26 = x_198; -x_27 = x_8; -goto block_36; -} -} -else -{ -lean_dec_ref(x_196); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_199; lean_object* x_200; uint8_t x_201; -lean_dec_ref(x_94); -x_199 = lean_array_get_size(x_92); -x_200 = lean_unsigned_to_nat(3u); -x_201 = lean_nat_dec_eq(x_199, x_200); -lean_dec(x_199); -if (x_201 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_202; lean_object* x_203; -x_202 = lean_unsigned_to_nat(0u); -x_203 = lean_array_fget_borrowed(x_92, x_202); -if (lean_obj_tag(x_203) == 5) -{ -lean_object* x_204; -x_204 = lean_ctor_get(x_203, 1); -if (lean_obj_tag(x_204) == 9) -{ -lean_object* x_205; -x_205 = lean_ctor_get(x_204, 0); -if (lean_obj_tag(x_205) == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_206; lean_object* x_207; uint8_t x_208; -x_206 = lean_ctor_get(x_205, 0); -x_207 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13; -x_208 = lean_string_dec_eq(x_206, x_207); -if (x_208 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; -lean_dec_ref(x_2); -x_209 = lean_unsigned_to_nat(1u); -x_210 = lean_array_fget(x_92, x_209); -lean_dec(x_92); -x_211 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_210, x_1, x_4, x_5, x_6, x_7, x_8); -return x_211; -} -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_212; lean_object* x_213; uint8_t x_214; -lean_dec_ref(x_94); -x_212 = lean_array_get_size(x_92); -x_213 = lean_unsigned_to_nat(2u); -x_214 = lean_nat_dec_eq(x_212, x_213); -lean_dec(x_212); -if (x_214 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_215; lean_object* x_216; -x_215 = lean_unsigned_to_nat(0u); -x_216 = lean_array_fget_borrowed(x_92, x_215); -if (lean_obj_tag(x_216) == 5) -{ -lean_object* x_217; -x_217 = lean_ctor_get(x_216, 1); -if (lean_obj_tag(x_217) == 9) -{ -lean_object* x_218; -x_218 = lean_ctor_get(x_217, 0); -if (lean_obj_tag(x_218) == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec_ref(x_2); -x_219 = lean_unsigned_to_nat(1u); -x_220 = lean_array_fget(x_92, x_219); -lean_dec(x_92); -x_221 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_220, x_1, x_4, x_5, x_6, x_7, x_8); -return x_221; -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -else -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_222; lean_object* x_223; uint8_t x_224; -lean_dec_ref(x_94); -x_222 = lean_array_get_size(x_92); -x_223 = lean_unsigned_to_nat(4u); -x_224 = lean_nat_dec_eq(x_222, x_223); -lean_dec(x_222); -if (x_224 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec_ref(x_2); -x_225 = lean_unsigned_to_nat(3u); -x_226 = lean_array_fget(x_92, x_225); -lean_dec(x_92); -x_227 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_226, x_1, x_4, x_5, x_6, x_7, x_8); -return x_227; -} -} -} -else -{ -lean_object* x_228; lean_object* x_229; uint8_t x_230; -lean_dec_ref(x_94); -x_228 = lean_array_get_size(x_92); -x_229 = lean_unsigned_to_nat(3u); -x_230 = lean_nat_dec_eq(x_228, x_229); -lean_dec(x_228); -if (x_230 == 0) -{ -lean_dec(x_92); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; -lean_dec_ref(x_2); -x_231 = lean_unsigned_to_nat(2u); -x_232 = lean_array_fget(x_92, x_231); -lean_dec(x_92); -x_233 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_232, x_1, x_4, x_5, x_6, x_7, x_8); -return x_233; -} -} -} -} -} -else -{ -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; -x_234 = lean_ctor_get(x_67, 1); -lean_inc(x_234); -lean_dec(x_67); -x_235 = lean_ctor_get(x_68, 1); -lean_inc_ref(x_235); -lean_dec_ref(x_68); -x_236 = lean_ctor_get(x_69, 1); -lean_inc_ref(x_236); -lean_dec_ref(x_69); -x_237 = lean_ctor_get(x_70, 1); -lean_inc_ref(x_237); -lean_dec_ref(x_70); -x_238 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_239 = lean_string_dec_eq(x_237, x_238); -lean_dec_ref(x_237); -if (x_239 == 0) -{ -lean_dec_ref(x_236); -lean_dec_ref(x_235); -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_240; uint8_t x_241; -x_240 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2; -x_241 = lean_string_dec_eq(x_236, x_240); -if (x_241 == 0) -{ -lean_object* x_242; uint8_t x_243; -x_242 = l_Lean_Doc_attr___closed__9; -x_243 = lean_string_dec_eq(x_236, x_242); -lean_dec_ref(x_236); -if (x_243 == 0) -{ -lean_dec_ref(x_235); -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_244; uint8_t x_245; -x_244 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3; -x_245 = lean_string_dec_eq(x_235, x_244); -if (x_245 == 0) -{ -lean_object* x_246; uint8_t x_247; -x_246 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4; -x_247 = lean_string_dec_eq(x_235, x_246); -if (x_247 == 0) -{ -lean_object* x_248; uint8_t x_249; -x_248 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5; -x_249 = lean_string_dec_eq(x_235, x_248); -if (x_249 == 0) -{ -lean_object* x_250; uint8_t x_251; -x_250 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6; -x_251 = lean_string_dec_eq(x_235, x_250); -if (x_251 == 0) -{ -lean_object* x_252; uint8_t x_253; -x_252 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7; -x_253 = lean_string_dec_eq(x_235, x_252); -if (x_253 == 0) -{ -lean_object* x_254; uint8_t x_255; -x_254 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8; -x_255 = lean_string_dec_eq(x_235, x_254); -lean_dec_ref(x_235); -if (x_255 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_256 = lean_array_get_size(x_234); -x_257 = lean_unsigned_to_nat(2u); -x_258 = lean_nat_dec_eq(x_256, x_257); -lean_dec(x_256); -if (x_258 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec_ref(x_2); -x_259 = lean_unsigned_to_nat(1u); -x_260 = lean_array_fget(x_234, x_259); -lean_dec(x_234); -x_261 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_260, x_1, x_4, x_5, x_6, x_7, x_8); -return x_261; -} -} -} -else -{ -lean_object* x_262; lean_object* x_263; uint8_t x_264; -lean_dec_ref(x_235); -x_262 = lean_array_get_size(x_234); -x_263 = lean_unsigned_to_nat(3u); -x_264 = lean_nat_dec_eq(x_262, x_263); -lean_dec(x_262); -if (x_264 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_265; lean_object* x_266; -x_265 = lean_unsigned_to_nat(0u); -x_266 = lean_array_fget_borrowed(x_234, x_265); -if (lean_obj_tag(x_266) == 9) -{ -lean_object* x_267; -x_267 = lean_ctor_get(x_266, 0); -if (lean_obj_tag(x_267) == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_267, 0); -lean_inc_ref(x_268); -x_269 = lean_unsigned_to_nat(1u); -x_270 = lean_array_fget(x_234, x_269); -lean_dec(x_234); -if (lean_obj_tag(x_270) == 9) -{ -lean_object* x_271; -x_271 = lean_ctor_get(x_270, 0); -lean_inc_ref(x_271); -lean_dec_ref(x_270); -if (lean_obj_tag(x_271) == 0) -{ -lean_dec_ref(x_271); -lean_dec_ref(x_268); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_272; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_272 = lean_ctor_get(x_271, 0); -lean_inc_ref(x_272); -lean_dec_ref(x_271); -x_37 = x_268; -x_38 = x_272; -x_39 = x_8; -goto block_55; -} -} -else -{ -lean_dec_ref(x_270); -lean_dec_ref(x_268); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_273; lean_object* x_274; uint8_t x_275; -lean_dec_ref(x_235); -x_273 = lean_array_get_size(x_234); -x_274 = lean_unsigned_to_nat(1u); -x_275 = lean_nat_dec_eq(x_273, x_274); -lean_dec(x_273); -if (x_275 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_276; lean_object* x_277; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_276 = lean_unsigned_to_nat(0u); -x_277 = lean_array_fget(x_234, x_276); -lean_dec(x_234); -if (lean_obj_tag(x_277) == 9) -{ -lean_object* x_278; -x_278 = lean_ctor_get(x_277, 0); -lean_inc_ref(x_278); -lean_dec_ref(x_277); -if (lean_obj_tag(x_278) == 0) -{ -lean_object* x_279; lean_object* x_280; -lean_dec_ref(x_278); -x_279 = lean_box(x_249); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_8); -return x_280; -} -else -{ -lean_object* x_281; -x_281 = lean_ctor_get(x_278, 0); -lean_inc_ref(x_281); -lean_dec_ref(x_278); -x_56 = x_281; -x_57 = x_8; -goto block_66; -} -} -else -{ -lean_object* x_282; lean_object* x_283; -lean_dec_ref(x_277); -x_282 = lean_box(x_249); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_8); -return x_283; -} -} -} -} -else -{ -lean_object* x_284; lean_object* x_285; uint8_t x_286; -lean_dec_ref(x_235); -x_284 = lean_array_get_size(x_234); -x_285 = lean_unsigned_to_nat(2u); -x_286 = lean_nat_dec_eq(x_284, x_285); -lean_dec(x_284); -if (x_286 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_287; lean_object* x_288; -x_287 = lean_unsigned_to_nat(0u); -x_288 = lean_array_fget(x_234, x_287); -lean_dec(x_234); -if (lean_obj_tag(x_288) == 9) -{ -lean_object* x_289; -x_289 = lean_ctor_get(x_288, 0); -lean_inc_ref(x_289); -lean_dec_ref(x_288); -if (lean_obj_tag(x_289) == 0) -{ -lean_dec_ref(x_289); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_290; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_290 = lean_ctor_get(x_289, 0); -lean_inc_ref(x_290); -lean_dec_ref(x_289); -x_26 = x_290; -x_27 = x_8; -goto block_36; -} -} -else -{ -lean_dec_ref(x_288); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_291; lean_object* x_292; uint8_t x_293; -lean_dec_ref(x_235); -x_291 = lean_array_get_size(x_234); -x_292 = lean_unsigned_to_nat(3u); -x_293 = lean_nat_dec_eq(x_291, x_292); -lean_dec(x_291); -if (x_293 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; -lean_dec_ref(x_2); -x_294 = lean_unsigned_to_nat(2u); -x_295 = lean_array_fget(x_234, x_294); -lean_dec(x_234); -x_296 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_295, x_1, x_4, x_5, x_6, x_7, x_8); -return x_296; -} -} -} -else -{ -lean_object* x_297; lean_object* x_298; uint8_t x_299; -lean_dec_ref(x_235); -x_297 = lean_array_get_size(x_234); -x_298 = lean_unsigned_to_nat(2u); -x_299 = lean_nat_dec_eq(x_297, x_298); -lean_dec(x_297); -if (x_299 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; -lean_dec_ref(x_2); -x_300 = lean_unsigned_to_nat(1u); -x_301 = lean_array_fget(x_234, x_300); -lean_dec(x_234); -x_302 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_301, x_1, x_4, x_5, x_6, x_7, x_8); -return x_302; -} -} -} -} -else -{ -lean_object* x_303; uint8_t x_304; -lean_dec_ref(x_236); -x_303 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9; -x_304 = lean_string_dec_eq(x_235, x_303); -if (x_304 == 0) -{ -lean_object* x_305; uint8_t x_306; -x_305 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10; -x_306 = lean_string_dec_eq(x_235, x_305); -if (x_306 == 0) -{ -lean_object* x_307; uint8_t x_308; -x_307 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11; -x_308 = lean_string_dec_eq(x_235, x_307); -if (x_308 == 0) -{ -lean_object* x_309; uint8_t x_310; -x_309 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12; -x_310 = lean_string_dec_eq(x_235, x_309); -if (x_310 == 0) -{ -lean_object* x_311; uint8_t x_312; -x_311 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5; -x_312 = lean_string_dec_eq(x_235, x_311); -if (x_312 == 0) -{ -lean_object* x_313; uint8_t x_314; -x_313 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7; -x_314 = lean_string_dec_eq(x_235, x_313); -if (x_314 == 0) -{ -lean_object* x_315; uint8_t x_316; -x_315 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6; -x_316 = lean_string_dec_eq(x_235, x_315); -lean_dec_ref(x_235); -if (x_316 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_317; lean_object* x_318; uint8_t x_319; -x_317 = lean_array_get_size(x_234); -x_318 = lean_unsigned_to_nat(1u); -x_319 = lean_nat_dec_eq(x_317, x_318); -lean_dec(x_317); -if (x_319 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_320; lean_object* x_321; -x_320 = lean_unsigned_to_nat(0u); -x_321 = lean_array_fget(x_234, x_320); -lean_dec(x_234); -if (lean_obj_tag(x_321) == 9) -{ -lean_object* x_322; -x_322 = lean_ctor_get(x_321, 0); -lean_inc_ref(x_322); -lean_dec_ref(x_321); -if (lean_obj_tag(x_322) == 0) -{ -lean_dec_ref(x_322); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_323; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_323 = lean_ctor_get(x_322, 0); -lean_inc_ref(x_323); -lean_dec_ref(x_322); -x_56 = x_323; -x_57 = x_8; -goto block_66; -} -} -else -{ -lean_dec_ref(x_321); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_324; lean_object* x_325; uint8_t x_326; -lean_dec_ref(x_235); -x_324 = lean_array_get_size(x_234); -x_325 = lean_unsigned_to_nat(3u); -x_326 = lean_nat_dec_eq(x_324, x_325); -lean_dec(x_324); -if (x_326 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_327; lean_object* x_328; -x_327 = lean_unsigned_to_nat(0u); -x_328 = lean_array_fget_borrowed(x_234, x_327); -if (lean_obj_tag(x_328) == 9) -{ -lean_object* x_329; -x_329 = lean_ctor_get(x_328, 0); -if (lean_obj_tag(x_329) == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_330 = lean_ctor_get(x_329, 0); -lean_inc_ref(x_330); -x_331 = lean_unsigned_to_nat(1u); -x_332 = lean_array_fget(x_234, x_331); -lean_dec(x_234); -if (lean_obj_tag(x_332) == 9) -{ -lean_object* x_333; -x_333 = lean_ctor_get(x_332, 0); -lean_inc_ref(x_333); -lean_dec_ref(x_332); -if (lean_obj_tag(x_333) == 0) -{ -lean_dec_ref(x_333); -lean_dec_ref(x_330); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_334; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_334 = lean_ctor_get(x_333, 0); -lean_inc_ref(x_334); -lean_dec_ref(x_333); -x_37 = x_330; -x_38 = x_334; -x_39 = x_8; -goto block_55; -} -} -else -{ -lean_dec_ref(x_332); -lean_dec_ref(x_330); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_335; lean_object* x_336; uint8_t x_337; -lean_dec_ref(x_235); -x_335 = lean_array_get_size(x_234); -x_336 = lean_unsigned_to_nat(2u); -x_337 = lean_nat_dec_eq(x_335, x_336); -lean_dec(x_335); -if (x_337 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_338; lean_object* x_339; -x_338 = lean_unsigned_to_nat(0u); -x_339 = lean_array_fget(x_234, x_338); -lean_dec(x_234); -if (lean_obj_tag(x_339) == 9) -{ -lean_object* x_340; -x_340 = lean_ctor_get(x_339, 0); -lean_inc_ref(x_340); -lean_dec_ref(x_339); -if (lean_obj_tag(x_340) == 0) -{ -lean_dec_ref(x_340); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_341; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_341 = lean_ctor_get(x_340, 0); -lean_inc_ref(x_341); -lean_dec_ref(x_340); -x_26 = x_341; -x_27 = x_8; -goto block_36; -} -} -else -{ -lean_dec_ref(x_339); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_342; lean_object* x_343; uint8_t x_344; -lean_dec_ref(x_235); -x_342 = lean_array_get_size(x_234); -x_343 = lean_unsigned_to_nat(3u); -x_344 = lean_nat_dec_eq(x_342, x_343); -lean_dec(x_342); -if (x_344 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_345; lean_object* x_346; -x_345 = lean_unsigned_to_nat(0u); -x_346 = lean_array_fget_borrowed(x_234, x_345); -if (lean_obj_tag(x_346) == 5) -{ -lean_object* x_347; -x_347 = lean_ctor_get(x_346, 1); -if (lean_obj_tag(x_347) == 9) -{ -lean_object* x_348; -x_348 = lean_ctor_get(x_347, 0); -if (lean_obj_tag(x_348) == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_349; lean_object* x_350; uint8_t x_351; -x_349 = lean_ctor_get(x_348, 0); -x_350 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13; -x_351 = lean_string_dec_eq(x_349, x_350); -if (x_351 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec_ref(x_2); -x_352 = lean_unsigned_to_nat(1u); -x_353 = lean_array_fget(x_234, x_352); -lean_dec(x_234); -x_354 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_353, x_1, x_4, x_5, x_6, x_7, x_8); -return x_354; -} -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_355; lean_object* x_356; uint8_t x_357; -lean_dec_ref(x_235); -x_355 = lean_array_get_size(x_234); -x_356 = lean_unsigned_to_nat(2u); -x_357 = lean_nat_dec_eq(x_355, x_356); -lean_dec(x_355); -if (x_357 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_358; lean_object* x_359; -x_358 = lean_unsigned_to_nat(0u); -x_359 = lean_array_fget_borrowed(x_234, x_358); -if (lean_obj_tag(x_359) == 5) -{ -lean_object* x_360; -x_360 = lean_ctor_get(x_359, 1); -if (lean_obj_tag(x_360) == 9) -{ -lean_object* x_361; -x_361 = lean_ctor_get(x_360, 0); -if (lean_obj_tag(x_361) == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; -lean_dec_ref(x_2); -x_362 = lean_unsigned_to_nat(1u); -x_363 = lean_array_fget(x_234, x_362); -lean_dec(x_234); -x_364 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_363, x_1, x_4, x_5, x_6, x_7, x_8); -return x_364; -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -else -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -} -else -{ -lean_object* x_365; lean_object* x_366; uint8_t x_367; -lean_dec_ref(x_235); -x_365 = lean_array_get_size(x_234); -x_366 = lean_unsigned_to_nat(4u); -x_367 = lean_nat_dec_eq(x_365, x_366); -lean_dec(x_365); -if (x_367 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_368; lean_object* x_369; lean_object* x_370; -lean_dec_ref(x_2); -x_368 = lean_unsigned_to_nat(3u); -x_369 = lean_array_fget(x_234, x_368); -lean_dec(x_234); -x_370 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_369, x_1, x_4, x_5, x_6, x_7, x_8); -return x_370; -} -} -} -else -{ -lean_object* x_371; lean_object* x_372; uint8_t x_373; -lean_dec_ref(x_235); -x_371 = lean_array_get_size(x_234); -x_372 = lean_unsigned_to_nat(3u); -x_373 = lean_nat_dec_eq(x_371, x_372); -lean_dec(x_371); -if (x_373 == 0) -{ -lean_dec(x_234); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -else -{ -lean_object* x_374; lean_object* x_375; lean_object* x_376; -lean_dec_ref(x_2); -x_374 = lean_unsigned_to_nat(2u); -x_375 = lean_array_fget(x_234, x_374); -lean_dec(x_234); -x_376 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_375, x_1, x_4, x_5, x_6, x_7, x_8); -return x_376; -} -} -} -} -} -} -else -{ -lean_dec_ref(x_70); -lean_dec_ref(x_69); -lean_dec_ref(x_68); -lean_dec_ref(x_67); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -default: -{ -lean_dec_ref(x_69); -lean_dec_ref(x_68); -lean_dec_ref(x_67); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -} -else -{ -lean_dec(x_69); -lean_dec_ref(x_68); -lean_dec_ref(x_67); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -} -else -{ -lean_dec(x_68); -lean_dec_ref(x_67); -x_9 = x_4; -x_10 = x_5; -x_11 = x_6; -x_12 = x_7; -x_13 = x_8; -goto block_25; -} -block_25: -{ -if (x_3 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec_ref(x_2); -x_14 = lean_box(x_3); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_16 = lean_whnf(x_2, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = 0; -x_2 = x_17; -x_3 = x_19; -x_4 = x_9; -x_5 = x_10; -x_6 = x_11; -x_7 = x_12; -x_8 = x_18; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -return x_16; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_16); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -block_36: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_string_utf8_byte_size(x_26); -x_30 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_26, x_29, x_28); -x_31 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_26, x_30, x_29); -x_32 = lean_string_utf8_extract(x_26, x_30, x_31); -lean_dec(x_31); -lean_dec(x_30); -lean_dec_ref(x_26); -x_33 = lean_string_dec_eq(x_32, x_1); -lean_dec_ref(x_32); -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_27); -return x_35; -} -block_55: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_40 = lean_unsigned_to_nat(0u); -x_41 = lean_string_utf8_byte_size(x_37); -x_42 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_37, x_41, x_40); -x_43 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_37, x_42, x_41); -x_44 = lean_string_utf8_extract(x_37, x_42, x_43); -lean_dec(x_43); -lean_dec(x_42); -lean_dec_ref(x_37); -x_45 = lean_string_dec_eq(x_44, x_1); -lean_dec_ref(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_string_utf8_byte_size(x_38); -x_47 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_38, x_46, x_40); -x_48 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_38, x_47, x_46); -x_49 = lean_string_utf8_extract(x_38, x_47, x_48); -lean_dec(x_48); -lean_dec(x_47); -lean_dec_ref(x_38); -x_50 = lean_string_dec_eq(x_49, x_1); -lean_dec_ref(x_49); -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_39); -return x_52; -} -else -{ -lean_object* x_53; lean_object* x_54; -lean_dec_ref(x_38); -x_53 = lean_box(x_45); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_39); -return x_54; -} -} -block_66: -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; -x_58 = lean_unsigned_to_nat(0u); -x_59 = lean_string_utf8_byte_size(x_56); -x_60 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_56, x_59, x_58); -x_61 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_56, x_60, x_59); -x_62 = lean_string_utf8_extract(x_56, x_60, x_61); -lean_dec(x_61); -lean_dec(x_60); -lean_dec_ref(x_56); -x_63 = lean_string_dec_eq(x_62, x_1); -lean_dec_ref(x_62); -x_64 = lean_box(x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_57); -return x_65; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = 1; -x_9 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt(x_2, x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_3); -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); -lean_dec_ref(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_2); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_21; uint8_t x_26; -x_26 = lean_usize_dec_eq(x_3, x_4); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_array_uget(x_2, x_3); -switch (lean_obj_tag(x_27)) { -case 0: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -lean_inc_ref(x_1); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_30 = lean_apply_12(x_1, x_5, x_28, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_21 = x_30; -goto block_25; -} -case 1: -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_27, 0); -lean_inc(x_31); -lean_dec_ref(x_27); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc_ref(x_1); -x_32 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_1, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_21 = x_32; -goto block_25; -} -default: -{ -x_15 = x_5; -x_16 = x_14; -goto block_20; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_5); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_14); -return x_34; -} -block_20: -{ -size_t x_17; size_t x_18; -x_17 = 1; -x_18 = lean_usize_add(x_3, x_17); -x_3 = x_18; -x_5 = x_15; -x_14 = x_16; -goto _start; -} -block_25: -{ -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_21, 0); -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); -return x_21; -} -else -{ -lean_object* x_23; lean_object* x_24; -lean_inc_ref(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec_ref(x_22); -x_15 = x_24; -x_16 = x_23; -goto block_20; -} -} -else -{ -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); -return x_21; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -lean_object* x_19; -x_19 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_19; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_array_get_size(x_2); -x_16 = lean_nat_dec_lt(x_4, x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec_ref(x_1); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_5); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_14); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_array_fget_borrowed(x_2, x_4); -x_20 = lean_array_fget_borrowed(x_3, x_4); -lean_inc_ref(x_1); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_20); -lean_inc(x_19); -x_21 = lean_apply_12(x_1, x_5, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_dec_ref(x_22); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec_ref(x_1); -return x_21; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec_ref(x_22); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_4, x_25); -lean_dec(x_4); -x_4 = x_26; -x_5 = x_24; -x_14 = x_23; -goto _start; -} -} -else -{ -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec_ref(x_1); -return x_21; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg(x_5, x_6, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_2); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_ctor_get(x_2, 0); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_get_size(x_14); -x_17 = lean_nat_dec_lt(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_16); -lean_dec_ref(x_14); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 0, x_3); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_12); -return x_18; -} -else -{ -uint8_t x_19; -x_19 = lean_nat_dec_le(x_16, x_16); -if (x_19 == 0) -{ -lean_object* x_20; -lean_dec(x_16); -lean_dec_ref(x_14); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 0, x_3); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_2); -lean_ctor_set(x_20, 1, x_12); -return x_20; -} -else -{ -size_t x_21; size_t x_22; lean_object* x_23; -lean_free_object(x_2); -x_21 = 0; -x_22 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_23 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_14, x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_14); -return x_23; -} -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_2, 0); -lean_inc(x_24); -lean_dec(x_2); -x_25 = lean_unsigned_to_nat(0u); -x_26 = lean_array_get_size(x_24); -x_27 = lean_nat_dec_lt(x_25, x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_26); -lean_dec_ref(x_24); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_3); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_12); -return x_29; -} -else -{ -uint8_t x_30; -x_30 = lean_nat_dec_le(x_26, x_26); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_26); -lean_dec_ref(x_24); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_3); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_12); -return x_32; -} -else -{ -size_t x_33; size_t x_34; lean_object* x_35; -x_33 = 0; -x_34 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_35 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_24, x_33, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_24); -return x_35; -} -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_36); -x_37 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_37); -lean_dec_ref(x_2); -x_38 = lean_unsigned_to_nat(0u); -x_39 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_36, x_37, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_37); -lean_dec_ref(x_36); -return x_39; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_5, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_4); -x_15 = lean_apply_11(x_1, x_14, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_15, 0); -lean_dec(x_18); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = lean_ctor_get(x_16, 0); -lean_inc(x_23); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - x_24 = x_16; -} else { - lean_dec_ref(x_16); - x_24 = lean_box(0); -} -if (lean_is_scalar(x_24)) { - x_25 = lean_alloc_ctor(0, 1, 0); -} else { - x_25 = x_24; -} -lean_ctor_set(x_25, 0, x_23); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_22); -return x_26; -} -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_15); -if (x_27 == 0) -{ -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_15, 0); -lean_dec(x_28); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) -{ -return x_15; -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_16, 0); -lean_inc(x_30); -lean_dec(x_16); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_15, 0, x_31); -return x_15; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_15, 1); -lean_inc(x_32); -lean_dec(x_15); -x_33 = lean_ctor_get(x_16, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - x_34 = x_16; -} else { - lean_dec_ref(x_16); - x_34 = lean_box(0); -} -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(1, 1, 0); -} else { - x_35 = x_34; -} -lean_ctor_set(x_35, 0, x_33); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -return x_36; -} -} -} -else -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_15); -if (x_37 == 0) -{ -return x_15; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_15); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg___lam__0), 13, 1); -lean_closure_set(x_13, 0, x_3); -x_14 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_13, x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) -{ -return x_14; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_3, 0); -lean_inc(x_17); -lean_dec_ref(x_3); -x_18 = 0; -lean_inc(x_17); -x_19 = l_Lean_Environment_find_x3f(x_1, x_17, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -goto block_16; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = l_Lean_ConstantInfo_value_x3f(x_20, x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -goto block_16; -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1___boxed), 9, 2); -lean_closure_set(x_24, 0, x_23); -lean_closure_set(x_24, 1, x_2); -x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -uint8_t x_28; -lean_dec(x_17); -x_28 = !lean_is_exclusive(x_25); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_25, 0); -lean_dec(x_29); -lean_ctor_set(x_21, 0, x_4); -lean_ctor_set(x_25, 0, x_21); -return x_25; -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_25, 1); -lean_inc(x_30); -lean_dec(x_25); -lean_ctor_set(x_21, 0, x_4); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_25, 0); -lean_dec(x_33); -x_34 = lean_array_push(x_4, x_17); -lean_ctor_set(x_21, 0, x_34); -lean_ctor_set(x_25, 0, x_21); -return x_25; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_25, 1); -lean_inc(x_35); -lean_dec(x_25); -x_36 = lean_array_push(x_4, x_17); -lean_ctor_set(x_21, 0, x_36); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_21); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_free_object(x_21); -lean_dec(x_17); -lean_dec_ref(x_4); -x_38 = !lean_is_exclusive(x_25); -if (x_38 == 0) -{ -return x_25; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_25, 0); -x_40 = lean_ctor_get(x_25, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_25); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_21, 0); -lean_inc(x_42); -lean_dec(x_21); -x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1___boxed), 9, 2); -lean_closure_set(x_43, 0, x_42); -lean_closure_set(x_43, 1, x_2); -x_44 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_17); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_48 = x_44; -} else { - lean_dec_ref(x_44); - x_48 = lean_box(0); -} -x_49 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_49, 0, x_4); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_44, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_52 = x_44; -} else { - lean_dec_ref(x_44); - x_52 = lean_box(0); -} -x_53 = lean_array_push(x_4, x_17); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -if (lean_is_scalar(x_52)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_52; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_51); -return x_55; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_17); -lean_dec_ref(x_4); -x_56 = lean_ctor_get(x_44, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_44, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_58 = x_44; -} else { - lean_dec_ref(x_44); - x_58 = lean_box(0); -} -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); -} else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} -} -} -} -block_16: -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_4); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_18 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_19); -lean_dec_ref(x_18); -x_20 = lean_ctor_get(x_19, 2); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -lean_inc(x_15); -x_22 = l_Lean_ScopedEnvExtension_getState___redArg(x_21, x_17, x_15, x_20); -lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 2); -lean_inc_ref(x_23); -lean_dec_ref(x_22); -x_24 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_23, x_1); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -lean_dec(x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_25 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -lean_ctor_set(x_13, 0, x_25); -return x_13; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_free_object(x_13); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec_ref(x_24); -x_27 = lean_ctor_get(x_26, 1); -lean_inc_ref(x_27); -lean_dec(x_26); -x_28 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0___boxed), 13, 2); -lean_closure_set(x_28, 0, x_15); -lean_closure_set(x_28, 1, x_2); -x_29 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -x_30 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg(x_27, x_29, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_31 = lean_ctor_get(x_13, 0); -x_32 = lean_ctor_get(x_13, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_13); -x_33 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_34 = lean_ctor_get(x_33, 1); -lean_inc_ref(x_34); -x_35 = lean_ctor_get(x_34, 0); -lean_inc_ref(x_35); -lean_dec_ref(x_34); -x_36 = lean_ctor_get(x_35, 2); -lean_inc(x_36); -lean_dec_ref(x_35); -x_37 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -lean_inc(x_31); -x_38 = l_Lean_ScopedEnvExtension_getState___redArg(x_37, x_33, x_31, x_36); -lean_dec(x_36); -x_39 = lean_ctor_get(x_38, 2); -lean_inc_ref(x_39); -lean_dec_ref(x_38); -x_40 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_39, x_1); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_31); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_41 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_32); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_40, 0); -lean_inc(x_43); -lean_dec_ref(x_40); -x_44 = lean_ctor_get(x_43, 1); -lean_inc_ref(x_44); -lean_dec(x_43); -x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0___boxed), 13, 2); -lean_closure_set(x_45, 0, x_31); -lean_closure_set(x_45, 1, x_2); -x_46 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -x_47 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0___redArg(x_44, x_46, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_48 = !lean_is_exclusive(x_13); -if (x_48 == 0) -{ -return x_13; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_13, 0); -x_50 = lean_ctor_get(x_13, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_13); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_20 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec_ref(x_6); -return x_21; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -return x_20; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_option___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_1); +x_12 = l_Lean_Doc_option(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_unsigned_to_nat(1u); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_7; -x_7 = lean_unsigned_to_nat(0u); -x_3 = x_7; -goto block_6; -} -else -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 0); -x_3 = x_8; -goto block_6; -} -block_6: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_nat_add(x_2, x_3); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_ctor_get(x_2, 3); -x_8 = lean_ctor_get(x_2, 4); -x_9 = l_Lean_Name_quickCmp(x_1, x_5); -switch (x_9) { -case 0: -{ -lean_object* x_10; lean_object* x_11; -lean_free_object(x_2); -lean_dec(x_4); -x_10 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_7); -x_11 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_10, x_8); -return x_11; -} -case 1: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_5); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_6); -x_13 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_12); -lean_dec_ref(x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_2, 2, x_14); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -default: -{ -lean_object* x_15; lean_object* x_16; -lean_free_object(x_2); -lean_dec(x_4); -x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_8); -x_16 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_7, x_15); -return x_16; -} -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_17 = lean_ctor_get(x_2, 0); -x_18 = lean_ctor_get(x_2, 1); -x_19 = lean_ctor_get(x_2, 2); -x_20 = lean_ctor_get(x_2, 3); -x_21 = lean_ctor_get(x_2, 4); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_2); -x_22 = l_Lean_Name_quickCmp(x_1, x_18); -switch (x_22) { -case 0: -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_17); -x_23 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_20); -x_24 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_23, x_21); -return x_24; -} -case 1: -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_18); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_19); -x_26 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_25); -lean_dec_ref(x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_1); -lean_ctor_set(x_28, 2, x_27); -lean_ctor_set(x_28, 3, x_20); -lean_ctor_set(x_28, 4, x_21); -return x_28; -} -default: -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_17); -x_29 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_21); -x_30 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_20, x_29); -return x_30; -} -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_box(0); -x_32 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_1); -lean_ctor_set(x_35, 2, x_33); -lean_ctor_set(x_35, 3, x_2); -lean_ctor_set(x_35, 4, x_2); -return x_35; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_2); -return x_4; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" (cat := ", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(")", 1, 1); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; -x_6 = lean_array_uget(x_4, x_3); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_4, x_3, x_7); -x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0; -x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_6, x_1); -x_11 = lean_string_append(x_9, x_10); -lean_dec_ref(x_10); -x_12 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -x_13 = lean_string_append(x_11, x_12); -x_14 = 1; -x_15 = lean_usize_add(x_3, x_14); -x_16 = lean_array_uset(x_8, x_3, x_13); -x_3 = x_15; -x_4 = x_16; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; -x_6 = lean_array_uget(x_1, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -lean_dec_ref(x_6); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_7, x_4); -x_9 = 1; -x_10 = lean_usize_add(x_3, x_9); -x_3 = x_10; -x_4 = x_8; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; -x_6 = lean_array_uget(x_1, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -lean_dec_ref(x_6); -x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_7, x_4); -x_9 = 1; -x_10 = lean_usize_add(x_3, x_9); -x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(x_1, x_2, x_10, x_8); -return x_11; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_2, 1); -x_4 = lean_ctor_get(x_2, 3); -x_5 = lean_ctor_get(x_2, 4); -x_6 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_1, x_5); -lean_inc(x_3); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_3); -lean_ctor_set(x_7, 1, x_6); -x_1 = x_7; -x_2 = x_4; -goto _start; -} -else -{ -return x_1; -} -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = l_Lean_Name_toString(x_2, x_1); -x_5 = l_Lean_Name_toString(x_3, x_1); -x_6 = lean_string_dec_lt(x_4, x_5); -lean_dec_ref(x_5); -lean_dec_ref(x_4); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_nat_dec_lt(x_3, x_4); -if (x_5 == 0) -{ -lean_dec(x_3); -return x_2; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_6 = lean_box(x_1); -x_7 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed), 3, 1); -lean_closure_set(x_7, 0, x_6); -lean_inc(x_3); -x_8 = l_Array_qpartition___redArg(x_2, x_7, x_3, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec_ref(x_8); -x_11 = lean_nat_dec_le(x_4, x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_1, x_10, x_3, x_9); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_9, x_13); -lean_dec(x_9); -x_2 = x_12; -x_3 = x_14; -goto _start; -} -else -{ -lean_dec(x_9); -lean_dec(x_3); -return x_10; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_1, x_3, x_4, x_5); -return x_9; -} -} -LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_unsigned_to_nat(1u); -x_4 = lean_nat_dec_eq(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Name_isAnonymous(x_1); -if (x_3 == 0) -{ -lean_object* x_9; -x_9 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed), 2, 0); -x_11 = lean_box(1); -x_12 = lean_array_size(x_2); -x_13 = 0; -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(x_2, x_12, x_13, x_11); -x_15 = l_Std_DTreeMap_Internal_Impl_filter___at___Lean_NameMap_filter_spec__0___redArg(x_10, x_14); -x_16 = lean_box(0); -x_17 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_16, x_15); -lean_dec(x_15); -x_18 = lean_array_mk(x_17); -x_23 = lean_array_get_size(x_18); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_eq(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_31; -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_sub(x_23, x_26); -lean_dec(x_23); -x_31 = lean_nat_dec_le(x_24, x_27); -if (x_31 == 0) -{ -lean_inc(x_27); -x_28 = x_27; -goto block_30; -} -else -{ -x_28 = x_24; -goto block_30; -} -block_30: -{ -uint8_t x_29; -x_29 = lean_nat_dec_le(x_28, x_27); -if (x_29 == 0) -{ -lean_dec(x_27); -lean_inc(x_28); -x_19 = x_28; -x_20 = x_28; -goto block_22; -} -else -{ -x_19 = x_28; -x_20 = x_27; -goto block_22; -} -} -} -else -{ -lean_dec(x_23); -x_4 = x_18; -goto block_8; -} -block_22: -{ -lean_object* x_21; -x_21 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_3, x_18, x_19, x_20); -lean_dec(x_20); -x_4 = x_21; -goto block_8; -} -} -block_8: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_array_size(x_4); -x_6 = 0; -x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(x_3, x_5, x_6, x_4); -return x_7; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; size_t x_6; size_t x_7; lean_object* x_8; -x_5 = lean_unbox(x_1); -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(x_5, x_6, x_7, x_4); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(x_1, x_5, x_6, x_4); -lean_dec_ref(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(x_1, x_5, x_6, x_4); -lean_dec_ref(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_unbox(x_1); -x_5 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(x_4, x_2, x_3); -x_6 = lean_box(x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -x_6 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_5, x_2, x_3, x_4); -lean_dec(x_4); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_1); -x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions(x_1, x_2); -lean_dec_ref(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_15; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_4, 0); -x_17 = lean_ctor_get(x_4, 1); -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_19 = x_5; -} else { - lean_dec_ref(x_5); - x_19 = lean_box(0); -} -x_20 = l_Lean_Name_appendCore(x_16, x_18); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_20); -x_21 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -if (lean_obj_tag(x_22) == 0) -{ -goto block_26; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_22, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec_ref(x_22); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -lean_dec(x_19); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_27, 0); -x_31 = lean_ctor_get(x_27, 1); -lean_dec(x_31); -x_32 = lean_name_eq(x_30, x_2); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_inc(x_1); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_1); -x_4 = x_17; -x_5 = x_27; -x_14 = x_23; -goto _start; -} -else -{ -lean_object* x_34; -lean_inc_ref(x_3); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_20); -x_34 = lean_apply_10(x_3, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec_ref(x_34); -lean_inc(x_1); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_1); -x_4 = x_17; -x_5 = x_27; -x_14 = x_37; -goto _start; -} -else -{ -uint8_t x_39; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -lean_dec(x_40); -lean_inc(x_20); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_20); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_42); -lean_ctor_set(x_34, 0, x_27); -return x_34; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_34, 1); -lean_inc(x_43); -lean_dec(x_34); -lean_inc(x_20); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_20); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_27, 1, x_20); -lean_ctor_set(x_27, 0, x_45); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_27); -lean_ctor_set(x_46, 1, x_43); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_free_object(x_27); -lean_dec(x_20); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_34); -if (x_47 == 0) -{ -return x_34; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_34, 0); -x_49 = lean_ctor_get(x_34, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_34); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -} -else -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_ctor_get(x_27, 0); -lean_inc(x_51); -lean_dec(x_27); -x_52 = lean_name_eq(x_51, x_2); -lean_dec(x_51); -if (x_52 == 0) -{ -lean_object* x_53; -lean_inc(x_1); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_1); -lean_ctor_set(x_53, 1, x_20); -x_4 = x_17; -x_5 = x_53; -x_14 = x_23; -goto _start; -} -else -{ -lean_object* x_55; -lean_inc_ref(x_3); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_20); -x_55 = lean_apply_10(x_3, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; uint8_t x_57; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_unbox(x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec_ref(x_55); -lean_inc(x_1); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_20); -x_4 = x_17; -x_5 = x_59; -x_14 = x_58; -goto _start; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_62 = x_55; -} else { - lean_dec_ref(x_55); - x_62 = lean_box(0); -} -lean_inc(x_20); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_20); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_20); -if (lean_is_scalar(x_62)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_62; -} -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_61); -return x_66; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_20); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_67 = lean_ctor_get(x_55, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_55, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_69 = x_55; -} else { - lean_dec_ref(x_55); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 2, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_68); -return x_70; -} -} -} -} -else -{ -lean_dec_ref(x_28); -lean_dec(x_27); -goto block_26; -} -} -block_26: -{ -lean_object* x_24; -lean_inc(x_1); -if (lean_is_scalar(x_19)) { - x_24 = lean_alloc_ctor(0, 2, 0); -} else { - x_24 = x_19; -} -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_20); -x_4 = x_17; -x_5 = x_24; -x_14 = x_23; -goto _start; -} -} -else -{ -uint8_t x_71; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec(x_1); -x_71 = !lean_is_exclusive(x_21); -if (x_71 == 0) -{ -return x_21; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_21, 0); -x_73 = lean_ctor_get(x_21, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_21); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_17; -} -} -static lean_object* _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = l_Lean_Name_hasMacroScopes(x_3); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = l_Lean_privateToUserName(x_3); -x_15 = l_Lean_Name_componentsRev(x_14); -x_16 = lean_box(0); -x_17 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0; -x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg(x_16, x_1, x_2, x_15, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_18, 0); -lean_dec(x_22); -lean_ctor_set(x_18, 0, x_16); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_16); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -lean_dec_ref(x_20); -lean_ctor_set(x_18, 0, x_27); -return x_18; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_dec(x_18); -x_29 = lean_ctor_get(x_20, 0); -lean_inc(x_29); -lean_dec_ref(x_20); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_12); -return x_36; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec_ref(x_8); -x_20 = lean_array_uget(x_5, x_7); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc_ref(x_2); -x_21 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(x_1, x_2, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; size_t x_24; size_t x_25; -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = 1; -x_25 = lean_usize_add(x_7, x_24); -lean_inc_ref(x_3); -{ -size_t _tmp_6 = x_25; -lean_object* _tmp_7 = x_3; -lean_object* _tmp_16 = x_23; -x_7 = _tmp_6; -x_8 = _tmp_7; -x_17 = _tmp_16; -} -goto _start; -} -else -{ -uint8_t x_27; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_27 = !lean_is_exclusive(x_21); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_21, 0); -lean_dec(x_28); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_4); -lean_ctor_set(x_21, 0, x_29); -return x_21; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_dec(x_21); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_4); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_33 = !lean_is_exclusive(x_21); -if (x_33 == 0) -{ -return x_21; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_21, 0); -x_35 = lean_ctor_get(x_21, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_21); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_11; -x_11 = lean_usize_dec_eq(x_3, x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_array_uget(x_2, x_3); -x_13 = l_Lean_Name_getPrefix(x_12); -x_14 = l_Lean_Name_getPrefix(x_1); -x_15 = l_Lean_Name_isPrefixOf(x_13, x_14); -lean_dec(x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_dec(x_12); -x_6 = x_5; -goto block_10; -} -else -{ -lean_object* x_16; -x_16 = lean_array_push(x_5, x_12); -x_6 = x_16; -goto block_10; -} -} -else -{ -return x_5; -} -block_10: -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -x_5 = x_6; -goto _start; -} -} -} -static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_box(0); -x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0; -x_16 = lean_array_size(x_3); -x_17 = 0; -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2(x_1, x_2, x_15, x_14, x_3, x_16, x_17, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_18, 0); -lean_dec(x_22); -lean_ctor_set(x_18, 0, x_1); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -uint8_t x_25; -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -lean_dec_ref(x_20); -lean_ctor_set(x_18, 0, x_27); -return x_18; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_dec(x_18); -x_29 = lean_ctor_get(x_20, 0); -lean_inc(x_29); -lean_dec_ref(x_20); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = lean_apply_11(x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_1, 0); -lean_inc(x_16); -lean_dec_ref(x_1); -x_17 = lean_array_push(x_3, x_16); -x_18 = lean_box(0); -x_19 = lean_apply_11(x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_2); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_12); -return x_15; -} -} -} -static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_rootNamespace; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_22; lean_object* x_23; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_33; -x_33 = l_Lean_Name_hasMacroScopes(x_1); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_82; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec_ref(x_35); -lean_inc_ref(x_4); -lean_inc(x_1); -x_38 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___boxed), 13, 2); -lean_closure_set(x_38, 0, x_1); -lean_closure_set(x_38, 1, x_4); -lean_inc(x_1); -x_82 = lean_private_to_user_name(x_1); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_36); -x_83 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0; -lean_inc(x_1); -x_84 = l_Lean_Name_append(x_83, x_1); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -lean_inc(x_1); -x_39 = x_1; -x_40 = x_85; -goto block_81; -} -else -{ -uint8_t x_86; -x_86 = !lean_is_exclusive(x_82); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = lean_ctor_get(x_82, 0); -lean_inc(x_87); -x_88 = l_Lean_mkPrivateName(x_36, x_87); -lean_dec(x_36); -x_89 = lean_name_eq(x_1, x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; -lean_free_object(x_82); -x_90 = lean_box(0); -x_39 = x_87; -x_40 = x_90; -goto block_81; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0; -lean_inc(x_87); -x_92 = l_Lean_Name_append(x_91, x_87); -lean_ctor_set(x_82, 0, x_92); -x_39 = x_87; -x_40 = x_82; -goto block_81; -} -} -else -{ -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_82, 0); -lean_inc(x_93); -lean_dec(x_82); -lean_inc(x_93); -x_94 = l_Lean_mkPrivateName(x_36, x_93); -lean_dec(x_36); -x_95 = lean_name_eq(x_1, x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; -x_96 = lean_box(0); -x_39 = x_93; -x_40 = x_96; -goto block_81; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0; -lean_inc(x_93); -x_98 = l_Lean_Name_append(x_97, x_93); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_39 = x_93; -x_40 = x_99; -goto block_81; -} -} -} -block_81: -{ -if (x_2 == 0) -{ -lean_object* x_41; -lean_dec_ref(x_4); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_41 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec_ref(x_41); -lean_inc_ref(x_38); -lean_inc(x_40); -x_44 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0), 13, 2); -lean_closure_set(x_44, 0, x_40); -lean_closure_set(x_44, 1, x_38); -x_45 = l_Lean_getRevAliases(x_42, x_1); -x_46 = lean_array_mk(x_45); -if (x_3 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_40); -lean_dec_ref(x_38); -x_47 = lean_unsigned_to_nat(0u); -x_48 = lean_array_get_size(x_46); -x_49 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -x_50 = lean_nat_dec_lt(x_47, x_48); -if (x_50 == 0) -{ -lean_dec(x_48); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_43; -x_28 = x_44; -x_29 = x_49; -goto block_32; -} -else -{ -uint8_t x_51; -x_51 = lean_nat_dec_le(x_48, x_48); -if (x_51 == 0) -{ -lean_dec(x_48); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_43; -x_28 = x_44; -x_29 = x_49; -goto block_32; -} -else -{ -size_t x_52; size_t x_53; lean_object* x_54; -x_52 = 0; -x_53 = lean_usize_of_nat(x_48); -lean_dec(x_48); -x_54 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3(x_39, x_46, x_52, x_53, x_49); -lean_dec_ref(x_46); -lean_dec(x_39); -x_27 = x_43; -x_28 = x_44; -x_29 = x_54; -goto block_32; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec_ref(x_44); -lean_dec(x_39); -x_55 = lean_box(0); -x_56 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(x_40, x_38, x_46, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_43); -return x_56; -} -} -else -{ -uint8_t x_57; -lean_dec(x_40); -lean_dec(x_39); -lean_dec_ref(x_38); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_57 = !lean_is_exclusive(x_41); -if (x_57 == 0) -{ -return x_41; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_41, 0); -x_59 = lean_ctor_get(x_41, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_41); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -lean_object* x_61; -lean_dec_ref(x_38); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_39); -x_61 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec_ref(x_61); -lean_inc(x_1); -x_64 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__2___boxed), 12, 2); -lean_closure_set(x_64, 0, x_40); -lean_closure_set(x_64, 1, x_1); -if (lean_obj_tag(x_62) == 0) -{ -lean_dec(x_39); -lean_dec_ref(x_4); -lean_dec(x_1); -x_22 = x_63; -x_23 = x_64; -goto block_26; -} -else -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_62, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_62, 1); -lean_inc(x_66); -lean_dec_ref(x_62); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_65, 0); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_name_eq(x_67, x_1); -lean_dec(x_1); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_dec_ref(x_4); -x_14 = x_39; -x_15 = x_64; -x_16 = x_68; -x_17 = x_63; -goto block_21; -} -else -{ -lean_object* x_69; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_39); -x_69 = lean_apply_10(x_4, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_63); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec_ref(x_69); -x_72 = lean_unbox(x_70); -lean_dec(x_70); -x_14 = x_39; -x_15 = x_64; -x_16 = x_72; -x_17 = x_71; -goto block_21; -} -else -{ -uint8_t x_73; -lean_dec_ref(x_64); -lean_dec(x_39); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_73 = !lean_is_exclusive(x_69); -if (x_73 == 0) -{ -return x_69; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_69, 0); -x_75 = lean_ctor_get(x_69, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_69); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -} -else -{ -lean_dec_ref(x_66); -lean_dec(x_65); -lean_dec(x_39); -lean_dec_ref(x_4); -lean_dec(x_1); -x_22 = x_63; -x_23 = x_64; -goto block_26; -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_77 = !lean_is_exclusive(x_61); -if (x_77 == 0) -{ -return x_61; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_61, 0); -x_79 = lean_ctor_get(x_61, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_61); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_100 = !lean_is_exclusive(x_35); -if (x_100 == 0) -{ -return x_35; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_35, 0); -x_102 = lean_ctor_get(x_35, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_35); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; -} -} -} -else -{ -lean_object* x_104; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_1); -lean_ctor_set(x_104, 1, x_13); -return x_104; -} -block_21: -{ -if (x_16 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -x_18 = lean_box(0); -x_19 = lean_apply_10(x_15, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -return x_19; -} -else -{ -lean_object* x_20; -lean_dec_ref(x_15); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_17); -return x_20; -} -} -block_26: -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -x_25 = lean_apply_10(x_23, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_25; -} -block_32: -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_box(0); -x_31 = lean_apply_11(x_28, x_29, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_27); -return x_31; -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = 1; -x_17 = lean_box(x_16); -lean_ctor_set(x_12, 0, x_17); -return x_12; -} -else -{ -lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_dec(x_12); -x_19 = 1; -x_20 = lean_box(x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -return x_21; -} -} -else -{ -uint8_t x_22; -lean_dec_ref(x_13); -x_22 = !lean_is_exclusive(x_12); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_12, 0); -lean_dec(x_23); -x_24 = lean_box(x_1); -lean_ctor_set(x_12, 0, x_24); -return x_12; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_12, 1); -lean_inc(x_25); -lean_dec(x_12); -x_26 = lean_box(x_1); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_12); -if (x_28 == 0) -{ -return x_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_12, 0); -x_30 = lean_ctor_get(x_12, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_12); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = 0; -x_13 = lean_box(x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed), 11, 1); -lean_closure_set(x_14, 0, x_13); -x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(x_1, x_2, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" (of := ", 8, 8); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_3, x_2); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_16 = lean_array_uget(x_4, x_3); -x_17 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_4, x_3, x_21); -x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0; -x_24 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_19, x_1); -x_25 = lean_string_append(x_23, x_24); -lean_dec_ref(x_24); -x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -x_27 = lean_string_append(x_25, x_26); -x_28 = 1; -x_29 = lean_usize_add(x_3, x_28); -x_30 = lean_array_uset(x_22, x_3, x_27); -x_3 = x_29; -x_4 = x_30; -x_13 = x_20; -goto _start; -} -else -{ -uint8_t x_32; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_32 = !lean_is_exclusive(x_18); -if (x_32 == 0) -{ -return x_18; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_18, 0); -x_34 = lean_ctor_get(x_18, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_18); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_3, x_2); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_16 = lean_array_uget(x_4, x_3); -x_17 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec_ref(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_4, x_3, x_21); -x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0; -x_24 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_19, x_1); -x_25 = lean_string_append(x_23, x_24); -lean_dec_ref(x_24); -x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -x_27 = lean_string_append(x_25, x_26); -x_28 = 1; -x_29 = lean_usize_add(x_3, x_28); -x_30 = lean_array_uset(x_22, x_3, x_27); -x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6(x_1, x_2, x_29, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -return x_31; -} -else -{ -uint8_t x_32; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_32 = !lean_is_exclusive(x_18); -if (x_32 == 0) -{ -return x_18; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_18, 0); -x_34 = lean_ctor_get(x_18, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_18); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = 1; -x_10 = lean_usize_add(x_2, x_9); -x_11 = lean_array_uset(x_8, x_2, x_6); -x_2 = x_10; -x_3 = x_11; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = l_Lean_Name_isAnonymous(x_1); -if (x_12 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_18 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_11); -return x_19; -} -else -{ -size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_20 = lean_array_size(x_2); -x_21 = 0; -x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8(x_20, x_21, x_2); -x_27 = lean_array_get_size(x_22); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_eq(x_27, x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_35; -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_sub(x_27, x_30); -lean_dec(x_27); -x_35 = lean_nat_dec_le(x_28, x_31); -if (x_35 == 0) -{ -lean_inc(x_31); -x_32 = x_31; -goto block_34; -} -else -{ -x_32 = x_28; -goto block_34; -} -block_34: -{ -uint8_t x_33; -x_33 = lean_nat_dec_le(x_32, x_31); -if (x_33 == 0) -{ -lean_dec(x_31); -lean_inc(x_32); -x_23 = x_32; -x_24 = x_32; -goto block_26; -} -else -{ -x_23 = x_32; -x_24 = x_31; -goto block_26; -} -} -} -else -{ -lean_dec(x_27); -x_13 = x_22; -goto block_17; -} -block_26: -{ -lean_object* x_25; -x_25 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_12, x_22, x_23, x_24); -lean_dec(x_24); -x_13 = x_25; -goto block_17; -} -} -block_17: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_array_size(x_13); -x_15 = 0; -x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6(x_12, x_14, x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_4); -lean_dec(x_2); -return x_15; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_5); -lean_dec(x_1); -return x_20; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__3(x_1, x_2, x_6, x_7, x_5); -lean_dec_ref(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_2); -x_15 = lean_unbox(x_3); -x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_1); -x_13 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_1); -x_15 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6(x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_1); -x_15 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6(x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__8(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -lean_dec_ref(x_1); -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_6 = lean_array_uget(x_4, x_3); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_4, x_3, x_7); -lean_inc_ref(x_1); -x_9 = lean_string_append(x_1, x_6); -lean_dec(x_6); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set(x_12, 2, x_11); -lean_ctor_set(x_12, 3, x_11); -lean_ctor_set(x_12, 4, x_11); -lean_ctor_set(x_12, 5, x_11); -x_13 = 0; -x_14 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_11); -lean_ctor_set(x_14, 2, x_11); -lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13); -x_15 = 1; -x_16 = lean_usize_add(x_3, x_15); -x_17 = lean_array_uset(x_8, x_3, x_14); -x_3 = x_16; -x_4 = x_17; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); -return x_13; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("role", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0; -x_2 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("kw\?", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("kw", 2, 2); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_8, 5); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; -lean_inc(x_14); -x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); -if (x_16 == 0) -{ -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -goto block_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_unsigned_to_nat(5u); -x_19 = l_Lean_Syntax_getArg(x_14, x_18); -x_20 = l_Lean_Syntax_matchesNull(x_19, x_17); -if (x_20 == 0) -{ -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -goto block_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_21 = l_Lean_Syntax_getArg(x_14, x_17); -x_22 = lean_unsigned_to_nat(2u); -x_23 = l_Lean_Syntax_getArg(x_14, x_22); -x_24 = l_Lean_Syntax_getArgs(x_23); -lean_dec(x_23); -x_25 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; -x_26 = lean_array_push(x_25, x_21); -x_27 = l_Array_append___redArg(x_26, x_24); -lean_dec_ref(x_24); -x_28 = l_Lean_Doc_option___closed__6; -x_29 = lean_box(2); -x_30 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_27); -x_31 = 0; -x_32 = l_Lean_Syntax_getRange_x3f(x_30, x_31); -lean_dec_ref(x_30); -if (lean_obj_tag(x_32) == 0) -{ -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -goto block_13; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_38 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec_ref(x_38); -x_64 = lean_ctor_get(x_39, 0); -lean_inc_ref(x_64); -lean_dec(x_39); -x_65 = lean_string_utf8_extract(x_64, x_35, x_36); -lean_dec_ref(x_64); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_string_utf8_byte_size(x_65); -lean_inc(x_67); -lean_inc_ref(x_65); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_68, 2, x_67); -x_69 = lean_unsigned_to_nat(3u); -x_70 = l_Substring_nextn(x_68, x_69, x_66); -lean_dec_ref(x_68); -lean_inc(x_70); -lean_inc_ref(x_65); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_65); -lean_ctor_set(x_71, 1, x_66); -lean_ctor_set(x_71, 2, x_70); -x_72 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; -x_73 = l_Substring_beq(x_71, x_72); -if (x_73 == 0) -{ -lean_dec(x_70); -lean_dec(x_67); -x_41 = x_65; -goto block_63; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; -x_75 = lean_string_utf8_extract(x_65, x_70, x_67); -lean_dec(x_67); -lean_dec(x_70); -lean_dec_ref(x_65); -x_76 = lean_string_append(x_74, x_75); -lean_dec_ref(x_75); -x_41 = x_76; -goto block_63; -} -block_63: -{ -lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_42 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_42, 0, x_35); -lean_ctor_set(x_42, 1, x_36); -lean_ctor_set_uint8(x_42, sizeof(void*)*2, x_20); -lean_inc_ref(x_41); -x_43 = l_Lean_Syntax_mkStrLit(x_41, x_42); -x_44 = lean_array_size(x_2); -x_45 = 0; -x_46 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0(x_41, x_44, x_45, x_2); -if (lean_is_scalar(x_34)) { - x_47 = lean_alloc_ctor(1, 1, 0); -} else { - x_47 = x_34; -} -lean_ctor_set(x_47, 0, x_43); -x_48 = lean_box(0); -x_49 = lean_box(x_31); -x_50 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1___boxed), 12, 5); -lean_closure_set(x_50, 0, x_1); -lean_closure_set(x_50, 1, x_46); -lean_closure_set(x_50, 2, x_47); -lean_closure_set(x_50, 3, x_48); -lean_closure_set(x_50, 4, x_49); -x_51 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_40); -if (lean_obj_tag(x_51) == 0) -{ -uint8_t x_52; -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_51, 0); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_51, 0, x_54); -return x_51; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_51, 0); -x_56 = lean_ctor_get(x_51, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_51); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_55); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -return x_58; -} -} -else -{ -uint8_t x_59; -x_59 = !lean_is_exclusive(x_51); -if (x_59 == 0) -{ -return x_51; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_51, 0); -x_61 = lean_ctor_get(x_51, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_51); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_77 = !lean_is_exclusive(x_38); -if (x_77 == 0) -{ -return x_38; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_38, 0); -x_79 = lean_ctor_get(x_38, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_38); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -} -} -block_13: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0(x_1, x_5, x_6, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_5); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -27503,15 +22362,15 @@ return x_7; } } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg(x_2, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(x_2, x_5, x_6); return x_7; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -27565,2556 +22424,39 @@ x_17 = lean_ctor_get(x_1, 0); lean_inc_ref(x_17); lean_dec_ref(x_1); x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg(x_17, x_18, x_3); +x_19 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(x_17, x_18, x_3); lean_dec_ref(x_17); return x_19; } } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; -x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(lean_object* x_1, lean_object* x_2) { _start: { uint64_t x_3; size_t x_4; uint8_t x_5; x_3 = l_Lean_Name_hash___override(x_2); x_4 = lean_uint64_to_usize(x_3); -x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg(x_1, x_4, x_2); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(x_1, x_4, x_2); return x_5; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; -x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_2, x_3); +x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -lean_dec(x_1); -return x_4; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_6 = lean_array_uget(x_4, x_3); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_4, x_3, x_7); -lean_inc(x_1); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_6); -x_10 = 1; -x_11 = lean_usize_add(x_3, x_10); -x_12 = lean_array_uset(x_8, x_3, x_9); -x_3 = x_11; -x_4 = x_12; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; lean_object* x_18; uint8_t x_23; -x_23 = lean_usize_dec_lt(x_6, x_5); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_7); -lean_ctor_set(x_24, 1, x_16); -return x_24; -} -else -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_array_uget(x_4, x_6); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = l_Lean_Name_isAnonymous(x_1); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_28, 1); -lean_inc_ref(x_30); -lean_dec(x_28); -x_31 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_30, x_1); -if (x_31 == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_32; -lean_inc(x_1); -lean_inc_ref(x_2); -x_32 = l_Lean_Environment_find_x3f(x_2, x_1, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -lean_dec_ref(x_32); -x_34 = l_Lean_ConstantInfo_value_x3f(x_33, x_29); -if (lean_obj_tag(x_34) == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec_ref(x_34); -lean_inc_ref(x_3); -x_36 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed), 9, 2); -lean_closure_set(x_36, 0, x_35); -lean_closure_set(x_36, 1, x_3); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_37 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_36, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -lean_free_object(x_25); -lean_dec(x_27); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec_ref(x_37); -x_17 = x_7; -x_18 = x_40; -goto block_22; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec_ref(x_37); -lean_inc(x_1); -lean_ctor_set(x_25, 1, x_1); -x_42 = lean_array_push(x_7, x_25); -x_17 = x_42; -x_18 = x_41; -goto block_22; -} -} -else -{ -uint8_t x_43; -lean_free_object(x_25); -lean_dec(x_27); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_37); -if (x_43 == 0) -{ -return x_37; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_37, 0); -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_37); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -} -} -else -{ -lean_object* x_47; -lean_free_object(x_25); -lean_dec(x_28); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc_ref(x_3); -x_47 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_27, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec_ref(x_47); -x_50 = lean_array_size(x_48); -x_51 = 0; -x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_27, x_50, x_51, x_48); -x_53 = l_Array_append___redArg(x_7, x_52); -lean_dec_ref(x_52); -x_17 = x_53; -x_18 = x_49; -goto block_22; -} -else -{ -uint8_t x_54; -lean_dec(x_27); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_47); -if (x_54 == 0) -{ -return x_47; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_47, 0); -x_56 = lean_ctor_get(x_47, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_47); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -} -else -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_25, 0); -x_59 = lean_ctor_get(x_25, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_25); -x_60 = l_Lean_Name_isAnonymous(x_1); -if (x_60 == 0) -{ -lean_object* x_61; uint8_t x_62; -x_61 = lean_ctor_get(x_59, 1); -lean_inc_ref(x_61); -lean_dec(x_59); -x_62 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_61, x_1); -if (x_62 == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_63; -lean_inc(x_1); -lean_inc_ref(x_2); -x_63 = l_Lean_Environment_find_x3f(x_2, x_1, x_60); -if (lean_obj_tag(x_63) == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec_ref(x_63); -x_65 = l_Lean_ConstantInfo_value_x3f(x_64, x_60); -if (lean_obj_tag(x_65) == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec_ref(x_65); -lean_inc_ref(x_3); -x_67 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed), 9, 2); -lean_closure_set(x_67, 0, x_66); -lean_closure_set(x_67, 1, x_3); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_68 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_unbox(x_69); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; -lean_dec(x_58); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec_ref(x_68); -x_17 = x_7; -x_18 = x_71; -goto block_22; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec_ref(x_68); -lean_inc(x_1); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_58); -lean_ctor_set(x_73, 1, x_1); -x_74 = lean_array_push(x_7, x_73); -x_17 = x_74; -x_18 = x_72; -goto block_22; -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_58); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_75 = lean_ctor_get(x_68, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_68, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_77 = x_68; -} else { - lean_dec_ref(x_68); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_59); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc_ref(x_3); -x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_58, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec_ref(x_79); -x_82 = lean_array_size(x_80); -x_83 = 0; -x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_58, x_82, x_83, x_80); -x_85 = l_Array_append___redArg(x_7, x_84); -lean_dec_ref(x_84); -x_17 = x_85; -x_18 = x_81; -goto block_22; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_58); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_86 = lean_ctor_get(x_79, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_79, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_88 = x_79; -} else { - lean_dec_ref(x_79); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; -} -} -} -} -block_22: -{ -size_t x_19; size_t x_20; -x_19 = 1; -x_20 = lean_usize_add(x_6, x_19); -x_6 = x_20; -x_7 = x_17; -x_16 = x_18; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; lean_object* x_18; uint8_t x_23; -x_23 = lean_usize_dec_lt(x_6, x_5); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_7); -lean_ctor_set(x_24, 1, x_16); -return x_24; -} -else -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_array_uget(x_4, x_6); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = l_Lean_Name_isAnonymous(x_1); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_28, 1); -lean_inc_ref(x_30); -lean_dec(x_28); -x_31 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_30, x_1); -if (x_31 == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_32; -lean_inc(x_1); -lean_inc_ref(x_2); -x_32 = l_Lean_Environment_find_x3f(x_2, x_1, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -lean_dec_ref(x_32); -x_34 = l_Lean_ConstantInfo_value_x3f(x_33, x_29); -if (lean_obj_tag(x_34) == 0) -{ -lean_free_object(x_25); -lean_dec(x_27); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec_ref(x_34); -lean_inc_ref(x_3); -x_36 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed), 9, 2); -lean_closure_set(x_36, 0, x_35); -lean_closure_set(x_36, 1, x_3); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_37 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_36, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -lean_free_object(x_25); -lean_dec(x_27); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec_ref(x_37); -x_17 = x_7; -x_18 = x_40; -goto block_22; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec_ref(x_37); -lean_inc(x_1); -lean_ctor_set(x_25, 1, x_1); -x_42 = lean_array_push(x_7, x_25); -x_17 = x_42; -x_18 = x_41; -goto block_22; -} -} -else -{ -uint8_t x_43; -lean_free_object(x_25); -lean_dec(x_27); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_37); -if (x_43 == 0) -{ -return x_37; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_37, 0); -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_37); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -} -} -else -{ -lean_object* x_47; -lean_free_object(x_25); -lean_dec(x_28); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc_ref(x_3); -x_47 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_27, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec_ref(x_47); -x_50 = lean_array_size(x_48); -x_51 = 0; -x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_27, x_50, x_51, x_48); -x_53 = l_Array_append___redArg(x_7, x_52); -lean_dec_ref(x_52); -x_17 = x_53; -x_18 = x_49; -goto block_22; -} -else -{ -uint8_t x_54; -lean_dec(x_27); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_47); -if (x_54 == 0) -{ -return x_47; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_47, 0); -x_56 = lean_ctor_get(x_47, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_47); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -} -else -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_25, 0); -x_59 = lean_ctor_get(x_25, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_25); -x_60 = l_Lean_Name_isAnonymous(x_1); -if (x_60 == 0) -{ -lean_object* x_61; uint8_t x_62; -x_61 = lean_ctor_get(x_59, 1); -lean_inc_ref(x_61); -lean_dec(x_59); -x_62 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_61, x_1); -if (x_62 == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_63; -lean_inc(x_1); -lean_inc_ref(x_2); -x_63 = l_Lean_Environment_find_x3f(x_2, x_1, x_60); -if (lean_obj_tag(x_63) == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec_ref(x_63); -x_65 = l_Lean_ConstantInfo_value_x3f(x_64, x_60); -if (lean_obj_tag(x_65) == 0) -{ -lean_dec(x_58); -x_17 = x_7; -x_18 = x_16; -goto block_22; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec_ref(x_65); -lean_inc_ref(x_3); -x_67 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed), 9, 2); -lean_closure_set(x_67, 0, x_66); -lean_closure_set(x_67, 1, x_3); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_68 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_unbox(x_69); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; -lean_dec(x_58); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec_ref(x_68); -x_17 = x_7; -x_18 = x_71; -goto block_22; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec_ref(x_68); -lean_inc(x_1); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_58); -lean_ctor_set(x_73, 1, x_1); -x_74 = lean_array_push(x_7, x_73); -x_17 = x_74; -x_18 = x_72; -goto block_22; -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_58); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_75 = lean_ctor_get(x_68, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_68, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_77 = x_68; -} else { - lean_dec_ref(x_68); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_59); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc_ref(x_3); -x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_58, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec_ref(x_79); -x_82 = lean_array_size(x_80); -x_83 = 0; -x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_58, x_82, x_83, x_80); -x_85 = l_Array_append___redArg(x_7, x_84); -lean_dec_ref(x_84); -x_17 = x_85; -x_18 = x_81; -goto block_22; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_58); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec(x_1); -x_86 = lean_ctor_get(x_79, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_79, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_88 = x_79; -} else { - lean_dec_ref(x_79); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; -} -} -} -} -block_22: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = 1; -x_20 = lean_usize_add(x_6, x_19); -x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_20, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_18); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = 0; -x_12 = 0; -x_13 = l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(x_1, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" : ", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_uget(x_3, x_2); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_array_uset(x_3, x_2, x_9); -x_11 = 0; -x_12 = l_Lean_MessageData_ofConstName(x_8, x_11); -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1; -lean_ctor_set_tag(x_5, 7); -lean_ctor_set(x_5, 1, x_13); -lean_ctor_set(x_5, 0, x_12); -x_14 = l_Lean_MessageData_ofName(x_7); -x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_14); -x_16 = 1; -x_17 = lean_usize_add(x_2, x_16); -x_18 = lean_array_uset(x_10, x_2, x_15); -x_2 = x_17; -x_3 = x_18; -goto _start; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; -x_20 = lean_ctor_get(x_5, 0); -x_21 = lean_ctor_get(x_5, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_5); -x_22 = lean_unsigned_to_nat(0u); -x_23 = lean_array_uset(x_3, x_2, x_22); -x_24 = 0; -x_25 = l_Lean_MessageData_ofConstName(x_21, x_24); -x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1; -x_27 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_MessageData_ofName(x_20); -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = 1; -x_31 = lean_usize_add(x_2, x_30); -x_32 = lean_array_uset(x_23, x_2, x_29); -x_2 = x_31; -x_3 = x_32; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); -return x_10; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Multiple syntax entries found with atom `", 41, 41); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`: ", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Specify the syntax kind:", 24, 24); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Specify the category or syntax kind:", 36, 36); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Specify the category:", 21, 21); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("No syntax found with atom `", 27, 27); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Syntax category `", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_246; uint8_t x_247; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_21 = x_18; -} else { - lean_dec_ref(x_18); - x_21 = lean_box(0); -} -x_22 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_23 = lean_ctor_get(x_22, 1); -lean_inc_ref(x_23); -x_24 = lean_ctor_get(x_23, 0); -lean_inc_ref(x_24); -lean_dec_ref(x_23); -x_25 = lean_ctor_get(x_24, 2); -lean_inc(x_25); -lean_dec_ref(x_24); -x_26 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_27 = l_Lean_TSyntax_getString(x_15); -lean_inc(x_19); -x_140 = l_Lean_ScopedEnvExtension_getState___redArg(x_26, x_22, x_19, x_25); -lean_dec(x_25); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_141 = x_22; -} else { - lean_dec_ref(x_22); - x_141 = lean_box(0); -} -x_142 = l_Lean_TSyntax_getId(x_1); -x_246 = l_Lean_TSyntax_getId(x_2); -x_247 = l_Lean_Name_isAnonymous(x_246); -if (x_247 == 0) -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; -lean_dec(x_246); -x_248 = lean_box(0); -x_249 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1___boxed), 9, 2); -lean_closure_set(x_249, 0, x_2); -lean_closure_set(x_249, 1, x_248); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_250 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_249, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_250) == 0) -{ -lean_object* x_251; lean_object* x_252; -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec_ref(x_250); -x_216 = x_251; -x_217 = x_5; -x_218 = x_6; -x_219 = x_7; -x_220 = x_8; -x_221 = x_9; -x_222 = x_10; -x_223 = x_11; -x_224 = x_12; -x_225 = x_252; -goto block_245; -} -else -{ -uint8_t x_253; -lean_dec(x_142); -lean_dec(x_141); -lean_dec_ref(x_140); -lean_dec_ref(x_27); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_253 = !lean_is_exclusive(x_250); -if (x_253 == 0) -{ -return x_250; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_250, 0); -x_255 = lean_ctor_get(x_250, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_250); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set(x_256, 1, x_255); -return x_256; -} -} -} -else -{ -lean_dec(x_2); -x_216 = x_246; -x_217 = x_5; -x_218 = x_6; -x_219 = x_7; -x_220 = x_8; -x_221 = x_9; -x_222 = x_10; -x_223 = x_11; -x_224 = x_12; -x_225 = x_20; -goto block_245; -} -block_50: -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_31); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_15, x_38, x_36, x_34, x_28, x_35, x_33, x_30, x_29, x_32); -lean_dec(x_36); -lean_dec(x_15); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -x_42 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_42, 0, x_27); -lean_ctor_set(x_39, 0, x_42); -return x_39; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -x_44 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_44, 0, x_27); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_dec_ref(x_27); -x_46 = !lean_is_exclusive(x_39); -if (x_46 == 0) -{ -return x_39; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_39, 0); -x_48 = lean_ctor_get(x_39, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_39); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -block_79: -{ -lean_object* x_63; lean_object* x_64; -x_63 = l_Array_append___redArg(x_60, x_57); -lean_dec_ref(x_57); -lean_inc(x_52); -lean_inc_ref(x_53); -lean_inc(x_55); -lean_inc_ref(x_58); -lean_inc(x_51); -lean_inc_ref(x_56); -x_64 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(x_62, x_63, x_59, x_56, x_51, x_58, x_55, x_53, x_52, x_61); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec_ref(x_64); -x_67 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1; -x_68 = l_Lean_stringToMessageData(x_27); -x_69 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3; -x_71 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_54); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_73; -x_73 = l_Lean_Doc_attr___closed__5; -x_28 = x_51; -x_29 = x_52; -x_30 = x_53; -x_31 = x_72; -x_32 = x_66; -x_33 = x_55; -x_34 = x_56; -x_35 = x_58; -x_36 = x_59; -x_37 = x_73; -goto block_50; -} -else -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_65, 0); -lean_inc(x_74); -lean_dec_ref(x_65); -x_28 = x_51; -x_29 = x_52; -x_30 = x_53; -x_31 = x_72; -x_32 = x_66; -x_33 = x_55; -x_34 = x_56; -x_35 = x_58; -x_36 = x_59; -x_37 = x_74; -goto block_50; -} -} -else -{ -uint8_t x_75; -lean_dec(x_59); -lean_dec_ref(x_58); -lean_dec_ref(x_56); -lean_dec(x_55); -lean_dec_ref(x_54); -lean_dec_ref(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec_ref(x_27); -lean_dec(x_15); -x_75 = !lean_is_exclusive(x_64); -if (x_75 == 0) -{ -return x_64; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_64, 0); -x_77 = lean_ctor_get(x_64, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_64); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -block_94: -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_84 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -x_85 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_; -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_82); -lean_ctor_set(x_86, 1, x_81); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_84); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_89, 0, x_27); -x_90 = lean_mk_empty_array_with_capacity(x_80); -x_91 = lean_array_push(x_90, x_89); -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_88); -lean_ctor_set(x_92, 1, x_91); -if (lean_is_scalar(x_21)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_21; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_83); -return x_93; -} -block_139: -{ -if (x_108 == 0) -{ -lean_dec_ref(x_106); -lean_dec_ref(x_105); -lean_dec(x_104); -lean_dec(x_103); -lean_dec_ref(x_102); -lean_dec(x_99); -lean_dec(x_96); -lean_dec(x_95); -x_80 = x_97; -x_81 = x_98; -x_82 = x_100; -x_83 = x_107; -goto block_94; -} -else -{ -lean_object* x_109; -lean_inc(x_96); -lean_inc_ref(x_102); -lean_inc(x_103); -lean_inc_ref(x_106); -lean_inc(x_95); -lean_inc_ref(x_105); -lean_inc(x_99); -lean_inc(x_104); -lean_inc(x_100); -x_109 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_100, x_101, x_104, x_99, x_105, x_95, x_106, x_103, x_102, x_96, x_107); -if (lean_obj_tag(x_109) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec_ref(x_109); -x_112 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5; -x_113 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0; -x_114 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_110, x_108); -x_115 = lean_string_append(x_113, x_114); -lean_dec_ref(x_114); -x_116 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -x_117 = lean_string_append(x_115, x_116); -x_118 = lean_mk_empty_array_with_capacity(x_97); -x_119 = lean_array_push(x_118, x_117); -lean_inc(x_96); -lean_inc_ref(x_102); -lean_inc(x_103); -lean_inc_ref(x_106); -lean_inc(x_95); -lean_inc_ref(x_105); -x_120 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg(x_112, x_119, x_99, x_105, x_95, x_106, x_103, x_102, x_96, x_111); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; -lean_dec_ref(x_106); -lean_dec_ref(x_105); -lean_dec(x_104); -lean_dec(x_103); -lean_dec_ref(x_102); -lean_dec(x_99); -lean_dec(x_96); -lean_dec(x_95); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec_ref(x_120); -x_80 = x_97; -x_81 = x_98; -x_82 = x_100; -x_83 = x_122; -goto block_94; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_dec_ref(x_120); -x_124 = lean_ctor_get(x_121, 0); -lean_inc(x_124); -lean_dec_ref(x_121); -x_125 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__6(x_124, x_104, x_99, x_105, x_95, x_106, x_103, x_102, x_96, x_123); -lean_dec(x_99); -lean_dec(x_104); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec_ref(x_125); -x_80 = x_97; -x_81 = x_98; -x_82 = x_100; -x_83 = x_126; -goto block_94; -} -else -{ -uint8_t x_127; -lean_dec(x_100); -lean_dec(x_98); -lean_dec_ref(x_27); -lean_dec(x_21); -x_127 = !lean_is_exclusive(x_125); -if (x_127 == 0) -{ -return x_125; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_125, 0); -x_129 = lean_ctor_get(x_125, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_125); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; -} -} -} -} -else -{ -uint8_t x_131; -lean_dec_ref(x_106); -lean_dec_ref(x_105); -lean_dec(x_104); -lean_dec(x_103); -lean_dec_ref(x_102); -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_98); -lean_dec(x_96); -lean_dec(x_95); -lean_dec_ref(x_27); -lean_dec(x_21); -x_131 = !lean_is_exclusive(x_120); -if (x_131 == 0) -{ -return x_120; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_120, 0); -x_133 = lean_ctor_get(x_120, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_120); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; -} -} -} -else -{ -uint8_t x_135; -lean_dec_ref(x_106); -lean_dec_ref(x_105); -lean_dec(x_104); -lean_dec(x_103); -lean_dec_ref(x_102); -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_98); -lean_dec(x_96); -lean_dec(x_95); -lean_dec_ref(x_27); -lean_dec(x_21); -x_135 = !lean_is_exclusive(x_109); -if (x_135 == 0) -{ -return x_109; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_109, 0); -x_137 = lean_ctor_get(x_109, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_109); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} -} -block_215: -{ -lean_object* x_154; lean_object* x_155; size_t x_156; size_t x_157; lean_object* x_158; -x_154 = lean_unsigned_to_nat(0u); -x_155 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6; -x_156 = lean_array_size(x_144); -x_157 = 0; -lean_inc(x_152); -lean_inc_ref(x_151); -lean_inc(x_150); -lean_inc_ref(x_149); -lean_inc(x_148); -lean_inc_ref(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc_ref(x_27); -lean_inc(x_143); -x_158 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4(x_143, x_19, x_27, x_144, x_156, x_157, x_155, x_145, x_146, x_147, x_148, x_149, x_150, x_151, x_152, x_153); -lean_dec_ref(x_144); -if (lean_obj_tag(x_158) == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec_ref(x_158); -x_161 = lean_array_get_size(x_159); -x_162 = lean_nat_dec_eq(x_161, x_154); -if (x_162 == 0) -{ -lean_object* x_163; uint8_t x_164; -lean_dec(x_141); -x_163 = lean_unsigned_to_nat(1u); -x_164 = lean_nat_dec_lt(x_163, x_161); -lean_dec(x_161); -if (x_164 == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_142); -x_165 = lean_array_fget(x_159, x_154); -lean_dec(x_159); -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec_ref(x_165); -x_168 = lean_box(0); -lean_inc(x_152); -lean_inc_ref(x_151); -lean_inc(x_150); -lean_inc_ref(x_149); -lean_inc(x_148); -lean_inc_ref(x_147); -lean_inc(x_167); -x_169 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_15, x_167, x_168, x_145, x_146, x_147, x_148, x_149, x_150, x_151, x_152, x_160); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; uint8_t x_171; -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec_ref(x_169); -x_171 = l_Lean_Name_isAnonymous(x_143); -lean_dec(x_143); -if (x_171 == 0) -{ -x_95 = x_148; -x_96 = x_152; -x_97 = x_163; -x_98 = x_166; -x_99 = x_146; -x_100 = x_167; -x_101 = x_164; -x_102 = x_151; -x_103 = x_150; -x_104 = x_145; -x_105 = x_147; -x_106 = x_149; -x_107 = x_170; -x_108 = x_171; -goto block_139; -} -else -{ -x_95 = x_148; -x_96 = x_152; -x_97 = x_163; -x_98 = x_166; -x_99 = x_146; -x_100 = x_167; -x_101 = x_164; -x_102 = x_151; -x_103 = x_150; -x_104 = x_145; -x_105 = x_147; -x_106 = x_149; -x_107 = x_170; -x_108 = x_3; -goto block_139; -} -} -else -{ -uint8_t x_172; -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_152); -lean_dec_ref(x_151); -lean_dec(x_150); -lean_dec_ref(x_149); -lean_dec(x_148); -lean_dec_ref(x_147); -lean_dec(x_146); -lean_dec(x_145); -lean_dec(x_143); -lean_dec_ref(x_27); -lean_dec(x_21); -x_172 = !lean_is_exclusive(x_169); -if (x_172 == 0) -{ -return x_169; -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_169, 0); -x_174 = lean_ctor_get(x_169, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_169); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; -} -} -} -else -{ -lean_object* x_176; -lean_dec(x_21); -lean_inc(x_152); -lean_inc_ref(x_151); -lean_inc(x_150); -lean_inc_ref(x_149); -lean_inc(x_148); -lean_inc_ref(x_147); -lean_inc(x_146); -lean_inc(x_159); -x_176 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions(x_143, x_159, x_145, x_146, x_147, x_148, x_149, x_150, x_151, x_152, x_160); -lean_dec(x_143); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; size_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec_ref(x_176); -x_179 = lean_array_size(x_159); -lean_inc(x_159); -x_180 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7(x_179, x_157, x_159); -x_181 = lean_array_to_list(x_180); -x_182 = l_Lean_MessageData_andList(x_181); -x_183 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions(x_142, x_159); -lean_dec(x_159); -lean_dec(x_142); -x_184 = l_Array_isEmpty___redArg(x_183); -if (x_184 == 0) -{ -uint8_t x_185; -x_185 = l_Array_isEmpty___redArg(x_177); -if (x_185 == 0) -{ -lean_object* x_186; -x_186 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8; -x_51 = x_148; -x_52 = x_152; -x_53 = x_151; -x_54 = x_182; -x_55 = x_150; -x_56 = x_147; -x_57 = x_183; -x_58 = x_149; -x_59 = x_146; -x_60 = x_177; -x_61 = x_178; -x_62 = x_186; -goto block_79; -} -else -{ -lean_object* x_187; -x_187 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10; -x_51 = x_148; -x_52 = x_152; -x_53 = x_151; -x_54 = x_182; -x_55 = x_150; -x_56 = x_147; -x_57 = x_183; -x_58 = x_149; -x_59 = x_146; -x_60 = x_177; -x_61 = x_178; -x_62 = x_187; -goto block_79; -} -} -else -{ -uint8_t x_188; -x_188 = l_Array_isEmpty___redArg(x_177); -if (x_188 == 0) -{ -lean_object* x_189; -x_189 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5; -x_51 = x_148; -x_52 = x_152; -x_53 = x_151; -x_54 = x_182; -x_55 = x_150; -x_56 = x_147; -x_57 = x_183; -x_58 = x_149; -x_59 = x_146; -x_60 = x_177; -x_61 = x_178; -x_62 = x_189; -goto block_79; -} -else -{ -lean_object* x_190; -x_190 = l_Lean_Doc_attr___closed__5; -x_51 = x_148; -x_52 = x_152; -x_53 = x_151; -x_54 = x_182; -x_55 = x_150; -x_56 = x_147; -x_57 = x_183; -x_58 = x_149; -x_59 = x_146; -x_60 = x_177; -x_61 = x_178; -x_62 = x_190; -goto block_79; -} -} -} -else -{ -uint8_t x_191; -lean_dec(x_159); -lean_dec(x_152); -lean_dec_ref(x_151); -lean_dec(x_150); -lean_dec_ref(x_149); -lean_dec(x_148); -lean_dec_ref(x_147); -lean_dec(x_146); -lean_dec(x_142); -lean_dec_ref(x_27); -lean_dec(x_15); -x_191 = !lean_is_exclusive(x_176); -if (x_191 == 0) -{ -return x_176; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_176, 0); -x_193 = lean_ctor_get(x_176, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_176); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -return x_194; -} -} -} -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -lean_dec(x_161); -lean_dec(x_159); -lean_dec(x_145); -lean_dec(x_143); -lean_dec(x_142); -lean_dec(x_21); -x_195 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12; -x_196 = l_Lean_stringToMessageData(x_27); -if (lean_is_scalar(x_141)) { - x_197 = lean_alloc_ctor(7, 2, 0); -} else { - x_197 = x_141; - lean_ctor_set_tag(x_197, 7); -} -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_198 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_199 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_15, x_199, x_146, x_147, x_148, x_149, x_150, x_151, x_152, x_160); -lean_dec(x_146); -lean_dec(x_15); -if (lean_obj_tag(x_200) == 0) -{ -uint8_t x_201; -x_201 = !lean_is_exclusive(x_200); -if (x_201 == 0) -{ -lean_object* x_202; lean_object* x_203; -x_202 = lean_ctor_get(x_200, 0); -lean_dec(x_202); -x_203 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_203, 0, x_27); -lean_ctor_set(x_200, 0, x_203); -return x_200; -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_200, 1); -lean_inc(x_204); -lean_dec(x_200); -x_205 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_205, 0, x_27); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -return x_206; -} -} -else -{ -uint8_t x_207; -lean_dec_ref(x_27); -x_207 = !lean_is_exclusive(x_200); -if (x_207 == 0) -{ -return x_200; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_200, 0); -x_209 = lean_ctor_get(x_200, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_200); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -return x_210; -} -} -} -} -else -{ -uint8_t x_211; -lean_dec(x_152); -lean_dec_ref(x_151); -lean_dec(x_150); -lean_dec_ref(x_149); -lean_dec(x_148); -lean_dec_ref(x_147); -lean_dec(x_146); -lean_dec(x_145); -lean_dec(x_143); -lean_dec(x_142); -lean_dec(x_141); -lean_dec_ref(x_27); -lean_dec(x_21); -lean_dec(x_15); -x_211 = !lean_is_exclusive(x_158); -if (x_211 == 0) -{ -return x_158; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_158, 0); -x_213 = lean_ctor_get(x_158, 1); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_158); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -return x_214; -} -} -} -block_245: -{ -uint8_t x_226; -x_226 = l_Lean_Name_isAnonymous(x_142); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; -x_227 = lean_ctor_get(x_140, 2); -lean_inc_ref(x_227); -lean_dec_ref(x_140); -x_228 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(x_227, x_142); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; -lean_dec(x_217); -lean_dec(x_216); -lean_dec(x_141); -lean_dec_ref(x_27); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_15); -x_229 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14; -x_230 = l_Lean_MessageData_ofName(x_142); -x_231 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -x_232 = l_Lean_Doc_tactic___closed__11; -x_233 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_233, x_218, x_219, x_220, x_221, x_222, x_223, x_224, x_225); -lean_dec(x_218); -x_235 = !lean_is_exclusive(x_234); -if (x_235 == 0) -{ -return x_234; -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_234, 0); -x_237 = lean_ctor_get(x_234, 1); -lean_inc(x_237); -lean_inc(x_236); -lean_dec(x_234); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; -} -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_239 = lean_ctor_get(x_228, 0); -lean_inc(x_239); -lean_dec_ref(x_228); -lean_inc(x_142); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_142); -lean_ctor_set(x_240, 1, x_239); -x_241 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15; -x_242 = lean_array_push(x_241, x_240); -x_143 = x_216; -x_144 = x_242; -x_145 = x_217; -x_146 = x_218; -x_147 = x_219; -x_148 = x_220; -x_149 = x_221; -x_150 = x_222; -x_151 = x_223; -x_152 = x_224; -x_153 = x_225; -goto block_215; -} -} -else -{ -lean_object* x_243; lean_object* x_244; -x_243 = lean_ctor_get(x_140, 2); -lean_inc_ref(x_243); -lean_dec_ref(x_140); -x_244 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_243); -lean_dec_ref(x_243); -x_143 = x_216; -x_144 = x_244; -x_145 = x_217; -x_146 = x_218; -x_147 = x_219; -x_148 = x_220; -x_149 = x_221; -x_150 = x_222; -x_151 = x_223; -x_152 = x_224; -x_153 = x_225; -goto block_215; -} -} -} -else -{ -uint8_t x_257; -lean_dec(x_15); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_257 = !lean_is_exclusive(x_18); -if (x_257 == 0) -{ -return x_18; -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_258 = lean_ctor_get(x_18, 0); -x_259 = lean_ctor_get(x_18, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_18); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_259); -return x_260; -} -} -} -else -{ -uint8_t x_261; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_261 = !lean_is_exclusive(x_14); -if (x_261 == 0) -{ -return x_14; -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_14, 0); -x_263 = lean_ctor_get(x_14, 1); -lean_inc(x_263); -lean_inc(x_262); -lean_dec(x_14); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -return x_264; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec_ref(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___redArg(x_1, x_4, x_3); -lean_dec(x_3); -x_6 = lean_box(x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; uint8_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0_spec__0(x_1, x_2, x_5, x_4); -lean_dec(x_4); -x_7 = lean_box(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_1, x_2); -lean_dec(x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0(x_1, x_2, x_3); -lean_dec(x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_1, x_5, x_6, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4_spec__4(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec_ref(x_4); -return x_19; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__4(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec_ref(x_4); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_4); -lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_kw(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = 0; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_kw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Doc_kw(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = 1; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Doc_kw_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -30154,7 +22496,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -30182,7 +22524,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -30190,7 +22532,7 @@ x_3 = lean_string_dec_lt(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -30203,7 +22545,7 @@ return x_1; else { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0___boxed), 2, 0); +x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0___boxed), 2, 0); lean_inc(x_2); x_6 = l_Array_qpartition___redArg(x_1, x_5, x_2, x_3); x_7 = lean_ctor_get(x_6, 0); @@ -30215,7 +22557,7 @@ x_9 = lean_nat_dec_le(x_3, x_7); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(x_8, x_2, x_7); +x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(x_8, x_2, x_7); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_7, x_11); lean_dec(x_7); @@ -30232,15 +22574,15 @@ return x_8; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(x_2, x_3, x_4); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(x_2, x_3, x_4); return x_8; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0() { _start: { lean_object* x_1; @@ -30248,16 +22590,16 @@ x_1 = lean_mk_string_unchecked("Use a syntax category name:", 27, 27); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2() { _start: { lean_object* x_1; @@ -30265,827 +22607,1389 @@ x_1 = lean_mk_string_unchecked("Unknown syntax category `", 25, 25); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_16 = lean_ctor_get(x_15, 1); -lean_inc_ref(x_16); -x_17 = lean_ctor_get(x_16, 0); -lean_inc_ref(x_17); -lean_dec_ref(x_16); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -lean_dec_ref(x_17); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_20 = l_Lean_ScopedEnvExtension_getState___redArg(x_19, x_15, x_13, x_18); -lean_dec(x_18); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_21 = x_15; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; +x_18 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc_ref(x_19); +lean_dec_ref(x_18); +x_20 = lean_ctor_get(x_19, 2); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; +x_22 = l_Lean_ScopedEnvExtension_getState___redArg(x_21, x_17, x_15, x_20); +lean_dec(x_20); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_23 = x_17; } else { - lean_dec_ref(x_15); - x_21 = lean_box(0); + lean_dec_ref(x_17); + x_23 = lean_box(0); } -x_22 = lean_ctor_get(x_20, 2); -lean_inc_ref(x_22); -lean_dec_ref(x_20); -x_23 = l_Lean_TSyntax_getId(x_1); -lean_inc_ref(x_22); -x_24 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_22, x_23); -if (x_24 == 0) -{ -lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_67; lean_object* x_68; uint8_t x_69; -lean_free_object(x_11); -x_59 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_22); +x_24 = lean_ctor_get(x_22, 2); +lean_inc_ref(x_24); lean_dec_ref(x_22); -x_60 = lean_array_size(x_59); -x_61 = 0; -x_62 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1(x_60, x_61, x_59); -x_67 = lean_array_get_size(x_62); -x_68 = lean_unsigned_to_nat(0u); -x_69 = lean_nat_dec_eq(x_67, x_68); -if (x_69 == 0) +x_25 = l_Lean_TSyntax_getId(x_1); +lean_inc_ref(x_24); +x_26 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_24, x_25); +if (x_26 == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_75; -x_70 = lean_unsigned_to_nat(1u); -x_71 = lean_nat_sub(x_67, x_70); -lean_dec(x_67); -x_75 = lean_nat_dec_le(x_68, x_71); +lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_free_object(x_13); +x_61 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_24); +lean_dec_ref(x_24); +x_62 = lean_array_size(x_61); +x_63 = 0; +x_64 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4(x_62, x_63, x_61); +x_69 = lean_array_get_size(x_64); +x_70 = lean_unsigned_to_nat(0u); +x_71 = lean_nat_dec_eq(x_69, x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_77; +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_sub(x_69, x_72); +lean_dec(x_69); +x_77 = lean_nat_dec_le(x_70, x_73); +if (x_77 == 0) +{ +lean_inc(x_73); +x_74 = x_73; +goto block_76; +} +else +{ +x_74 = x_70; +goto block_76; +} +block_76: +{ +uint8_t x_75; +x_75 = lean_nat_dec_le(x_74, x_73); if (x_75 == 0) { -lean_inc(x_71); -x_72 = x_71; -goto block_74; +lean_dec(x_73); +lean_inc(x_74); +x_65 = x_74; +x_66 = x_74; +goto block_68; } else { -x_72 = x_68; -goto block_74; -} -block_74: -{ -uint8_t x_73; -x_73 = lean_nat_dec_le(x_72, x_71); -if (x_73 == 0) -{ -lean_dec(x_71); -lean_inc(x_72); -x_63 = x_72; -x_64 = x_72; -goto block_66; -} -else -{ -x_63 = x_72; -x_64 = x_71; -goto block_66; +x_65 = x_74; +x_66 = x_73; +goto block_68; } } } else { -lean_dec(x_67); -x_25 = x_62; -goto block_58; +lean_dec(x_69); +x_27 = x_64; +goto block_60; } -block_66: +block_68: { -lean_object* x_65; -x_65 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(x_62, x_63, x_64); -lean_dec(x_64); -x_25 = x_65; -goto block_58; +lean_object* x_67; +x_67 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(x_64, x_65, x_66); +lean_dec(x_66); +x_27 = x_67; +goto block_60; } } else { -lean_object* x_76; +lean_object* x_78; +lean_dec(x_25); +lean_dec_ref(x_24); lean_dec(x_23); -lean_dec_ref(x_22); -lean_dec(x_21); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); lean_dec(x_1); -x_76 = lean_box(x_24); -lean_ctor_set(x_11, 0, x_76); -return x_11; +x_78 = lean_box(x_26); +lean_ctor_set(x_13, 0, x_78); +return x_13; } -block_58: +block_60: { -size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(x_26, x_27, x_25); -x_29 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1; +size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_28 = lean_array_size(x_27); +x_29 = 0; +x_30 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3(x_28, x_29, x_27); +x_31 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1; lean_inc(x_1); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_1); -x_31 = lean_box(0); -x_32 = lean_box(x_24); -x_33 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_33, 0, x_29); -lean_closure_set(x_33, 1, x_28); -lean_closure_set(x_33, 2, x_30); -lean_closure_set(x_33, 3, x_31); -lean_closure_set(x_33, 4, x_32); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_1); +x_33 = lean_box(0); +x_34 = lean_box(x_26); +x_35 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_35, 0, x_31); +lean_closure_set(x_35, 1, x_30); +lean_closure_set(x_35, 2, x_32); +lean_closure_set(x_35, 3, x_33); +lean_closure_set(x_35, 4, x_34); +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_34 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -if (lean_obj_tag(x_34) == 0) +x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec_ref(x_34); -x_37 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3; -x_38 = l_Lean_MessageData_ofName(x_23); -if (lean_is_scalar(x_21)) { - x_39 = lean_alloc_ctor(7, 2, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec_ref(x_36); +x_39 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3; +x_40 = l_Lean_MessageData_ofName(x_25); +if (lean_is_scalar(x_23)) { + x_41 = lean_alloc_ctor(7, 2, 0); } else { - x_39 = x_21; - lean_ctor_set_tag(x_39, 7); + x_41 = x_23; + lean_ctor_set_tag(x_41, 7); } -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_41 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_35); -x_43 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_1, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +x_42 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_37); +x_45 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_1, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); lean_dec(x_1); -if (lean_obj_tag(x_43) == 0) +if (lean_obj_tag(x_45) == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +uint8_t x_46; +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = lean_box(x_26); +lean_ctor_set(x_45, 0, x_48); +return x_45; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); lean_dec(x_45); -x_46 = lean_box(x_24); -lean_ctor_set(x_43, 0, x_46); -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(x_24); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; +x_50 = lean_box(x_26); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +return x_51; } } else { -uint8_t x_50; -x_50 = !lean_is_exclusive(x_43); -if (x_50 == 0) +uint8_t x_52; +x_52 = !lean_is_exclusive(x_45); +if (x_52 == 0) { -return x_43; +return x_45; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_43, 0); -x_52 = lean_ctor_get(x_43, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_43); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_45, 0); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_45); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_54; +uint8_t x_56; +lean_dec(x_25); lean_dec(x_23); -lean_dec(x_21); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_34); -if (x_54 == 0) +x_56 = !lean_is_exclusive(x_36); +if (x_56 == 0) { -return x_34; +return x_36; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_34, 0); -x_56 = lean_ctor_get(x_34, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_34); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_36, 0); +x_58 = lean_ctor_get(x_36, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_36); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; -x_77 = lean_ctor_get(x_11, 0); -x_78 = lean_ctor_get(x_11, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_11); -x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_80 = lean_ctor_get(x_79, 1); -lean_inc_ref(x_80); -x_81 = lean_ctor_get(x_80, 0); -lean_inc_ref(x_81); -lean_dec_ref(x_80); -x_82 = lean_ctor_get(x_81, 2); -lean_inc(x_82); -lean_dec_ref(x_81); -x_83 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_84 = l_Lean_ScopedEnvExtension_getState___redArg(x_83, x_79, x_77, x_82); -lean_dec(x_82); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_85 = x_79; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; +x_79 = lean_ctor_get(x_13, 0); +x_80 = lean_ctor_get(x_13, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_13); +x_81 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; +x_82 = lean_ctor_get(x_81, 1); +lean_inc_ref(x_82); +x_83 = lean_ctor_get(x_82, 0); +lean_inc_ref(x_83); +lean_dec_ref(x_82); +x_84 = lean_ctor_get(x_83, 2); +lean_inc(x_84); +lean_dec_ref(x_83); +x_85 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; +x_86 = l_Lean_ScopedEnvExtension_getState___redArg(x_85, x_81, x_79, x_84); +lean_dec(x_84); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_87 = x_81; } else { - lean_dec_ref(x_79); - x_85 = lean_box(0); + lean_dec_ref(x_81); + x_87 = lean_box(0); } -x_86 = lean_ctor_get(x_84, 2); -lean_inc_ref(x_86); -lean_dec_ref(x_84); -x_87 = l_Lean_TSyntax_getId(x_1); -lean_inc_ref(x_86); -x_88 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_86, x_87); -if (x_88 == 0) -{ -lean_object* x_121; size_t x_122; size_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_121 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_86); +x_88 = lean_ctor_get(x_86, 2); +lean_inc_ref(x_88); lean_dec_ref(x_86); -x_122 = lean_array_size(x_121); -x_123 = 0; -x_124 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1(x_122, x_123, x_121); -x_129 = lean_array_get_size(x_124); -x_130 = lean_unsigned_to_nat(0u); -x_131 = lean_nat_dec_eq(x_129, x_130); -if (x_131 == 0) +x_89 = l_Lean_TSyntax_getId(x_1); +lean_inc_ref(x_88); +x_90 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_88, x_89); +if (x_90 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_137; -x_132 = lean_unsigned_to_nat(1u); -x_133 = lean_nat_sub(x_129, x_132); -lean_dec(x_129); -x_137 = lean_nat_dec_le(x_130, x_133); +lean_object* x_123; size_t x_124; size_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_123 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_88); +lean_dec_ref(x_88); +x_124 = lean_array_size(x_123); +x_125 = 0; +x_126 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4(x_124, x_125, x_123); +x_131 = lean_array_get_size(x_126); +x_132 = lean_unsigned_to_nat(0u); +x_133 = lean_nat_dec_eq(x_131, x_132); +if (x_133 == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_139; +x_134 = lean_unsigned_to_nat(1u); +x_135 = lean_nat_sub(x_131, x_134); +lean_dec(x_131); +x_139 = lean_nat_dec_le(x_132, x_135); +if (x_139 == 0) +{ +lean_inc(x_135); +x_136 = x_135; +goto block_138; +} +else +{ +x_136 = x_132; +goto block_138; +} +block_138: +{ +uint8_t x_137; +x_137 = lean_nat_dec_le(x_136, x_135); if (x_137 == 0) { -lean_inc(x_133); -x_134 = x_133; -goto block_136; +lean_dec(x_135); +lean_inc(x_136); +x_127 = x_136; +x_128 = x_136; +goto block_130; } else { -x_134 = x_130; -goto block_136; -} -block_136: -{ -uint8_t x_135; -x_135 = lean_nat_dec_le(x_134, x_133); -if (x_135 == 0) -{ -lean_dec(x_133); -lean_inc(x_134); -x_125 = x_134; -x_126 = x_134; -goto block_128; -} -else -{ -x_125 = x_134; -x_126 = x_133; -goto block_128; +x_127 = x_136; +x_128 = x_135; +goto block_130; } } } else { -lean_dec(x_129); -x_89 = x_124; -goto block_120; +lean_dec(x_131); +x_91 = x_126; +goto block_122; } -block_128: +block_130: { -lean_object* x_127; -x_127 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(x_124, x_125, x_126); -lean_dec(x_126); -x_89 = x_127; -goto block_120; +lean_object* x_129; +x_129 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(x_126, x_127, x_128); +lean_dec(x_128); +x_91 = x_129; +goto block_122; } } else { -lean_object* x_138; lean_object* x_139; +lean_object* x_140; lean_object* x_141; +lean_dec(x_89); +lean_dec_ref(x_88); lean_dec(x_87); -lean_dec_ref(x_86); -lean_dec(x_85); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); lean_dec(x_1); -x_138 = lean_box(x_88); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_78); -return x_139; +x_140 = lean_box(x_90); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_80); +return x_141; } -block_120: +block_122: { -size_t x_90; size_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_90 = lean_array_size(x_89); -x_91 = 0; -x_92 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(x_90, x_91, x_89); -x_93 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1; +size_t x_92; size_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_92 = lean_array_size(x_91); +x_93 = 0; +x_94 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3(x_92, x_93, x_91); +x_95 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1; lean_inc(x_1); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_1); -x_95 = lean_box(0); -x_96 = lean_box(x_88); -x_97 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_97, 0, x_93); -lean_closure_set(x_97, 1, x_92); -lean_closure_set(x_97, 2, x_94); -lean_closure_set(x_97, 3, x_95); -lean_closure_set(x_97, 4, x_96); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_1); +x_97 = lean_box(0); +x_98 = lean_box(x_90); +x_99 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_99, 0, x_95); +lean_closure_set(x_99, 1, x_94); +lean_closure_set(x_99, 2, x_96); +lean_closure_set(x_99, 3, x_97); +lean_closure_set(x_99, 4, x_98); +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_98 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_78); -if (lean_obj_tag(x_98) == 0) +x_100 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_99, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_80); +if (lean_obj_tag(x_100) == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec_ref(x_98); -x_101 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3; -x_102 = l_Lean_MessageData_ofName(x_87); -if (lean_is_scalar(x_85)) { - x_103 = lean_alloc_ctor(7, 2, 0); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec_ref(x_100); +x_103 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3; +x_104 = l_Lean_MessageData_ofName(x_89); +if (lean_is_scalar(x_87)) { + x_105 = lean_alloc_ctor(7, 2, 0); } else { - x_103 = x_85; - lean_ctor_set_tag(x_103, 7); + x_105 = x_87; + lean_ctor_set_tag(x_105, 7); } -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_105 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_105, 0, x_103); lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_99); -x_107 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_1, x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_100); +x_106 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_107 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +x_109 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_1, x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_102); lean_dec(x_1); -if (lean_obj_tag(x_107) == 0) +if (lean_obj_tag(x_109) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_109 = x_107; -} else { - lean_dec_ref(x_107); - x_109 = lean_box(0); -} -x_110 = lean_box(x_88); -if (lean_is_scalar(x_109)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); x_111 = x_109; +} else { + lean_dec_ref(x_109); + x_111 = lean_box(0); } -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_108); -return x_111; +x_112 = lean_box(x_90); +if (lean_is_scalar(x_111)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_111; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_110); +return x_113; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_107, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_107, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_114 = x_107; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_109, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_109, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_116 = x_109; } else { - lean_dec_ref(x_107); - x_114 = lean_box(0); + lean_dec_ref(x_109); + x_116 = lean_box(0); } -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); } else { - x_115 = x_114; + x_117 = x_116; } -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_113); -return x_115; +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_115); +return x_117; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_89); lean_dec(x_87); -lean_dec(x_85); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); lean_dec(x_1); -x_116 = lean_ctor_get(x_98, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_98, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_118 = x_98; +x_118 = lean_ctor_get(x_100, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_100, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_120 = x_100; } else { - lean_dec_ref(x_98); - x_118 = lean_box(0); + lean_dec_ref(x_100); + x_120 = lean_box(0); } -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); } else { - x_119 = x_118; + x_121 = x_120; } -lean_ctor_set(x_119, 0, x_116); -lean_ctor_set(x_119, 1, x_117); -return x_119; +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } } } else { -uint8_t x_140; +uint8_t x_142; +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_11); -if (x_140 == 0) +x_142 = !lean_is_exclusive(x_13); +if (x_142 == 0) { -return x_11; +return x_13; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_11, 0); -x_142 = lean_ctor_get(x_11, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_11); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_13, 0); +x_144 = lean_ctor_get(x_13, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_13); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_1); +x_5 = lean_box(x_4); +return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); +uint8_t x_7; lean_object* x_8; +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(x_4, x_5, x_3); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(x_1, x_4, x_3); +lean_dec(x_3); +x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1(x_4, x_5, x_3); -return x_6; +size_t x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0(x_1, x_2, x_5, x_4); +lean_dec(x_4); +x_7 = lean_box(x_6); +return x_7; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___lam__0(x_1, x_2); +x_3 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_1, x_2); +lean_dec(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(x_1, x_2, x_3); +lean_dec(x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0(x_1, x_2); lean_dec_ref(x_2); lean_dec_ref(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___redArg(x_1, x_2, x_3); +x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = 1; +x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_17 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_16, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +lean_dec(x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +lean_inc(x_18); +x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = l_Lean_Syntax_getId(x_18); +lean_dec(x_18); +x_24 = lean_unbox(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +x_25 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_23, x_15); +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_20, 0, x_26); +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_27 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; +x_28 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; +lean_inc(x_23); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_23); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_unbox(x_22); +lean_dec(x_22); +x_32 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_23, x_31); +x_33 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Doc_name___closed__5; +x_35 = lean_array_push(x_34, x_33); +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_20, 0, x_36); +return x_20; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_20, 0); +x_38 = lean_ctor_get(x_20, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_20); +x_39 = l_Lean_Syntax_getId(x_18); +lean_dec(x_18); +x_40 = lean_unbox(x_37); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_37); +x_41 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_39, x_15); +x_42 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_38); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_44 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; +x_45 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; +lean_inc(x_39); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_39); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_unbox(x_37); +lean_dec(x_37); +x_49 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_39, x_48); +x_50 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l_Lean_Doc_name___closed__5; +x_52 = lean_array_push(x_51, x_50); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_47); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_38); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_18); +x_55 = !lean_is_exclusive(x_20); +if (x_55 == 0) +{ +return x_20; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_59 = !lean_is_exclusive(x_17); +if (x_59 == 0) +{ +return x_17; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_17, 0); +x_61 = lean_ctor_get(x_17, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_17); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_63 = !lean_is_exclusive(x_12); +if (x_63 == 0) +{ +return x_12; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_12, 0); +x_65 = lean_ctor_get(x_12, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_12); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_syntaxCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +uint8_t x_6; lean_object* x_7; uint8_t x_8; +x_6 = 1; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +return x_6; +} +else +{ +if (x_1 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +goto _start; +} +else +{ +return x_6; +} +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 2); +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = lean_nat_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_3); +x_7 = 1; +return x_7; +} +else +{ +if (x_6 == 0) +{ +lean_dec(x_3); +return x_6; +} +else +{ +size_t x_8; size_t x_9; uint8_t x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_10 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(x_5, x_2, x_8, x_9); +if (x_10 == 0) +{ +return x_6; +} +else +{ +return x_5; +} +} +} +} +else +{ +lean_dec(x_3); +return x_5; +} +} +else +{ +uint8_t x_11; +x_11 = 0; return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +uint8_t x_5; size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; +x_5 = lean_unbox(x_1); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(x_5, x_2, x_6, x_7); +lean_dec_ref(x_2); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty___boxed(lean_object* x_1) { +_start: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = 1; -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0; +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_10; +x_10 = lean_usize_dec_eq(x_2, x_3); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_array_uget(x_1, x_2); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(x_11); +if (x_12 == 0) +{ +lean_dec(x_11); +x_5 = x_4; +goto block_9; +} +else +{ +lean_object* x_13; +x_13 = lean_array_push(x_4, x_11); +x_5 = x_13; +goto block_9; +} +} +else +{ +return x_4; +} +block_9: +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_2 = x_7; +x_4 = x_5; +goto _start; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_2 = lean_ctor_get(x_1, 2); +lean_inc_ref(x_2); +lean_dec_ref(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_11 = lean_array_get_size(x_2); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0; +x_13 = lean_nat_dec_lt(x_3, x_11); +if (x_13 == 0) +{ +lean_dec(x_11); +lean_dec_ref(x_2); +x_4 = x_12; +goto block_10; +} +else +{ +uint8_t x_14; +x_14 = lean_nat_dec_le(x_11, x_11); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec_ref(x_2); +x_4 = x_12; +goto block_10; +} +else +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = 0; +x_16 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_17 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0(x_2, x_15, x_16, x_12); +lean_dec_ref(x_2); +x_4 = x_17; +goto block_10; +} +} +block_10: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_get_size(x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_dec_eq(x_5, x_6); +lean_dec(x_5); +if (x_7 == 0) +{ +lean_dec_ref(x_4); +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_4, x_3); +lean_dec_ref(x_4); +x_1 = x_8; +goto _start; +} +} +} +case 3: +{ +uint8_t x_18; +lean_dec_ref(x_1); +x_18 = 1; +return x_18; +} +default: +{ +uint8_t x_19; +lean_dec(x_1); +x_19 = 0; +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_15, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_12); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_1); +x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_17; uint8_t x_18; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec_ref(x_16); -lean_inc(x_17); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_19, 0); -x_22 = l_Lean_Syntax_getId(x_17); +x_18 = lean_unbox(x_17); lean_dec(x_17); -x_23 = lean_unbox(x_21); -if (x_23 == 0) +if (x_18 == 0) { -lean_object* x_24; lean_object* x_25; -lean_dec(x_21); -x_24 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_22, x_14); +uint8_t x_19; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +x_21 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_dec(x_16); +x_24 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); x_25 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_19, 0, x_25); -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_26 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -x_27 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -lean_inc(x_22); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_22); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_unbox(x_21); -lean_dec(x_21); -x_31 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_22, x_30); -x_32 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Doc_name___closed__0; -x_34 = lean_array_push(x_33, x_32); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_19, 0, x_35); -return x_19; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_19, 0); -x_37 = lean_ctor_get(x_19, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_19); -x_38 = l_Lean_Syntax_getId(x_17); -lean_dec(x_17); -x_39 = lean_unbox(x_36); -if (x_39 == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_16, 1); +lean_inc(x_27); +lean_dec_ref(x_16); +x_28 = l_Lean_TSyntax_getId(x_1); +lean_dec(x_1); +lean_inc(x_28); +x_29 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParserFn), 3, 1); +lean_closure_set(x_29, 0, x_28); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_30 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_29, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_36); -x_40 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_38, x_14); -x_41 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec_ref(x_30); +lean_inc(x_31); +x_33 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +x_36 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_37 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_31); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_42 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_37); -return x_42; +x_43 = l_Lean_Doc_name___closed__5; +x_44 = lean_array_push(x_43, x_42); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_33, 0, x_45); +return x_33; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_43 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -x_44 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -lean_inc(x_38); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_38); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_unbox(x_36); -lean_dec(x_36); -x_48 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_38, x_47); -x_49 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_49, 0, x_48); -x_50 = l_Lean_Doc_name___closed__0; -x_51 = lean_array_push(x_50, x_49); -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_46); -lean_ctor_set(x_52, 1, x_51); -x_53 = lean_alloc_ctor(0, 2, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_46 = lean_ctor_get(x_33, 1); +lean_inc(x_46); +lean_dec(x_33); +x_47 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_48 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_28); +lean_ctor_set(x_49, 1, x_31); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_53 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_37); -return x_53; -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_17); -x_54 = !lean_is_exclusive(x_19); -if (x_54 == 0) -{ -return x_19; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_19, 0); -x_56 = lean_ctor_get(x_19, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_19); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); +x_54 = l_Lean_Doc_name___closed__5; +x_55 = lean_array_push(x_54, x_53); +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_46); return x_57; } } -} else { uint8_t x_58; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_58 = !lean_is_exclusive(x_16); +lean_dec(x_31); +lean_dec(x_28); +lean_dec(x_14); +x_58 = !lean_is_exclusive(x_33); if (x_58 == 0) { -return x_16; +return x_33; } else { lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_16, 0); -x_60 = lean_ctor_get(x_16, 1); +x_59 = lean_ctor_get(x_33, 0); +x_60 = lean_ctor_get(x_33, 1); lean_inc(x_60); lean_inc(x_59); -lean_dec(x_16); +lean_dec(x_33); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); @@ -31096,25 +24000,27 @@ return x_61; else { uint8_t x_62; +lean_dec(x_28); +lean_dec(x_14); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_62 = !lean_is_exclusive(x_11); +x_62 = !lean_is_exclusive(x_30); if (x_62 == 0) { -return x_11; +return x_30; } else { lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_11, 0); -x_64 = lean_ctor_get(x_11, 1); +x_63 = lean_ctor_get(x_30, 0); +x_64 = lean_ctor_get(x_30, 1); lean_inc(x_64); lean_inc(x_63); -lean_dec(x_11); +lean_dec(x_30); x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); @@ -31123,331 +24029,81 @@ return x_65; } } } -LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +else { -lean_object* x_11; -x_11 = l_Lean_Doc_syntaxCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_syntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_1); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_66; +lean_dec(x_14); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_1); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) +x_66 = !lean_is_exclusive(x_16); +if (x_66 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -lean_dec(x_19); -x_20 = l_Lean_TSyntax_getString(x_13); -lean_dec(x_13); -x_21 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; +return x_16; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = l_Lean_TSyntax_getString(x_13); -lean_dec(x_13); -x_24 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_15, 1); -lean_inc(x_26); -lean_dec_ref(x_15); -x_27 = l_Lean_TSyntax_getId(x_1); -lean_dec(x_1); -lean_inc(x_27); -x_28 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParserFn), 3, 1); -lean_closure_set(x_28, 0, x_27); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_29 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_28, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec_ref(x_29); -lean_inc(x_30); -x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); -if (lean_obj_tag(x_32) == 0) -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -x_35 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_36 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_27); -lean_ctor_set(x_37, 1, x_30); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_TSyntax_getString(x_13); -lean_dec(x_13); -x_41 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = l_Lean_Doc_name___closed__0; -x_43 = lean_array_push(x_42, x_41); -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_39); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_32, 0, x_44); -return x_32; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_45 = lean_ctor_get(x_32, 1); -lean_inc(x_45); -lean_dec(x_32); -x_46 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_47 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_27); -lean_ctor_set(x_48, 1, x_30); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_TSyntax_getString(x_13); -lean_dec(x_13); -x_52 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = l_Lean_Doc_name___closed__0; -x_54 = lean_array_push(x_53, x_52); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_45); -return x_56; -} -} -else -{ -uint8_t x_57; -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_13); -x_57 = !lean_is_exclusive(x_32); -if (x_57 == 0) -{ -return x_32; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_32, 0); -x_59 = lean_ctor_get(x_32, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_32); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -uint8_t x_61; -lean_dec(x_27); -lean_dec(x_13); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_61 = !lean_is_exclusive(x_29); -if (x_61 == 0) -{ -return x_29; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_29, 0); -x_63 = lean_ctor_get(x_29, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_29); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -} -else -{ -uint8_t x_65; -lean_dec(x_13); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_65 = !lean_is_exclusive(x_15); -if (x_65 == 0) -{ -return x_15; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_15, 0); -x_67 = lean_ctor_get(x_15, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_16, 0); +x_68 = lean_ctor_get(x_16, 1); +lean_inc(x_68); lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_15); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_dec(x_16); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -uint8_t x_69; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_70; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_1); -x_69 = !lean_is_exclusive(x_12); -if (x_69 == 0) +x_70 = !lean_is_exclusive(x_13); +if (x_70 == 0) { -return x_12; +return x_13; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_12, 0); -x_71 = lean_ctor_get(x_12, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_13, 0); +x_72 = lean_ctor_get(x_13, 1); +lean_inc(x_72); lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_12); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +lean_dec(x_13); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } } -LEAN_EXPORT lean_object* l_Lean_Doc_syntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_syntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Doc_syntax(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Doc_syntax(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec_ref(x_3); lean_dec_ref(x_2); -return x_12; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_apply_2(x_1, x_2, x_3); -x_12 = l_Lean_Elab_Term_withoutErrToSorryImp___redArg(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -static lean_object* _init_l_Lean_Doc_given___lam__0___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -31456,32 +24112,32 @@ x_2 = l_Lean_Parser_termParser(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_Lean_Doc_given___lam__0___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; x_4 = lean_ctor_get(x_3, 1); lean_inc_ref(x_4); x_5 = lean_apply_2(x_4, x_1, x_2); return x_5; } } -static lean_object* _init_l_Lean_Doc_given___lam__2___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = l_Lean_Doc_given___lam__2___closed__0; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 1, x_1); @@ -31489,7 +24145,39 @@ x_6 = l_Lean_Parser_optionalFn(x_5, x_2, x_3); return x_6; } } -static lean_object* _init_l_Lean_Doc_given___lam__3___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":=", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1; +x_6 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_6, 0, x_5); +lean_closure_set(x_6, 1, x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); +lean_closure_set(x_7, 0, x_6); +x_8 = l_Lean_Parser_andthenFn(x_7, x_2, x_3, x_4); +return x_8; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0() { _start: { lean_object* x_1; @@ -31497,20 +24185,1006 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_identFn), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1() { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = l_Lean_Doc_option___closed__6; -x_5 = l_Lean_Doc_given___lam__3___closed__0; -x_6 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = 0; +x_5 = l_Lean_Doc_option___closed__6; +x_6 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0; +x_7 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_7, 0, x_6); +lean_closure_set(x_7, 1, x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_8, 0, x_5); +lean_closure_set(x_8, 1, x_7); +x_9 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2; +x_10 = l_Lean_Parser_sepBy1Fn(x_4, x_8, x_9, x_2, x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0), 2, 0); +lean_inc_ref(x_3); +x_4 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3), 3, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2), 4, 2); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_4); +x_6 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4), 3, 1); lean_closure_set(x_6, 0, x_5); -lean_closure_set(x_6, 1, x_1); -x_7 = l_Lean_Parser_nodeFn(x_4, x_6, x_2, x_3); +x_7 = l_Lean_Doc_tactic___closed__2; +x_8 = l_Lean_Parser_andthenFn(x_7, x_6, x_1, x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_2, x_5); +if (x_6 == 1) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_sub(x_2, x_7); +lean_dec(x_2); +x_9 = lean_array_fget_borrowed(x_1, x_3); +lean_inc(x_9); +lean_inc(x_3); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_nat_add(x_3, x_7); +lean_dec(x_3); +x_12 = lean_array_push(x_4, x_10); +x_2 = x_8; +x_3 = x_11; +x_4 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(x_1, x_2, x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = 1; +x_12 = 0; +x_13 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) +{ +lean_dec(x_2); +return x_6; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_uget(x_6, x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_6, x_5, x_11); +lean_inc(x_2); +x_13 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_10); +lean_ctor_set(x_8, 0, x_13); +x_14 = 1; +x_15 = lean_usize_add(x_5, x_14); +x_16 = lean_array_uset(x_12, x_5, x_8); +x_5 = x_15; +x_6 = x_16; +goto _start; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_8, 0); +x_19 = lean_ctor_get(x_8, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_6, x_5, x_20); +lean_inc(x_2); +x_22 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_18); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); +x_24 = 1; +x_25 = lean_usize_add(x_5, x_24); +x_26 = lean_array_uset(x_21, x_5, x_23); +x_5 = x_25; +x_6 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint32_t x_4; uint32_t x_5; uint8_t x_6; +x_4 = lean_string_utf8_get(x_1, x_2); +x_5 = 35; +x_6 = lean_uint32_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_3); return x_7; } +else +{ +lean_object* x_8; +x_8 = lean_string_utf8_next(x_1, x_2); +lean_dec(x_2); +x_2 = x_8; +goto _start; } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(x_1, x_2, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_2, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = l_Lean_TSyntax_getString(x_3); +x_26 = 1; +x_27 = lean_string_utf8_byte_size(x_25); +lean_inc_ref(x_25); +x_28 = l_Lean_Parser_mkInputContext___redArg(x_25, x_19, x_26, x_27); +x_29 = l_Lean_Parser_mkParserState(x_25); +x_30 = lean_box(0); +x_31 = lean_box(0); +lean_inc_ref(x_4); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_23); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); +x_33 = l_Lean_Parser_getTokenTable(x_4); +lean_inc_ref(x_28); +x_34 = l_Lean_Parser_ParserFn_run(x_5, x_28, x_32, x_33, x_29); +lean_inc_ref(x_34); +x_35 = l_Lean_Parser_ParserState_allErrors(x_34); +x_36 = l_Array_isEmpty___redArg(x_35); +lean_dec_ref(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_free_object(x_21); +x_37 = lean_ctor_get(x_34, 0); +lean_inc_ref(x_37); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_34, 2); +lean_inc(x_39); +x_40 = lean_ctor_get(x_34, 3); +lean_inc_ref(x_40); +x_41 = lean_ctor_get(x_34, 4); +lean_inc(x_41); +x_42 = lean_ctor_get(x_34, 5); +lean_inc_ref(x_42); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + lean_ctor_release(x_34, 3); + lean_ctor_release(x_34, 4); + lean_ctor_release(x_34, 5); + x_43 = x_34; +} else { + lean_dec_ref(x_34); + x_43 = lean_box(0); +} +lean_inc(x_7); +x_44 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_6, x_7, x_25, x_39); +if (lean_obj_tag(x_41) == 0) +{ +x_45 = x_41; +goto block_54; +} +else +{ +uint8_t x_55; +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_41, 0); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_7); +x_59 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_25, x_58); +lean_ctor_set(x_56, 0, x_59); +x_45 = x_41; +goto block_54; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +x_62 = lean_ctor_get(x_56, 2); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +lean_inc(x_7); +x_63 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_25, x_60); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +lean_ctor_set(x_41, 0, x_64); +x_45 = x_41; +goto block_54; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_65 = lean_ctor_get(x_41, 0); +lean_inc(x_65); +lean_dec(x_41); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_65, 2); +lean_inc(x_68); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + lean_ctor_release(x_65, 2); + x_69 = x_65; +} else { + lean_dec_ref(x_65); + x_69 = lean_box(0); +} +lean_inc(x_7); +x_70 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_25, x_66); +if (lean_is_scalar(x_69)) { + x_71 = lean_alloc_ctor(0, 3, 0); +} else { + x_71 = x_69; +} +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_67); +lean_ctor_set(x_71, 2, x_68); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_45 = x_72; +goto block_54; +} +} +block_54: +{ +size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_array_size(x_42); +x_47 = 0; +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2(x_6, x_7, x_25, x_46, x_47, x_42); +lean_dec_ref(x_25); +if (lean_is_scalar(x_43)) { + x_49 = lean_alloc_ctor(0, 6, 0); +} else { + x_49 = x_43; +} +lean_ctor_set(x_49, 0, x_37); +lean_ctor_set(x_49, 1, x_38); +lean_ctor_set(x_49, 2, x_44); +lean_ctor_set(x_49, 3, x_40); +lean_ctor_set(x_49, 4, x_45); +lean_ctor_set(x_49, 5, x_48); +x_50 = l_Lean_Parser_ParserState_toErrorMsg(x_28, x_49); +x_51 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = l_Lean_MessageData_ofFormat(x_51); +x_53 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_52, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_24); +return x_53; +} +} +else +{ +lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_73 = lean_ctor_get(x_34, 0); +lean_inc_ref(x_73); +x_74 = lean_ctor_get(x_34, 2); +lean_inc(x_74); +x_75 = l_Lean_Parser_InputContext_atEnd(x_28, x_74); +lean_dec(x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec_ref(x_73); +lean_dec_ref(x_25); +lean_free_object(x_21); +lean_dec(x_7); +x_76 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; +x_77 = l_Lean_Parser_ParserState_mkError(x_34, x_76); +x_78 = l_Lean_Parser_ParserState_toErrorMsg(x_28, x_77); +x_79 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = l_Lean_MessageData_ofFormat(x_79); +x_81 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_80, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_24); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; +lean_dec_ref(x_34); +lean_dec_ref(x_28); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +x_82 = l_Lean_Parser_SyntaxStack_back(x_73); +lean_dec_ref(x_73); +x_83 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_25, x_82); +lean_dec_ref(x_25); +lean_ctor_set(x_21, 0, x_83); +return x_21; +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_84 = lean_ctor_get(x_21, 0); +x_85 = lean_ctor_get(x_21, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_21); +x_86 = l_Lean_TSyntax_getString(x_3); +x_87 = 1; +x_88 = lean_string_utf8_byte_size(x_86); +lean_inc_ref(x_86); +x_89 = l_Lean_Parser_mkInputContext___redArg(x_86, x_19, x_87, x_88); +x_90 = l_Lean_Parser_mkParserState(x_86); +x_91 = lean_box(0); +x_92 = lean_box(0); +lean_inc_ref(x_4); +x_93 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_93, 0, x_4); +lean_ctor_set(x_93, 1, x_84); +lean_ctor_set(x_93, 2, x_91); +lean_ctor_set(x_93, 3, x_92); +x_94 = l_Lean_Parser_getTokenTable(x_4); +lean_inc_ref(x_89); +x_95 = l_Lean_Parser_ParserFn_run(x_5, x_89, x_93, x_94, x_90); +lean_inc_ref(x_95); +x_96 = l_Lean_Parser_ParserState_allErrors(x_95); +x_97 = l_Array_isEmpty___redArg(x_96); +lean_dec_ref(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_98 = lean_ctor_get(x_95, 0); +lean_inc_ref(x_98); +x_99 = lean_ctor_get(x_95, 1); +lean_inc(x_99); +x_100 = lean_ctor_get(x_95, 2); +lean_inc(x_100); +x_101 = lean_ctor_get(x_95, 3); +lean_inc_ref(x_101); +x_102 = lean_ctor_get(x_95, 4); +lean_inc(x_102); +x_103 = lean_ctor_get(x_95, 5); +lean_inc_ref(x_103); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + lean_ctor_release(x_95, 2); + lean_ctor_release(x_95, 3); + lean_ctor_release(x_95, 4); + lean_ctor_release(x_95, 5); + x_104 = x_95; +} else { + lean_dec_ref(x_95); + x_104 = lean_box(0); +} +lean_inc(x_7); +x_105 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_6, x_7, x_86, x_100); +if (lean_obj_tag(x_102) == 0) +{ +x_106 = x_102; +goto block_115; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_116 = lean_ctor_get(x_102, 0); +lean_inc(x_116); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + x_117 = x_102; +} else { + lean_dec_ref(x_102); + x_117 = lean_box(0); +} +x_118 = lean_ctor_get(x_116, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 1); +lean_inc_ref(x_119); +x_120 = lean_ctor_get(x_116, 2); +lean_inc(x_120); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + lean_ctor_release(x_116, 2); + x_121 = x_116; +} else { + lean_dec_ref(x_116); + x_121 = lean_box(0); +} +lean_inc(x_7); +x_122 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_86, x_118); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(0, 3, 0); +} else { + x_123 = x_121; +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_119); +lean_ctor_set(x_123, 2, x_120); +if (lean_is_scalar(x_117)) { + x_124 = lean_alloc_ctor(1, 1, 0); +} else { + x_124 = x_117; +} +lean_ctor_set(x_124, 0, x_123); +x_106 = x_124; +goto block_115; +} +block_115: +{ +size_t x_107; size_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_array_size(x_103); +x_108 = 0; +x_109 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2(x_6, x_7, x_86, x_107, x_108, x_103); +lean_dec_ref(x_86); +if (lean_is_scalar(x_104)) { + x_110 = lean_alloc_ctor(0, 6, 0); +} else { + x_110 = x_104; +} +lean_ctor_set(x_110, 0, x_98); +lean_ctor_set(x_110, 1, x_99); +lean_ctor_set(x_110, 2, x_105); +lean_ctor_set(x_110, 3, x_101); +lean_ctor_set(x_110, 4, x_106); +lean_ctor_set(x_110, 5, x_109); +x_111 = l_Lean_Parser_ParserState_toErrorMsg(x_89, x_110); +x_112 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_112, 0, x_111); +x_113 = l_Lean_MessageData_ofFormat(x_112); +x_114 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_113, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_85); +return x_114; +} +} +else +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_95, 0); +lean_inc_ref(x_125); +x_126 = lean_ctor_get(x_95, 2); +lean_inc(x_126); +x_127 = l_Lean_Parser_InputContext_atEnd(x_89, x_126); +lean_dec(x_126); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec_ref(x_125); +lean_dec_ref(x_86); +lean_dec(x_7); +x_128 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; +x_129 = l_Lean_Parser_ParserState_mkError(x_95, x_128); +x_130 = l_Lean_Parser_ParserState_toErrorMsg(x_89, x_129); +x_131 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_132 = l_Lean_MessageData_ofFormat(x_131); +x_133 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_132, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_85); +return x_133; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec_ref(x_95); +lean_dec_ref(x_89); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +x_134 = l_Lean_Parser_SyntaxStack_back(x_125); +lean_dec_ref(x_125); +x_135 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_6, x_7, x_86, x_134); +lean_dec_ref(x_86); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_85); +return x_136; +} +} +} +} +else +{ +uint8_t x_137; +lean_dec(x_19); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_137 = !lean_is_exclusive(x_21); +if (x_137 == 0) +{ +return x_21; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_21, 0); +x_139 = lean_ctor_get(x_21, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_21); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +else +{ +uint8_t x_141; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_141 = !lean_is_exclusive(x_18); +if (x_141 == 0) +{ +return x_18; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_18, 0); +x_143 = lean_ctor_get(x_18, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_18); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; +} +} +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Not a quoted string literal", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint32_t x_16; uint32_t x_17; uint8_t x_18; +x_16 = lean_string_utf8_get(x_1, x_4); +x_17 = 34; +x_18 = lean_uint32_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_dec_ref(x_3); +x_19 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1; +x_20 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_2, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_string_utf8_next(x_1, x_4); +x_26 = lean_apply_11(x_3, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint32_t x_29; uint32_t x_30; uint8_t x_31; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +x_21 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(x_2, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_15, 0); +lean_inc_ref(x_25); +x_26 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; +x_27 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; +lean_inc(x_2); +x_28 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4___boxed), 17, 6); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_26); +lean_closure_set(x_28, 2, x_2); +lean_closure_set(x_28, 3, x_19); +lean_closure_set(x_28, 4, x_1); +lean_closure_set(x_28, 5, x_15); +x_29 = lean_string_utf8_get(x_25, x_24); +x_30 = 114; +x_31 = lean_uint32_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_box(0); +x_33 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(x_25, x_2, x_28, x_24, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +lean_dec(x_24); +lean_dec(x_2); +lean_dec_ref(x_25); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_string_utf8_next(x_25, x_24); +lean_dec(x_24); +x_35 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(x_25, x_34, x_23); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec_ref(x_35); +x_38 = lean_box(0); +x_39 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(x_25, x_2, x_28, x_36, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +lean_dec(x_36); +lean_dec(x_2); +lean_dec_ref(x_25); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_40 = !lean_is_exclusive(x_18); +if (x_40 == 0) +{ +return x_18; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_18); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_44 = !lean_is_exclusive(x_14); +if (x_44 == 0) +{ +return x_14; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_14); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_10; +x_10 = lean_usize_dec_eq(x_2, x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_array_uget(x_1, x_2); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = lean_unsigned_to_nat(2u); +x_15 = lean_nat_mod(x_12, x_14); +lean_dec(x_12); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_dec(x_13); +x_5 = x_4; +goto block_9; +} +else +{ +lean_object* x_18; +x_18 = lean_array_push(x_4, x_13); +x_5 = x_18; +goto block_9; +} +} +else +{ +return x_4; +} +block_9: +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_2 = x_7; +x_4 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0; +x_5 = lean_nat_dec_lt(x_2, x_3); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_le(x_3, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +return x_4; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_usize_of_nat(x_2); +x_9 = lean_usize_of_nat(x_3); +x_10 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5(x_1, x_8, x_9, x_4); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_mkFreshLevelMVar(x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -31518,19 +25192,1839 @@ x_11 = l_Lean_Meta_mkFreshExprMVar(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_mkFreshExprMVar(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); return x_11; } } +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ident", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected identifier because flag `typeIsMeta` is set, but got ", 62, 62); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_79; lean_object* x_80; lean_object* x_81; +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec_ref(x_5); +x_100 = lean_box(0); +x_101 = 0; +x_102 = lean_box(0); +x_103 = lean_box(x_101); +x_104 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed), 10, 3); +lean_closure_set(x_104, 0, x_100); +lean_closure_set(x_104, 1, x_103); +lean_closure_set(x_104, 2, x_102); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_105 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_104, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec_ref(x_105); +x_79 = x_6; +x_80 = x_106; +x_81 = x_107; +goto block_99; +} +else +{ +uint8_t x_108; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_108 = !lean_is_exclusive(x_105); +if (x_108 == 0) +{ +return x_105; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_105, 0); +x_110 = lean_ctor_get(x_105, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_105); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +else +{ +if (x_4 == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec_ref(x_5); +x_112 = lean_ctor_get(x_7, 0); +lean_inc(x_112); +lean_dec_ref(x_7); +x_113 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_113, 0, x_112); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_114 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_113, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec_ref(x_114); +x_79 = x_6; +x_80 = x_115; +x_81 = x_116; +goto block_99; +} +else +{ +uint8_t x_117; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_117 = !lean_is_exclusive(x_114); +if (x_117 == 0) +{ +return x_114; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_114, 0); +x_119 = lean_ctor_get(x_114, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_114); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +else +{ +uint8_t x_121; +x_121 = !lean_is_exclusive(x_7); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_122 = lean_ctor_get(x_7, 0); +x_123 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1; +lean_inc(x_122); +x_124 = l_Lean_Syntax_isOfKind(x_122, x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_free_object(x_7); +lean_dec_ref(x_5); +x_125 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3; +lean_inc(x_122); +x_126 = l_Lean_MessageData_ofSyntax(x_122); +x_127 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_128 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_122, x_127, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_122); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec_ref(x_128); +x_130 = lean_box(0); +x_131 = 0; +x_132 = lean_box(0); +x_133 = lean_box(x_131); +x_134 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed), 10, 3); +lean_closure_set(x_134, 0, x_130); +lean_closure_set(x_134, 1, x_133); +lean_closure_set(x_134, 2, x_132); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_135 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_134, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_129); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec_ref(x_135); +x_79 = x_6; +x_80 = x_136; +x_81 = x_137; +goto block_99; +} +else +{ +uint8_t x_138; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_138 = !lean_is_exclusive(x_135); +if (x_138 == 0) +{ +return x_135; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_135, 0); +x_140 = lean_ctor_get(x_135, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_135); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; +} +} +} +else +{ +uint8_t x_142; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_142 = !lean_is_exclusive(x_128); +if (x_142 == 0) +{ +return x_128; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_128, 0); +x_144 = lean_ctor_get(x_128, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_128); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +} +else +{ +lean_object* x_146; +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_146 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_146) == 0) +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec_ref(x_146); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_149 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_148); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec_ref(x_149); +x_152 = l_Lean_mkSort(x_147); +lean_inc_ref(x_152); +lean_ctor_set(x_7, 0, x_152); +x_153 = 0; +x_154 = l_Lean_TSyntax_getId(x_122); +x_155 = lean_box(x_153); +lean_inc(x_154); +lean_inc_ref(x_7); +x_156 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3___boxed), 10, 3); +lean_closure_set(x_156, 0, x_7); +lean_closure_set(x_156, 1, x_155); +lean_closure_set(x_156, 2, x_154); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_157 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_156, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_151); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec_ref(x_157); +lean_inc(x_150); +x_160 = l_Lean_Expr_fvar___override(x_150); +x_161 = 0; +x_162 = 0; +x_163 = l_Lean_LocalContext_mkLetDecl(x_6, x_150, x_154, x_152, x_158, x_161, x_162); +lean_inc_ref(x_163); +x_164 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_164, 0, x_163); +x_165 = lean_box(0); +x_166 = lean_box(x_124); +lean_inc_ref(x_160); +x_167 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_167, 0, x_122); +lean_closure_set(x_167, 1, x_160); +lean_closure_set(x_167, 2, x_7); +lean_closure_set(x_167, 3, x_164); +lean_closure_set(x_167, 4, x_165); +lean_closure_set(x_167, 5, x_166); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_168 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_167, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_159); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec_ref(x_168); +x_79 = x_163; +x_80 = x_160; +x_81 = x_169; +goto block_99; +} +else +{ +uint8_t x_170; +lean_dec_ref(x_163); +lean_dec_ref(x_160); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_1); +x_170 = !lean_is_exclusive(x_168); +if (x_170 == 0) +{ +return x_168; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_168, 0); +x_172 = lean_ctor_get(x_168, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_168); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +return x_173; +} +} +} +else +{ +uint8_t x_174; +lean_dec(x_154); +lean_dec_ref(x_7); +lean_dec_ref(x_152); +lean_dec(x_150); +lean_dec(x_122); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_174 = !lean_is_exclusive(x_157); +if (x_174 == 0) +{ +return x_157; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_157, 0); +x_176 = lean_ctor_get(x_157, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_157); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; +} +} +} +else +{ +uint8_t x_178; +lean_dec(x_147); +lean_free_object(x_7); +lean_dec(x_122); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_178 = !lean_is_exclusive(x_149); +if (x_178 == 0) +{ +return x_149; +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_149, 0); +x_180 = lean_ctor_get(x_149, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_149); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +} +} +else +{ +uint8_t x_182; +lean_free_object(x_7); +lean_dec(x_122); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_182 = !lean_is_exclusive(x_146); +if (x_182 == 0) +{ +return x_146; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_146, 0); +x_184 = lean_ctor_get(x_146, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_146); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +} +} +} +else +{ +lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_186 = lean_ctor_get(x_7, 0); +lean_inc(x_186); +lean_dec(x_7); +x_187 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1; +lean_inc(x_186); +x_188 = l_Lean_Syntax_isOfKind(x_186, x_187); +if (x_188 == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec_ref(x_5); +x_189 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3; +lean_inc(x_186); +x_190 = l_Lean_MessageData_ofSyntax(x_186); +x_191 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_192 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_186, x_191, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_186); +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec_ref(x_192); +x_194 = lean_box(0); +x_195 = 0; +x_196 = lean_box(0); +x_197 = lean_box(x_195); +x_198 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed), 10, 3); +lean_closure_set(x_198, 0, x_194); +lean_closure_set(x_198, 1, x_197); +lean_closure_set(x_198, 2, x_196); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_199 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_198, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_193); +if (lean_obj_tag(x_199) == 0) +{ +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec_ref(x_199); +x_79 = x_6; +x_80 = x_200; +x_81 = x_201; +goto block_99; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_202 = lean_ctor_get(x_199, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_199, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_204 = x_199; +} else { + lean_dec_ref(x_199); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_206 = lean_ctor_get(x_192, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_192, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_208 = x_192; +} else { + lean_dec_ref(x_192); + x_208 = lean_box(0); +} +if (lean_is_scalar(x_208)) { + x_209 = lean_alloc_ctor(1, 2, 0); +} else { + x_209 = x_208; +} +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_207); +return x_209; +} +} +else +{ +lean_object* x_210; +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_210 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_210) == 0) +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +lean_dec_ref(x_210); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_213 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_212); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec_ref(x_213); +x_216 = l_Lean_mkSort(x_211); +lean_inc_ref(x_216); +x_217 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_217, 0, x_216); +x_218 = 0; +x_219 = l_Lean_TSyntax_getId(x_186); +x_220 = lean_box(x_218); +lean_inc(x_219); +lean_inc_ref(x_217); +x_221 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3___boxed), 10, 3); +lean_closure_set(x_221, 0, x_217); +lean_closure_set(x_221, 1, x_220); +lean_closure_set(x_221, 2, x_219); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_222 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_221, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_215); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; uint8_t x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec_ref(x_222); +lean_inc(x_214); +x_225 = l_Lean_Expr_fvar___override(x_214); +x_226 = 0; +x_227 = 0; +x_228 = l_Lean_LocalContext_mkLetDecl(x_6, x_214, x_219, x_216, x_223, x_226, x_227); +lean_inc_ref(x_228); +x_229 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_229, 0, x_228); +x_230 = lean_box(0); +x_231 = lean_box(x_188); +lean_inc_ref(x_225); +x_232 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_232, 0, x_186); +lean_closure_set(x_232, 1, x_225); +lean_closure_set(x_232, 2, x_217); +lean_closure_set(x_232, 3, x_229); +lean_closure_set(x_232, 4, x_230); +lean_closure_set(x_232, 5, x_231); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_233 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_232, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_224); +if (lean_obj_tag(x_233) == 0) +{ +lean_object* x_234; +x_234 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +lean_dec_ref(x_233); +x_79 = x_228; +x_80 = x_225; +x_81 = x_234; +goto block_99; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec_ref(x_228); +lean_dec_ref(x_225); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_1); +x_235 = lean_ctor_get(x_233, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_233, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_233)) { + lean_ctor_release(x_233, 0); + lean_ctor_release(x_233, 1); + x_237 = x_233; +} else { + lean_dec_ref(x_233); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_219); +lean_dec_ref(x_217); +lean_dec_ref(x_216); +lean_dec(x_214); +lean_dec(x_186); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_239 = lean_ctor_get(x_222, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_222, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_241 = x_222; +} else { + lean_dec_ref(x_222); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_211); +lean_dec(x_186); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_243 = lean_ctor_get(x_213, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_213, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_245 = x_213; +} else { + lean_dec_ref(x_213); + x_245 = lean_box(0); +} +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(1, 2, 0); +} else { + x_246 = x_245; +} +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_244); +return x_246; +} +} +else +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +lean_dec(x_186); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_1); +x_247 = lean_ctor_get(x_210, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_210, 1); +lean_inc(x_248); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_249 = x_210; +} else { + lean_dec_ref(x_210); + x_249 = lean_box(0); +} +if (lean_is_scalar(x_249)) { + x_250 = lean_alloc_ctor(1, 2, 0); +} else { + x_250 = x_249; +} +lean_ctor_set(x_250, 0, x_247); +lean_ctor_set(x_250, 1, x_248); +return x_250; +} +} +} +} +} +block_46: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_29 = l_Lean_Expr_fvar___override(x_25); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_19); +lean_inc_ref(x_28); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_28); +x_32 = lean_box(0); +x_33 = lean_box(x_2); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); +lean_closure_set(x_34, 0, x_1); +lean_closure_set(x_34, 1, x_29); +lean_closure_set(x_34, 2, x_30); +lean_closure_set(x_34, 3, x_31); +lean_closure_set(x_34, 4, x_32); +lean_closure_set(x_34, 5, x_33); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_27, x_20, x_22, x_18, x_21, x_23, x_26, x_24); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_28); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec_ref(x_28); +x_42 = !lean_is_exclusive(x_35); +if (x_42 == 0) +{ +return x_35; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_35, 0); +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_35); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +block_78: +{ +lean_object* x_60; +lean_inc(x_58); +lean_inc_ref(x_57); +lean_inc(x_56); +lean_inc_ref(x_55); +lean_inc(x_54); +lean_inc_ref(x_53); +x_60 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_50, x_51, x_52, x_53, x_54, x_55, x_56, x_57, x_58, x_59); +if (lean_obj_tag(x_60) == 0) +{ +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec_ref(x_60); +x_63 = l_Lean_Syntax_getId(x_1); +x_64 = 0; +x_65 = 0; +lean_inc_ref(x_47); +lean_inc(x_61); +x_66 = l_Lean_LocalContext_mkLocalDecl(x_48, x_61, x_63, x_47, x_64, x_65); +x_18 = x_55; +x_19 = x_47; +x_20 = x_53; +x_21 = x_56; +x_22 = x_54; +x_23 = x_57; +x_24 = x_62; +x_25 = x_61; +x_26 = x_58; +x_27 = x_52; +x_28 = x_66; +goto block_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; lean_object* x_73; +x_67 = lean_ctor_get(x_60, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_60, 1); +lean_inc(x_68); +lean_dec_ref(x_60); +x_69 = lean_ctor_get(x_49, 0); +lean_inc(x_69); +lean_dec_ref(x_49); +x_70 = l_Lean_Syntax_getId(x_1); +x_71 = 0; +x_72 = 0; +lean_inc_ref(x_47); +lean_inc(x_67); +x_73 = l_Lean_LocalContext_mkLetDecl(x_48, x_67, x_70, x_47, x_69, x_71, x_72); +x_18 = x_55; +x_19 = x_47; +x_20 = x_53; +x_21 = x_56; +x_22 = x_54; +x_23 = x_57; +x_24 = x_68; +x_25 = x_67; +x_26 = x_58; +x_27 = x_52; +x_28 = x_73; +goto block_46; +} +} +else +{ +uint8_t x_74; +lean_dec(x_58); +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec_ref(x_53); +lean_dec(x_49); +lean_dec_ref(x_48); +lean_dec_ref(x_47); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_60); +if (x_74 == 0) +{ +return x_60; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_60, 0); +x_76 = lean_ctor_get(x_60, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_60); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +block_99: +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_82 = lean_unsigned_to_nat(1u); +x_83 = l_Lean_Syntax_getArg(x_3, x_82); +x_84 = l_Lean_Syntax_getArg(x_83, x_82); +lean_dec(x_83); +x_85 = l_Lean_Syntax_isMissing(x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_inc_ref(x_80); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_80); +x_87 = lean_box(x_2); +x_88 = lean_box(x_2); +x_89 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_89, 0, x_84); +lean_closure_set(x_89, 1, x_86); +lean_closure_set(x_89, 2, x_87); +lean_closure_set(x_89, 3, x_88); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_90 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_89, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_81); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec_ref(x_90); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_91); +x_47 = x_80; +x_48 = x_79; +x_49 = x_93; +x_50 = x_8; +x_51 = x_9; +x_52 = x_10; +x_53 = x_11; +x_54 = x_12; +x_55 = x_13; +x_56 = x_14; +x_57 = x_15; +x_58 = x_16; +x_59 = x_92; +goto block_78; +} +else +{ +uint8_t x_94; +lean_dec_ref(x_80); +lean_dec_ref(x_79); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_90); +if (x_94 == 0) +{ +return x_90; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_90, 0); +x_96 = lean_ctor_get(x_90, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_90); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +lean_object* x_98; +lean_dec(x_84); +x_98 = lean_box(0); +x_47 = x_80; +x_48 = x_79; +x_49 = x_98; +x_50 = x_8; +x_51 = x_9; +x_52 = x_10; +x_53 = x_11; +x_54 = x_12; +x_55 = x_13; +x_56 = x_14; +x_57 = x_15; +x_58 = x_16; +x_59 = x_81; +goto block_78; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = l_Lean_Parser_termParser(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc_ref(x_5); +lean_dec_ref(x_4); +x_6 = lean_apply_2(x_5, x_2, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Parser_andthenFn(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Ignoring `type` argument because a type was provided", 52, 52); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; uint8_t x_36; +x_36 = lean_usize_dec_lt(x_6, x_5); +if (x_36 == 0) +{ +lean_object* x_37; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_7); +lean_ctor_set(x_37, 1, x_17); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_58; +x_38 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0___boxed), 7, 0); +x_39 = lean_array_uget(x_4, x_6); +x_40 = l_Lean_Syntax_getArg(x_39, x_1); +x_41 = lean_unsigned_to_nat(2u); +x_42 = l_Lean_Syntax_getArg(x_39, x_41); +x_43 = lean_unsigned_to_nat(1u); +x_44 = l_Lean_Syntax_getArg(x_42, x_43); +lean_dec(x_42); +x_58 = l_Lean_Syntax_isMissing(x_44); +if (x_58 == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_45 = x_8; +x_46 = x_9; +x_47 = x_10; +x_48 = x_11; +x_49 = x_12; +x_50 = x_13; +x_51 = x_14; +x_52 = x_15; +x_53 = x_16; +x_54 = x_17; +goto block_57; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_3, 0); +x_60 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1; +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_61 = l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg(x_59, x_60, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec_ref(x_61); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_45 = x_8; +x_46 = x_9; +x_47 = x_10; +x_48 = x_11; +x_49 = x_12; +x_50 = x_13; +x_51 = x_14; +x_52 = x_15; +x_53 = x_16; +x_54 = x_62; +goto block_57; +} +else +{ +uint8_t x_63; +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) +{ +return x_61; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_61, 0); +x_65 = lean_ctor_get(x_61, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_61); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +else +{ +lean_dec(x_44); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_68 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(x_40, x_36, x_39, x_2, x_38, x_7, x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_39); +x_18 = x_68; +goto block_35; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_3, 0); +lean_inc(x_1); +x_70 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__4), 3, 1); +lean_closure_set(x_70, 0, x_1); +x_71 = l_Lean_Doc_tactic___closed__2; +x_72 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__5), 4, 2); +lean_closure_set(x_72, 0, x_71); +lean_closure_set(x_72, 1, x_70); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_69); +x_73 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2(x_72, x_69, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec_ref(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_74); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_77 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(x_40, x_36, x_39, x_2, x_38, x_7, x_76, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_75); +lean_dec(x_39); +x_18 = x_77; +goto block_35; +} +else +{ +uint8_t x_78; +lean_dec(x_40); +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_73); +if (x_78 == 0) +{ +return x_73; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_73, 0); +x_80 = lean_ctor_get(x_73, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_73); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +block_57: +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_44); +x_56 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(x_40, x_36, x_39, x_2, x_38, x_7, x_55, x_45, x_46, x_47, x_48, x_49, x_50, x_51, x_52, x_53, x_54); +lean_dec(x_47); +lean_dec(x_46); +lean_dec_ref(x_45); +lean_dec(x_39); +x_18 = x_56; +goto block_35; +} +} +block_35: +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_19, 0); +lean_inc(x_22); +lean_dec_ref(x_19); +lean_ctor_set(x_18, 0, x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_ctor_get(x_19, 0); +lean_inc(x_24); +lean_dec_ref(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +lean_dec_ref(x_18); +x_27 = lean_ctor_get(x_19, 0); +lean_inc(x_27); +lean_dec_ref(x_19); +x_28 = 1; +x_29 = lean_usize_add(x_6, x_28); +x_6 = x_29; +x_7 = x_27; +x_17 = x_26; +goto _start; +} +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_18); +if (x_31 == 0) +{ +return x_18; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_18, 0); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_18); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" : ", 3, 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_21; +x_21 = lean_usize_dec_lt(x_7, x_6); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_22, 1, x_9); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_8); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_8, 0); +x_25 = lean_ctor_get(x_8, 1); +x_26 = lean_array_uget(x_5, x_7); +x_27 = l_Lean_Syntax_getArg(x_26, x_1); +x_28 = l_Lean_Syntax_getRange_x3f(x_27, x_2); +lean_dec(x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_26); +lean_dec(x_24); +x_29 = lean_box(x_3); +lean_ctor_set(x_8, 0, x_29); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_8); +lean_ctor_set(x_30, 1, x_9); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_8); +x_31 = lean_ctor_get(x_28, 0); +lean_inc(x_31); +lean_dec_ref(x_28); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_unsigned_to_nat(2u); +x_35 = l_Lean_Syntax_getArg(x_26, x_34); +lean_dec(x_26); +x_36 = lean_unsigned_to_nat(1u); +x_37 = l_Lean_Syntax_getArg(x_35, x_36); +lean_dec(x_35); +x_38 = l_Lean_Syntax_getRange_x3f(x_37, x_2); +lean_dec(x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_4, 0); +x_40 = lean_string_utf8_extract(x_39, x_32, x_33); +lean_dec(x_33); +lean_dec(x_32); +x_41 = lean_unbox(x_24); +lean_dec(x_24); +x_10 = x_41; +x_11 = x_25; +x_12 = x_40; +x_13 = x_9; +goto block_20; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_42 = lean_ctor_get(x_38, 0); +lean_inc(x_42); +lean_dec_ref(x_38); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_4, 0); +x_46 = lean_string_utf8_extract(x_45, x_32, x_33); +lean_dec(x_33); +lean_dec(x_32); +x_47 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0; +x_48 = lean_string_append(x_46, x_47); +x_49 = lean_string_utf8_extract(x_45, x_43, x_44); +lean_dec(x_44); +lean_dec(x_43); +x_50 = lean_string_append(x_48, x_49); +lean_dec_ref(x_49); +x_51 = lean_unbox(x_24); +lean_dec(x_24); +x_10 = x_51; +x_11 = x_25; +x_12 = x_50; +x_13 = x_9; +goto block_20; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_8, 0); +x_53 = lean_ctor_get(x_8, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_8); +x_54 = lean_array_uget(x_5, x_7); +x_55 = l_Lean_Syntax_getArg(x_54, x_1); +x_56 = l_Lean_Syntax_getRange_x3f(x_55, x_2); +lean_dec(x_55); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_54); +lean_dec(x_52); +x_57 = lean_box(x_3); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_53); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_9); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_56, 0); +lean_inc(x_60); +lean_dec_ref(x_56); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_unsigned_to_nat(2u); +x_64 = l_Lean_Syntax_getArg(x_54, x_63); +lean_dec(x_54); +x_65 = lean_unsigned_to_nat(1u); +x_66 = l_Lean_Syntax_getArg(x_64, x_65); +lean_dec(x_64); +x_67 = l_Lean_Syntax_getRange_x3f(x_66, x_2); +lean_dec(x_66); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_68 = lean_ctor_get(x_4, 0); +x_69 = lean_string_utf8_extract(x_68, x_61, x_62); +lean_dec(x_62); +lean_dec(x_61); +x_70 = lean_unbox(x_52); +lean_dec(x_52); +x_10 = x_70; +x_11 = x_53; +x_12 = x_69; +x_13 = x_9; +goto block_20; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_71 = lean_ctor_get(x_67, 0); +lean_inc(x_71); +lean_dec_ref(x_67); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_4, 0); +x_75 = lean_string_utf8_extract(x_74, x_61, x_62); +lean_dec(x_62); +lean_dec(x_61); +x_76 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0; +x_77 = lean_string_append(x_75, x_76); +x_78 = lean_string_utf8_extract(x_74, x_72, x_73); +lean_dec(x_73); +lean_dec(x_72); +x_79 = lean_string_append(x_77, x_78); +lean_dec_ref(x_78); +x_80 = lean_unbox(x_52); +lean_dec(x_52); +x_10 = x_80; +x_11 = x_53; +x_12 = x_79; +x_13 = x_9; +goto block_20; +} +} +} +} +block_20: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; +x_14 = lean_array_push(x_11, x_12); +x_15 = lean_box(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = 1; +x_18 = lean_usize_add(x_7, x_17); +x_7 = x_18; +x_8 = x_16; +x_9 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} static lean_object* _init_l_Lean_Doc_given___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0___lam__0___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0___boxed), 7, 0); return x_1; } } @@ -31542,498 +27036,774 @@ x_1 = l_Lean_Doc_Inline_empty(lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_Doc_given___closed__2() { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_given___closed__3() { +_start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_given___closed__2; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_given___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", ", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_given___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_given___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_given(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__0), 2, 0); -x_15 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__2), 3, 1); -lean_closure_set(x_15, 0, x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__3), 3, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = l_Lean_Doc_tactic___closed__2; -x_18 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_16); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_18, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_12); +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents), 2, 0); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_19 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_18, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec_ref(x_19); x_22 = l_Lean_Doc_given___closed__0; -x_23 = lean_unsigned_to_nat(0u); -x_24 = l_Lean_Syntax_getArg(x_20, x_23); -x_88 = lean_unsigned_to_nat(1u); -x_89 = l_Lean_Syntax_getArg(x_20, x_88); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_23 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l_Lean_Syntax_getArgs(x_20); lean_dec(x_20); -x_90 = l_Lean_Syntax_getArg(x_89, x_88); -lean_dec(x_89); -x_91 = l_Lean_Syntax_isMissing(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); -lean_closure_set(x_92, 0, x_90); +x_27 = lean_array_get_size(x_26); +x_28 = lean_unsigned_to_nat(0u); +x_29 = lean_mk_empty_array_with_capacity(x_27); +x_30 = l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(x_26, x_27, x_28, x_29); +lean_dec_ref(x_26); +x_31 = lean_array_get_size(x_30); +x_32 = l_Array_filterMapM___at___Lean_Doc_given_spec__5(x_30, x_28, x_31); +lean_dec(x_31); +lean_dec_ref(x_30); +x_33 = lean_array_size(x_32); +x_34 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_93 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec_ref(x_93); -x_25 = x_94; -x_26 = x_2; -x_27 = x_3; -x_28 = x_4; -x_29 = x_5; -x_30 = x_6; -x_31 = x_7; -x_32 = x_8; -x_33 = x_9; -x_34 = x_95; -goto block_87; -} -else -{ -uint8_t x_96; -lean_dec(x_24); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_96 = !lean_is_exclusive(x_93); -if (x_96 == 0) -{ -return x_93; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_93, 0); -x_98 = lean_ctor_get(x_93, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_93); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_90); -x_100 = lean_box(0); -x_101 = 0; -x_102 = lean_box(0); -x_103 = lean_box(x_101); -x_104 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__5___boxed), 10, 3); -lean_closure_set(x_104, 0, x_100); -lean_closure_set(x_104, 1, x_103); -lean_closure_set(x_104, 2, x_102); -x_105 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__1___boxed), 10, 1); -lean_closure_set(x_105, 0, x_104); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_106 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(x_105, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec_ref(x_106); -x_25 = x_107; -x_26 = x_2; -x_27 = x_3; -x_28 = x_4; -x_29 = x_5; -x_30 = x_6; -x_31 = x_7; -x_32 = x_8; -x_33 = x_9; -x_34 = x_108; -goto block_87; -} -else -{ -uint8_t x_109; -lean_dec(x_24); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_109 = !lean_is_exclusive(x_106); -if (x_109 == 0) -{ -return x_106; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_106, 0); -x_111 = lean_ctor_get(x_106, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_106); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -block_87: -{ -lean_object* x_35; -lean_inc(x_33); -lean_inc_ref(x_32); -lean_inc(x_31); -lean_inc_ref(x_30); -lean_inc(x_29); -lean_inc_ref(x_28); -x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_27, x_28, x_29, x_30, x_31, x_32, x_33, x_34); +x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7(x_28, x_2, x_1, x_32, x_33, x_34, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); if (lean_obj_tag(x_35) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec_ref(x_35); -lean_inc(x_33); -lean_inc_ref(x_32); -lean_inc(x_31); -lean_inc_ref(x_30); -lean_inc(x_29); -lean_inc_ref(x_28); -x_38 = l_Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(x_26, x_27, x_28, x_29, x_30, x_31, x_32, x_33, x_37); -lean_dec(x_26); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_38 = lean_st_ref_take(x_7, x_37); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec_ref(x_38); -x_41 = l_Lean_Syntax_getId(x_24); -x_42 = 0; -x_43 = 0; -lean_inc_ref(x_25); -lean_inc(x_39); -x_44 = l_Lean_LocalContext_mkLocalDecl(x_36, x_39, x_41, x_25, x_42, x_43); -x_45 = l_Lean_Expr_fvar___override(x_39); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_25); -lean_inc_ref(x_44); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_44); -x_48 = lean_box(0); -x_49 = 1; -x_50 = lean_box(x_49); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo_x27___boxed), 13, 6); -lean_closure_set(x_51, 0, x_24); -lean_closure_set(x_51, 1, x_45); -lean_closure_set(x_51, 2, x_46); -lean_closure_set(x_51, 3, x_47); -lean_closure_set(x_51, 4, x_48); -lean_closure_set(x_51, 5, x_50); -x_52 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_51, x_27, x_28, x_29, x_30, x_31, x_32, x_33, x_40); +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 2); +lean_dec(x_42); +lean_ctor_set(x_39, 2, x_36); +x_43 = lean_st_ref_set(x_7, x_39, x_40); +if (x_3 == 0) +{ +uint8_t x_44; +lean_dec_ref(x_32); +lean_dec(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = l_Lean_Doc_given___closed__1; +lean_ctor_set(x_43, 0, x_46); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = l_Lean_Doc_given___closed__1; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec_ref(x_43); +x_51 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_52 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_51, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_50); +lean_dec(x_7); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_52, 1); +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); lean_dec_ref(x_52); -x_54 = lean_st_ref_take(x_27, x_53); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec_ref(x_54); -x_57 = !lean_is_exclusive(x_55); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_55, 2); -lean_dec(x_58); -lean_ctor_set(x_55, 2, x_44); -x_59 = lean_st_ref_set(x_27, x_55, x_56); -lean_dec(x_27); -x_60 = !lean_is_exclusive(x_59); +x_55 = 0; +x_56 = l_Lean_Doc_given___closed__3; +x_57 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(x_28, x_55, x_3, x_53, x_32, x_33, x_34, x_56, x_54); +lean_dec_ref(x_32); +lean_dec(x_53); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 0); +x_60 = lean_unbox(x_59); if (x_60 == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_59, 0); -lean_dec(x_61); -x_62 = l_Lean_Doc_given___closed__1; -lean_ctor_set(x_59, 0, x_62); -return x_59; -} -else +uint8_t x_61; +lean_dec(x_16); +x_61 = !lean_is_exclusive(x_57); +if (x_61 == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_59, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_62 = lean_ctor_get(x_57, 0); +lean_dec(x_62); +x_63 = lean_ctor_get(x_58, 1); lean_inc(x_63); -lean_dec(x_59); -x_64 = l_Lean_Doc_given___closed__1; -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} +lean_dec(x_58); +x_64 = l_Lean_Doc_given___closed__5; +x_65 = lean_array_size(x_63); +x_66 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(x_65, x_34, x_63); +x_67 = lean_array_to_list(x_66); +x_68 = l_List_intersperseTR___redArg(x_64, x_67); +x_69 = lean_array_mk(x_68); +x_70 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_57, 0, x_70); +return x_57; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_66 = lean_ctor_get(x_55, 0); -x_67 = lean_ctor_get(x_55, 1); -x_68 = lean_ctor_get(x_55, 3); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_55); -x_69 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -lean_ctor_set(x_69, 2, x_44); -lean_ctor_set(x_69, 3, x_68); -x_70 = lean_st_ref_set(x_27, x_69, x_56); -lean_dec(x_27); -x_71 = lean_ctor_get(x_70, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_71 = lean_ctor_get(x_57, 1); lean_inc(x_71); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_72 = x_70; -} else { - lean_dec_ref(x_70); - x_72 = lean_box(0); -} -x_73 = l_Lean_Doc_given___closed__1; -if (lean_is_scalar(x_72)) { - x_74 = lean_alloc_ctor(0, 2, 0); -} else { - x_74 = x_72; -} -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_71); -return x_74; +lean_dec(x_57); +x_72 = lean_ctor_get(x_58, 1); +lean_inc(x_72); +lean_dec(x_58); +x_73 = l_Lean_Doc_given___closed__5; +x_74 = lean_array_size(x_72); +x_75 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(x_74, x_34, x_72); +x_76 = lean_array_to_list(x_75); +x_77 = l_List_intersperseTR___redArg(x_73, x_76); +x_78 = lean_array_mk(x_77); +x_79 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_71); +return x_80; } } else { -uint8_t x_75; -lean_dec_ref(x_44); -lean_dec(x_27); -x_75 = !lean_is_exclusive(x_52); -if (x_75 == 0) +uint8_t x_81; +lean_dec(x_58); +x_81 = !lean_is_exclusive(x_57); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_57, 0); +lean_dec(x_82); +x_83 = l_Lean_TSyntax_getString(x_16); +lean_dec(x_16); +x_84 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_57, 0, x_84); +return x_57; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_57, 1); +lean_inc(x_85); +lean_dec(x_57); +x_86 = l_Lean_TSyntax_getString(x_16); +lean_dec(x_16); +x_87 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; +} +} +} +else +{ +uint8_t x_89; +lean_dec_ref(x_32); +lean_dec(x_16); +x_89 = !lean_is_exclusive(x_52); +if (x_89 == 0) { return x_52; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_52, 0); -x_77 = lean_ctor_get(x_52, 1); -lean_inc(x_77); -lean_inc(x_76); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_52, 0); +x_91 = lean_ctor_get(x_52, 1); +lean_inc(x_91); +lean_inc(x_90); lean_dec(x_52); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} } } } else { -uint8_t x_79; -lean_dec(x_36); -lean_dec(x_33); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_93 = lean_ctor_get(x_39, 0); +x_94 = lean_ctor_get(x_39, 1); +x_95 = lean_ctor_get(x_39, 3); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_39); +x_96 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +lean_ctor_set(x_96, 2, x_36); +lean_ctor_set(x_96, 3, x_95); +x_97 = lean_st_ref_set(x_7, x_96, x_40); +if (x_3 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_dec_ref(x_32); -lean_dec(x_31); -lean_dec_ref(x_30); -lean_dec(x_29); -lean_dec_ref(x_28); -lean_dec(x_27); -lean_dec_ref(x_25); -lean_dec(x_24); -x_79 = !lean_is_exclusive(x_38); -if (x_79 == 0) -{ -return x_38; +lean_dec(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_99 = x_97; +} else { + lean_dec_ref(x_97); + x_99 = lean_box(0); +} +x_100 = l_Lean_Doc_given___closed__1; +if (lean_is_scalar(x_99)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_99; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_98); +return x_101; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_38, 0); -x_81 = lean_ctor_get(x_38, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_38); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -else +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_97, 1); +lean_inc(x_102); +lean_dec_ref(x_97); +x_103 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +x_104 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_103, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_102); +lean_dec(x_7); +if (lean_obj_tag(x_104) == 0) { -uint8_t x_83; -lean_dec(x_33); +lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +x_107 = 0; +x_108 = l_Lean_Doc_given___closed__3; +x_109 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(x_28, x_107, x_3, x_105, x_32, x_33, x_34, x_108, x_106); lean_dec_ref(x_32); -lean_dec(x_31); -lean_dec_ref(x_30); -lean_dec(x_29); -lean_dec_ref(x_28); -lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_25); -lean_dec(x_24); -x_83 = !lean_is_exclusive(x_35); -if (x_83 == 0) +lean_dec(x_105); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_110, 0); +x_112 = lean_unbox(x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; size_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_16); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_114 = x_109; +} else { + lean_dec_ref(x_109); + x_114 = lean_box(0); +} +x_115 = lean_ctor_get(x_110, 1); +lean_inc(x_115); +lean_dec(x_110); +x_116 = l_Lean_Doc_given___closed__5; +x_117 = lean_array_size(x_115); +x_118 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(x_117, x_34, x_115); +x_119 = lean_array_to_list(x_118); +x_120 = l_List_intersperseTR___redArg(x_116, x_119); +x_121 = lean_array_mk(x_120); +x_122 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_122, 0, x_121); +if (lean_is_scalar(x_114)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_114; +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_113); +return x_123; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_110); +x_124 = lean_ctor_get(x_109, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_125 = x_109; +} else { + lean_dec_ref(x_109); + x_125 = lean_box(0); +} +x_126 = l_Lean_TSyntax_getString(x_16); +lean_dec(x_16); +x_127 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_127, 0, x_126); +if (lean_is_scalar(x_125)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { + x_128 = x_125; +} +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_124); +return x_128; +} +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec_ref(x_32); +lean_dec(x_16); +x_129 = lean_ctor_get(x_104, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_104, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_131 = x_104; +} else { + lean_dec_ref(x_104); + x_131 = lean_box(0); +} +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); +} else { + x_132 = x_131; +} +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); +return x_132; +} +} +} +} +else +{ +uint8_t x_133; +lean_dec_ref(x_32); +lean_dec(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +x_133 = !lean_is_exclusive(x_35); +if (x_133 == 0) { return x_35; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_35, 0); -x_85 = lean_ctor_get(x_35, 1); -lean_inc(x_85); -lean_inc(x_84); +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_35, 0); +x_135 = lean_ctor_get(x_35, 1); +lean_inc(x_135); +lean_inc(x_134); lean_dec(x_35); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; } } } else { -uint8_t x_113; +uint8_t x_137; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_113 = !lean_is_exclusive(x_19); -if (x_113 == 0) +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_137 = !lean_is_exclusive(x_23); +if (x_137 == 0) +{ +return x_23; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_23, 0); +x_139 = lean_ctor_get(x_23, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_23); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +else +{ +uint8_t x_141; +lean_dec(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_141 = !lean_is_exclusive(x_19); +if (x_141 == 0) { return x_19; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_19, 0); -x_115 = lean_ctor_get(x_19, 1); -lean_inc(x_115); -lean_inc(x_114); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_19, 0); +x_143 = lean_ctor_get(x_19, 1); +lean_inc(x_143); +lean_inc(x_142); lean_dec(x_19); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } } } else { -uint8_t x_117; +uint8_t x_145; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_145 = !lean_is_exclusive(x_15); +if (x_145 == 0) +{ +return x_15; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_15, 0); +x_147 = lean_ctor_get(x_15, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_15); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_logWarningAt___at___Lean_Doc_given_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_6); +lean_dec(x_3); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_filterMapM___at___Lean_Doc_given_spec__5(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); -x_117 = !lean_is_exclusive(x_11); -if (x_117 == 0) +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: { -return x_11; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_11, 0); -x_119 = lean_ctor_get(x_11, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_11); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; +lean_object* x_8; +x_8 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; } } -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_2); -x_12 = l_Lean_Doc_given___lam__5(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); @@ -32042,23 +27812,164 @@ lean_dec_ref(x_4); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_given___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_2); +x_19 = lean_unbox(x_4); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(x_1, x_18, x_3, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_3); -lean_dec(x_2); -return x_11; +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Doc_given___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_given(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec_ref(x_1); -return x_11; +uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_unbox(x_2); +x_19 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_20 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7(x_1, x_18, x_3, x_4, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec_ref(x_4); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_10 = lean_unbox(x_2); +x_11 = lean_unbox(x_3); +x_12 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_13 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg(x_1, x_10, x_11, x_4, x_5, x_12, x_13, x_8, x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_unbox(x_2); +x_20 = lean_unbox(x_3); +x_21 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_22 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8(x_1, x_19, x_20, x_4, x_5, x_21, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_23; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_given___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_2); +x_16 = lean_unbox(x_3); +x_17 = l_Lean_Doc_given(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_4); +return x_17; } } LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable(lean_object* x_1) { @@ -32157,7 +28068,157 @@ x_6 = l_Lean_registerEnvExtension___redArg(x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() { +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_7; uint8_t x_9; +x_9 = lean_nat_dec_lt(x_3, x_2); +if (x_9 == 0) +{ +return x_3; +} +else +{ +uint32_t x_10; uint8_t x_11; uint32_t x_17; uint8_t x_18; +x_10 = lean_string_utf8_get(x_1, x_3); +x_17 = 32; +x_18 = lean_uint32_dec_eq(x_10, x_17); +if (x_18 == 0) +{ +uint32_t x_19; uint8_t x_20; +x_19 = 9; +x_20 = lean_uint32_dec_eq(x_10, x_19); +x_11 = x_20; +goto block_16; +} +else +{ +x_11 = x_18; +goto block_16; +} +block_16: +{ +if (x_11 == 0) +{ +uint32_t x_12; uint8_t x_13; +x_12 = 13; +x_13 = lean_uint32_dec_eq(x_10, x_12); +if (x_13 == 0) +{ +uint32_t x_14; uint8_t x_15; +x_14 = 10; +x_15 = lean_uint32_dec_eq(x_10, x_14); +x_7 = x_15; +goto block_8; +} +else +{ +x_7 = x_13; +goto block_8; +} +} +else +{ +goto block_6; +} +} +} +block_6: +{ +lean_object* x_4; +x_4 = lean_string_utf8_next(x_1, x_3); +lean_dec(x_3); +x_3 = x_4; +goto _start; +} +block_8: +{ +if (x_7 == 0) +{ +return x_3; +} +else +{ +goto block_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; uint8_t x_6; uint32_t x_9; uint8_t x_10; uint32_t x_17; uint8_t x_18; +x_5 = lean_string_utf8_prev(x_1, x_3); +x_9 = lean_string_utf8_get(x_1, x_5); +x_17 = 32; +x_18 = lean_uint32_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +uint32_t x_19; uint8_t x_20; +x_19 = 9; +x_20 = lean_uint32_dec_eq(x_9, x_19); +x_10 = x_20; +goto block_16; +} +else +{ +x_10 = x_18; +goto block_16; +} +block_8: +{ +if (x_6 == 0) +{ +lean_dec(x_5); +return x_3; +} +else +{ +lean_dec(x_3); +x_3 = x_5; +goto _start; +} +} +block_16: +{ +if (x_10 == 0) +{ +uint32_t x_11; uint8_t x_12; +x_11 = 13; +x_12 = lean_uint32_dec_eq(x_9, x_11); +if (x_12 == 0) +{ +uint32_t x_13; uint8_t x_14; +x_13 = 10; +x_14 = lean_uint32_dec_eq(x_9, x_13); +x_6 = x_14; +goto block_8; +} +else +{ +x_6 = x_12; +goto block_8; +} +} +else +{ +lean_dec(x_3); +x_3 = x_5; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0() { _start: { lean_object* x_1; @@ -32165,7 +28226,7 @@ x_1 = l_Lean_Elab_Command_instInhabitedScope_default; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -32188,14 +28249,14 @@ x_11 = lean_ctor_get(x_9, 0); x_12 = lean_ctor_get(x_11, 2); lean_inc(x_12); lean_dec(x_11); -x_13 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +x_13 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; x_14 = l_List_head_x21___redArg(x_13, x_12); lean_dec(x_12); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec_ref(x_14); -x_16 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; -x_17 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; +x_16 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +x_17 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; x_18 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_18, 0, x_8); lean_ctor_set(x_18, 1, x_16); @@ -32218,14 +28279,14 @@ lean_dec(x_9); x_21 = lean_ctor_get(x_19, 2); lean_inc(x_21); lean_dec(x_19); -x_22 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +x_22 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; x_23 = l_List_head_x21___redArg(x_22, x_21); lean_dec(x_21); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec_ref(x_23); -x_25 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; -x_26 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; +x_25 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +x_26 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; x_27 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_27, 0, x_8); lean_ctor_set(x_27, 1, x_25); @@ -32267,14 +28328,14 @@ if (lean_is_exclusive(x_32)) { x_36 = lean_ctor_get(x_33, 2); lean_inc(x_36); lean_dec(x_33); -x_37 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +x_37 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; x_38 = l_List_head_x21___redArg(x_37, x_36); lean_dec(x_36); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec_ref(x_38); -x_40 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; -x_41 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; +x_40 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +x_41 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; x_42 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_42, 0, x_31); lean_ctor_set(x_42, 1, x_40); @@ -32294,15 +28355,15 @@ return x_44; } } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_3, x_4); +x_5 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_3, x_4); return x_5; } } -LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 1) @@ -32313,7 +28374,7 @@ if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_3, 1); -x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0; +x_6 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0; x_7 = lean_string_dec_eq(x_5, x_6); if (x_7 == 0) { @@ -32335,10 +28396,10 @@ return x_1; } } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; uint8_t x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_132; lean_object* x_133; uint8_t x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; uint8_t x_141; uint8_t x_142; lean_object* x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; uint8_t x_159; lean_object* x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; uint8_t x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; uint8_t x_136; lean_object* x_137; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; lean_object* x_159; uint8_t x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; x_157 = 2; x_178 = l_Lean_instBEqMessageSeverity_beq(x_3, x_157); if (x_178 == 0) @@ -32397,15 +28458,15 @@ lean_ctor_set(x_23, 1, x_28); lean_ctor_set(x_23, 0, x_27); x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_14); +lean_ctor_set(x_31, 1, x_9); x_32 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_32, 0, x_8); +lean_ctor_set(x_32, 0, x_10); lean_ctor_set(x_32, 1, x_12); -lean_ctor_set(x_32, 2, x_9); -lean_ctor_set(x_32, 3, x_13); +lean_ctor_set(x_32, 2, x_14); +lean_ctor_set(x_32, 3, x_8); lean_ctor_set(x_32, 4, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_11); -lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 2, x_4); x_33 = l_Lean_MessageLog_add(x_32, x_30); lean_ctor_set(x_25, 1, x_33); @@ -32463,15 +28524,15 @@ lean_ctor_set(x_23, 1, x_28); lean_ctor_set(x_23, 0, x_27); x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_14); +lean_ctor_set(x_52, 1, x_9); x_53 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_53, 0, x_8); +lean_ctor_set(x_53, 0, x_10); lean_ctor_set(x_53, 1, x_12); -lean_ctor_set(x_53, 2, x_9); -lean_ctor_set(x_53, 3, x_13); +lean_ctor_set(x_53, 2, x_14); +lean_ctor_set(x_53, 3, x_8); lean_ctor_set(x_53, 4, x_52); -lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_11); -lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 2, x_4); x_54 = l_Lean_MessageLog_add(x_53, x_42); x_55 = lean_alloc_ctor(0, 11, 0); @@ -32566,15 +28627,15 @@ lean_ctor_set(x_77, 0, x_63); lean_ctor_set(x_77, 1, x_64); x_78 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_14); +lean_ctor_set(x_78, 1, x_9); x_79 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_79, 0, x_8); +lean_ctor_set(x_79, 0, x_10); lean_ctor_set(x_79, 1, x_12); -lean_ctor_set(x_79, 2, x_9); -lean_ctor_set(x_79, 3, x_13); +lean_ctor_set(x_79, 2, x_14); +lean_ctor_set(x_79, 3, x_8); lean_ctor_set(x_79, 4, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_11); -lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 2, x_4); x_80 = l_Lean_MessageLog_add(x_79, x_66); if (lean_is_scalar(x_76)) { @@ -32619,10 +28680,10 @@ else { uint8_t x_87; lean_dec(x_18); -lean_dec_ref(x_14); -lean_dec_ref(x_13); +lean_dec(x_14); lean_dec_ref(x_12); -lean_dec(x_9); +lean_dec_ref(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_8); x_87 = !lean_is_exclusive(x_20); if (x_87 == 0) @@ -32647,10 +28708,10 @@ return x_90; else { uint8_t x_91; -lean_dec_ref(x_14); -lean_dec_ref(x_13); +lean_dec(x_14); lean_dec_ref(x_12); -lean_dec(x_9); +lean_dec_ref(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_8); x_91 = !lean_is_exclusive(x_17); if (x_91 == 0) @@ -32682,7 +28743,7 @@ lean_inc_ref(x_103); x_104 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); lean_dec_ref(x_5); x_105 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_106 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg(x_105, x_6, x_100); +x_106 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(x_105, x_6, x_97); x_107 = !lean_is_exclusive(x_106); if (x_107 == 0) { @@ -32690,23 +28751,23 @@ lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; x_108 = lean_ctor_get(x_106, 0); x_109 = lean_ctor_get(x_106, 1); lean_inc_ref(x_103); -x_110 = l_Lean_FileMap_toPosition(x_103, x_99); -lean_dec(x_99); +x_110 = l_Lean_FileMap_toPosition(x_103, x_98); +lean_dec(x_98); x_111 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_112 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_112, 0, x_111); -x_113 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; +x_113 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; if (x_104 == 0) { lean_free_object(x_106); -x_8 = x_102; -x_9 = x_112; -x_10 = x_97; -x_11 = x_98; +x_8 = x_113; +x_9 = x_108; +x_10 = x_102; +x_11 = x_99; x_12 = x_110; -x_13 = x_113; -x_14 = x_108; +x_13 = x_100; +x_14 = x_112; x_15 = x_6; x_16 = x_109; goto block_95; @@ -32716,7 +28777,7 @@ else lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; x_114 = lean_box(x_96); x_115 = lean_box(x_104); -x_116 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0___boxed), 3, 2); +x_116 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0___boxed), 3, 2); lean_closure_set(x_116, 0, x_114); lean_closure_set(x_116, 1, x_115); lean_inc(x_108); @@ -32735,13 +28796,13 @@ return x_106; else { lean_free_object(x_106); -x_8 = x_102; -x_9 = x_112; -x_10 = x_97; -x_11 = x_98; +x_8 = x_113; +x_9 = x_108; +x_10 = x_102; +x_11 = x_99; x_12 = x_110; -x_13 = x_113; -x_14 = x_108; +x_13 = x_100; +x_14 = x_112; x_15 = x_6; x_16 = x_109; goto block_95; @@ -32757,22 +28818,22 @@ lean_inc(x_120); lean_inc(x_119); lean_dec(x_106); lean_inc_ref(x_103); -x_121 = l_Lean_FileMap_toPosition(x_103, x_99); -lean_dec(x_99); +x_121 = l_Lean_FileMap_toPosition(x_103, x_98); +lean_dec(x_98); x_122 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_123 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_123, 0, x_122); -x_124 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; +x_124 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; if (x_104 == 0) { -x_8 = x_102; -x_9 = x_123; -x_10 = x_97; -x_11 = x_98; +x_8 = x_124; +x_9 = x_119; +x_10 = x_102; +x_11 = x_99; x_12 = x_121; -x_13 = x_124; -x_14 = x_119; +x_13 = x_100; +x_14 = x_123; x_15 = x_6; x_16 = x_120; goto block_95; @@ -32782,7 +28843,7 @@ else lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; x_125 = lean_box(x_96); x_126 = lean_box(x_104); -x_127 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0___boxed), 3, 2); +x_127 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0___boxed), 3, 2); lean_closure_set(x_127, 0, x_125); lean_closure_set(x_127, 1, x_126); lean_inc(x_119); @@ -32802,13 +28863,13 @@ return x_130; } else { -x_8 = x_102; -x_9 = x_123; -x_10 = x_97; -x_11 = x_98; +x_8 = x_124; +x_9 = x_119; +x_10 = x_102; +x_11 = x_99; x_12 = x_121; -x_13 = x_124; -x_14 = x_119; +x_13 = x_100; +x_14 = x_123; x_15 = x_6; x_16 = x_120; goto block_95; @@ -32819,15 +28880,15 @@ goto block_95; block_140: { lean_object* x_138; -x_138 = l_Lean_Syntax_getTailPos_x3f(x_133, x_135); -lean_dec(x_133); +x_138 = l_Lean_Syntax_getTailPos_x3f(x_134, x_136); +lean_dec(x_134); if (lean_obj_tag(x_138) == 0) { lean_inc(x_137); x_96 = x_132; -x_97 = x_134; -x_98 = x_135; -x_99 = x_137; +x_97 = x_133; +x_98 = x_137; +x_99 = x_135; x_100 = x_136; x_101 = x_137; goto block_131; @@ -32839,9 +28900,9 @@ x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); lean_dec_ref(x_138); x_96 = x_132; -x_97 = x_134; -x_98 = x_135; -x_99 = x_137; +x_97 = x_133; +x_98 = x_137; +x_99 = x_135; x_100 = x_136; x_101 = x_139; goto block_131; @@ -32850,7 +28911,7 @@ goto block_131; block_156: { lean_object* x_145; -x_145 = l_Lean_Elab_Command_getRef___redArg(x_5, x_143); +x_145 = l_Lean_Elab_Command_getRef___redArg(x_5, x_142); if (lean_obj_tag(x_145) == 0) { lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; @@ -32861,16 +28922,16 @@ lean_inc(x_147); lean_dec_ref(x_145); x_148 = l_Lean_replaceRef(x_1, x_146); lean_dec(x_146); -x_149 = l_Lean_Syntax_getPos_x3f(x_148, x_142); +x_149 = l_Lean_Syntax_getPos_x3f(x_148, x_143); if (lean_obj_tag(x_149) == 0) { lean_object* x_150; x_150 = lean_unsigned_to_nat(0u); x_132 = x_141; -x_133 = x_148; -x_134 = x_144; -x_135 = x_142; -x_136 = x_147; +x_133 = x_147; +x_134 = x_148; +x_135 = x_144; +x_136 = x_143; x_137 = x_150; goto block_140; } @@ -32881,10 +28942,10 @@ x_151 = lean_ctor_get(x_149, 0); lean_inc(x_151); lean_dec_ref(x_149); x_132 = x_141; -x_133 = x_148; -x_134 = x_144; -x_135 = x_142; -x_136 = x_147; +x_133 = x_147; +x_134 = x_148; +x_135 = x_144; +x_136 = x_143; x_137 = x_151; goto block_140; } @@ -32947,7 +29008,7 @@ lean_dec_ref(x_164); x_167 = lean_ctor_get(x_165, 2); lean_inc(x_167); lean_dec(x_165); -x_168 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; +x_168 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; x_169 = l_List_head_x21___redArg(x_168, x_167); lean_dec(x_167); x_170 = lean_ctor_get(x_169, 1); @@ -32959,20 +29020,20 @@ if (x_172 == 0) { lean_dec(x_170); x_158 = x_163; -x_159 = x_163; -x_160 = x_166; +x_159 = x_166; +x_160 = x_163; x_161 = x_172; goto block_162; } else { lean_object* x_173; uint8_t x_174; -x_173 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4; -x_174 = l_Lean_Option_get___at___Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0_spec__0(x_170, x_173); +x_173 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1; +x_174 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(x_170, x_173); lean_dec(x_170); x_158 = x_163; -x_159 = x_163; -x_160 = x_166; +x_159 = x_166; +x_160 = x_163; x_161 = x_174; goto block_162; } @@ -32991,7 +29052,7 @@ return x_176; } } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -33004,7 +29065,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec_ref(x_7); -x_10 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0(x_8, x_1, x_2, x_3, x_4, x_5, x_9); +x_10 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(x_8, x_1, x_2, x_3, x_4, x_5, x_9); lean_dec(x_8); return x_10; } @@ -33034,27 +29095,27 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; uint8_t x_6; lean_object* x_7; x_5 = 0; x_6 = 0; -x_7 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0(x_1, x_5, x_6, x_2, x_3, x_4); +x_7 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2(x_1, x_5, x_6, x_2, x_3, x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; uint8_t x_7; lean_object* x_8; x_6 = 0; x_7 = 0; -x_8 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0(x_1, x_2, x_6, x_7, x_3, x_4, x_5); +x_8 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(x_1, x_2, x_6, x_7, x_3, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -33128,15 +29189,15 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5___redArg(x_2, x_3, x_4); +x_5 = l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -33210,24 +29271,24 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6___redArg(x_2, x_3, x_4); +x_5 = l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__7(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__9(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2; +x_2 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; x_3 = lean_panic_fn(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -33301,15 +29362,15 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8___redArg(x_2, x_3, x_4); +x_5 = l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10___redArg(x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0() { +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -33321,7 +29382,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1() { +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1() { _start: { lean_object* x_1; @@ -33329,7 +29390,7 @@ x_1 = lean_mk_string_unchecked("Init.Data.String.Extra", 22, 22); return x_1; } } -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2() { +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2() { _start: { lean_object* x_1; @@ -33337,7 +29398,7 @@ x_1 = lean_mk_string_unchecked("String.fromUTF8!", 16, 16); return x_1; } } -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3() { +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3() { _start: { lean_object* x_1; @@ -33345,24 +29406,24 @@ x_1 = lean_mk_string_unchecked("invalid UTF-8 string", 20, 20); return x_1; } } -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4() { +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3; +x_1 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3; x_2 = lean_unsigned_to_nat(47u); x_3 = lean_unsigned_to_nat(134u); -x_4 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2; -x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1; +x_4 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2; +x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_10 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0; +x_10 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0; x_11 = lean_st_mk_ref(x_10, x_3); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -33387,7 +29448,7 @@ else { lean_object* x_37; lean_inc_ref(x_18); -x_37 = lean_alloc_closure((void*)(l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__8), 4, 3); +x_37 = lean_alloc_closure((void*)(l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10), 4, 3); lean_closure_set(x_37, 0, lean_box(0)); lean_closure_set(x_37, 1, x_18); lean_closure_set(x_37, 2, x_1); @@ -33399,20 +29460,20 @@ block_9: lean_object* x_7; lean_object* x_8; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 1, x_4); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_4); +lean_ctor_set(x_8, 1, x_5); return x_8; } block_36: { lean_object* x_20; lean_object* x_21; -x_20 = lean_alloc_closure((void*)(l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__5), 4, 3); +x_20 = lean_alloc_closure((void*)(l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7), 4, 3); lean_closure_set(x_20, 0, lean_box(0)); lean_closure_set(x_20, 1, x_18); lean_closure_set(x_20, 2, x_19); -x_21 = l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__6___redArg(x_17, x_20, x_16); +x_21 = l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8___redArg(x_17, x_20, x_16); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -33436,10 +29497,10 @@ if (x_28 == 0) { lean_object* x_29; lean_object* x_30; lean_dec_ref(x_27); -x_29 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4; -x_30 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5_spec__7(x_29); -x_4 = x_26; -x_5 = x_22; +x_29 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4; +x_30 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__9(x_29); +x_4 = x_22; +x_5 = x_26; x_6 = x_30; goto block_9; } @@ -33448,8 +29509,8 @@ else lean_object* x_31; x_31 = lean_string_from_utf8_unchecked(x_27); lean_dec_ref(x_27); -x_4 = x_26; -x_5 = x_22; +x_4 = x_22; +x_5 = x_26; x_6 = x_31; goto block_9; } @@ -33480,11 +29541,11 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg(x_2, x_3, x_4); +x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(x_2, x_3, x_4); return x_5; } } @@ -33655,7 +29716,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lea _start: { lean_object* x_10; -x_10 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg(x_1, x_2, x_9); +x_10 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(x_1, x_2, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -33743,7 +29804,7 @@ if (lean_is_exclusive(x_12)) { if (lean_obj_tag(x_2) == 0) { lean_object* x_37; -x_37 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_3, x_4, x_13, x_14); +x_37 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2(x_3, x_4, x_13, x_14); x_16 = x_37; goto block_36; } @@ -33751,7 +29812,7 @@ else { lean_object* x_38; lean_object* x_39; x_38 = lean_ctor_get(x_2, 0); -x_39 = l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4(x_38, x_3, x_4, x_13, x_14); +x_39 = l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6(x_38, x_3, x_4, x_13, x_14); x_16 = x_39; goto block_36; } @@ -33842,396 +29903,416 @@ return x_35; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_inc_ref(x_3); lean_inc_ref(x_4); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__0), 4, 3); -lean_closure_set(x_14, 0, x_4); -lean_closure_set(x_14, 1, x_1); -lean_closure_set(x_14, 2, x_3); -x_15 = 1; -x_16 = lean_box(x_15); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__1___boxed), 9, 2); -lean_closure_set(x_17, 0, x_14); -lean_closure_set(x_17, 1, x_16); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__0), 4, 3); +lean_closure_set(x_15, 0, x_4); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +x_16 = 1; +x_17 = lean_box(x_16); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__1___boxed), 9, 2); +lean_closure_set(x_18, 0, x_15); +lean_closure_set(x_18, 1, x_17); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_21 = x_18; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_22 = x_19; } else { - lean_dec_ref(x_18); - x_21 = lean_box(0); + lean_dec_ref(x_19); + x_22 = lean_box(0); } -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); +x_23 = lean_ctor_get(x_20, 0); lean_inc(x_23); -lean_dec(x_19); -if (lean_obj_tag(x_23) == 0) +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_23, 0); -lean_inc(x_63); -lean_dec_ref(x_23); -x_64 = l_Lean_Exception_toMessageData(x_63); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_65 = l_Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0(x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_65) == 0) +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_24, 0); +lean_inc(x_64); +lean_dec_ref(x_24); +x_65 = l_Lean_Exception_toMessageData(x_64); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_66 = l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5(x_65, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec_ref(x_65); -x_24 = x_4; -x_25 = x_6; +lean_object* x_67; +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec_ref(x_66); +x_25 = x_4; x_26 = x_7; x_27 = x_8; x_28 = x_9; x_29 = x_10; x_30 = x_11; x_31 = x_12; -x_32 = x_66; -goto block_62; +x_32 = x_13; +x_33 = x_67; +goto block_63; } else { -uint8_t x_67; +uint8_t x_68; +lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) { -return x_65; +return x_66; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_65, 0); -x_69 = lean_ctor_get(x_65, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_66, 0); +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_65); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_dec(x_66); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } else { -lean_object* x_71; lean_object* x_72; +lean_object* x_72; lean_object* x_73; lean_dec_ref(x_4); -x_71 = lean_ctor_get(x_23, 0); -lean_inc(x_71); -lean_dec_ref(x_23); -x_72 = lean_ctor_get(x_71, 1); +x_72 = lean_ctor_get(x_24, 0); lean_inc(x_72); -lean_dec(x_71); -x_24 = x_72; -x_25 = x_6; +lean_dec_ref(x_24); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_25 = x_73; x_26 = x_7; x_27 = x_8; x_28 = x_9; x_29 = x_10; x_30 = x_11; x_31 = x_12; -x_32 = x_20; -goto block_62; +x_32 = x_13; +x_33 = x_21; +goto block_63; } -block_62: +block_63: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_33 = lean_unsigned_to_nat(0u); -x_34 = lean_string_utf8_byte_size(x_22); -x_35 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_22, x_34, x_33); -x_36 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_22, x_35, x_34); -x_37 = lean_string_utf8_extract(x_22, x_35, x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_34 = lean_unsigned_to_nat(0u); +x_35 = lean_string_utf8_byte_size(x_23); +x_36 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_23, x_35, x_34); +x_37 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_23, x_36, x_35); +x_38 = lean_string_utf8_extract(x_23, x_36, x_37); +lean_dec(x_37); lean_dec(x_36); -lean_dec(x_35); -x_38 = lean_string_utf8_byte_size(x_37); -lean_dec_ref(x_37); -x_39 = lean_nat_dec_eq(x_38, x_33); -lean_dec(x_38); -if (x_39 == 0) +x_39 = lean_string_utf8_byte_size(x_38); +lean_dec_ref(x_38); +x_40 = lean_nat_dec_eq(x_39, x_34); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_21); -x_40 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f(x_2); -x_41 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_41, 0, x_22); -x_42 = l_Lean_MessageData_ofFormat(x_41); -lean_inc_ref(x_24); -x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__2___boxed), 11, 4); -lean_closure_set(x_43, 0, x_24); -lean_closure_set(x_43, 1, x_40); -lean_closure_set(x_43, 2, x_42); -lean_closure_set(x_43, 3, x_3); -x_44 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_43, x_25, x_26, x_27, x_28, x_29, x_30, x_31, x_32); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_22); +x_41 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f(x_2); +x_42 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_42, 0, x_23); +x_43 = l_Lean_MessageData_ofFormat(x_42); +lean_inc_ref(x_25); +x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__2___boxed), 11, 4); +lean_closure_set(x_44, 0, x_25); +lean_closure_set(x_44, 1, x_41); +lean_closure_set(x_44, 2, x_43); +lean_closure_set(x_44, 3, x_3); +x_45 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_44, x_26, x_27, x_28, x_29, x_30, x_31, x_32, x_33); if (lean_obj_tag(x_45) == 0) { -uint8_t x_46; -lean_dec_ref(x_45); -x_46 = !lean_is_exclusive(x_44); -if (x_46 == 0) +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_44, 0); -lean_dec(x_47); -lean_ctor_set(x_44, 0, x_24); -return x_44; +uint8_t x_47; +lean_dec_ref(x_46); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +lean_object* x_48; +x_48 = lean_ctor_get(x_45, 0); +lean_dec(x_48); +lean_ctor_set(x_45, 0, x_25); +return x_45; } else { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_24); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_25); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } else { -lean_object* x_50; uint8_t x_51; -lean_dec_ref(x_24); -x_50 = lean_ctor_get(x_45, 0); -lean_inc(x_50); -lean_dec_ref(x_45); -x_51 = !lean_is_exclusive(x_44); -if (x_51 == 0) +lean_object* x_51; uint8_t x_52; +lean_dec_ref(x_25); +x_51 = lean_ctor_get(x_46, 0); +lean_inc(x_51); +lean_dec_ref(x_46); +x_52 = !lean_is_exclusive(x_45); +if (x_52 == 0) { -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_44, 0); -lean_dec(x_52); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -lean_ctor_set(x_44, 0, x_53); -return x_44; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_44, 1); +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_45, 0); +lean_dec(x_53); +x_54 = lean_ctor_get(x_51, 1); lean_inc(x_54); -lean_dec(x_44); -x_55 = lean_ctor_get(x_50, 1); +lean_dec(x_51); +lean_ctor_set(x_45, 0, x_54); +return x_45; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_45, 1); lean_inc(x_55); -lean_dec(x_50); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_dec(x_45); +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +return x_57; } } } else { -uint8_t x_57; -lean_dec_ref(x_24); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +uint8_t x_58; +lean_dec_ref(x_25); +x_58 = !lean_is_exclusive(x_45); +if (x_58 == 0) { -return x_44; +return x_45; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -x_59 = lean_ctor_get(x_44, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_45, 0); +x_60 = lean_ctor_get(x_45, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_44); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -lean_object* x_61; -lean_dec(x_31); -lean_dec_ref(x_30); -lean_dec(x_29); -lean_dec_ref(x_28); -lean_dec(x_27); -lean_dec_ref(x_26); -lean_dec(x_22); -lean_dec_ref(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_21)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_21; -} -lean_ctor_set(x_61, 0, x_24); -lean_ctor_set(x_61, 1, x_32); +lean_dec(x_45); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); return x_61; } } } else { -uint8_t x_73; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_4); +lean_object* x_62; +lean_dec(x_32); +lean_dec_ref(x_31); +lean_dec(x_30); +lean_dec_ref(x_29); +lean_dec(x_28); +lean_dec_ref(x_27); +lean_dec(x_23); lean_dec_ref(x_3); lean_dec(x_2); -x_73 = !lean_is_exclusive(x_18); -if (x_73 == 0) -{ -return x_18; +if (lean_is_scalar(x_22)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_22; +} +lean_ctor_set(x_62, 0, x_25); +lean_ctor_set(x_62, 1, x_33); +return x_62; +} +} } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_18, 0); -x_75 = lean_ctor_get(x_18, 1); +uint8_t x_74; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_19); +if (x_74 == 0) +{ +return x_19; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_19, 0); +x_76 = lean_ctor_get(x_19, 1); +lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_18); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_dec(x_19); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3); +x_4 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4); +x_5 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec_ref(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; x_4 = lean_unbox(x_1); x_5 = lean_unbox(x_2); -x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___lam__0(x_4, x_5, x_3); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0(x_4, x_5, x_3); lean_dec(x_3); x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; uint8_t x_9; lean_object* x_10; x_8 = lean_unbox(x_3); x_9 = lean_unbox(x_4); -x_10 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +x_10 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(x_1, x_2, x_8, x_9, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; uint8_t x_8; lean_object* x_9; x_7 = lean_unbox(x_2); x_8 = lean_unbox(x_3); -x_9 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0(x_1, x_7, x_8, x_4, x_5, x_6); +x_9 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2(x_1, x_7, x_8, x_4, x_5, x_6); lean_dec(x_5); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_1, x_2, x_3, x_4); +x_5 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); -x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg(x_1, x_4, x_3); +x_5 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(x_1, x_4, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_3); -x_6 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5(x_1, x_2, x_5, x_4); +x_6 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7(x_1, x_2, x_5, x_4); return x_6; } } @@ -34265,14 +30346,67 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_dec_ref(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec_ref(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc_ref(x_1); +x_9 = lean_string_append(x_1, x_6); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_11); +lean_ctor_set(x_12, 3, x_11); +lean_ctor_set(x_12, 4, x_11); +lean_ctor_set(x_12, 5, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_11); +lean_ctor_set(x_14, 2, x_11); +lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_17 = lean_array_uset(x_8, x_3, x_14); +x_3 = x_16; +x_4 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); +return x_13; } } static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0() { @@ -34295,12 +30429,80 @@ x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("kw\?", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("kw", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("role", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6; +x_2 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_46; x_14 = lean_ctor_get(x_8, 5); -x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; +x_15 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1; lean_inc(x_14); x_17 = l_Lean_Syntax_isOfKind(x_14, x_16); @@ -34308,7 +30510,7 @@ x_18 = 1; if (x_17 == 0) { lean_object* x_71; uint8_t x_72; -x_71 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; +x_71 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7; lean_inc(x_14); x_72 = l_Lean_Syntax_isOfKind(x_14, x_71); if (x_72 == 0) @@ -34350,7 +30552,7 @@ x_78 = lean_unsigned_to_nat(2u); x_79 = l_Lean_Syntax_getArg(x_14, x_78); x_80 = l_Lean_Syntax_getArgs(x_79); lean_dec(x_79); -x_81 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; +x_81 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8; x_82 = lean_array_push(x_81, x_77); x_83 = l_Array_append___redArg(x_82, x_80); lean_dec_ref(x_80); @@ -34397,7 +30599,7 @@ x_94 = l_Lean_Syntax_getArg(x_89, x_88); lean_dec(x_89); x_95 = l_Lean_Syntax_getArgs(x_94); lean_dec(x_94); -x_96 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; +x_96 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8; x_97 = lean_array_push(x_96, x_93); x_98 = l_Array_append___redArg(x_97, x_95); lean_dec_ref(x_95); @@ -34427,26 +30629,26 @@ block_45: { lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_23 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 0, x_20); lean_ctor_set(x_23, 1, x_21); lean_ctor_set_uint8(x_23, sizeof(void*)*2, x_18); lean_inc_ref(x_22); x_24 = l_Lean_Syntax_mkStrLit(x_22, x_23); x_25 = lean_array_size(x_2); x_26 = 0; -x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint_spec__0(x_22, x_25, x_26, x_2); +x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0(x_22, x_25, x_26, x_2); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_24); x_29 = lean_box(0); x_30 = 0; x_31 = lean_box(x_30); -x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___lam__1___boxed), 12, 5); +x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1___boxed), 12, 5); lean_closure_set(x_32, 0, x_1); lean_closure_set(x_32, 1, x_27); lean_closure_set(x_32, 2, x_28); lean_closure_set(x_32, 3, x_29); lean_closure_set(x_32, 4, x_31); -x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); if (lean_obj_tag(x_33) == 0) { uint8_t x_34; @@ -34561,14 +30763,14 @@ x_60 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_60, 0, x_54); lean_ctor_set(x_60, 1, x_55); lean_ctor_set(x_60, 2, x_59); -x_61 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; +x_61 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4; x_62 = l_Substring_beq(x_60, x_61); if (x_62 == 0) { lean_dec(x_59); lean_dec(x_56); -x_19 = x_48; -x_20 = x_52; +x_19 = x_52; +x_20 = x_48; x_21 = x_49; x_22 = x_54; goto block_45; @@ -34576,15 +30778,15 @@ goto block_45; else { lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +x_63 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5; x_64 = lean_string_utf8_extract(x_54, x_59, x_56); lean_dec(x_56); lean_dec(x_59); lean_dec_ref(x_54); x_65 = lean_string_append(x_63, x_64); lean_dec_ref(x_64); -x_19 = x_48; -x_20 = x_52; +x_19 = x_52; +x_20 = x_48; x_21 = x_49; x_22 = x_65; goto block_45; @@ -34626,12 +30828,37 @@ return x_69; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_14; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -34643,212 +30870,214 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_12; +lean_dec_ref(x_3); +return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_4); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_4, 1); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_4, 1); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_4, 0); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_4, 0); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -x_21 = lean_ctor_get(x_17, 0); -x_22 = lean_ctor_get(x_17, 1); -x_23 = lean_ctor_get(x_17, 2); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_18, 1); +x_24 = lean_ctor_get(x_18, 2); lean_inc_ref(x_1); -x_24 = l_List_head_x21___redArg(x_1, x_23); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 2); +x_25 = l_List_head_x21___redArg(x_1, x_24); +x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 3); +x_27 = lean_ctor_get(x_25, 2); lean_inc(x_27); -lean_dec_ref(x_24); -lean_inc_ref(x_21); -x_28 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_28, 0, x_21); -lean_ctor_set(x_28, 1, x_25); -lean_ctor_set(x_28, 2, x_26); -lean_ctor_set(x_28, 3, x_27); +x_28 = lean_ctor_get(x_25, 3); +lean_inc(x_28); +lean_dec_ref(x_25); +lean_inc_ref(x_22); +x_29 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_29, 2, x_27); +lean_ctor_set(x_29, 3, x_28); lean_inc_ref(x_2); -x_29 = l_Lean_Parser_parseCommand(x_2, x_28, x_20, x_22); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 0); +x_30 = l_Lean_Parser_parseCommand(x_2, x_29, x_21, x_23); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -lean_dec_ref(x_29); x_32 = lean_ctor_get(x_30, 0); lean_inc(x_32); -x_33 = lean_ctor_get(x_30, 1); +lean_dec_ref(x_30); +x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -lean_dec(x_30); -lean_ctor_set(x_17, 1, x_33); -lean_inc(x_31); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_34, 0, x_31); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc_ref(x_3); -lean_inc(x_31); -x_35 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_34, x_31, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_35) == 0) -{ -uint8_t x_36; -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_31); -x_39 = lean_array_push(x_19, x_31); -x_40 = l_Lean_Parser_isTerminalCommand(x_31); -if (x_40 == 0) -{ -lean_free_object(x_35); -lean_ctor_set(x_15, 1, x_32); -lean_ctor_set(x_15, 0, x_39); -lean_ctor_set(x_4, 0, x_37); -x_13 = x_38; -goto _start; -} -else -{ -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -lean_ctor_set(x_15, 1, x_32); -lean_ctor_set(x_15, 0, x_39); -lean_ctor_set(x_4, 0, x_37); -lean_ctor_set(x_35, 0, x_4); -return x_35; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_ctor_get(x_35, 0); -x_43 = lean_ctor_get(x_35, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_35); -lean_inc(x_31); -x_44 = lean_array_push(x_19, x_31); -x_45 = l_Lean_Parser_isTerminalCommand(x_31); -if (x_45 == 0) -{ -lean_ctor_set(x_15, 1, x_32); -lean_ctor_set(x_15, 0, x_44); -lean_ctor_set(x_4, 0, x_42); -x_13 = x_43; -goto _start; -} -else -{ -lean_object* x_47; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -lean_ctor_set(x_15, 1, x_32); -lean_ctor_set(x_15, 0, x_44); -lean_ctor_set(x_4, 0, x_42); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_4); -lean_ctor_set(x_47, 1, x_43); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_32); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); lean_dec(x_31); -lean_free_object(x_15); -lean_dec(x_19); -lean_free_object(x_4); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_ctor_set(x_18, 1, x_34); +lean_inc(x_32); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_35, 0, x_32); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc_ref(x_3); +lean_inc(x_32); +x_36 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_35, x_32, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_32); +x_40 = lean_array_push(x_20, x_32); +x_41 = l_Lean_Parser_isTerminalCommand(x_32); +if (x_41 == 0) +{ +lean_free_object(x_36); +lean_ctor_set(x_16, 1, x_33); +lean_ctor_set(x_16, 0, x_40); +lean_ctor_set(x_4, 0, x_38); +x_14 = x_39; +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_48 = !lean_is_exclusive(x_35); -if (x_48 == 0) -{ -return x_35; +lean_ctor_set(x_16, 1, x_33); +lean_ctor_set(x_16, 0, x_40); +lean_ctor_set(x_4, 0, x_38); +lean_ctor_set(x_36, 0, x_4); +return x_36; +} } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_35, 0); -x_50 = lean_ctor_get(x_35, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_36, 0); +x_44 = lean_ctor_get(x_36, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_36); +lean_inc(x_32); +x_45 = lean_array_push(x_20, x_32); +x_46 = l_Lean_Parser_isTerminalCommand(x_32); +if (x_46 == 0) +{ +lean_ctor_set(x_16, 1, x_33); +lean_ctor_set(x_16, 0, x_45); +lean_ctor_set(x_4, 0, x_43); +x_14 = x_44; +goto _start; +} +else +{ +lean_object* x_48; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +lean_ctor_set(x_16, 1, x_33); +lean_ctor_set(x_16, 0, x_45); +lean_ctor_set(x_4, 0, x_43); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_4); +lean_ctor_set(x_48, 1, x_44); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_33); +lean_dec(x_32); +lean_free_object(x_16); +lean_dec(x_20); +lean_free_object(x_4); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_49 = !lean_is_exclusive(x_36); +if (x_49 == 0) +{ +return x_36; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_36, 0); +x_51 = lean_ctor_get(x_36, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_35); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_36); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_52 = lean_ctor_get(x_15, 0); -x_53 = lean_ctor_get(x_15, 1); -x_54 = lean_ctor_get(x_17, 0); -x_55 = lean_ctor_get(x_17, 1); -x_56 = lean_ctor_get(x_17, 2); -x_57 = lean_ctor_get(x_17, 3); -x_58 = lean_ctor_get(x_17, 4); -x_59 = lean_ctor_get(x_17, 5); -x_60 = lean_ctor_get(x_17, 6); -x_61 = lean_ctor_get(x_17, 7); -x_62 = lean_ctor_get(x_17, 8); -x_63 = lean_ctor_get(x_17, 9); -x_64 = lean_ctor_get(x_17, 10); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_53 = lean_ctor_get(x_16, 0); +x_54 = lean_ctor_get(x_16, 1); +x_55 = lean_ctor_get(x_18, 0); +x_56 = lean_ctor_get(x_18, 1); +x_57 = lean_ctor_get(x_18, 2); +x_58 = lean_ctor_get(x_18, 3); +x_59 = lean_ctor_get(x_18, 4); +x_60 = lean_ctor_get(x_18, 5); +x_61 = lean_ctor_get(x_18, 6); +x_62 = lean_ctor_get(x_18, 7); +x_63 = lean_ctor_get(x_18, 8); +x_64 = lean_ctor_get(x_18, 9); +x_65 = lean_ctor_get(x_18, 10); +lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); @@ -34859,568 +31088,567 @@ lean_inc(x_58); lean_inc(x_57); lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_17); +lean_dec(x_18); lean_inc_ref(x_1); -x_65 = l_List_head_x21___redArg(x_1, x_56); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 2); +x_66 = l_List_head_x21___redArg(x_1, x_57); +x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_65, 3); +x_68 = lean_ctor_get(x_66, 2); lean_inc(x_68); -lean_dec_ref(x_65); -lean_inc_ref(x_54); -x_69 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_69, 0, x_54); -lean_ctor_set(x_69, 1, x_66); -lean_ctor_set(x_69, 2, x_67); -lean_ctor_set(x_69, 3, x_68); +x_69 = lean_ctor_get(x_66, 3); +lean_inc(x_69); +lean_dec_ref(x_66); +lean_inc_ref(x_55); +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_55); +lean_ctor_set(x_70, 1, x_67); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_70, 3, x_69); lean_inc_ref(x_2); -x_70 = l_Lean_Parser_parseCommand(x_2, x_69, x_53, x_55); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 0); +x_71 = l_Lean_Parser_parseCommand(x_2, x_70, x_54, x_56); +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -lean_dec_ref(x_70); x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); -x_74 = lean_ctor_get(x_71, 1); +lean_dec_ref(x_71); +x_74 = lean_ctor_get(x_72, 0); lean_inc(x_74); -lean_dec(x_71); -x_75 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_75, 0, x_54); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_56); -lean_ctor_set(x_75, 3, x_57); -lean_ctor_set(x_75, 4, x_58); -lean_ctor_set(x_75, 5, x_59); -lean_ctor_set(x_75, 6, x_60); -lean_ctor_set(x_75, 7, x_61); -lean_ctor_set(x_75, 8, x_62); -lean_ctor_set(x_75, 9, x_63); -lean_ctor_set(x_75, 10, x_64); -lean_inc(x_72); -x_76 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_76, 0, x_72); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_76, 0, x_55); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_57); +lean_ctor_set(x_76, 3, x_58); +lean_ctor_set(x_76, 4, x_59); +lean_ctor_set(x_76, 5, x_60); +lean_ctor_set(x_76, 6, x_61); +lean_ctor_set(x_76, 7, x_62); +lean_ctor_set(x_76, 8, x_63); +lean_ctor_set(x_76, 9, x_64); +lean_ctor_set(x_76, 10, x_65); +lean_inc(x_73); +x_77 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_77, 0, x_73); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); lean_inc_ref(x_3); -lean_inc(x_72); -x_77 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_76, x_72, x_3, x_75, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_73); +x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_77, x_73, x_3, x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_81 = x_78; } else { - lean_dec_ref(x_77); - x_80 = lean_box(0); + lean_dec_ref(x_78); + x_81 = lean_box(0); } -lean_inc(x_72); -x_81 = lean_array_push(x_52, x_72); -x_82 = l_Lean_Parser_isTerminalCommand(x_72); -if (x_82 == 0) +lean_inc(x_73); +x_82 = lean_array_push(x_53, x_73); +x_83 = l_Lean_Parser_isTerminalCommand(x_73); +if (x_83 == 0) { -lean_dec(x_80); -lean_ctor_set(x_15, 1, x_73); -lean_ctor_set(x_15, 0, x_81); -lean_ctor_set(x_4, 0, x_78); -x_13 = x_79; +lean_dec(x_81); +lean_ctor_set(x_16, 1, x_74); +lean_ctor_set(x_16, 0, x_82); +lean_ctor_set(x_4, 0, x_79); +x_14 = x_80; goto _start; } else { -lean_object* x_84; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_85; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -lean_ctor_set(x_15, 1, x_73); -lean_ctor_set(x_15, 0, x_81); -lean_ctor_set(x_4, 0, x_78); -if (lean_is_scalar(x_80)) { - x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 1, x_74); +lean_ctor_set(x_16, 0, x_82); +lean_ctor_set(x_4, 0, x_79); +if (lean_is_scalar(x_81)) { + x_85 = lean_alloc_ctor(0, 2, 0); } else { - x_84 = x_80; + x_85 = x_81; } -lean_ctor_set(x_84, 0, x_4); -lean_ctor_set(x_84, 1, x_79); -return x_84; +lean_ctor_set(x_85, 0, x_4); +lean_ctor_set(x_85, 1, x_80); +return x_85; } } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_74); lean_dec(x_73); -lean_dec(x_72); -lean_free_object(x_15); -lean_dec(x_52); +lean_free_object(x_16); +lean_dec(x_53); lean_free_object(x_4); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_85 = lean_ctor_get(x_77, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_77, 1); +x_86 = lean_ctor_get(x_78, 0); lean_inc(x_86); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_87 = x_77; +x_87 = lean_ctor_get(x_78, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_88 = x_78; } else { - lean_dec_ref(x_77); - x_87 = lean_box(0); + lean_dec_ref(x_78); + x_88 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_88 = x_87; + x_89 = x_88; } -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_89 = lean_ctor_get(x_4, 0); -x_90 = lean_ctor_get(x_15, 0); -x_91 = lean_ctor_get(x_15, 1); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_90 = lean_ctor_get(x_4, 0); +x_91 = lean_ctor_get(x_16, 0); +x_92 = lean_ctor_get(x_16, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_15); -x_92 = lean_ctor_get(x_89, 0); -lean_inc_ref(x_92); -x_93 = lean_ctor_get(x_89, 1); +lean_dec(x_16); +x_93 = lean_ctor_get(x_90, 0); lean_inc_ref(x_93); -x_94 = lean_ctor_get(x_89, 2); -lean_inc(x_94); -x_95 = lean_ctor_get(x_89, 3); +x_94 = lean_ctor_get(x_90, 1); +lean_inc_ref(x_94); +x_95 = lean_ctor_get(x_90, 2); lean_inc(x_95); -x_96 = lean_ctor_get(x_89, 4); +x_96 = lean_ctor_get(x_90, 3); lean_inc(x_96); -x_97 = lean_ctor_get(x_89, 5); +x_97 = lean_ctor_get(x_90, 4); lean_inc(x_97); -x_98 = lean_ctor_get(x_89, 6); -lean_inc_ref(x_98); -x_99 = lean_ctor_get(x_89, 7); +x_98 = lean_ctor_get(x_90, 5); +lean_inc(x_98); +x_99 = lean_ctor_get(x_90, 6); lean_inc_ref(x_99); -x_100 = lean_ctor_get(x_89, 8); +x_100 = lean_ctor_get(x_90, 7); lean_inc_ref(x_100); -x_101 = lean_ctor_get(x_89, 9); +x_101 = lean_ctor_get(x_90, 8); lean_inc_ref(x_101); -x_102 = lean_ctor_get(x_89, 10); +x_102 = lean_ctor_get(x_90, 9); lean_inc_ref(x_102); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - lean_ctor_release(x_89, 2); - lean_ctor_release(x_89, 3); - lean_ctor_release(x_89, 4); - lean_ctor_release(x_89, 5); - lean_ctor_release(x_89, 6); - lean_ctor_release(x_89, 7); - lean_ctor_release(x_89, 8); - lean_ctor_release(x_89, 9); - lean_ctor_release(x_89, 10); - x_103 = x_89; +x_103 = lean_ctor_get(x_90, 10); +lean_inc_ref(x_103); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + lean_ctor_release(x_90, 2); + lean_ctor_release(x_90, 3); + lean_ctor_release(x_90, 4); + lean_ctor_release(x_90, 5); + lean_ctor_release(x_90, 6); + lean_ctor_release(x_90, 7); + lean_ctor_release(x_90, 8); + lean_ctor_release(x_90, 9); + lean_ctor_release(x_90, 10); + x_104 = x_90; } else { - lean_dec_ref(x_89); - x_103 = lean_box(0); + lean_dec_ref(x_90); + x_104 = lean_box(0); } lean_inc_ref(x_1); -x_104 = l_List_head_x21___redArg(x_1, x_94); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 2); +x_105 = l_List_head_x21___redArg(x_1, x_95); +x_106 = lean_ctor_get(x_105, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_104, 3); +x_107 = lean_ctor_get(x_105, 2); lean_inc(x_107); -lean_dec_ref(x_104); -lean_inc_ref(x_92); -x_108 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_108, 0, x_92); -lean_ctor_set(x_108, 1, x_105); -lean_ctor_set(x_108, 2, x_106); -lean_ctor_set(x_108, 3, x_107); +x_108 = lean_ctor_get(x_105, 3); +lean_inc(x_108); +lean_dec_ref(x_105); +lean_inc_ref(x_93); +x_109 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_109, 0, x_93); +lean_ctor_set(x_109, 1, x_106); +lean_ctor_set(x_109, 2, x_107); +lean_ctor_set(x_109, 3, x_108); lean_inc_ref(x_2); -x_109 = l_Lean_Parser_parseCommand(x_2, x_108, x_91, x_93); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 0); +x_110 = l_Lean_Parser_parseCommand(x_2, x_109, x_92, x_94); +x_111 = lean_ctor_get(x_110, 1); lean_inc(x_111); -lean_dec_ref(x_109); x_112 = lean_ctor_get(x_110, 0); lean_inc(x_112); -x_113 = lean_ctor_get(x_110, 1); +lean_dec_ref(x_110); +x_113 = lean_ctor_get(x_111, 0); lean_inc(x_113); -lean_dec(x_110); -if (lean_is_scalar(x_103)) { - x_114 = lean_alloc_ctor(0, 11, 0); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +if (lean_is_scalar(x_104)) { + x_115 = lean_alloc_ctor(0, 11, 0); } else { - x_114 = x_103; + x_115 = x_104; } -lean_ctor_set(x_114, 0, x_92); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_114, 2, x_94); -lean_ctor_set(x_114, 3, x_95); -lean_ctor_set(x_114, 4, x_96); -lean_ctor_set(x_114, 5, x_97); -lean_ctor_set(x_114, 6, x_98); -lean_ctor_set(x_114, 7, x_99); -lean_ctor_set(x_114, 8, x_100); -lean_ctor_set(x_114, 9, x_101); -lean_ctor_set(x_114, 10, x_102); -lean_inc(x_111); -x_115 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_115, 0, x_111); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_ctor_set(x_115, 0, x_93); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_115, 2, x_95); +lean_ctor_set(x_115, 3, x_96); +lean_ctor_set(x_115, 4, x_97); +lean_ctor_set(x_115, 5, x_98); +lean_ctor_set(x_115, 6, x_99); +lean_ctor_set(x_115, 7, x_100); +lean_ctor_set(x_115, 8, x_101); +lean_ctor_set(x_115, 9, x_102); +lean_ctor_set(x_115, 10, x_103); +lean_inc(x_112); +x_116 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_116, 0, x_112); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); lean_inc_ref(x_3); -lean_inc(x_111); -x_116 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_115, x_111, x_3, x_114, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_116) == 0) +lean_inc(x_112); +x_117 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_116, x_112, x_3, x_115, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_119 = x_116; +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; } else { - lean_dec_ref(x_116); - x_119 = lean_box(0); + lean_dec_ref(x_117); + x_120 = lean_box(0); } -lean_inc(x_111); -x_120 = lean_array_push(x_90, x_111); -x_121 = l_Lean_Parser_isTerminalCommand(x_111); -if (x_121 == 0) +lean_inc(x_112); +x_121 = lean_array_push(x_91, x_112); +x_122 = l_Lean_Parser_isTerminalCommand(x_112); +if (x_122 == 0) { -lean_object* x_122; -lean_dec(x_119); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_112); -lean_ctor_set(x_4, 1, x_122); -lean_ctor_set(x_4, 0, x_117); -x_13 = x_118; +lean_object* x_123; +lean_dec(x_120); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_113); +lean_ctor_set(x_4, 1, x_123); +lean_ctor_set(x_4, 0, x_118); +x_14 = x_119; goto _start; } else { -lean_object* x_124; lean_object* x_125; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_125; lean_object* x_126; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_120); -lean_ctor_set(x_124, 1, x_112); -lean_ctor_set(x_4, 1, x_124); -lean_ctor_set(x_4, 0, x_117); -if (lean_is_scalar(x_119)) { - x_125 = lean_alloc_ctor(0, 2, 0); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_121); +lean_ctor_set(x_125, 1, x_113); +lean_ctor_set(x_4, 1, x_125); +lean_ctor_set(x_4, 0, x_118); +if (lean_is_scalar(x_120)) { + x_126 = lean_alloc_ctor(0, 2, 0); } else { - x_125 = x_119; + x_126 = x_120; } -lean_ctor_set(x_125, 0, x_4); -lean_ctor_set(x_125, 1, x_118); -return x_125; +lean_ctor_set(x_126, 0, x_4); +lean_ctor_set(x_126, 1, x_119); +return x_126; } } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_113); lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_90); +lean_dec(x_91); lean_free_object(x_4); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_126 = lean_ctor_get(x_116, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_116, 1); +x_127 = lean_ctor_get(x_117, 0); lean_inc(x_127); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_128 = x_116; +x_128 = lean_ctor_get(x_117, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_129 = x_117; } else { - lean_dec_ref(x_116); - x_128 = lean_box(0); + lean_dec_ref(x_117); + x_129 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); } else { - x_129 = x_128; + x_130 = x_129; } -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; } } } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_130 = lean_ctor_get(x_4, 1); -x_131 = lean_ctor_get(x_4, 0); -lean_inc(x_130); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_131 = lean_ctor_get(x_4, 1); +x_132 = lean_ctor_get(x_4, 0); lean_inc(x_131); -lean_dec(x_4); -x_132 = lean_ctor_get(x_130, 0); lean_inc(x_132); -x_133 = lean_ctor_get(x_130, 1); +lean_dec(x_4); +x_133 = lean_ctor_get(x_131, 0); lean_inc(x_133); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_134 = x_130; -} else { - lean_dec_ref(x_130); - x_134 = lean_box(0); -} -x_135 = lean_ctor_get(x_131, 0); -lean_inc_ref(x_135); -x_136 = lean_ctor_get(x_131, 1); -lean_inc_ref(x_136); -x_137 = lean_ctor_get(x_131, 2); -lean_inc(x_137); -x_138 = lean_ctor_get(x_131, 3); -lean_inc(x_138); -x_139 = lean_ctor_get(x_131, 4); -lean_inc(x_139); -x_140 = lean_ctor_get(x_131, 5); -lean_inc(x_140); -x_141 = lean_ctor_get(x_131, 6); -lean_inc_ref(x_141); -x_142 = lean_ctor_get(x_131, 7); -lean_inc_ref(x_142); -x_143 = lean_ctor_get(x_131, 8); -lean_inc_ref(x_143); -x_144 = lean_ctor_get(x_131, 9); -lean_inc_ref(x_144); -x_145 = lean_ctor_get(x_131, 10); -lean_inc_ref(x_145); +x_134 = lean_ctor_get(x_131, 1); +lean_inc(x_134); if (lean_is_exclusive(x_131)) { lean_ctor_release(x_131, 0); lean_ctor_release(x_131, 1); - lean_ctor_release(x_131, 2); - lean_ctor_release(x_131, 3); - lean_ctor_release(x_131, 4); - lean_ctor_release(x_131, 5); - lean_ctor_release(x_131, 6); - lean_ctor_release(x_131, 7); - lean_ctor_release(x_131, 8); - lean_ctor_release(x_131, 9); - lean_ctor_release(x_131, 10); - x_146 = x_131; + x_135 = x_131; } else { lean_dec_ref(x_131); - x_146 = lean_box(0); + x_135 = lean_box(0); +} +x_136 = lean_ctor_get(x_132, 0); +lean_inc_ref(x_136); +x_137 = lean_ctor_get(x_132, 1); +lean_inc_ref(x_137); +x_138 = lean_ctor_get(x_132, 2); +lean_inc(x_138); +x_139 = lean_ctor_get(x_132, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_132, 4); +lean_inc(x_140); +x_141 = lean_ctor_get(x_132, 5); +lean_inc(x_141); +x_142 = lean_ctor_get(x_132, 6); +lean_inc_ref(x_142); +x_143 = lean_ctor_get(x_132, 7); +lean_inc_ref(x_143); +x_144 = lean_ctor_get(x_132, 8); +lean_inc_ref(x_144); +x_145 = lean_ctor_get(x_132, 9); +lean_inc_ref(x_145); +x_146 = lean_ctor_get(x_132, 10); +lean_inc_ref(x_146); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + lean_ctor_release(x_132, 2); + lean_ctor_release(x_132, 3); + lean_ctor_release(x_132, 4); + lean_ctor_release(x_132, 5); + lean_ctor_release(x_132, 6); + lean_ctor_release(x_132, 7); + lean_ctor_release(x_132, 8); + lean_ctor_release(x_132, 9); + lean_ctor_release(x_132, 10); + x_147 = x_132; +} else { + lean_dec_ref(x_132); + x_147 = lean_box(0); } lean_inc_ref(x_1); -x_147 = l_List_head_x21___redArg(x_1, x_137); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 2); +x_148 = l_List_head_x21___redArg(x_1, x_138); +x_149 = lean_ctor_get(x_148, 1); lean_inc(x_149); -x_150 = lean_ctor_get(x_147, 3); +x_150 = lean_ctor_get(x_148, 2); lean_inc(x_150); -lean_dec_ref(x_147); -lean_inc_ref(x_135); -x_151 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_151, 0, x_135); -lean_ctor_set(x_151, 1, x_148); -lean_ctor_set(x_151, 2, x_149); -lean_ctor_set(x_151, 3, x_150); +x_151 = lean_ctor_get(x_148, 3); +lean_inc(x_151); +lean_dec_ref(x_148); +lean_inc_ref(x_136); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_136); +lean_ctor_set(x_152, 1, x_149); +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_151); lean_inc_ref(x_2); -x_152 = l_Lean_Parser_parseCommand(x_2, x_151, x_133, x_136); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 0); +x_153 = l_Lean_Parser_parseCommand(x_2, x_152, x_134, x_137); +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -lean_dec_ref(x_152); x_155 = lean_ctor_get(x_153, 0); lean_inc(x_155); -x_156 = lean_ctor_get(x_153, 1); +lean_dec_ref(x_153); +x_156 = lean_ctor_get(x_154, 0); lean_inc(x_156); -lean_dec(x_153); -if (lean_is_scalar(x_146)) { - x_157 = lean_alloc_ctor(0, 11, 0); +x_157 = lean_ctor_get(x_154, 1); +lean_inc(x_157); +lean_dec(x_154); +if (lean_is_scalar(x_147)) { + x_158 = lean_alloc_ctor(0, 11, 0); } else { - x_157 = x_146; + x_158 = x_147; } -lean_ctor_set(x_157, 0, x_135); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_157, 2, x_137); -lean_ctor_set(x_157, 3, x_138); -lean_ctor_set(x_157, 4, x_139); -lean_ctor_set(x_157, 5, x_140); -lean_ctor_set(x_157, 6, x_141); -lean_ctor_set(x_157, 7, x_142); -lean_ctor_set(x_157, 8, x_143); -lean_ctor_set(x_157, 9, x_144); -lean_ctor_set(x_157, 10, x_145); -lean_inc(x_154); -x_158 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_158, 0, x_154); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); +lean_ctor_set(x_158, 0, x_136); +lean_ctor_set(x_158, 1, x_157); +lean_ctor_set(x_158, 2, x_138); +lean_ctor_set(x_158, 3, x_139); +lean_ctor_set(x_158, 4, x_140); +lean_ctor_set(x_158, 5, x_141); +lean_ctor_set(x_158, 6, x_142); +lean_ctor_set(x_158, 7, x_143); +lean_ctor_set(x_158, 8, x_144); +lean_ctor_set(x_158, 9, x_145); +lean_ctor_set(x_158, 10, x_146); +lean_inc(x_155); +x_159 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_159, 0, x_155); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); lean_inc_ref(x_3); -lean_inc(x_154); -x_159 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_158, x_154, x_3, x_157, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_159) == 0) +lean_inc(x_155); +x_160 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand(x_159, x_155, x_3, x_158, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_162 = x_159; +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_163 = x_160; } else { - lean_dec_ref(x_159); - x_162 = lean_box(0); + lean_dec_ref(x_160); + x_163 = lean_box(0); } -lean_inc(x_154); -x_163 = lean_array_push(x_132, x_154); -x_164 = l_Lean_Parser_isTerminalCommand(x_154); -if (x_164 == 0) +lean_inc(x_155); +x_164 = lean_array_push(x_133, x_155); +x_165 = l_Lean_Parser_isTerminalCommand(x_155); +if (x_165 == 0) { -lean_object* x_165; lean_object* x_166; -lean_dec(x_162); -if (lean_is_scalar(x_134)) { - x_165 = lean_alloc_ctor(0, 2, 0); +lean_object* x_166; lean_object* x_167; +lean_dec(x_163); +if (lean_is_scalar(x_135)) { + x_166 = lean_alloc_ctor(0, 2, 0); } else { - x_165 = x_134; + x_166 = x_135; } -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_155); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_160); -lean_ctor_set(x_166, 1, x_165); -x_4 = x_166; -x_13 = x_161; +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_156); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_161); +lean_ctor_set(x_167, 1, x_166); +x_4 = x_167; +x_14 = x_162; goto _start; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -if (lean_is_scalar(x_134)) { - x_168 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_135)) { + x_169 = lean_alloc_ctor(0, 2, 0); } else { - x_168 = x_134; + x_169 = x_135; } -lean_ctor_set(x_168, 0, x_163); -lean_ctor_set(x_168, 1, x_155); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_160); -lean_ctor_set(x_169, 1, x_168); -if (lean_is_scalar(x_162)) { - x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_164); +lean_ctor_set(x_169, 1, x_156); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_161); +lean_ctor_set(x_170, 1, x_169); +if (lean_is_scalar(x_163)) { + x_171 = lean_alloc_ctor(0, 2, 0); } else { - x_170 = x_162; + x_171 = x_163; } -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_161); -return x_170; +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_162); +return x_171; } } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_156); lean_dec(x_155); -lean_dec(x_154); -lean_dec(x_134); -lean_dec(x_132); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_dec(x_135); +lean_dec(x_133); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_171 = lean_ctor_get(x_159, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_159, 1); +x_172 = lean_ctor_get(x_160, 0); lean_inc(x_172); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_173 = x_159; +x_173 = lean_ctor_get(x_160, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_174 = x_160; } else { - lean_dec_ref(x_159); - x_173 = lean_box(0); + lean_dec_ref(x_160); + x_174 = lean_box(0); } -if (lean_is_scalar(x_173)) { - x_174 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); } else { - x_174 = x_173; + x_175 = x_174; } -lean_ctor_set(x_174, 0, x_171); -lean_ctor_set(x_174, 1, x_172); -return x_174; +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +return x_175; } } } @@ -35675,254 +31903,254 @@ x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_ return x_11; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_12; +x_12 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_6, x_5); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_6, x_5); +if (x_18 == 0) { -lean_object* x_18; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_19; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); lean_dec(x_3); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_7); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_7); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_7); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get(x_7, 0); -lean_dec(x_21); -x_22 = lean_array_uget(x_4, x_6); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_20); -x_23 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_22, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_7, 1); +x_22 = lean_ctor_get(x_7, 0); +lean_dec(x_22); +x_23 = lean_array_uget(x_4, x_6); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_21); +x_24 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_23, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_24) == 0) { -uint8_t x_25; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); lean_dec(x_3); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 0); -lean_dec(x_26); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_7, 0, x_27); -lean_ctor_set(x_23, 0, x_7); -return x_23; +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_dec(x_27); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_7, 0, x_28); +lean_ctor_set(x_24, 0, x_7); +return x_24; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_dec(x_23); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_7, 0, x_29); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_7); -lean_ctor_set(x_30, 1, x_28); -return x_30; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +lean_dec(x_24); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_7, 0, x_30); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_7); +lean_ctor_set(x_31, 1, x_29); +return x_31; } } else { -lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; -lean_dec(x_20); -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_dec_ref(x_23); -x_32 = lean_ctor_get(x_24, 0); +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; +lean_dec(x_21); +x_32 = lean_ctor_get(x_24, 1); lean_inc(x_32); lean_dec_ref(x_24); +x_33 = lean_ctor_get(x_25, 0); +lean_inc(x_33); +lean_dec_ref(x_25); lean_inc(x_3); -lean_ctor_set(x_7, 1, x_32); +lean_ctor_set(x_7, 1, x_33); lean_ctor_set(x_7, 0, x_3); -x_33 = 1; -x_34 = lean_usize_add(x_6, x_33); -x_6 = x_34; -x_16 = x_31; +x_34 = 1; +x_35 = lean_usize_add(x_6, x_34); +x_6 = x_35; +x_17 = x_32; goto _start; } } else { -uint8_t x_36; +uint8_t x_37; lean_free_object(x_7); -lean_dec(x_20); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_dec(x_21); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); lean_dec(x_3); -x_36 = !lean_is_exclusive(x_23); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_24); +if (x_37 == 0) { -return x_23; +return x_24; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_23, 0); -x_38 = lean_ctor_get(x_23, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_24, 0); +x_39 = lean_ctor_get(x_24, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_23); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_dec(x_24); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_7, 1); -lean_inc(x_40); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_7, 1); +lean_inc(x_41); lean_dec(x_7); -x_41 = lean_array_uget(x_4, x_6); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_40); -x_42 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_41, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); +x_42 = lean_array_uget(x_4, x_6); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_41); +x_43 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_42, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_43) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_3); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_44; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_3); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; } else { - lean_dec_ref(x_42); - x_45 = lean_box(0); -} -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_43); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_40); -if (lean_is_scalar(x_45)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_45; + lean_dec_ref(x_43); + x_46 = lean_box(0); } +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_44); -return x_48; +lean_ctor_set(x_48, 1, x_41); +if (lean_is_scalar(x_46)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_46; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_45); +return x_49; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; -lean_dec(x_40); -x_49 = lean_ctor_get(x_42, 1); -lean_inc(x_49); -lean_dec_ref(x_42); -x_50 = lean_ctor_get(x_43, 0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; +lean_dec(x_41); +x_50 = lean_ctor_get(x_43, 1); lean_inc(x_50); lean_dec_ref(x_43); +x_51 = lean_ctor_get(x_44, 0); +lean_inc(x_51); +lean_dec_ref(x_44); lean_inc(x_3); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_3); -lean_ctor_set(x_51, 1, x_50); -x_52 = 1; -x_53 = lean_usize_add(x_6, x_52); -x_6 = x_53; -x_7 = x_51; -x_16 = x_49; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_3); +lean_ctor_set(x_52, 1, x_51); +x_53 = 1; +x_54 = lean_usize_add(x_6, x_53); +x_6 = x_54; +x_7 = x_52; +x_17 = x_50; goto _start; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_40); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_41); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); lean_dec(x_3); -x_55 = lean_ctor_get(x_42, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_42, 1); +x_56 = lean_ctor_get(x_43, 0); lean_inc(x_56); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_57 = x_42; +x_57 = lean_ctor_get(x_43, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_58 = x_43; } else { - lean_dec_ref(x_42); - x_57 = lean_box(0); + lean_dec_ref(x_43); + x_58 = lean_box(0); } -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); } else { - x_58 = x_57; + x_59 = x_58; } -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_56); -return x_58; +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; } } } @@ -35959,7 +32187,7 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; @@ -36009,521 +32237,521 @@ return x_27; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_5, x_4); -if (x_16 == 0) -{ lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_2); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_6); -lean_ctor_set(x_17, 1, x_15); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); return x_17; } -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec_ref(x_6); -x_18 = lean_array_uget(x_3, x_5); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_19 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec_ref(x_19); -lean_inc(x_2); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_1); -x_22 = 1; -x_23 = lean_usize_add(x_5, x_22); -x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg(x_2, x_1, x_3, x_4, x_23, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); -return x_24; } -else +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: { -uint8_t x_25; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_5, x_4); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_2); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -return x_19; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_6); +lean_ctor_set(x_18, 1, x_16); +return x_18; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); +lean_object* x_19; lean_object* x_20; +lean_dec_ref(x_6); +x_19 = lean_array_uget(x_3, x_5); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_20 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec_ref(x_20); +lean_inc(x_2); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_1); +x_23 = 1; +x_24 = lean_usize_add(x_5, x_23); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg(x_2, x_1, x_3, x_4, x_24, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_21); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { if (lean_obj_tag(x_3) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_3); -if (x_14 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_3, 0); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_4); -x_18 = lean_array_size(x_15); -x_19 = 0; -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_16, x_15, x_18, x_19, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_15); -if (lean_obj_tag(x_20) == 0) +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_4); +x_19 = lean_array_size(x_16); +x_20 = 0; +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_17, x_16, x_19, x_20, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_16); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); +lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_21, 0); -if (lean_obj_tag(x_22) == 0) +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_20, 0); -lean_dec(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); lean_ctor_set_tag(x_3, 1); -lean_ctor_set(x_3, 0, x_25); -lean_ctor_set(x_20, 0, x_3); -return x_20; +lean_ctor_set(x_3, 0, x_26); +lean_ctor_set(x_21, 0, x_3); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); -lean_dec(x_20); +lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = lean_ctor_get(x_21, 1); lean_inc(x_27); lean_dec(x_21); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); lean_ctor_set_tag(x_3, 1); -lean_ctor_set(x_3, 0, x_27); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_3); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_ctor_set(x_3, 0, x_28); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_3); +lean_ctor_set(x_29, 1, x_27); +return x_29; } } else { -uint8_t x_29; -lean_inc_ref(x_22); -lean_dec(x_21); +uint8_t x_30; +lean_inc_ref(x_23); +lean_dec(x_22); lean_free_object(x_3); -x_29 = !lean_is_exclusive(x_20); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_21); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_20, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_22, 0); -lean_inc(x_31); -lean_dec_ref(x_22); -lean_ctor_set(x_20, 0, x_31); -return x_20; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_20, 1); +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_21, 0); +lean_dec(x_31); +x_32 = lean_ctor_get(x_23, 0); lean_inc(x_32); -lean_dec(x_20); -x_33 = lean_ctor_get(x_22, 0); +lean_dec_ref(x_23); +lean_ctor_set(x_21, 0, x_32); +return x_21; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_21, 1); lean_inc(x_33); -lean_dec_ref(x_22); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; +lean_dec(x_21); +x_34 = lean_ctor_get(x_23, 0); +lean_inc(x_34); +lean_dec_ref(x_23); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; } } } else { -uint8_t x_35; +uint8_t x_36; lean_free_object(x_3); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) { -return x_20; +return x_21; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_21, 0); +x_38 = lean_ctor_get(x_21, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_21); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; -x_39 = lean_ctor_get(x_3, 0); -lean_inc(x_39); +lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_3, 0); +lean_inc(x_40); lean_dec(x_3); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_4); -x_42 = lean_array_size(x_39); -x_43 = 0; -x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_40, x_39, x_42, x_43, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_39); -if (lean_obj_tag(x_44) == 0) +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_4); +x_43 = lean_array_size(x_40); +x_44 = 0; +x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_41, x_40, x_43, x_44, x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_40); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); +lean_object* x_46; lean_object* x_47; x_46 = lean_ctor_get(x_45, 0); -if (lean_obj_tag(x_46) == 0) +lean_inc(x_46); +x_47 = lean_ctor_get(x_46, 0); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_48 = x_44; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_49 = x_45; } else { - lean_dec_ref(x_44); - x_48 = lean_box(0); -} -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_49); -if (lean_is_scalar(x_48)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_48; + lean_dec_ref(x_45); + x_49 = lean_box(0); } +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); +x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_47); -return x_51; +if (lean_is_scalar(x_49)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_49; +} +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_48); +return x_52; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_inc_ref(x_46); -lean_dec(x_45); -x_52 = lean_ctor_get(x_44, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_53 = x_44; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_inc_ref(x_47); +lean_dec(x_46); +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_54 = x_45; } else { - lean_dec_ref(x_44); - x_53 = lean_box(0); + lean_dec_ref(x_45); + x_54 = lean_box(0); } -x_54 = lean_ctor_get(x_46, 0); -lean_inc(x_54); -lean_dec_ref(x_46); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); +x_55 = lean_ctor_get(x_47, 0); +lean_inc(x_55); +lean_dec_ref(x_47); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); } else { - x_55 = x_53; + x_56 = x_54; } -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_44, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_44, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_45, 0); lean_inc(x_57); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_58 = x_44; +x_58 = lean_ctor_get(x_45, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_59 = x_45; } else { - lean_dec_ref(x_44); - x_58 = lean_box(0); + lean_dec_ref(x_45); + x_59 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); } else { - x_59 = x_58; + x_60 = x_59; } -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_57); -return x_59; +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } } else { -uint8_t x_60; -x_60 = !lean_is_exclusive(x_3); -if (x_60 == 0) +uint8_t x_61; +x_61 = !lean_is_exclusive(x_3); +if (x_61 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; -x_61 = lean_ctor_get(x_3, 0); -x_62 = lean_box(0); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_4); -x_64 = lean_array_size(x_61); -x_65 = 0; -x_66 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_62, x_61, x_64, x_65, x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_61); -if (lean_obj_tag(x_66) == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; size_t x_66; lean_object* x_67; +x_62 = lean_ctor_get(x_3, 0); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_4); +x_65 = lean_array_size(x_62); +x_66 = 0; +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_63, x_62, x_65, x_66, x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_62); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); +lean_object* x_68; lean_object* x_69; x_68 = lean_ctor_get(x_67, 0); -if (lean_obj_tag(x_68) == 0) +lean_inc(x_68); +x_69 = lean_ctor_get(x_68, 0); +if (lean_obj_tag(x_69) == 0) { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_66); -if (x_69 == 0) +uint8_t x_70; +x_70 = !lean_is_exclusive(x_67); +if (x_70 == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_66, 0); -lean_dec(x_70); -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -lean_ctor_set(x_3, 0, x_71); -lean_ctor_set(x_66, 0, x_3); -return x_66; +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_67, 0); +lean_dec(x_71); +x_72 = lean_ctor_get(x_68, 1); +lean_inc(x_72); +lean_dec(x_68); +lean_ctor_set(x_3, 0, x_72); +lean_ctor_set(x_67, 0, x_3); +return x_67; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_66, 1); -lean_inc(x_72); -lean_dec(x_66); +lean_object* x_73; lean_object* x_74; lean_object* x_75; x_73 = lean_ctor_get(x_67, 1); lean_inc(x_73); lean_dec(x_67); -lean_ctor_set(x_3, 0, x_73); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_3); -lean_ctor_set(x_74, 1, x_72); -return x_74; +x_74 = lean_ctor_get(x_68, 1); +lean_inc(x_74); +lean_dec(x_68); +lean_ctor_set(x_3, 0, x_74); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_3); +lean_ctor_set(x_75, 1, x_73); +return x_75; } } else { -uint8_t x_75; -lean_inc_ref(x_68); -lean_dec(x_67); +uint8_t x_76; +lean_inc_ref(x_69); +lean_dec(x_68); lean_free_object(x_3); -x_75 = !lean_is_exclusive(x_66); -if (x_75 == 0) +x_76 = !lean_is_exclusive(x_67); +if (x_76 == 0) { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_66, 0); -lean_dec(x_76); -x_77 = lean_ctor_get(x_68, 0); -lean_inc(x_77); -lean_dec_ref(x_68); -lean_ctor_set(x_66, 0, x_77); -return x_66; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_66, 1); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_67, 0); +lean_dec(x_77); +x_78 = lean_ctor_get(x_69, 0); lean_inc(x_78); -lean_dec(x_66); -x_79 = lean_ctor_get(x_68, 0); +lean_dec_ref(x_69); +lean_ctor_set(x_67, 0, x_78); +return x_67; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_67, 1); lean_inc(x_79); -lean_dec_ref(x_68); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; +lean_dec(x_67); +x_80 = lean_ctor_get(x_69, 0); +lean_inc(x_80); +lean_dec_ref(x_69); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +return x_81; } } } else { -uint8_t x_81; +uint8_t x_82; lean_free_object(x_3); -x_81 = !lean_is_exclusive(x_66); -if (x_81 == 0) +x_82 = !lean_is_exclusive(x_67); +if (x_82 == 0) { -return x_66; +return x_67; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_66, 0); -x_83 = lean_ctor_get(x_66, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_67, 0); +x_84 = lean_ctor_get(x_67, 1); +lean_inc(x_84); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_66); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_dec(x_67); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; size_t x_88; size_t x_89; lean_object* x_90; -x_85 = lean_ctor_get(x_3, 0); -lean_inc(x_85); +lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; size_t x_90; lean_object* x_91; +x_86 = lean_ctor_get(x_3, 0); +lean_inc(x_86); lean_dec(x_3); -x_86 = lean_box(0); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_4); -x_88 = lean_array_size(x_85); -x_89 = 0; -x_90 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_86, x_85, x_88, x_89, x_87, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_85); -if (lean_obj_tag(x_90) == 0) +x_87 = lean_box(0); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_4); +x_89 = lean_array_size(x_86); +x_90 = 0; +x_91 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_87, x_86, x_89, x_90, x_88, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_86); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); +lean_object* x_92; lean_object* x_93; x_92 = lean_ctor_get(x_91, 0); -if (lean_obj_tag(x_92) == 0) +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 0); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_94 = x_90; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_95 = x_91; } else { - lean_dec_ref(x_90); - x_94 = lean_box(0); -} -x_95 = lean_ctor_get(x_91, 1); -lean_inc(x_95); -lean_dec(x_91); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_95); -if (lean_is_scalar(x_94)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_94; + lean_dec_ref(x_91); + x_95 = lean_box(0); } +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_93); -return x_97; +if (lean_is_scalar(x_95)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_95; +} +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_94); +return x_98; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_inc_ref(x_92); -lean_dec(x_91); -x_98 = lean_ctor_get(x_90, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_99 = x_90; +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_inc_ref(x_93); +lean_dec(x_92); +x_99 = lean_ctor_get(x_91, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_100 = x_91; } else { - lean_dec_ref(x_90); - x_99 = lean_box(0); + lean_dec_ref(x_91); + x_100 = lean_box(0); } -x_100 = lean_ctor_get(x_92, 0); -lean_inc(x_100); -lean_dec_ref(x_92); -if (lean_is_scalar(x_99)) { - x_101 = lean_alloc_ctor(0, 2, 0); +x_101 = lean_ctor_get(x_93, 0); +lean_inc(x_101); +lean_dec_ref(x_93); +if (lean_is_scalar(x_100)) { + x_102 = lean_alloc_ctor(0, 2, 0); } else { - x_101 = x_99; + x_102 = x_100; } -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_98); -return x_101; +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_99); +return x_102; } } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_102 = lean_ctor_get(x_90, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_90, 1); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_91, 0); lean_inc(x_103); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_104 = x_90; +x_104 = lean_ctor_get(x_91, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_105 = x_91; } else { - lean_dec_ref(x_90); - x_104 = lean_box(0); + lean_dec_ref(x_91); + x_105 = lean_box(0); } -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); } else { - x_105 = x_104; + x_106 = x_105; } -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_103); -return x_105; +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +return x_106; } } } @@ -36560,7 +32788,7 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_18 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; @@ -36610,288 +32838,288 @@ return x_27; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_5, x_4); -if (x_16 == 0) -{ lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_2); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_6); -lean_ctor_set(x_17, 1, x_15); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); return x_17; } +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_5, x_4); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_6); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} else { -lean_object* x_18; lean_object* x_19; +lean_object* x_19; lean_object* x_20; lean_dec_ref(x_6); -x_18 = lean_array_uget(x_3, x_5); -lean_inc(x_14); -lean_inc_ref(x_13); +x_19 = lean_array_uget(x_3, x_5); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_20 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec_ref(x_20); +lean_inc(x_2); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_1); +x_23 = 1; +x_24 = lean_usize_add(x_5, x_23); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(x_2, x_1, x_3, x_4, x_24, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_21); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_14); +x_15 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_15); +lean_dec_ref(x_2); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_19 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13_spec__13___redArg(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_8); +lean_inc_ref(x_7); +x_16 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_3, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec_ref(x_19); -lean_inc(x_2); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_1); -x_22 = 1; -x_23 = lean_usize_add(x_5, x_22); -x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(x_2, x_1, x_3, x_4, x_23, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); -return x_24; -} -else +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_25; -lean_dec(x_14); -lean_dec_ref(x_13); +uint8_t x_18; +lean_dec_ref(x_15); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_2); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) +lean_dec(x_8); +lean_dec_ref(x_7); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_13); -x_14 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_14); -lean_dec_ref(x_2); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_15 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_3, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -lean_dec_ref(x_14); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 0); -lean_dec(x_18); +lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -lean_dec_ref(x_16); -lean_ctor_set(x_15, 0, x_19); -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = lean_ctor_get(x_17, 0); lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_ctor_get(x_16, 0); +lean_dec_ref(x_17); +lean_ctor_set(x_16, 0, x_20); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); -lean_dec_ref(x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +lean_dec(x_16); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec_ref(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_dec_ref(x_15); -x_24 = lean_ctor_get(x_16, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_16, 1); lean_inc(x_24); lean_dec_ref(x_16); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = lean_array_size(x_14); -x_28 = 0; -x_29 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(x_1, x_25, x_14, x_27, x_28, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -lean_dec_ref(x_14); -if (lean_obj_tag(x_29) == 0) +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec_ref(x_17); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_array_size(x_15); +x_29 = 0; +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(x_1, x_26, x_15, x_28, x_29, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +lean_dec_ref(x_15); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); +lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_30, 0); -if (lean_obj_tag(x_31) == 0) +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 0); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_29, 0); -lean_dec(x_33); -x_34 = lean_ctor_get(x_30, 1); -lean_inc(x_34); -lean_dec(x_30); -lean_ctor_set(x_29, 0, x_34); -return x_29; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_30, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +lean_ctor_set(x_30, 0, x_35); +return x_30; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -lean_dec(x_29); +lean_object* x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_ctor_get(x_30, 1); lean_inc(x_36); lean_dec(x_30); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } else { -uint8_t x_38; -lean_inc_ref(x_31); -lean_dec(x_30); -x_38 = !lean_is_exclusive(x_29); -if (x_38 == 0) +uint8_t x_39; +lean_inc_ref(x_32); +lean_dec(x_31); +x_39 = !lean_is_exclusive(x_30); +if (x_39 == 0) { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_29, 0); -lean_dec(x_39); -x_40 = lean_ctor_get(x_31, 0); -lean_inc(x_40); -lean_dec_ref(x_31); -lean_ctor_set(x_29, 0, x_40); -return x_29; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_29, 1); +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_30, 0); +lean_dec(x_40); +x_41 = lean_ctor_get(x_32, 0); lean_inc(x_41); -lean_dec(x_29); -x_42 = lean_ctor_get(x_31, 0); +lean_dec_ref(x_32); +lean_ctor_set(x_30, 0, x_41); +return x_30; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_30, 1); lean_inc(x_42); -lean_dec_ref(x_31); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_dec(x_30); +x_43 = lean_ctor_get(x_32, 0); +lean_inc(x_43); +lean_dec_ref(x_32); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +return x_44; } } } else { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_29); -if (x_44 == 0) +uint8_t x_45; +x_45 = !lean_is_exclusive(x_30); +if (x_45 == 0) { -return x_29; +return x_30; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_29, 0); -x_46 = lean_ctor_get(x_29, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_30, 0); +x_47 = lean_ctor_get(x_30, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_29); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_dec(x_30); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } else { -uint8_t x_48; -lean_dec_ref(x_14); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_48 = !lean_is_exclusive(x_15); -if (x_48 == 0) +uint8_t x_49; +lean_dec_ref(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_49 = !lean_is_exclusive(x_16); +if (x_49 == 0) { -return x_15; +return x_16; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_15, 0); -x_50 = lean_ctor_get(x_15, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_16, 0); +x_51 = lean_ctor_get(x_16, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_15); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_16); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } @@ -37120,155 +33348,155 @@ return x_75; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_2); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_3); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_3); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; } else { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_1); -if (x_16 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_1); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_1, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_1, 0); lean_inc_ref(x_3); -x_18 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed), 3, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_3); -x_19 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed), 9, 2); +x_19 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed), 3, 2); lean_closure_set(x_19, 0, x_18); -lean_closure_set(x_19, 1, x_2); -x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_20) == 0) +lean_closure_set(x_19, 1, x_3); +x_20 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed), 9, 2); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_2); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); lean_ctor_set(x_1, 0, x_3); -lean_ctor_set(x_20, 0, x_1); -return x_20; +lean_ctor_set(x_21, 0, x_1); +return x_21; } else { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); lean_ctor_set(x_1, 0, x_3); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_23); -return x_24; +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } else { -uint8_t x_25; +uint8_t x_26; lean_free_object(x_1); lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_20); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) { -return x_20; +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_20, 0); -x_27 = lean_ctor_get(x_20, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_1, 0); -lean_inc(x_29); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_1, 0); +lean_inc(x_30); lean_dec(x_1); lean_inc_ref(x_3); -x_30 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed), 3, 2); -lean_closure_set(x_30, 0, x_29); -lean_closure_set(x_30, 1, x_3); -x_31 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed), 9, 2); +x_31 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed), 3, 2); lean_closure_set(x_31, 0, x_30); -lean_closure_set(x_31, 1, x_2); -x_32 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_32) == 0) +lean_closure_set(x_31, 1, x_3); +x_32 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed), 9, 2); +lean_closure_set(x_32, 0, x_31); +lean_closure_set(x_32, 1, x_2); +x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; } else { - lean_dec_ref(x_32); - x_34 = lean_box(0); + lean_dec_ref(x_33); + x_35 = lean_box(0); } -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_3); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_3); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_36 = x_34; + x_37 = x_35; } -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_dec_ref(x_3); -x_37 = lean_ctor_get(x_32, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_32, 1); +x_38 = lean_ctor_get(x_33, 0); lean_inc(x_38); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_39 = x_32; +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_40 = x_33; } else { - lean_dec_ref(x_32); - x_39 = lean_box(0); + lean_dec_ref(x_33); + x_40 = lean_box(0); } -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 2, 0); } else { - x_40 = x_39; + x_41 = x_40; } -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_38); -return x_40; +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } @@ -37412,1812 +33640,1842 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { -lean_object* x_22; uint8_t x_40; -x_40 = lean_usize_dec_lt(x_11, x_10); -if (x_40 == 0) +lean_object* x_23; uint8_t x_41; +x_41 = lean_usize_dec_lt(x_11, x_10); +if (x_41 == 0) { -lean_object* x_41; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_object* x_42; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_12); -lean_ctor_set(x_41, 1, x_21); -return x_41; +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_12); +lean_ctor_set(x_42, 1, x_22); +return x_42; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_42 = lean_array_uget(x_9, x_11); -x_43 = lean_ctor_get(x_42, 1); -lean_inc_ref(x_43); -x_44 = lean_ctor_get(x_42, 2); -lean_inc(x_44); -x_45 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 1); -x_46 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 2); -x_47 = lean_ctor_get(x_42, 4); -lean_inc(x_47); -lean_dec_ref(x_42); -lean_inc(x_47); -x_213 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed), 8, 1); -lean_closure_set(x_213, 0, x_47); +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_43 = lean_array_uget(x_9, x_11); +x_44 = lean_ctor_get(x_43, 1); +lean_inc_ref(x_44); +x_45 = lean_ctor_get(x_43, 2); +lean_inc(x_45); +x_46 = lean_ctor_get_uint8(x_43, sizeof(void*)*5 + 1); +x_47 = lean_ctor_get_uint8(x_43, sizeof(void*)*5 + 2); +x_48 = lean_ctor_get(x_43, 4); +lean_inc(x_48); +lean_dec_ref(x_43); +lean_inc(x_48); +x_221 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed), 8, 1); +lean_closure_set(x_221, 0, x_48); lean_inc_ref(x_1); -x_214 = l_Lean_FileMap_ofPosition(x_1, x_43); -if (lean_obj_tag(x_44) == 0) +x_222 = l_Lean_FileMap_ofPosition(x_1, x_44); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_231; -x_231 = lean_string_utf8_next(x_2, x_214); -x_215 = x_231; -goto block_230; +lean_object* x_239; +x_239 = lean_string_utf8_next(x_2, x_222); +x_223 = x_239; +goto block_238; } else { -lean_object* x_232; lean_object* x_233; -x_232 = lean_ctor_get(x_44, 0); -lean_inc(x_232); -lean_dec_ref(x_44); +lean_object* x_240; lean_object* x_241; +x_240 = lean_ctor_get(x_45, 0); +lean_inc(x_240); +lean_dec_ref(x_45); lean_inc_ref(x_1); -x_233 = l_Lean_FileMap_ofPosition(x_1, x_232); -x_215 = x_233; -goto block_230; +x_241 = l_Lean_FileMap_ofPosition(x_1, x_240); +x_223 = x_241; +goto block_238; } -block_70: +block_72: { -lean_object* x_61; lean_object* x_62; -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_49); -lean_ctor_set(x_61, 1, x_60); -lean_inc(x_56); -lean_inc_ref(x_55); +lean_object* x_63; lean_object* x_64; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_57); +lean_inc_ref(x_60); lean_inc(x_59); -lean_inc_ref(x_48); -lean_inc(x_51); -lean_inc_ref(x_50); -x_62 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_58, x_61, x_53, x_50, x_51, x_48, x_59, x_55, x_56, x_52); +lean_inc_ref(x_56); +lean_inc(x_49); +lean_inc_ref(x_53); +x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_58, x_63, x_52, x_61, x_55, x_53, x_49, x_56, x_59, x_60, x_57, x_51); lean_dec(x_58); -if (lean_obj_tag(x_62) == 0) +if (lean_obj_tag(x_64) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec_ref(x_62); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec_ref(x_64); lean_inc(x_5); lean_inc(x_4); -x_65 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_57, x_63, x_54, x_53, x_50, x_51, x_48, x_59, x_55, x_56, x_64); -x_22 = x_65; -goto block_39; +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_50, x_65, x_52, x_61, x_55, x_53, x_49, x_56, x_59, x_60, x_57, x_66); +x_23 = x_67; +goto block_40; } else { -uint8_t x_66; +uint8_t x_68; +lean_dec_ref(x_60); lean_dec(x_59); -lean_dec_ref(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_51); +lean_dec(x_57); +lean_dec_ref(x_56); +lean_dec_ref(x_53); lean_dec_ref(x_50); -lean_dec_ref(x_48); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_49); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_66 = !lean_is_exclusive(x_62); -if (x_66 == 0) +x_68 = !lean_is_exclusive(x_64); +if (x_68 == 0) { -return x_62; +return x_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_62, 0); -x_68 = lean_ctor_get(x_62, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_62); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } -block_109: +block_112: { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_82 = lean_ctor_get(x_76, 0); -x_83 = lean_ctor_get(x_76, 1); -x_84 = lean_ctor_get(x_76, 2); -x_85 = lean_ctor_get(x_76, 3); -x_86 = lean_ctor_get(x_76, 4); -x_87 = lean_ctor_get(x_76, 5); -x_88 = lean_ctor_get(x_76, 6); -x_89 = lean_ctor_get(x_76, 7); -x_90 = lean_ctor_get(x_76, 8); -x_91 = lean_ctor_get(x_76, 9); -x_92 = lean_ctor_get(x_76, 10); -x_93 = lean_ctor_get(x_76, 11); -x_94 = lean_ctor_get_uint8(x_76, sizeof(void*)*14); -x_95 = lean_ctor_get(x_76, 12); -x_96 = lean_ctor_get_uint8(x_76, sizeof(void*)*14 + 1); -x_97 = lean_ctor_get(x_76, 13); -x_98 = 0; -x_99 = l_Lean_replaceRef(x_79, x_87); -lean_dec(x_79); -lean_inc_ref(x_97); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_85 = lean_ctor_get(x_80, 0); +x_86 = lean_ctor_get(x_80, 1); +x_87 = lean_ctor_get(x_80, 2); +x_88 = lean_ctor_get(x_80, 3); +x_89 = lean_ctor_get(x_80, 4); +x_90 = lean_ctor_get(x_80, 5); +x_91 = lean_ctor_get(x_80, 6); +x_92 = lean_ctor_get(x_80, 7); +x_93 = lean_ctor_get(x_80, 8); +x_94 = lean_ctor_get(x_80, 9); +x_95 = lean_ctor_get(x_80, 10); +x_96 = lean_ctor_get(x_80, 11); +x_97 = lean_ctor_get_uint8(x_80, sizeof(void*)*14); +x_98 = lean_ctor_get(x_80, 12); +x_99 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); +x_100 = lean_ctor_get(x_80, 13); +x_101 = 0; +x_102 = l_Lean_replaceRef(x_77, x_90); +lean_dec(x_77); +lean_inc_ref(x_100); +lean_inc(x_98); +lean_inc(x_96); lean_inc(x_95); +lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); lean_inc(x_89); lean_inc(x_88); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc_ref(x_83); -lean_inc_ref(x_82); -x_100 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_100, 0, x_82); -lean_ctor_set(x_100, 1, x_83); -lean_ctor_set(x_100, 2, x_84); -lean_ctor_set(x_100, 3, x_85); -lean_ctor_set(x_100, 4, x_86); -lean_ctor_set(x_100, 5, x_99); -lean_ctor_set(x_100, 6, x_88); -lean_ctor_set(x_100, 7, x_89); -lean_ctor_set(x_100, 8, x_90); -lean_ctor_set(x_100, 9, x_91); -lean_ctor_set(x_100, 10, x_92); -lean_ctor_set(x_100, 11, x_93); -lean_ctor_set(x_100, 12, x_95); -lean_ctor_set(x_100, 13, x_97); -lean_ctor_set_uint8(x_100, sizeof(void*)*14, x_94); -lean_ctor_set_uint8(x_100, sizeof(void*)*14 + 1, x_96); -lean_inc(x_77); -lean_inc(x_81); -lean_inc_ref(x_71); +lean_inc(x_87); +lean_inc_ref(x_86); +lean_inc_ref(x_85); +x_103 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_103, 0, x_85); +lean_ctor_set(x_103, 1, x_86); +lean_ctor_set(x_103, 2, x_87); +lean_ctor_set(x_103, 3, x_88); +lean_ctor_set(x_103, 4, x_89); +lean_ctor_set(x_103, 5, x_102); +lean_ctor_set(x_103, 6, x_91); +lean_ctor_set(x_103, 7, x_92); +lean_ctor_set(x_103, 8, x_93); +lean_ctor_set(x_103, 9, x_94); +lean_ctor_set(x_103, 10, x_95); +lean_ctor_set(x_103, 11, x_96); +lean_ctor_set(x_103, 12, x_98); +lean_ctor_set(x_103, 13, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*14, x_97); +lean_ctor_set_uint8(x_103, sizeof(void*)*14 + 1, x_99); +lean_inc(x_75); +lean_inc(x_79); +lean_inc_ref(x_76); lean_inc(x_73); -lean_inc_ref(x_72); -x_101 = l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(x_47, x_98, x_3, x_75, x_74, x_72, x_73, x_71, x_81, x_100, x_77, x_80); -if (lean_obj_tag(x_101) == 0) +lean_inc_ref(x_84); +x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_74, x_84, x_73, x_76, x_79, x_103, x_75, x_78); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec_ref(x_101); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); lean_inc(x_5); lean_inc(x_4); -x_104 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_78, x_102, x_75, x_74, x_72, x_73, x_71, x_81, x_76, x_77, x_103); -x_22 = x_104; -goto block_39; +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_82, x_105, x_83, x_81, x_74, x_84, x_73, x_76, x_79, x_80, x_75, x_106); +x_23 = x_107; +goto block_40; } else { -uint8_t x_105; -lean_dec(x_81); -lean_dec_ref(x_78); -lean_dec(x_77); +uint8_t x_108; +lean_dec_ref(x_84); +lean_dec_ref(x_82); +lean_dec_ref(x_80); +lean_dec(x_79); lean_dec_ref(x_76); +lean_dec(x_75); lean_dec(x_73); -lean_dec_ref(x_72); -lean_dec_ref(x_71); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_105 = !lean_is_exclusive(x_101); -if (x_105 == 0) +x_108 = !lean_is_exclusive(x_104); +if (x_108 == 0) { -return x_101; +return x_104; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_101, 0); -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_101); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_104, 0); +x_110 = lean_ctor_get(x_104, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_104); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } -block_136: +block_140: { -if (x_121 == 0) +if (x_125 == 0) { -x_71 = x_110; -x_72 = x_111; -x_73 = x_112; +x_73 = x_114; x_74 = x_113; -x_75 = x_114; +x_75 = x_116; x_76 = x_115; -x_77 = x_116; -x_78 = x_117; +x_77 = x_117; +x_78 = x_119; x_79 = x_118; -x_80 = x_119; -x_81 = x_120; -goto block_109; +x_80 = x_120; +x_81 = x_121; +x_82 = x_122; +x_83 = x_124; +x_84 = x_123; +goto block_112; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; -x_123 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; +x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; lean_inc(x_116); +lean_inc_ref(x_120); +lean_inc(x_118); lean_inc_ref(x_115); -lean_inc(x_120); -lean_inc_ref(x_110); -lean_inc(x_112); -lean_inc_ref(x_111); -x_124 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_122, x_123, x_113, x_111, x_112, x_110, x_120, x_115, x_116, x_119); -if (lean_obj_tag(x_124) == 0) +lean_inc(x_114); +lean_inc_ref(x_123); +x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_113, x_123, x_114, x_115, x_118, x_120, x_116, x_119); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec_ref(x_124); -x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; -x_128 = l_Lean_indentD(x_47); -x_129 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -if (lean_obj_tag(x_125) == 0) +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec_ref(x_128); +x_131 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; +x_132 = l_Lean_indentD(x_48); +x_133 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +if (lean_obj_tag(x_129) == 0) { -lean_object* x_130; -x_130 = l_Lean_Doc_attr___closed__5; -x_48 = x_110; -x_49 = x_129; -x_50 = x_111; -x_51 = x_112; -x_52 = x_126; -x_53 = x_113; -x_54 = x_114; -x_55 = x_115; -x_56 = x_116; -x_57 = x_117; -x_58 = x_118; -x_59 = x_120; -x_60 = x_130; -goto block_70; +lean_object* x_134; +x_134 = l_Lean_Doc_attr___closed__5; +x_49 = x_114; +x_50 = x_122; +x_51 = x_130; +x_52 = x_124; +x_53 = x_123; +x_54 = x_133; +x_55 = x_113; +x_56 = x_115; +x_57 = x_116; +x_58 = x_117; +x_59 = x_118; +x_60 = x_120; +x_61 = x_121; +x_62 = x_134; +goto block_72; } else { -lean_object* x_131; -x_131 = lean_ctor_get(x_125, 0); -lean_inc(x_131); -lean_dec_ref(x_125); -x_48 = x_110; -x_49 = x_129; -x_50 = x_111; -x_51 = x_112; -x_52 = x_126; -x_53 = x_113; -x_54 = x_114; -x_55 = x_115; -x_56 = x_116; -x_57 = x_117; -x_58 = x_118; -x_59 = x_120; -x_60 = x_131; -goto block_70; +lean_object* x_135; +x_135 = lean_ctor_get(x_129, 0); +lean_inc(x_135); +lean_dec_ref(x_129); +x_49 = x_114; +x_50 = x_122; +x_51 = x_130; +x_52 = x_124; +x_53 = x_123; +x_54 = x_133; +x_55 = x_113; +x_56 = x_115; +x_57 = x_116; +x_58 = x_117; +x_59 = x_118; +x_60 = x_120; +x_61 = x_121; +x_62 = x_135; +goto block_72; } } else { -uint8_t x_132; -lean_dec(x_120); +uint8_t x_136; +lean_dec_ref(x_123); +lean_dec_ref(x_122); +lean_dec_ref(x_120); lean_dec(x_118); -lean_dec_ref(x_117); +lean_dec(x_117); lean_dec(x_116); lean_dec_ref(x_115); -lean_dec(x_112); -lean_dec_ref(x_111); -lean_dec_ref(x_110); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_114); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_132 = !lean_is_exclusive(x_124); -if (x_132 == 0) +x_136 = !lean_is_exclusive(x_128); +if (x_136 == 0) { -return x_124; +return x_128; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_124, 0); -x_134 = lean_ctor_get(x_124, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_124); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_128, 0); +x_138 = lean_ctor_get(x_128, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_128); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } } } -block_150: +block_155: { -uint8_t x_148; uint8_t x_149; -x_148 = 1; -x_149 = l_Lean_instBEqMessageSeverity_beq(x_45, x_148); -if (x_149 == 0) +uint8_t x_153; uint8_t x_154; +x_153 = 1; +x_154 = l_Lean_instBEqMessageSeverity_beq(x_46, x_153); +if (x_154 == 0) { -x_71 = x_143; -x_72 = x_141; -x_73 = x_142; -x_74 = x_140; -x_75 = x_139; -x_76 = x_145; -x_77 = x_146; -x_78 = x_137; -x_79 = x_138; -x_80 = x_147; +x_73 = x_147; +x_74 = x_145; +x_75 = x_151; +x_76 = x_148; +x_77 = x_141; +x_78 = x_152; +x_79 = x_149; +x_80 = x_150; x_81 = x_144; -goto block_109; +x_82 = x_142; +x_83 = x_143; +x_84 = x_146; +goto block_112; } else { if (x_6 == 0) { -x_110 = x_143; -x_111 = x_141; -x_112 = x_142; -x_113 = x_140; -x_114 = x_139; -x_115 = x_145; -x_116 = x_146; -x_117 = x_137; -x_118 = x_138; -x_119 = x_147; -x_120 = x_144; -x_121 = x_149; -goto block_136; +x_113 = x_145; +x_114 = x_147; +x_115 = x_148; +x_116 = x_151; +x_117 = x_141; +x_118 = x_149; +x_119 = x_152; +x_120 = x_150; +x_121 = x_144; +x_122 = x_142; +x_123 = x_146; +x_124 = x_143; +x_125 = x_154; +goto block_140; } else { -x_110 = x_143; -x_111 = x_141; -x_112 = x_142; -x_113 = x_140; -x_114 = x_139; -x_115 = x_145; -x_116 = x_146; -x_117 = x_137; -x_118 = x_138; -x_119 = x_147; -x_120 = x_144; -x_121 = x_46; -goto block_136; +x_113 = x_145; +x_114 = x_147; +x_115 = x_148; +x_116 = x_151; +x_117 = x_141; +x_118 = x_149; +x_119 = x_152; +x_120 = x_150; +x_121 = x_144; +x_122 = x_142; +x_123 = x_146; +x_124 = x_143; +x_125 = x_47; +goto block_140; } } } -block_171: +block_177: { -lean_object* x_164; lean_object* x_165; -x_164 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_164, 0, x_153); -lean_ctor_set(x_164, 1, x_163); -lean_inc(x_151); -lean_inc_ref(x_152); -lean_inc(x_155); -lean_inc_ref(x_154); -lean_inc(x_156); -lean_inc_ref(x_162); -x_165 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_160, x_164, x_157, x_162, x_156, x_154, x_155, x_152, x_151, x_159); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec_ref(x_165); -x_137 = x_158; -x_138 = x_160; -x_139 = x_161; -x_140 = x_157; -x_141 = x_162; -x_142 = x_156; -x_143 = x_154; -x_144 = x_155; -x_145 = x_152; -x_146 = x_151; -x_147 = x_166; -goto block_150; -} -else -{ -uint8_t x_167; -lean_dec_ref(x_162); -lean_dec(x_160); -lean_dec_ref(x_158); -lean_dec(x_156); -lean_dec(x_155); -lean_dec_ref(x_154); -lean_dec_ref(x_152); -lean_dec(x_151); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_167 = !lean_is_exclusive(x_165); -if (x_167 == 0) -{ -return x_165; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_165, 0); -x_169 = lean_ctor_get(x_165, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_165); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_168); +lean_object* x_170; lean_object* x_171; +x_170 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_170, 0, x_156); lean_ctor_set(x_170, 1, x_169); -return x_170; -} -} -} -block_198: +lean_inc(x_163); +lean_inc_ref(x_160); +lean_inc(x_159); +lean_inc_ref(x_168); +lean_inc(x_157); +lean_inc_ref(x_162); +x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_164, x_170, x_165, x_161, x_167, x_162, x_157, x_168, x_159, x_160, x_163, x_166); +if (lean_obj_tag(x_171) == 0) { -if (x_183 == 0) -{ -x_137 = x_179; -x_138 = x_180; -x_139 = x_182; -x_140 = x_178; -x_141 = x_181; -x_142 = x_177; -x_143 = x_174; -x_144 = x_176; -x_145 = x_173; -x_146 = x_172; -x_147 = x_175; -goto block_150; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; -x_185 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; +lean_object* x_172; +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_inc_ref(x_173); -lean_inc(x_176); -lean_inc_ref(x_174); -lean_inc(x_177); -lean_inc_ref(x_181); -x_186 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_184, x_185, x_178, x_181, x_177, x_174, x_176, x_173, x_172, x_175); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec_ref(x_186); -x_189 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; -lean_inc(x_47); -x_190 = l_Lean_indentD(x_47); -x_191 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_192; -x_192 = l_Lean_Doc_attr___closed__5; -x_151 = x_172; -x_152 = x_173; -x_153 = x_191; -x_154 = x_174; -x_155 = x_176; -x_156 = x_177; -x_157 = x_178; -x_158 = x_179; -x_159 = x_188; -x_160 = x_180; -x_161 = x_182; -x_162 = x_181; -x_163 = x_192; -goto block_171; +lean_dec_ref(x_171); +x_141 = x_164; +x_142 = x_158; +x_143 = x_165; +x_144 = x_161; +x_145 = x_167; +x_146 = x_162; +x_147 = x_157; +x_148 = x_168; +x_149 = x_159; +x_150 = x_160; +x_151 = x_163; +x_152 = x_172; +goto block_155; } else { -lean_object* x_193; -x_193 = lean_ctor_get(x_187, 0); -lean_inc(x_193); -lean_dec_ref(x_187); -x_151 = x_172; -x_152 = x_173; -x_153 = x_191; -x_154 = x_174; -x_155 = x_176; -x_156 = x_177; -x_157 = x_178; -x_158 = x_179; -x_159 = x_188; -x_160 = x_180; -x_161 = x_182; -x_162 = x_181; -x_163 = x_193; -goto block_171; -} -} -else -{ -uint8_t x_194; -lean_dec_ref(x_181); -lean_dec(x_180); -lean_dec_ref(x_179); -lean_dec(x_177); -lean_dec(x_176); -lean_dec_ref(x_174); -lean_dec_ref(x_173); -lean_dec(x_172); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_173; +lean_dec_ref(x_168); +lean_dec(x_164); +lean_dec(x_163); +lean_dec_ref(x_162); +lean_dec_ref(x_160); +lean_dec(x_159); +lean_dec_ref(x_158); +lean_dec(x_157); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_194 = !lean_is_exclusive(x_186); -if (x_194 == 0) +x_173 = !lean_is_exclusive(x_171); +if (x_173 == 0) { -return x_186; +return x_171; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_186, 0); -x_196 = lean_ctor_get(x_186, 1); -lean_inc(x_196); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_171, 0); +x_175 = lean_ctor_get(x_171, 1); +lean_inc(x_175); +lean_inc(x_174); +lean_dec(x_171); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +return x_176; +} +} +} +block_205: +{ +if (x_190 == 0) +{ +x_141 = x_183; +x_142 = x_186; +x_143 = x_184; +x_144 = x_181; +x_145 = x_188; +x_146 = x_180; +x_147 = x_185; +x_148 = x_189; +x_149 = x_187; +x_150 = x_178; +x_151 = x_179; +x_152 = x_182; +goto block_155; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; +x_192 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; +lean_inc(x_179); +lean_inc_ref(x_178); +lean_inc(x_187); +lean_inc_ref(x_189); +lean_inc(x_185); +lean_inc_ref(x_180); +x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_188, x_180, x_185, x_189, x_187, x_178, x_179, x_182); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); lean_inc(x_195); -lean_dec(x_186); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; -} -} -} -} -block_212: +lean_dec_ref(x_193); +x_196 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; +lean_inc(x_48); +x_197 = l_Lean_indentD(x_48); +x_198 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +if (lean_obj_tag(x_194) == 0) { -uint8_t x_210; uint8_t x_211; -x_210 = 2; -x_211 = l_Lean_instBEqMessageSeverity_beq(x_45, x_210); -if (x_211 == 0) +lean_object* x_199; +x_199 = l_Lean_Doc_attr___closed__5; +x_156 = x_198; +x_157 = x_185; +x_158 = x_186; +x_159 = x_187; +x_160 = x_178; +x_161 = x_181; +x_162 = x_180; +x_163 = x_179; +x_164 = x_183; +x_165 = x_184; +x_166 = x_195; +x_167 = x_188; +x_168 = x_189; +x_169 = x_199; +goto block_177; +} +else { -x_137 = x_200; -x_138 = x_199; -x_139 = x_201; -x_140 = x_202; -x_141 = x_203; -x_142 = x_204; -x_143 = x_205; -x_144 = x_206; -x_145 = x_207; -x_146 = x_208; -x_147 = x_209; -goto block_150; +lean_object* x_200; +x_200 = lean_ctor_get(x_194, 0); +lean_inc(x_200); +lean_dec_ref(x_194); +x_156 = x_198; +x_157 = x_185; +x_158 = x_186; +x_159 = x_187; +x_160 = x_178; +x_161 = x_181; +x_162 = x_180; +x_163 = x_179; +x_164 = x_183; +x_165 = x_184; +x_166 = x_195; +x_167 = x_188; +x_168 = x_189; +x_169 = x_200; +goto block_177; +} +} +else +{ +uint8_t x_201; +lean_dec_ref(x_189); +lean_dec(x_187); +lean_dec_ref(x_186); +lean_dec(x_185); +lean_dec(x_183); +lean_dec_ref(x_180); +lean_dec(x_179); +lean_dec_ref(x_178); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_1); +x_201 = !lean_is_exclusive(x_193); +if (x_201 == 0) +{ +return x_193; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_193, 0); +x_203 = lean_ctor_get(x_193, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_193); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; +} +} +} +} +block_220: +{ +uint8_t x_218; uint8_t x_219; +x_218 = 2; +x_219 = l_Lean_instBEqMessageSeverity_beq(x_46, x_218); +if (x_219 == 0) +{ +x_141 = x_206; +x_142 = x_207; +x_143 = x_208; +x_144 = x_209; +x_145 = x_210; +x_146 = x_211; +x_147 = x_212; +x_148 = x_213; +x_149 = x_214; +x_150 = x_215; +x_151 = x_216; +x_152 = x_217; +goto block_155; } else { if (x_7 == 0) { -x_172 = x_208; -x_173 = x_207; -x_174 = x_205; -x_175 = x_209; -x_176 = x_206; -x_177 = x_204; -x_178 = x_202; -x_179 = x_200; -x_180 = x_199; -x_181 = x_203; -x_182 = x_201; -x_183 = x_211; -goto block_198; +x_178 = x_215; +x_179 = x_216; +x_180 = x_211; +x_181 = x_209; +x_182 = x_217; +x_183 = x_206; +x_184 = x_208; +x_185 = x_212; +x_186 = x_207; +x_187 = x_214; +x_188 = x_210; +x_189 = x_213; +x_190 = x_219; +goto block_205; } else { -x_172 = x_208; -x_173 = x_207; -x_174 = x_205; -x_175 = x_209; -x_176 = x_206; -x_177 = x_204; -x_178 = x_202; -x_179 = x_200; -x_180 = x_199; -x_181 = x_203; -x_182 = x_201; -x_183 = x_46; -goto block_198; +x_178 = x_215; +x_179 = x_216; +x_180 = x_211; +x_181 = x_209; +x_182 = x_217; +x_183 = x_206; +x_184 = x_208; +x_185 = x_212; +x_186 = x_207; +x_187 = x_214; +x_188 = x_210; +x_189 = x_213; +x_190 = x_47; +goto block_205; } } } -block_230: +block_238: { -if (x_46 == 0) +if (x_47 == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_string_utf8_extract(x_2, x_214, x_215); -x_217 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -lean_ctor_set_uint8(x_217, sizeof(void*)*2, x_3); -x_218 = l_Lean_Syntax_mkStrLit(x_216, x_217); +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_string_utf8_extract(x_2, x_222, x_223); +x_225 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_225, 0, x_222); +lean_ctor_set(x_225, 1, x_223); +lean_ctor_set_uint8(x_225, sizeof(void*)*2, x_3); +x_226 = l_Lean_Syntax_mkStrLit(x_224, x_225); if (lean_obj_tag(x_4) == 0) { -lean_dec_ref(x_213); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_199 = x_218; -x_200 = x_12; -x_201 = x_13; -x_202 = x_14; -x_203 = x_15; -x_204 = x_16; -x_205 = x_17; -x_206 = x_18; -x_207 = x_19; -x_208 = x_20; -x_209 = x_21; -goto block_212; +lean_dec_ref(x_221); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_206 = x_226; +x_207 = x_12; +x_208 = x_13; +x_209 = x_14; +x_210 = x_15; +x_211 = x_16; +x_212 = x_17; +x_213 = x_18; +x_214 = x_19; +x_215 = x_20; +x_216 = x_21; +x_217 = x_22; +goto block_220; } else { -lean_object* x_219; -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_219 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_213, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_219) == 0) +lean_object* x_227; +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_227 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_221, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_227) == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec_ref(x_219); -x_222 = lean_box(x_45); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_220); -x_224 = lean_array_push(x_12, x_223); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_199 = x_218; -x_200 = x_224; -x_201 = x_13; -x_202 = x_14; -x_203 = x_15; -x_204 = x_16; -x_205 = x_17; -x_206 = x_18; -x_207 = x_19; -x_208 = x_20; -x_209 = x_221; -goto block_212; +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec_ref(x_227); +x_230 = lean_box(x_46); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_228); +x_232 = lean_array_push(x_12, x_231); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_206 = x_226; +x_207 = x_232; +x_208 = x_13; +x_209 = x_14; +x_210 = x_15; +x_211 = x_16; +x_212 = x_17; +x_213 = x_18; +x_214 = x_19; +x_215 = x_20; +x_216 = x_21; +x_217 = x_229; +goto block_220; } else { -uint8_t x_225; -lean_dec(x_218); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_233; +lean_dec(x_226); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec_ref(x_12); lean_dec(x_5); lean_dec_ref(x_4); lean_dec_ref(x_1); -x_225 = !lean_is_exclusive(x_219); -if (x_225 == 0) +x_233 = !lean_is_exclusive(x_227); +if (x_233 == 0) { -return x_219; +return x_227; } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_219, 0); -x_227 = lean_ctor_get(x_219, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_219); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -return x_228; +lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_234 = lean_ctor_get(x_227, 0); +x_235 = lean_ctor_get(x_227, 1); +lean_inc(x_235); +lean_inc(x_234); +lean_dec(x_227); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +return x_236; } } } } else { -lean_object* x_229; -lean_dec(x_215); -lean_dec(x_214); -lean_dec_ref(x_213); -lean_dec(x_47); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); +lean_object* x_237; +lean_dec(x_223); +lean_dec(x_222); +lean_dec_ref(x_221); +lean_dec(x_48); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); lean_inc(x_5); lean_inc(x_4); -x_229 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -x_22 = x_229; -goto block_39; +x_237 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_23 = x_237; +goto block_40; } } } -block_39: +block_40: { -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); if (lean_obj_tag(x_23) == 0) { -uint8_t x_24; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); +lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec_ref(x_23); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 1); +lean_dec(x_26); +x_27 = lean_ctor_get(x_24, 0); lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 0); +lean_dec_ref(x_24); +lean_ctor_set(x_23, 0, x_27); +return x_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 1); lean_inc(x_28); -lean_dec_ref(x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +lean_dec(x_23); +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); +lean_dec_ref(x_24); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_dec_ref(x_22); -x_31 = lean_ctor_get(x_23, 0); +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; +x_31 = lean_ctor_get(x_23, 1); lean_inc(x_31); lean_dec_ref(x_23); -x_32 = 1; -x_33 = lean_usize_add(x_11, x_32); -x_11 = x_33; -x_12 = x_31; -x_21 = x_30; +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec_ref(x_24); +x_33 = 1; +x_34 = lean_usize_add(x_11, x_33); +x_11 = x_34; +x_12 = x_32; +x_22 = x_31; goto _start; } } else { -uint8_t x_35; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_36; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_35 = !lean_is_exclusive(x_22); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) { -return x_22; +return x_23; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_22, 0); -x_37 = lean_ctor_get(x_22, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_22); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_23); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { -lean_object* x_22; uint8_t x_40; -x_40 = lean_usize_dec_lt(x_11, x_10); -if (x_40 == 0) +lean_object* x_23; uint8_t x_41; +x_41 = lean_usize_dec_lt(x_11, x_10); +if (x_41 == 0) { -lean_object* x_41; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_object* x_42; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_12); -lean_ctor_set(x_41, 1, x_21); -return x_41; +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_12); +lean_ctor_set(x_42, 1, x_22); +return x_42; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_42 = lean_array_uget(x_9, x_11); -x_43 = lean_ctor_get(x_42, 1); -lean_inc_ref(x_43); -x_44 = lean_ctor_get(x_42, 2); -lean_inc(x_44); -x_45 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 1); -x_46 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 2); -x_47 = lean_ctor_get(x_42, 4); -lean_inc(x_47); -lean_dec_ref(x_42); -lean_inc(x_47); -x_213 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed), 8, 1); -lean_closure_set(x_213, 0, x_47); -lean_inc_ref(x_1); -x_214 = l_Lean_FileMap_ofPosition(x_1, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_231; -x_231 = lean_string_utf8_next(x_2, x_214); -x_215 = x_231; -goto block_230; -} -else -{ -lean_object* x_232; lean_object* x_233; -x_232 = lean_ctor_get(x_44, 0); -lean_inc(x_232); -lean_dec_ref(x_44); -lean_inc_ref(x_1); -x_233 = l_Lean_FileMap_ofPosition(x_1, x_232); -x_215 = x_233; -goto block_230; -} -block_70: -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_50); -lean_ctor_set(x_61, 1, x_60); +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_43 = lean_array_uget(x_9, x_11); +x_44 = lean_ctor_get(x_43, 1); +lean_inc_ref(x_44); +x_45 = lean_ctor_get(x_43, 2); +lean_inc(x_45); +x_46 = lean_ctor_get_uint8(x_43, sizeof(void*)*5 + 1); +x_47 = lean_ctor_get_uint8(x_43, sizeof(void*)*5 + 2); +x_48 = lean_ctor_get(x_43, 4); lean_inc(x_48); -lean_inc_ref(x_52); -lean_inc(x_55); -lean_inc_ref(x_56); -lean_inc(x_49); -lean_inc_ref(x_53); -x_62 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_57, x_61, x_51, x_53, x_49, x_56, x_55, x_52, x_48, x_59); -lean_dec(x_57); -if (lean_obj_tag(x_62) == 0) +lean_dec_ref(x_43); +lean_inc(x_48); +x_221 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed), 8, 1); +lean_closure_set(x_221, 0, x_48); +lean_inc_ref(x_1); +x_222 = l_Lean_FileMap_ofPosition(x_1, x_44); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec_ref(x_62); +lean_object* x_239; +x_239 = lean_string_utf8_next(x_2, x_222); +x_223 = x_239; +goto block_238; +} +else +{ +lean_object* x_240; lean_object* x_241; +x_240 = lean_ctor_get(x_45, 0); +lean_inc(x_240); +lean_dec_ref(x_45); +lean_inc_ref(x_1); +x_241 = l_Lean_FileMap_ofPosition(x_1, x_240); +x_223 = x_241; +goto block_238; +} +block_72: +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_49); +lean_inc_ref(x_54); +lean_inc(x_53); +lean_inc_ref(x_55); +lean_inc(x_52); +lean_inc_ref(x_58); +x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_60, x_63, x_57, x_50, x_51, x_58, x_52, x_55, x_53, x_54, x_49, x_59); +lean_dec(x_60); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec_ref(x_64); lean_inc(x_5); lean_inc(x_4); -x_65 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_54, x_63, x_58, x_51, x_53, x_49, x_56, x_55, x_52, x_48, x_64); -x_22 = x_65; -goto block_39; +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_61, x_65, x_57, x_50, x_51, x_58, x_52, x_55, x_53, x_54, x_49, x_66); +x_23 = x_67; +goto block_40; } else { -uint8_t x_66; -lean_dec_ref(x_56); -lean_dec(x_55); +uint8_t x_68; +lean_dec_ref(x_61); +lean_dec_ref(x_58); +lean_dec_ref(x_55); lean_dec_ref(x_54); -lean_dec_ref(x_53); -lean_dec_ref(x_52); +lean_dec(x_53); +lean_dec(x_52); lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_66 = !lean_is_exclusive(x_62); -if (x_66 == 0) +x_68 = !lean_is_exclusive(x_64); +if (x_68 == 0) { -return x_62; +return x_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_62, 0); -x_68 = lean_ctor_get(x_62, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_62); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } -block_109: +block_112: { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_82 = lean_ctor_get(x_75, 0); -x_83 = lean_ctor_get(x_75, 1); -x_84 = lean_ctor_get(x_75, 2); -x_85 = lean_ctor_get(x_75, 3); -x_86 = lean_ctor_get(x_75, 4); -x_87 = lean_ctor_get(x_75, 5); -x_88 = lean_ctor_get(x_75, 6); -x_89 = lean_ctor_get(x_75, 7); -x_90 = lean_ctor_get(x_75, 8); -x_91 = lean_ctor_get(x_75, 9); -x_92 = lean_ctor_get(x_75, 10); -x_93 = lean_ctor_get(x_75, 11); -x_94 = lean_ctor_get_uint8(x_75, sizeof(void*)*14); -x_95 = lean_ctor_get(x_75, 12); -x_96 = lean_ctor_get_uint8(x_75, sizeof(void*)*14 + 1); -x_97 = lean_ctor_get(x_75, 13); -x_98 = 0; -x_99 = l_Lean_replaceRef(x_79, x_87); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_85 = lean_ctor_get(x_80, 0); +x_86 = lean_ctor_get(x_80, 1); +x_87 = lean_ctor_get(x_80, 2); +x_88 = lean_ctor_get(x_80, 3); +x_89 = lean_ctor_get(x_80, 4); +x_90 = lean_ctor_get(x_80, 5); +x_91 = lean_ctor_get(x_80, 6); +x_92 = lean_ctor_get(x_80, 7); +x_93 = lean_ctor_get(x_80, 8); +x_94 = lean_ctor_get(x_80, 9); +x_95 = lean_ctor_get(x_80, 10); +x_96 = lean_ctor_get(x_80, 11); +x_97 = lean_ctor_get_uint8(x_80, sizeof(void*)*14); +x_98 = lean_ctor_get(x_80, 12); +x_99 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); +x_100 = lean_ctor_get(x_80, 13); +x_101 = 0; +x_102 = l_Lean_replaceRef(x_79, x_90); lean_dec(x_79); -lean_inc_ref(x_97); +lean_inc_ref(x_100); +lean_inc(x_98); +lean_inc(x_96); lean_inc(x_95); +lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); lean_inc(x_89); lean_inc(x_88); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc_ref(x_83); -lean_inc_ref(x_82); -x_100 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_100, 0, x_82); -lean_ctor_set(x_100, 1, x_83); -lean_ctor_set(x_100, 2, x_84); -lean_ctor_set(x_100, 3, x_85); -lean_ctor_set(x_100, 4, x_86); -lean_ctor_set(x_100, 5, x_99); -lean_ctor_set(x_100, 6, x_88); -lean_ctor_set(x_100, 7, x_89); -lean_ctor_set(x_100, 8, x_90); -lean_ctor_set(x_100, 9, x_91); -lean_ctor_set(x_100, 10, x_92); -lean_ctor_set(x_100, 11, x_93); -lean_ctor_set(x_100, 12, x_95); -lean_ctor_set(x_100, 13, x_97); -lean_ctor_set_uint8(x_100, sizeof(void*)*14, x_94); -lean_ctor_set_uint8(x_100, sizeof(void*)*14 + 1, x_96); -lean_inc(x_71); +lean_inc(x_87); +lean_inc_ref(x_86); +lean_inc_ref(x_85); +x_103 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_103, 0, x_85); +lean_ctor_set(x_103, 1, x_86); +lean_ctor_set(x_103, 2, x_87); +lean_ctor_set(x_103, 3, x_88); +lean_ctor_set(x_103, 4, x_89); +lean_ctor_set(x_103, 5, x_102); +lean_ctor_set(x_103, 6, x_91); +lean_ctor_set(x_103, 7, x_92); +lean_ctor_set(x_103, 8, x_93); +lean_ctor_set(x_103, 9, x_94); +lean_ctor_set(x_103, 10, x_95); +lean_ctor_set(x_103, 11, x_96); +lean_ctor_set(x_103, 12, x_98); +lean_ctor_set(x_103, 13, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*14, x_97); +lean_ctor_set_uint8(x_103, sizeof(void*)*14 + 1, x_99); +lean_inc(x_73); +lean_inc(x_78); +lean_inc_ref(x_81); lean_inc(x_77); -lean_inc_ref(x_78); -lean_inc(x_72); lean_inc_ref(x_74); -x_101 = l_Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0(x_47, x_98, x_3, x_80, x_73, x_74, x_72, x_78, x_77, x_100, x_71, x_81); -if (lean_obj_tag(x_101) == 0) +x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_76, x_74, x_77, x_81, x_78, x_103, x_73, x_84); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec_ref(x_101); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); lean_inc(x_5); lean_inc(x_4); -x_104 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_76, x_102, x_80, x_73, x_74, x_72, x_78, x_77, x_75, x_71, x_103); -x_22 = x_104; -goto block_39; +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_83, x_105, x_82, x_75, x_76, x_74, x_77, x_81, x_78, x_80, x_73, x_106); +x_23 = x_107; +goto block_40; } else { -uint8_t x_105; -lean_dec_ref(x_78); +uint8_t x_108; +lean_dec_ref(x_83); +lean_dec_ref(x_81); +lean_dec_ref(x_80); +lean_dec(x_78); lean_dec(x_77); -lean_dec_ref(x_76); -lean_dec_ref(x_75); lean_dec_ref(x_74); -lean_dec(x_72); -lean_dec(x_71); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_73); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_105 = !lean_is_exclusive(x_101); -if (x_105 == 0) +x_108 = !lean_is_exclusive(x_104); +if (x_108 == 0) { -return x_101; +return x_104; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_101, 0); -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_101); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; -} -} -} -block_136: -{ -if (x_121 == 0) -{ -x_71 = x_111; -x_72 = x_110; -x_73 = x_112; -x_74 = x_114; -x_75 = x_113; -x_76 = x_116; -x_77 = x_115; -x_78 = x_118; -x_79 = x_117; -x_80 = x_119; -x_81 = x_120; -goto block_109; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; -x_123 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; -lean_inc(x_111); -lean_inc_ref(x_113); -lean_inc(x_115); -lean_inc_ref(x_118); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_104, 0); +x_110 = lean_ctor_get(x_104, 1); lean_inc(x_110); -lean_inc_ref(x_114); -x_124 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_122, x_123, x_112, x_114, x_110, x_118, x_115, x_113, x_111, x_120); -if (lean_obj_tag(x_124) == 0) +lean_inc(x_109); +lean_dec(x_104); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +block_140: { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec_ref(x_124); -x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; -x_128 = l_Lean_indentD(x_47); -x_129 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -if (lean_obj_tag(x_125) == 0) +if (x_125 == 0) { -lean_object* x_130; -x_130 = l_Lean_Doc_attr___closed__5; -x_48 = x_111; -x_49 = x_110; -x_50 = x_129; -x_51 = x_112; -x_52 = x_113; -x_53 = x_114; -x_54 = x_116; -x_55 = x_115; -x_56 = x_118; -x_57 = x_117; -x_58 = x_119; -x_59 = x_126; -x_60 = x_130; -goto block_70; +x_73 = x_114; +x_74 = x_113; +x_75 = x_115; +x_76 = x_116; +x_77 = x_117; +x_78 = x_120; +x_79 = x_119; +x_80 = x_118; +x_81 = x_121; +x_82 = x_123; +x_83 = x_122; +x_84 = x_124; +goto block_112; } else { -lean_object* x_131; -x_131 = lean_ctor_get(x_125, 0); -lean_inc(x_131); -lean_dec_ref(x_125); -x_48 = x_111; -x_49 = x_110; -x_50 = x_129; -x_51 = x_112; -x_52 = x_113; -x_53 = x_114; -x_54 = x_116; -x_55 = x_115; -x_56 = x_118; -x_57 = x_117; -x_58 = x_119; -x_59 = x_126; -x_60 = x_131; -goto block_70; +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; +x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; +lean_inc(x_114); +lean_inc_ref(x_118); +lean_inc(x_120); +lean_inc_ref(x_121); +lean_inc(x_117); +lean_inc_ref(x_113); +x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_116, x_113, x_117, x_121, x_120, x_118, x_114, x_124); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec_ref(x_128); +x_131 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; +x_132 = l_Lean_indentD(x_48); +x_133 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_134; +x_134 = l_Lean_Doc_attr___closed__5; +x_49 = x_114; +x_50 = x_115; +x_51 = x_116; +x_52 = x_117; +x_53 = x_120; +x_54 = x_118; +x_55 = x_121; +x_56 = x_133; +x_57 = x_123; +x_58 = x_113; +x_59 = x_130; +x_60 = x_119; +x_61 = x_122; +x_62 = x_134; +goto block_72; +} +else +{ +lean_object* x_135; +x_135 = lean_ctor_get(x_129, 0); +lean_inc(x_135); +lean_dec_ref(x_129); +x_49 = x_114; +x_50 = x_115; +x_51 = x_116; +x_52 = x_117; +x_53 = x_120; +x_54 = x_118; +x_55 = x_121; +x_56 = x_133; +x_57 = x_123; +x_58 = x_113; +x_59 = x_130; +x_60 = x_119; +x_61 = x_122; +x_62 = x_135; +goto block_72; } } else { -uint8_t x_132; +uint8_t x_136; +lean_dec_ref(x_122); +lean_dec_ref(x_121); +lean_dec(x_120); +lean_dec(x_119); lean_dec_ref(x_118); lean_dec(x_117); -lean_dec_ref(x_116); -lean_dec(x_115); -lean_dec_ref(x_114); +lean_dec(x_114); lean_dec_ref(x_113); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_132 = !lean_is_exclusive(x_124); -if (x_132 == 0) +x_136 = !lean_is_exclusive(x_128); +if (x_136 == 0) { -return x_124; +return x_128; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_124, 0); -x_134 = lean_ctor_get(x_124, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_124); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_128, 0); +x_138 = lean_ctor_get(x_128, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_128); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } } } -block_150: +block_155: { -uint8_t x_148; uint8_t x_149; -x_148 = 1; -x_149 = l_Lean_instBEqMessageSeverity_beq(x_45, x_148); -if (x_149 == 0) +uint8_t x_153; uint8_t x_154; +x_153 = 1; +x_154 = l_Lean_instBEqMessageSeverity_beq(x_46, x_153); +if (x_154 == 0) { -x_71 = x_146; -x_72 = x_142; -x_73 = x_140; -x_74 = x_141; -x_75 = x_145; -x_76 = x_137; -x_77 = x_144; -x_78 = x_143; -x_79 = x_138; -x_80 = x_139; -x_81 = x_147; -goto block_109; +x_73 = x_151; +x_74 = x_146; +x_75 = x_144; +x_76 = x_145; +x_77 = x_147; +x_78 = x_149; +x_79 = x_141; +x_80 = x_150; +x_81 = x_148; +x_82 = x_143; +x_83 = x_142; +x_84 = x_152; +goto block_112; } else { if (x_6 == 0) { -x_110 = x_142; -x_111 = x_146; -x_112 = x_140; -x_113 = x_145; -x_114 = x_141; +x_113 = x_146; +x_114 = x_151; x_115 = x_144; -x_116 = x_137; -x_117 = x_138; -x_118 = x_143; -x_119 = x_139; -x_120 = x_147; -x_121 = x_149; -goto block_136; +x_116 = x_145; +x_117 = x_147; +x_118 = x_150; +x_119 = x_141; +x_120 = x_149; +x_121 = x_148; +x_122 = x_142; +x_123 = x_143; +x_124 = x_152; +x_125 = x_154; +goto block_140; } else { -x_110 = x_142; -x_111 = x_146; -x_112 = x_140; -x_113 = x_145; -x_114 = x_141; +x_113 = x_146; +x_114 = x_151; x_115 = x_144; -x_116 = x_137; -x_117 = x_138; -x_118 = x_143; -x_119 = x_139; -x_120 = x_147; -x_121 = x_46; -goto block_136; +x_116 = x_145; +x_117 = x_147; +x_118 = x_150; +x_119 = x_141; +x_120 = x_149; +x_121 = x_148; +x_122 = x_142; +x_123 = x_143; +x_124 = x_152; +x_125 = x_47; +goto block_140; } } } -block_171: +block_177: { -lean_object* x_164; lean_object* x_165; -x_164 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_164, 0, x_152); -lean_ctor_set(x_164, 1, x_163); -lean_inc(x_154); -lean_inc_ref(x_155); -lean_inc(x_156); -lean_inc_ref(x_162); -lean_inc(x_159); -lean_inc_ref(x_160); -x_165 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_157, x_164, x_161, x_160, x_159, x_162, x_156, x_155, x_154, x_158); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec_ref(x_165); -x_137 = x_153; -x_138 = x_157; -x_139 = x_151; -x_140 = x_161; -x_141 = x_160; -x_142 = x_159; -x_143 = x_162; -x_144 = x_156; -x_145 = x_155; -x_146 = x_154; -x_147 = x_166; -goto block_150; -} -else -{ -uint8_t x_167; -lean_dec_ref(x_162); -lean_dec_ref(x_160); -lean_dec(x_159); -lean_dec(x_157); -lean_dec(x_156); -lean_dec_ref(x_155); -lean_dec(x_154); -lean_dec_ref(x_153); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_1); -x_167 = !lean_is_exclusive(x_165); -if (x_167 == 0) -{ -return x_165; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_165, 0); -x_169 = lean_ctor_get(x_165, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_165); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_168); +lean_object* x_170; lean_object* x_171; +x_170 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_170, 0, x_156); lean_ctor_set(x_170, 1, x_169); -return x_170; -} -} -} -block_198: +lean_inc(x_166); +lean_inc_ref(x_164); +lean_inc(x_163); +lean_inc_ref(x_165); +lean_inc(x_160); +lean_inc_ref(x_161); +x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_167, x_170, x_157, x_158, x_162, x_161, x_160, x_165, x_163, x_164, x_166, x_159); +if (lean_obj_tag(x_171) == 0) { -if (x_183 == 0) -{ -x_137 = x_174; -x_138 = x_178; -x_139 = x_172; -x_140 = x_181; -x_141 = x_180; -x_142 = x_179; -x_143 = x_182; -x_144 = x_177; -x_145 = x_176; -x_146 = x_175; -x_147 = x_173; -goto block_150; +lean_object* x_172; +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec_ref(x_171); +x_141 = x_167; +x_142 = x_168; +x_143 = x_157; +x_144 = x_158; +x_145 = x_162; +x_146 = x_161; +x_147 = x_160; +x_148 = x_165; +x_149 = x_163; +x_150 = x_164; +x_151 = x_166; +x_152 = x_172; +goto block_155; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; -x_185 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; -lean_inc(x_175); -lean_inc_ref(x_176); -lean_inc(x_177); -lean_inc_ref(x_182); -lean_inc(x_179); -lean_inc_ref(x_180); -x_186 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_184, x_185, x_181, x_180, x_179, x_182, x_177, x_176, x_175, x_173); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec_ref(x_186); -x_189 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; -lean_inc(x_47); -x_190 = l_Lean_indentD(x_47); -x_191 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_192; -x_192 = l_Lean_Doc_attr___closed__5; -x_151 = x_172; -x_152 = x_191; -x_153 = x_174; -x_154 = x_175; -x_155 = x_176; -x_156 = x_177; -x_157 = x_178; -x_158 = x_188; -x_159 = x_179; -x_160 = x_180; -x_161 = x_181; -x_162 = x_182; -x_163 = x_192; -goto block_171; -} -else -{ -lean_object* x_193; -x_193 = lean_ctor_get(x_187, 0); -lean_inc(x_193); -lean_dec_ref(x_187); -x_151 = x_172; -x_152 = x_191; -x_153 = x_174; -x_154 = x_175; -x_155 = x_176; -x_156 = x_177; -x_157 = x_178; -x_158 = x_188; -x_159 = x_179; -x_160 = x_180; -x_161 = x_181; -x_162 = x_182; -x_163 = x_193; -goto block_171; -} -} -else -{ -uint8_t x_194; -lean_dec_ref(x_182); -lean_dec_ref(x_180); -lean_dec(x_179); -lean_dec(x_178); -lean_dec(x_177); -lean_dec_ref(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_173; +lean_dec_ref(x_168); +lean_dec(x_167); +lean_dec(x_166); +lean_dec_ref(x_165); +lean_dec_ref(x_164); +lean_dec(x_163); +lean_dec_ref(x_161); +lean_dec(x_160); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_194 = !lean_is_exclusive(x_186); -if (x_194 == 0) +x_173 = !lean_is_exclusive(x_171); +if (x_173 == 0) { -return x_186; +return x_171; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_186, 0); -x_196 = lean_ctor_get(x_186, 1); -lean_inc(x_196); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_171, 0); +x_175 = lean_ctor_get(x_171, 1); +lean_inc(x_175); +lean_inc(x_174); +lean_dec(x_171); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +return x_176; +} +} +} +block_205: +{ +if (x_190 == 0) +{ +x_141 = x_187; +x_142 = x_188; +x_143 = x_181; +x_144 = x_180; +x_145 = x_179; +x_146 = x_189; +x_147 = x_185; +x_148 = x_184; +x_149 = x_178; +x_150 = x_183; +x_151 = x_186; +x_152 = x_182; +goto block_155; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; +x_192 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; +lean_inc(x_186); +lean_inc_ref(x_183); +lean_inc(x_178); +lean_inc_ref(x_184); +lean_inc(x_185); +lean_inc_ref(x_189); +x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_179, x_189, x_185, x_184, x_178, x_183, x_186, x_182); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); lean_inc(x_195); +lean_dec_ref(x_193); +x_196 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; +lean_inc(x_48); +x_197 = l_Lean_indentD(x_48); +x_198 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_199; +x_199 = l_Lean_Doc_attr___closed__5; +x_156 = x_198; +x_157 = x_181; +x_158 = x_180; +x_159 = x_195; +x_160 = x_185; +x_161 = x_189; +x_162 = x_179; +x_163 = x_178; +x_164 = x_183; +x_165 = x_184; +x_166 = x_186; +x_167 = x_187; +x_168 = x_188; +x_169 = x_199; +goto block_177; +} +else +{ +lean_object* x_200; +x_200 = lean_ctor_get(x_194, 0); +lean_inc(x_200); +lean_dec_ref(x_194); +x_156 = x_198; +x_157 = x_181; +x_158 = x_180; +x_159 = x_195; +x_160 = x_185; +x_161 = x_189; +x_162 = x_179; +x_163 = x_178; +x_164 = x_183; +x_165 = x_184; +x_166 = x_186; +x_167 = x_187; +x_168 = x_188; +x_169 = x_200; +goto block_177; +} +} +else +{ +uint8_t x_201; +lean_dec_ref(x_189); +lean_dec_ref(x_188); +lean_dec(x_187); lean_dec(x_186); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; -} -} -} -} -block_212: +lean_dec(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_183); +lean_dec(x_178); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_1); +x_201 = !lean_is_exclusive(x_193); +if (x_201 == 0) { -uint8_t x_210; uint8_t x_211; -x_210 = 2; -x_211 = l_Lean_instBEqMessageSeverity_beq(x_45, x_210); -if (x_211 == 0) +return x_193; +} +else { -x_137 = x_200; -x_138 = x_199; -x_139 = x_201; -x_140 = x_202; -x_141 = x_203; -x_142 = x_204; -x_143 = x_205; -x_144 = x_206; -x_145 = x_207; -x_146 = x_208; -x_147 = x_209; -goto block_150; +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_193, 0); +x_203 = lean_ctor_get(x_193, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_193); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; +} +} +} +} +block_220: +{ +uint8_t x_218; uint8_t x_219; +x_218 = 2; +x_219 = l_Lean_instBEqMessageSeverity_beq(x_46, x_218); +if (x_219 == 0) +{ +x_141 = x_206; +x_142 = x_207; +x_143 = x_208; +x_144 = x_209; +x_145 = x_210; +x_146 = x_211; +x_147 = x_212; +x_148 = x_213; +x_149 = x_214; +x_150 = x_215; +x_151 = x_216; +x_152 = x_217; +goto block_155; } else { if (x_7 == 0) { -x_172 = x_201; -x_173 = x_209; -x_174 = x_200; -x_175 = x_208; -x_176 = x_207; -x_177 = x_206; -x_178 = x_199; -x_179 = x_204; -x_180 = x_203; -x_181 = x_202; -x_182 = x_205; -x_183 = x_211; -goto block_198; +x_178 = x_214; +x_179 = x_210; +x_180 = x_209; +x_181 = x_208; +x_182 = x_217; +x_183 = x_215; +x_184 = x_213; +x_185 = x_212; +x_186 = x_216; +x_187 = x_206; +x_188 = x_207; +x_189 = x_211; +x_190 = x_219; +goto block_205; } else { -x_172 = x_201; -x_173 = x_209; -x_174 = x_200; -x_175 = x_208; -x_176 = x_207; -x_177 = x_206; -x_178 = x_199; -x_179 = x_204; -x_180 = x_203; -x_181 = x_202; -x_182 = x_205; -x_183 = x_46; -goto block_198; +x_178 = x_214; +x_179 = x_210; +x_180 = x_209; +x_181 = x_208; +x_182 = x_217; +x_183 = x_215; +x_184 = x_213; +x_185 = x_212; +x_186 = x_216; +x_187 = x_206; +x_188 = x_207; +x_189 = x_211; +x_190 = x_47; +goto block_205; } } } -block_230: +block_238: { -if (x_46 == 0) +if (x_47 == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_string_utf8_extract(x_2, x_214, x_215); -x_217 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -lean_ctor_set_uint8(x_217, sizeof(void*)*2, x_3); -x_218 = l_Lean_Syntax_mkStrLit(x_216, x_217); +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_string_utf8_extract(x_2, x_222, x_223); +x_225 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_225, 0, x_222); +lean_ctor_set(x_225, 1, x_223); +lean_ctor_set_uint8(x_225, sizeof(void*)*2, x_3); +x_226 = l_Lean_Syntax_mkStrLit(x_224, x_225); if (lean_obj_tag(x_4) == 0) { -lean_dec_ref(x_213); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_199 = x_218; -x_200 = x_12; -x_201 = x_13; -x_202 = x_14; -x_203 = x_15; -x_204 = x_16; -x_205 = x_17; -x_206 = x_18; -x_207 = x_19; -x_208 = x_20; -x_209 = x_21; -goto block_212; +lean_dec_ref(x_221); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_206 = x_226; +x_207 = x_12; +x_208 = x_13; +x_209 = x_14; +x_210 = x_15; +x_211 = x_16; +x_212 = x_17; +x_213 = x_18; +x_214 = x_19; +x_215 = x_20; +x_216 = x_21; +x_217 = x_22; +goto block_220; } else { -lean_object* x_219; -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_219 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_213, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_219) == 0) +lean_object* x_227; +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_227 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_221, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_227) == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec_ref(x_219); -x_222 = lean_box(x_45); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_220); -x_224 = lean_array_push(x_12, x_223); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_199 = x_218; -x_200 = x_224; -x_201 = x_13; -x_202 = x_14; -x_203 = x_15; -x_204 = x_16; -x_205 = x_17; -x_206 = x_18; -x_207 = x_19; -x_208 = x_20; -x_209 = x_221; -goto block_212; +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec_ref(x_227); +x_230 = lean_box(x_46); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_228); +x_232 = lean_array_push(x_12, x_231); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +x_206 = x_226; +x_207 = x_232; +x_208 = x_13; +x_209 = x_14; +x_210 = x_15; +x_211 = x_16; +x_212 = x_17; +x_213 = x_18; +x_214 = x_19; +x_215 = x_20; +x_216 = x_21; +x_217 = x_229; +goto block_220; } else { -uint8_t x_225; -lean_dec(x_218); -lean_dec(x_47); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_233; +lean_dec(x_226); +lean_dec(x_48); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec_ref(x_12); lean_dec(x_5); lean_dec_ref(x_4); lean_dec_ref(x_1); -x_225 = !lean_is_exclusive(x_219); -if (x_225 == 0) +x_233 = !lean_is_exclusive(x_227); +if (x_233 == 0) { -return x_219; +return x_227; } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_219, 0); -x_227 = lean_ctor_get(x_219, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_219); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -return x_228; +lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_234 = lean_ctor_get(x_227, 0); +x_235 = lean_ctor_get(x_227, 1); +lean_inc(x_235); +lean_inc(x_234); +lean_dec(x_227); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +return x_236; } } } } else { -lean_object* x_229; -lean_dec(x_215); -lean_dec(x_214); -lean_dec_ref(x_213); -lean_dec(x_47); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); +lean_object* x_237; +lean_dec(x_223); +lean_dec(x_222); +lean_dec_ref(x_221); +lean_dec(x_48); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); lean_inc(x_5); lean_inc(x_4); -x_229 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -x_22 = x_229; -goto block_39; +x_237 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_23 = x_237; +goto block_40; } } } -block_39: +block_40: { -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); if (lean_obj_tag(x_23) == 0) { -uint8_t x_24; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); +lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec_ref(x_23); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 1); +lean_dec(x_26); +x_27 = lean_ctor_get(x_24, 0); lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 0); +lean_dec_ref(x_24); +lean_ctor_set(x_23, 0, x_27); +return x_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 1); lean_inc(x_28); -lean_dec_ref(x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +lean_dec(x_23); +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); +lean_dec_ref(x_24); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_dec_ref(x_22); -x_31 = lean_ctor_get(x_23, 0); +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_23, 1); lean_inc(x_31); lean_dec_ref(x_23); -x_32 = 1; -x_33 = lean_usize_add(x_11, x_32); -x_34 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33, x_31, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_30); -return x_34; +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec_ref(x_24); +x_33 = 1; +x_34 = lean_usize_add(x_11, x_33); +x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34, x_32, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_31); +return x_35; } } else { -uint8_t x_35; -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +uint8_t x_36; +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_1); -x_35 = !lean_is_exclusive(x_22); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) { -return x_22; +return x_23; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_22, 0); -x_37 = lean_ctor_get(x_22, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_22); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_23); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, size_t x_15, size_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, size_t x_15, size_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26, lean_object* x_27) { _start: { -lean_object* x_27; -x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_1, x_2, x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); -return x_27; +lean_object* x_28; +x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_1, x_2, x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27); +return x_28; } } static lean_object* _init_l_Lean_Doc_lean___closed__0() { @@ -39391,208 +35649,203 @@ static lean_object* _init_l_Lean_Doc_lean___closed__16() { _start: { lean_object* x_1; -x_1 = l_Std_Format_defWidth; +x_1 = l_Lean_Doc_Block_empty(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_lean(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Doc_lean(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1; +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_15) == 0) +x_17 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec_ref(x_15); -x_18 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -if (lean_obj_tag(x_19) == 0) +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_19); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_243; lean_object* x_244; lean_object* x_249; lean_object* x_255; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec_ref(x_19); -x_22 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0; -x_23 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0; -x_24 = 1; -x_255 = l_Lean_Syntax_getPos_x3f(x_4, x_24); -if (lean_obj_tag(x_255) == 0) +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_235; lean_object* x_236; lean_object* x_241; lean_object* x_247; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; +x_25 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +x_26 = 1; +x_247 = l_Lean_Syntax_getPos_x3f(x_5, x_26); +if (lean_obj_tag(x_247) == 0) { -lean_object* x_256; lean_object* x_257; -x_256 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_257 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_256); -x_249 = x_257; -goto block_254; +lean_object* x_248; lean_object* x_249; +x_248 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_249 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_248); +x_241 = x_249; +goto block_246; } else { -lean_object* x_258; -x_258 = lean_ctor_get(x_255, 0); -lean_inc(x_258); -lean_dec_ref(x_255); -x_249 = x_258; -goto block_254; +lean_object* x_250; +x_250 = lean_ctor_get(x_247, 0); +lean_inc(x_250); +lean_dec_ref(x_247); +x_241 = x_250; +goto block_246; } -block_242: +block_234: { -lean_object* x_28; +lean_object* x_30; +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); -if (lean_obj_tag(x_28) == 0) +x_30 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec_ref(x_28); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_31 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_ctor_get(x_31, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec_ref(x_31); -x_34 = lean_st_ref_get(x_6, x_33); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +lean_dec_ref(x_30); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_33 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_34, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec_ref(x_33); +x_36 = lean_st_ref_get(x_8, x_35); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_11, 4); -lean_inc_ref(x_25); -x_40 = l_Lean_Parser_mkInputContext___redArg(x_25, x_29, x_24, x_27); -x_41 = lean_unsigned_to_nat(0u); -x_42 = lean_box(0); -x_43 = lean_box(0); -x_44 = l_Lean_Doc_lean___closed__0; +x_39 = lean_ctor_get(x_36, 1); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_13, 4); +lean_inc_ref(x_28); +x_42 = l_Lean_Parser_mkInputContext___redArg(x_28, x_31, x_26, x_29); +x_43 = lean_unsigned_to_nat(0u); +x_44 = lean_box(0); x_45 = lean_box(0); -x_46 = 0; -lean_inc(x_16); -x_47 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_47, 0, x_32); -lean_ctor_set(x_47, 1, x_16); -lean_ctor_set(x_47, 2, x_41); -lean_ctor_set(x_47, 3, x_41); -lean_ctor_set(x_47, 4, x_42); -lean_ctor_set(x_47, 5, x_43); -lean_ctor_set(x_47, 6, x_44); -lean_ctor_set(x_47, 7, x_45); -lean_ctor_set(x_47, 8, x_43); -lean_ctor_set(x_47, 9, x_43); -lean_ctor_set_uint8(x_47, sizeof(void*)*10, x_46); -x_48 = l_Lean_Doc_lean___closed__4; -x_49 = l_Lean_Doc_lean___closed__5; -x_50 = l_Lean_Doc_lean___closed__6; -x_51 = l_Lean_Doc_lean___closed__9; -x_52 = lean_box(0); -x_53 = l_Lean_Doc_lean___closed__10; -x_54 = l_Lean_Doc_lean___closed__13; -x_55 = l_Lean_Doc_lean___closed__14; -x_56 = l_Lean_Doc_lean___closed__15; -lean_inc(x_39); -x_57 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_57, 0, x_20); -lean_ctor_set(x_57, 1, x_49); -lean_ctor_set(x_57, 2, x_38); -lean_ctor_set(x_57, 3, x_48); -lean_ctor_set(x_57, 4, x_50); -lean_ctor_set(x_57, 5, x_39); -lean_ctor_set(x_57, 6, x_51); -lean_ctor_set(x_57, 7, x_53); -lean_ctor_set(x_57, 8, x_54); -lean_ctor_set(x_57, 9, x_55); -lean_ctor_set(x_57, 10, x_56); -x_58 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_58, 0, x_26); -lean_ctor_set_uint8(x_58, sizeof(void*)*1, x_46); -lean_ctor_set(x_34, 1, x_58); -lean_ctor_set(x_34, 0, x_56); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_34); +x_46 = l_Lean_Doc_lean___closed__0; +x_47 = lean_box(0); +x_48 = 0; +lean_inc(x_18); +x_49 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_49, 0, x_34); +lean_ctor_set(x_49, 1, x_18); +lean_ctor_set(x_49, 2, x_43); +lean_ctor_set(x_49, 3, x_43); +lean_ctor_set(x_49, 4, x_44); +lean_ctor_set(x_49, 5, x_45); +lean_ctor_set(x_49, 6, x_46); +lean_ctor_set(x_49, 7, x_47); +lean_ctor_set(x_49, 8, x_45); +lean_ctor_set(x_49, 9, x_45); +lean_ctor_set_uint8(x_49, sizeof(void*)*10, x_48); +x_50 = l_Lean_Doc_lean___closed__4; +x_51 = l_Lean_Doc_lean___closed__5; +x_52 = l_Lean_Doc_lean___closed__6; +x_53 = l_Lean_Doc_lean___closed__9; +x_54 = lean_box(0); +x_55 = l_Lean_Doc_lean___closed__10; +x_56 = l_Lean_Doc_lean___closed__13; +x_57 = l_Lean_Doc_lean___closed__14; +x_58 = l_Lean_Doc_lean___closed__15; +lean_inc(x_41); +x_59 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_59, 0, x_22); +lean_ctor_set(x_59, 1, x_51); +lean_ctor_set(x_59, 2, x_40); +lean_ctor_set(x_59, 3, x_50); +lean_ctor_set(x_59, 4, x_52); +lean_ctor_set(x_59, 5, x_41); +lean_ctor_set(x_59, 6, x_53); +lean_ctor_set(x_59, 7, x_55); +lean_ctor_set(x_59, 8, x_56); +lean_ctor_set(x_59, 9, x_57); +lean_ctor_set(x_59, 10, x_58); +x_60 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_60, 0, x_27); +lean_ctor_set_uint8(x_60, sizeof(void*)*1, x_48); +lean_ctor_set(x_36, 1, x_60); +lean_ctor_set(x_36, 0, x_58); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_36); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_60 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_23, x_40, x_47, x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_60) == 0) +x_62 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_25, x_42, x_49, x_61, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_39); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_60, 1); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec_ref(x_60); -x_65 = lean_ctor_get(x_62, 0); -lean_inc(x_65); -lean_dec(x_62); -x_66 = lean_ctor_get(x_63, 0); -lean_inc_ref(x_66); -x_67 = lean_ctor_get(x_63, 1); -lean_inc_ref(x_67); -x_68 = lean_ctor_get(x_63, 2); -lean_inc(x_68); -x_69 = lean_ctor_get(x_63, 8); -lean_inc_ref(x_69); lean_dec(x_63); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_dec_ref(x_62); +x_66 = lean_ctor_get(x_64, 0); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_64, 1); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_64, 2); +lean_inc(x_68); +x_69 = lean_ctor_get(x_64, 8); +lean_inc_ref(x_69); +lean_dec(x_64); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_70 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_66, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_64); +x_70 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_66, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_65); if (lean_obj_tag(x_70) == 0) { lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec_ref(x_70); -x_72 = lean_st_ref_take(x_6, x_71); +x_72 = lean_st_ref_take(x_8, x_71); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); @@ -39605,7 +35858,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean x_76 = lean_ctor_get(x_73, 0); lean_dec(x_76); lean_ctor_set(x_73, 0, x_68); -x_77 = lean_st_ref_set(x_6, x_73, x_74); +x_77 = lean_st_ref_set(x_8, x_73, x_74); x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec_ref(x_77); @@ -39613,13 +35866,13 @@ x_79 = lean_ctor_get(x_69, 2); lean_inc_ref(x_79); lean_dec_ref(x_69); x_80 = lean_box(0); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_81 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_80, x_79, x_80, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +x_81 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_80, x_79, x_80, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78); if (lean_obj_tag(x_81) == 0) { lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; lean_object* x_86; @@ -39630,72 +35883,117 @@ x_83 = l_Lean_MessageLog_toArray(x_67); lean_dec_ref(x_67); x_84 = lean_array_size(x_83); x_85 = 0; -x_86 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_16, x_25, x_24, x_1, x_52, x_3, x_2, x_80, x_83, x_84, x_85, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +x_86 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_18, x_28, x_26, x_1, x_54, x_3, x_2, x_80, x_83, x_84, x_85, x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_82); lean_dec_ref(x_83); -lean_dec_ref(x_25); +lean_dec_ref(x_28); if (lean_obj_tag(x_86) == 0) { +if (x_4 == 0) +{ uint8_t x_87; x_87 = !lean_is_exclusive(x_86); if (x_87 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_object* x_88; lean_object* x_89; x_88 = lean_ctor_get(x_86, 0); lean_dec(x_88); -x_89 = l_Lean_Doc_option___closed__6; -x_90 = lean_box(2); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -lean_ctor_set(x_91, 2, x_65); -x_92 = l_Lean_Syntax_formatStx(x_91, x_43, x_46); -x_93 = l_Lean_Doc_lean___closed__16; -x_94 = lean_format_pretty(x_92, x_93, x_41, x_41); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_86, 0, x_95); +x_89 = l_Lean_Doc_lean___closed__16; +lean_ctor_set(x_86, 0, x_89); return x_86; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_96 = lean_ctor_get(x_86, 1); -lean_inc(x_96); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); lean_dec(x_86); -x_97 = l_Lean_Doc_option___closed__6; -x_98 = lean_box(2); -x_99 = lean_alloc_ctor(1, 3, 0); +x_91 = l_Lean_Doc_lean___closed__16; +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_86); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_86, 0); +lean_dec(x_94); +x_95 = l_Lean_TSyntax_getString(x_5); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_86, 0, x_96); +return x_86; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_97 = lean_ctor_get(x_86, 1); +lean_inc(x_97); +lean_dec(x_86); +x_98 = l_Lean_TSyntax_getString(x_5); +x_99 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -lean_ctor_set(x_99, 2, x_65); -x_100 = l_Lean_Syntax_formatStx(x_99, x_43, x_46); -x_101 = l_Lean_Doc_lean___closed__16; -x_102 = lean_format_pretty(x_100, x_101, x_41, x_41); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_96); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +return x_100; +} +} +} +else +{ +uint8_t x_101; +x_101 = !lean_is_exclusive(x_86); +if (x_101 == 0) +{ +return x_86; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_86, 0); +x_103 = lean_ctor_get(x_86, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_86); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); return x_104; } } +} else { uint8_t x_105; -lean_dec(x_65); -x_105 = !lean_is_exclusive(x_86); +lean_dec_ref(x_67); +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_1); +x_105 = !lean_is_exclusive(x_81); if (x_105 == 0) { -return x_86; +return x_81; } else { lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_86, 0); -x_107 = lean_ctor_get(x_86, 1); +x_106 = lean_ctor_get(x_81, 0); +x_107 = lean_ctor_get(x_81, 1); lean_inc(x_107); lean_inc(x_106); -lean_dec(x_86); +lean_dec(x_81); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); @@ -39705,460 +36003,525 @@ return x_108; } else { -uint8_t x_109; -lean_dec_ref(x_67); -lean_dec(x_65); -lean_dec_ref(x_25); -lean_dec(x_16); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_1); -x_109 = !lean_is_exclusive(x_81); -if (x_109 == 0) -{ -return x_81; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_81, 0); -x_111 = lean_ctor_get(x_81, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_109 = lean_ctor_get(x_73, 1); +x_110 = lean_ctor_get(x_73, 2); +x_111 = lean_ctor_get(x_73, 3); lean_inc(x_111); lean_inc(x_110); -lean_dec(x_81); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_113 = lean_ctor_get(x_73, 1); -x_114 = lean_ctor_get(x_73, 2); -x_115 = lean_ctor_get(x_73, 3); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); +lean_inc(x_109); lean_dec(x_73); -x_116 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_116, 0, x_68); -lean_ctor_set(x_116, 1, x_113); -lean_ctor_set(x_116, 2, x_114); -lean_ctor_set(x_116, 3, x_115); -x_117 = lean_st_ref_set(x_6, x_116, x_74); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec_ref(x_117); -x_119 = lean_ctor_get(x_69, 2); -lean_inc_ref(x_119); +x_112 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_112, 0, x_68); +lean_ctor_set(x_112, 1, x_109); +lean_ctor_set(x_112, 2, x_110); +lean_ctor_set(x_112, 3, x_111); +x_113 = lean_st_ref_set(x_8, x_112, x_74); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +lean_dec_ref(x_113); +x_115 = lean_ctor_get(x_69, 2); +lean_inc_ref(x_115); lean_dec_ref(x_69); -x_120 = lean_box(0); +x_116 = lean_box(0); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_121 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_120, x_119, x_120, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_118); -if (lean_obj_tag(x_121) == 0) +x_117 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_116, x_115, x_116, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_114); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_122; lean_object* x_123; size_t x_124; size_t x_125; lean_object* x_126; -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec_ref(x_121); -x_123 = l_Lean_MessageLog_toArray(x_67); +lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; lean_object* x_122; +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +lean_dec_ref(x_117); +x_119 = l_Lean_MessageLog_toArray(x_67); lean_dec_ref(x_67); -x_124 = lean_array_size(x_123); -x_125 = 0; -x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_16, x_25, x_24, x_1, x_52, x_3, x_2, x_120, x_123, x_124, x_125, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_122); -lean_dec_ref(x_123); -lean_dec_ref(x_25); -if (lean_obj_tag(x_126) == 0) +x_120 = lean_array_size(x_119); +x_121 = 0; +x_122 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_18, x_28, x_26, x_1, x_54, x_3, x_2, x_116, x_119, x_120, x_121, x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_118); +lean_dec_ref(x_119); +lean_dec_ref(x_28); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; +if (x_4 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; } else { - lean_dec_ref(x_126); + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +x_125 = l_Lean_Doc_lean___closed__16; +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_123); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_127 = lean_ctor_get(x_122, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_128 = x_122; +} else { + lean_dec_ref(x_122); x_128 = lean_box(0); } -x_129 = l_Lean_Doc_option___closed__6; -x_130 = lean_box(2); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_129); -lean_ctor_set(x_131, 2, x_65); -x_132 = l_Lean_Syntax_formatStx(x_131, x_43, x_46); -x_133 = l_Lean_Doc_lean___closed__16; -x_134 = lean_format_pretty(x_132, x_133, x_41, x_41); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); +x_129 = l_Lean_TSyntax_getString(x_5); +x_130 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_130, 0, x_129); if (lean_is_scalar(x_128)) { - x_136 = lean_alloc_ctor(0, 2, 0); + x_131 = lean_alloc_ctor(0, 2, 0); } else { - x_136 = x_128; + x_131 = x_128; } -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_127); -return x_136; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_65); -x_137 = lean_ctor_get(x_126, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_126, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_139 = x_126; -} else { - lean_dec_ref(x_126); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_127); +return x_131; } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_132 = lean_ctor_get(x_122, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_122, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_134 = x_122; +} else { + lean_dec_ref(x_122); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_dec_ref(x_67); -lean_dec(x_65); -lean_dec_ref(x_25); -lean_dec(x_16); +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_141 = lean_ctor_get(x_121, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_121, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_143 = x_121; +x_136 = lean_ctor_get(x_117, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_117, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_138 = x_117; } else { - lean_dec_ref(x_121); - x_143 = lean_box(0); + lean_dec_ref(x_117); + x_138 = lean_box(0); } -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); } else { - x_144 = x_143; + x_139 = x_138; } -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -return x_144; +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; } } } else { -uint8_t x_145; +uint8_t x_140; lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec(x_65); -lean_dec_ref(x_25); -lean_dec(x_16); +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_145 = !lean_is_exclusive(x_70); -if (x_145 == 0) +x_140 = !lean_is_exclusive(x_70); +if (x_140 == 0) { return x_70; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_70, 0); -x_147 = lean_ctor_get(x_70, 1); -lean_inc(x_147); -lean_inc(x_146); +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_70, 0); +x_142 = lean_ctor_get(x_70, 1); +lean_inc(x_142); +lean_inc(x_141); lean_dec(x_70); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } } else { -uint8_t x_149; -lean_dec_ref(x_25); -lean_dec(x_16); +uint8_t x_144; +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_149 = !lean_is_exclusive(x_60); -if (x_149 == 0) +x_144 = !lean_is_exclusive(x_62); +if (x_144 == 0) { -return x_60; +return x_62; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_60, 0); -x_151 = lean_ctor_get(x_60, 1); -lean_inc(x_151); +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_62, 0); +x_146 = lean_ctor_get(x_62, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_62); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +return x_147; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_148 = lean_ctor_get(x_36, 0); +x_149 = lean_ctor_get(x_36, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_36); +x_150 = lean_ctor_get(x_148, 0); lean_inc(x_150); -lean_dec(x_60); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; +lean_dec(x_148); +x_151 = lean_ctor_get(x_13, 4); +lean_inc_ref(x_28); +x_152 = l_Lean_Parser_mkInputContext___redArg(x_28, x_31, x_26, x_29); +x_153 = lean_unsigned_to_nat(0u); +x_154 = lean_box(0); +x_155 = lean_box(0); +x_156 = l_Lean_Doc_lean___closed__0; +x_157 = lean_box(0); +x_158 = 0; +lean_inc(x_18); +x_159 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_159, 0, x_34); +lean_ctor_set(x_159, 1, x_18); +lean_ctor_set(x_159, 2, x_153); +lean_ctor_set(x_159, 3, x_153); +lean_ctor_set(x_159, 4, x_154); +lean_ctor_set(x_159, 5, x_155); +lean_ctor_set(x_159, 6, x_156); +lean_ctor_set(x_159, 7, x_157); +lean_ctor_set(x_159, 8, x_155); +lean_ctor_set(x_159, 9, x_155); +lean_ctor_set_uint8(x_159, sizeof(void*)*10, x_158); +x_160 = l_Lean_Doc_lean___closed__4; +x_161 = l_Lean_Doc_lean___closed__5; +x_162 = l_Lean_Doc_lean___closed__6; +x_163 = l_Lean_Doc_lean___closed__9; +x_164 = lean_box(0); +x_165 = l_Lean_Doc_lean___closed__10; +x_166 = l_Lean_Doc_lean___closed__13; +x_167 = l_Lean_Doc_lean___closed__14; +x_168 = l_Lean_Doc_lean___closed__15; +lean_inc(x_151); +x_169 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_169, 0, x_22); +lean_ctor_set(x_169, 1, x_161); +lean_ctor_set(x_169, 2, x_150); +lean_ctor_set(x_169, 3, x_160); +lean_ctor_set(x_169, 4, x_162); +lean_ctor_set(x_169, 5, x_151); +lean_ctor_set(x_169, 6, x_163); +lean_ctor_set(x_169, 7, x_165); +lean_ctor_set(x_169, 8, x_166); +lean_ctor_set(x_169, 9, x_167); +lean_ctor_set(x_169, 10, x_168); +x_170 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_170, 0, x_27); +lean_ctor_set_uint8(x_170, sizeof(void*)*1, x_158); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_171); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_173 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_25, x_152, x_159, x_172, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_149); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_dec_ref(x_173); +x_177 = lean_ctor_get(x_175, 0); +lean_inc_ref(x_177); +x_178 = lean_ctor_get(x_175, 1); +lean_inc_ref(x_178); +x_179 = lean_ctor_get(x_175, 2); +lean_inc(x_179); +x_180 = lean_ctor_get(x_175, 8); +lean_inc_ref(x_180); +lean_dec(x_175); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_181 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_177, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_176); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +lean_dec_ref(x_181); +x_183 = lean_st_ref_take(x_8, x_182); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec_ref(x_183); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +x_187 = lean_ctor_get(x_184, 2); +lean_inc_ref(x_187); +x_188 = lean_ctor_get(x_184, 3); +lean_inc(x_188); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + lean_ctor_release(x_184, 2); + lean_ctor_release(x_184, 3); + x_189 = x_184; +} else { + lean_dec_ref(x_184); + x_189 = lean_box(0); } +if (lean_is_scalar(x_189)) { + x_190 = lean_alloc_ctor(0, 4, 0); +} else { + x_190 = x_189; +} +lean_ctor_set(x_190, 0, x_179); +lean_ctor_set(x_190, 1, x_186); +lean_ctor_set(x_190, 2, x_187); +lean_ctor_set(x_190, 3, x_188); +x_191 = lean_st_ref_set(x_8, x_190, x_185); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +lean_dec_ref(x_191); +x_193 = lean_ctor_get(x_180, 2); +lean_inc_ref(x_193); +lean_dec_ref(x_180); +x_194 = lean_box(0); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_195 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_194, x_193, x_194, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_192); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_196; lean_object* x_197; size_t x_198; size_t x_199; lean_object* x_200; +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +lean_dec_ref(x_195); +x_197 = l_Lean_MessageLog_toArray(x_178); +lean_dec_ref(x_178); +x_198 = lean_array_size(x_197); +x_199 = 0; +x_200 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_18, x_28, x_26, x_1, x_164, x_3, x_2, x_194, x_197, x_198, x_199, x_168, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_196); +lean_dec_ref(x_197); +lean_dec_ref(x_28); +if (lean_obj_tag(x_200) == 0) +{ +if (x_4 == 0) +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_201 = lean_ctor_get(x_200, 1); +lean_inc(x_201); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_202 = x_200; +} else { + lean_dec_ref(x_200); + x_202 = lean_box(0); +} +x_203 = l_Lean_Doc_lean___closed__16; +if (lean_is_scalar(x_202)) { + x_204 = lean_alloc_ctor(0, 2, 0); +} else { + x_204 = x_202; +} +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_201); +return x_204; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_205 = lean_ctor_get(x_200, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_206 = x_200; +} else { + lean_dec_ref(x_200); + x_206 = lean_box(0); +} +x_207 = l_Lean_TSyntax_getString(x_5); +x_208 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_208, 0, x_207); +if (lean_is_scalar(x_206)) { + x_209 = lean_alloc_ctor(0, 2, 0); +} else { + x_209 = x_206; +} +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_205); +return x_209; } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_153 = lean_ctor_get(x_34, 0); -x_154 = lean_ctor_get(x_34, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_34); -x_155 = lean_ctor_get(x_153, 0); -lean_inc(x_155); -lean_dec(x_153); -x_156 = lean_ctor_get(x_11, 4); -lean_inc_ref(x_25); -x_157 = l_Lean_Parser_mkInputContext___redArg(x_25, x_29, x_24, x_27); -x_158 = lean_unsigned_to_nat(0u); -x_159 = lean_box(0); -x_160 = lean_box(0); -x_161 = l_Lean_Doc_lean___closed__0; -x_162 = lean_box(0); -x_163 = 0; -lean_inc(x_16); -x_164 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_164, 0, x_32); -lean_ctor_set(x_164, 1, x_16); -lean_ctor_set(x_164, 2, x_158); -lean_ctor_set(x_164, 3, x_158); -lean_ctor_set(x_164, 4, x_159); -lean_ctor_set(x_164, 5, x_160); -lean_ctor_set(x_164, 6, x_161); -lean_ctor_set(x_164, 7, x_162); -lean_ctor_set(x_164, 8, x_160); -lean_ctor_set(x_164, 9, x_160); -lean_ctor_set_uint8(x_164, sizeof(void*)*10, x_163); -x_165 = l_Lean_Doc_lean___closed__4; -x_166 = l_Lean_Doc_lean___closed__5; -x_167 = l_Lean_Doc_lean___closed__6; -x_168 = l_Lean_Doc_lean___closed__9; -x_169 = lean_box(0); -x_170 = l_Lean_Doc_lean___closed__10; -x_171 = l_Lean_Doc_lean___closed__13; -x_172 = l_Lean_Doc_lean___closed__14; -x_173 = l_Lean_Doc_lean___closed__15; -lean_inc(x_156); -x_174 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_174, 0, x_20); -lean_ctor_set(x_174, 1, x_166); -lean_ctor_set(x_174, 2, x_155); -lean_ctor_set(x_174, 3, x_165); -lean_ctor_set(x_174, 4, x_167); -lean_ctor_set(x_174, 5, x_156); -lean_ctor_set(x_174, 6, x_168); -lean_ctor_set(x_174, 7, x_170); -lean_ctor_set(x_174, 8, x_171); -lean_ctor_set(x_174, 9, x_172); -lean_ctor_set(x_174, 10, x_173); -x_175 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_175, 0, x_26); -lean_ctor_set_uint8(x_175, sizeof(void*)*1, x_163); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_174); -lean_ctor_set(x_177, 1, x_176); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_178 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_23, x_157, x_164, x_177, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_154); -if (lean_obj_tag(x_178) == 0) +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_210 = lean_ctor_get(x_200, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_200, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_212 = x_200; +} else { + lean_dec_ref(x_200); + x_212 = lean_box(0); +} +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(1, 2, 0); +} else { + x_213 = x_212; +} +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +return x_213; +} +} +else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 0); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_dec_ref(x_178); -x_183 = lean_ctor_get(x_180, 0); -lean_inc(x_183); -lean_dec(x_180); -x_184 = lean_ctor_get(x_181, 0); -lean_inc_ref(x_184); -x_185 = lean_ctor_get(x_181, 1); -lean_inc_ref(x_185); -x_186 = lean_ctor_get(x_181, 2); -lean_inc(x_186); -x_187 = lean_ctor_get(x_181, 8); -lean_inc_ref(x_187); -lean_dec(x_181); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_188 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(x_184, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_182); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec_ref(x_188); -x_190 = lean_st_ref_take(x_6, x_189); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec_ref(x_190); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_191, 2); -lean_inc_ref(x_194); -x_195 = lean_ctor_get(x_191, 3); -lean_inc(x_195); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_196 = x_191; +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_1); +x_214 = lean_ctor_get(x_195, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_195, 1); +lean_inc(x_215); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_216 = x_195; } else { - lean_dec_ref(x_191); - x_196 = lean_box(0); + lean_dec_ref(x_195); + x_216 = lean_box(0); } -if (lean_is_scalar(x_196)) { - x_197 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_216)) { + x_217 = lean_alloc_ctor(1, 2, 0); } else { - x_197 = x_196; + x_217 = x_216; } -lean_ctor_set(x_197, 0, x_186); -lean_ctor_set(x_197, 1, x_193); -lean_ctor_set(x_197, 2, x_194); -lean_ctor_set(x_197, 3, x_195); -x_198 = lean_st_ref_set(x_6, x_197, x_192); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec_ref(x_198); -x_200 = lean_ctor_get(x_187, 2); -lean_inc_ref(x_200); -lean_dec_ref(x_187); -x_201 = lean_box(0); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_202 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_201, x_200, x_201, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_199); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; size_t x_205; size_t x_206; lean_object* x_207; -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec_ref(x_202); -x_204 = l_Lean_MessageLog_toArray(x_185); -lean_dec_ref(x_185); -x_205 = lean_array_size(x_204); -x_206 = 0; -x_207 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_16, x_25, x_24, x_1, x_169, x_3, x_2, x_201, x_204, x_205, x_206, x_173, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_203); -lean_dec_ref(x_204); -lean_dec_ref(x_25); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_209 = x_207; -} else { - lean_dec_ref(x_207); - x_209 = lean_box(0); -} -x_210 = l_Lean_Doc_option___closed__6; -x_211 = lean_box(2); -x_212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -lean_ctor_set(x_212, 2, x_183); -x_213 = l_Lean_Syntax_formatStx(x_212, x_160, x_163); -x_214 = l_Lean_Doc_lean___closed__16; -x_215 = lean_format_pretty(x_213, x_214, x_158, x_158); -x_216 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_216, 0, x_215); -if (lean_is_scalar(x_209)) { - x_217 = lean_alloc_ctor(0, 2, 0); -} else { - x_217 = x_209; -} -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_208); +lean_ctor_set(x_217, 0, x_214); +lean_ctor_set(x_217, 1, x_215); return x_217; } +} else { lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec(x_183); -x_218 = lean_ctor_get(x_207, 0); +lean_dec_ref(x_180); +lean_dec(x_179); +lean_dec_ref(x_178); +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_1); +x_218 = lean_ctor_get(x_181, 0); lean_inc(x_218); -x_219 = lean_ctor_get(x_207, 1); +x_219 = lean_ctor_get(x_181, 1); lean_inc(x_219); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_220 = x_207; +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_220 = x_181; } else { - lean_dec_ref(x_207); + lean_dec_ref(x_181); x_220 = lean_box(0); } if (lean_is_scalar(x_220)) { @@ -40174,27 +36537,25 @@ return x_221; else { lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -lean_dec_ref(x_185); -lean_dec(x_183); -lean_dec_ref(x_25); -lean_dec(x_16); +lean_dec_ref(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_222 = lean_ctor_get(x_202, 0); +x_222 = lean_ctor_get(x_173, 0); lean_inc(x_222); -x_223 = lean_ctor_get(x_202, 1); +x_223 = lean_ctor_get(x_173, 1); lean_inc(x_223); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_224 = x_202; +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_224 = x_173; } else { - lean_dec_ref(x_202); + lean_dec_ref(x_173); x_224 = lean_box(0); } if (lean_is_scalar(x_224)) { @@ -40207,270 +36568,199 @@ lean_ctor_set(x_225, 1, x_223); return x_225; } } +} else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -lean_dec_ref(x_187); -lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_183); -lean_dec_ref(x_25); -lean_dec(x_16); +uint8_t x_226; +lean_dec(x_31); +lean_dec(x_29); +lean_dec_ref(x_28); +lean_dec(x_27); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_226 = lean_ctor_get(x_188, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_188, 1); +x_226 = !lean_is_exclusive(x_33); +if (x_226 == 0) +{ +return x_33; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_227 = lean_ctor_get(x_33, 0); +x_228 = lean_ctor_get(x_33, 1); +lean_inc(x_228); lean_inc(x_227); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_228 = x_188; -} else { - lean_dec_ref(x_188); - x_228 = lean_box(0); -} -if (lean_is_scalar(x_228)) { - x_229 = lean_alloc_ctor(1, 2, 0); -} else { - x_229 = x_228; -} -lean_ctor_set(x_229, 0, x_226); -lean_ctor_set(x_229, 1, x_227); +lean_dec(x_33); +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_227); +lean_ctor_set(x_229, 1, x_228); return x_229; } } +} else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -lean_dec_ref(x_25); -lean_dec(x_16); +uint8_t x_230; +lean_dec(x_29); +lean_dec_ref(x_28); +lean_dec(x_27); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_230 = lean_ctor_get(x_178, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_178, 1); +x_230 = !lean_is_exclusive(x_30); +if (x_230 == 0) +{ +return x_30; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_30, 0); +x_232 = lean_ctor_get(x_30, 1); +lean_inc(x_232); lean_inc(x_231); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_232 = x_178; -} else { - lean_dec_ref(x_178); - x_232 = lean_box(0); -} -if (lean_is_scalar(x_232)) { - x_233 = lean_alloc_ctor(1, 2, 0); -} else { - x_233 = x_232; -} -lean_ctor_set(x_233, 0, x_230); -lean_ctor_set(x_233, 1, x_231); +lean_dec(x_30); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_231); +lean_ctor_set(x_233, 1, x_232); return x_233; } } } +block_240: +{ +lean_object* x_237; lean_object* x_238; uint8_t x_239; +x_237 = lean_ctor_get(x_18, 0); +x_238 = lean_string_utf8_byte_size(x_237); +x_239 = lean_nat_dec_le(x_236, x_238); +if (x_239 == 0) +{ +lean_dec(x_236); +lean_inc_ref(x_237); +x_27 = x_235; +x_28 = x_237; +x_29 = x_238; +goto block_234; +} else { -uint8_t x_234; -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_25); -lean_dec(x_20); -lean_dec(x_16); +lean_dec(x_238); +lean_inc_ref(x_237); +x_27 = x_235; +x_28 = x_237; +x_29 = x_236; +goto block_234; +} +} +block_246: +{ +lean_object* x_242; +x_242 = l_Lean_Syntax_getTailPos_x3f(x_5, x_26); +if (lean_obj_tag(x_242) == 0) +{ +lean_object* x_243; lean_object* x_244; +x_243 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_244 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_243); +x_235 = x_241; +x_236 = x_244; +goto block_240; +} +else +{ +lean_object* x_245; +x_245 = lean_ctor_get(x_242, 0); +lean_inc(x_245); +lean_dec_ref(x_242); +x_235 = x_241; +x_236 = x_245; +goto block_240; +} +} +} +else +{ +uint8_t x_251; +lean_dec(x_18); +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_234 = !lean_is_exclusive(x_31); -if (x_234 == 0) +x_251 = !lean_is_exclusive(x_21); +if (x_251 == 0) { -return x_31; +return x_21; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_235 = lean_ctor_get(x_31, 0); -x_236 = lean_ctor_get(x_31, 1); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_31); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -return x_237; -} -} -} -else -{ -uint8_t x_238; -lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_25); -lean_dec(x_20); -lean_dec(x_16); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_1); -x_238 = !lean_is_exclusive(x_28); -if (x_238 == 0) -{ -return x_28; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_239 = lean_ctor_get(x_28, 0); -x_240 = lean_ctor_get(x_28, 1); -lean_inc(x_240); -lean_inc(x_239); -lean_dec(x_28); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_239); -lean_ctor_set(x_241, 1, x_240); -return x_241; -} -} -} -block_248: -{ -lean_object* x_245; lean_object* x_246; uint8_t x_247; -x_245 = lean_ctor_get(x_16, 0); -x_246 = lean_string_utf8_byte_size(x_245); -x_247 = lean_nat_dec_le(x_244, x_246); -if (x_247 == 0) -{ -lean_dec(x_244); -lean_inc_ref(x_245); -x_25 = x_245; -x_26 = x_243; -x_27 = x_246; -goto block_242; -} -else -{ -lean_dec(x_246); -lean_inc_ref(x_245); -x_25 = x_245; -x_26 = x_243; -x_27 = x_244; -goto block_242; -} -} -block_254: -{ -lean_object* x_250; -x_250 = l_Lean_Syntax_getTailPos_x3f(x_4, x_24); -if (lean_obj_tag(x_250) == 0) -{ -lean_object* x_251; lean_object* x_252; -x_251 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5; -x_252 = l_panic___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_spec__0(x_251); -x_243 = x_249; -x_244 = x_252; -goto block_248; -} -else -{ -lean_object* x_253; -x_253 = lean_ctor_get(x_250, 0); +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_21, 0); +x_253 = lean_ctor_get(x_21, 1); lean_inc(x_253); -lean_dec_ref(x_250); -x_243 = x_249; -x_244 = x_253; -goto block_248; +lean_inc(x_252); +lean_dec(x_21); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +return x_254; } } } else { -uint8_t x_259; -lean_dec(x_16); +uint8_t x_255; +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec(x_1); -x_259 = !lean_is_exclusive(x_19); -if (x_259 == 0) +x_255 = !lean_is_exclusive(x_17); +if (x_255 == 0) { -return x_19; +return x_17; } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_19, 0); -x_261 = lean_ctor_get(x_19, 1); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_19); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -return x_262; -} -} -} -else -{ -uint8_t x_263; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_1); -x_263 = !lean_is_exclusive(x_15); -if (x_263 == 0) -{ -return x_15; -} -else -{ -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_15, 0); -x_265 = lean_ctor_get(x_15, 1); -lean_inc(x_265); -lean_inc(x_264); -lean_dec(x_15); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_264); -lean_ctor_set(x_266, 1, x_265); -return x_266; +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_17, 0); +x_257 = lean_ctor_get(x_17, 1); +lean_inc(x_257); +lean_inc(x_256); +lean_dec(x_17); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +return x_258; } } } } -LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_dec_ref(x_5); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -40496,29 +36786,48 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_setEnv___at___Lean_Doc_lean_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_dec_ref(x_2); +return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec_ref(x_8); lean_dec_ref(x_4); -return x_19; +return x_20; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -40535,44 +36844,47 @@ lean_dec_ref(x_3); return x_17; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec_ref(x_3); -return x_18; +return x_19; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec_ref(x_3); -return x_18; +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l_Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_dec_ref(x_5); +return x_15; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -40589,44 +36901,47 @@ lean_dec_ref(x_3); return x_17; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec_ref(x_3); -return x_18; +return x_19; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec_ref(x_3); -return x_18; +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_14; +x_14 = l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_13; +lean_dec_ref(x_4); +return x_14; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -40652,14 +36967,15 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_dec_ref(x_5); +return x_15; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -40698,22 +37014,24 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; _start: { -uint8_t x_22; uint8_t x_23; uint8_t x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_22 = lean_unbox(x_3); -x_23 = lean_unbox(x_6); -x_24 = lean_unbox(x_7); -x_25 = lean_unbox_usize(x_10); +uint8_t x_23; uint8_t x_24; uint8_t x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_23 = lean_unbox(x_3); +x_24 = lean_unbox(x_6); +x_25 = lean_unbox(x_7); +x_26 = lean_unbox_usize(x_10); lean_dec(x_10); -x_26 = lean_unbox_usize(x_11); +x_27 = lean_unbox_usize(x_11); lean_dec(x_11); -x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(x_1, x_2, x_22, x_4, x_5, x_23, x_24, x_8, x_9, x_25, x_26, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(x_1, x_2, x_23, x_4, x_5, x_24, x_25, x_8, x_9, x_26, x_27, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); +lean_dec_ref(x_13); lean_dec_ref(x_9); lean_dec_ref(x_2); -return x_27; +return x_28; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg___boxed(lean_object** _args) { @@ -40738,22 +37056,24 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; _start: { -uint8_t x_22; uint8_t x_23; uint8_t x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_22 = lean_unbox(x_3); -x_23 = lean_unbox(x_6); -x_24 = lean_unbox(x_7); -x_25 = lean_unbox_usize(x_10); +uint8_t x_23; uint8_t x_24; uint8_t x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_23 = lean_unbox(x_3); +x_24 = lean_unbox(x_6); +x_25 = lean_unbox(x_7); +x_26 = lean_unbox_usize(x_10); lean_dec(x_10); -x_26 = lean_unbox_usize(x_11); +x_27 = lean_unbox_usize(x_11); lean_dec(x_11); -x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_1, x_2, x_22, x_4, x_5, x_23, x_24, x_8, x_9, x_25, x_26, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg(x_1, x_2, x_23, x_4, x_5, x_24, x_25, x_8, x_9, x_26, x_27, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); +lean_dec_ref(x_13); lean_dec_ref(x_9); lean_dec_ref(x_2); -return x_27; +return x_28; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___boxed(lean_object** _args) { @@ -40783,19 +37103,21 @@ lean_object* x_23 = _args[22]; lean_object* x_24 = _args[23]; lean_object* x_25 = _args[24]; lean_object* x_26 = _args[25]; +lean_object* x_27 = _args[26]; _start: { -uint8_t x_27; uint8_t x_28; uint8_t x_29; size_t x_30; size_t x_31; lean_object* x_32; -x_27 = lean_unbox(x_3); -x_28 = lean_unbox(x_11); -x_29 = lean_unbox(x_12); -x_30 = lean_unbox_usize(x_15); +uint8_t x_28; uint8_t x_29; uint8_t x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_28 = lean_unbox(x_3); +x_29 = lean_unbox(x_11); +x_30 = lean_unbox(x_12); +x_31 = lean_unbox_usize(x_15); lean_dec(x_15); -x_31 = lean_unbox_usize(x_16); +x_32 = lean_unbox_usize(x_16); lean_dec(x_16); -x_32 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(x_1, x_2, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28, x_29, x_13, x_14, x_30, x_31, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(x_1, x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29, x_30, x_13, x_14, x_31, x_32, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27); +lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); +lean_dec_ref(x_18); lean_dec_ref(x_14); lean_dec_ref(x_8); lean_dec_ref(x_7); @@ -40803,20 +37125,22 @@ lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec_ref(x_2); -return x_32; +return x_33; } } -LEAN_EXPORT lean_object* l_Lean_Doc_lean___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Doc_lean___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_2); -x_15 = lean_unbox(x_3); -x_16 = l_Lean_Doc_lean(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); +uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_2); +x_17 = lean_unbox(x_3); +x_18 = lean_unbox(x_4); +x_19 = l_Lean_Doc_lean(x_1, x_16, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_16; +return x_19; } } static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0() { @@ -41323,7 +37647,1520 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_16; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_20 = x_5; +} else { + lean_dec_ref(x_5); + x_20 = lean_box(0); +} +x_21 = l_Lean_Name_appendCore(x_17, x_19); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_21); +x_22 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +if (lean_obj_tag(x_23) == 0) +{ +goto block_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_23, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec_ref(x_23); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +lean_dec(x_20); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_28, 0); +x_32 = lean_ctor_get(x_28, 1); +lean_dec(x_32); +x_33 = lean_name_eq(x_31, x_2); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_inc(x_1); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_1); +x_4 = x_18; +x_5 = x_28; +x_15 = x_24; +goto _start; +} +else +{ +lean_object* x_35; +lean_inc_ref(x_3); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_21); +x_35 = lean_apply_11(x_3, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec_ref(x_35); +lean_inc(x_1); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_1); +x_4 = x_18; +x_5 = x_28; +x_15 = x_38; +goto _start; +} +else +{ +uint8_t x_40; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +lean_dec(x_41); +lean_inc(x_21); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_21); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_43); +lean_ctor_set(x_35, 0, x_28); +return x_35; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_dec(x_35); +lean_inc(x_21); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_21); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_46); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_28); +lean_ctor_set(x_47, 1, x_44); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_free_object(x_28); +lean_dec(x_21); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) +{ +return x_35; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +else +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_28, 0); +lean_inc(x_52); +lean_dec(x_28); +x_53 = lean_name_eq(x_52, x_2); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; +lean_inc(x_1); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_1); +lean_ctor_set(x_54, 1, x_21); +x_4 = x_18; +x_5 = x_54; +x_15 = x_24; +goto _start; +} +else +{ +lean_object* x_56; +lean_inc_ref(x_3); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_21); +x_56 = lean_apply_11(x_3, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; uint8_t x_58; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_unbox(x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec_ref(x_56); +lean_inc(x_1); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_21); +x_4 = x_18; +x_5 = x_60; +x_15 = x_59; +goto _start; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_62 = lean_ctor_get(x_56, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_63 = x_56; +} else { + lean_dec_ref(x_56); + x_63 = lean_box(0); +} +lean_inc(x_21); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_21); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_21); +if (lean_is_scalar(x_63)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_63; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_62); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_21); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_68 = lean_ctor_get(x_56, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_56, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_70 = x_56; +} else { + lean_dec_ref(x_56); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +} +} +else +{ +lean_dec_ref(x_29); +lean_dec(x_28); +goto block_27; +} +} +block_27: +{ +lean_object* x_25; +lean_inc(x_1); +if (lean_is_scalar(x_20)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_20; +} +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_21); +x_4 = x_18; +x_5 = x_25; +x_15 = x_24; +goto _start; +} +} +else +{ +uint8_t x_72; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_22); +if (x_72 == 0) +{ +return x_22; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_22, 0); +x_74 = lean_ctor_get(x_22, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_22); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +static lean_object* _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = l_Lean_Name_hasMacroScopes(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_privateToUserName(x_3); +x_16 = l_Lean_Name_componentsRev(x_15); +x_17 = lean_box(0); +x_18 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0; +x_19 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(x_17, x_1, x_2, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec_ref(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec_ref(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_13); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec_ref(x_8); +x_21 = lean_array_uget(x_5, x_7); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_2); +x_22 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3(x_1, x_2, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; size_t x_25; size_t x_26; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = 1; +x_26 = lean_usize_add(x_7, x_25); +lean_inc_ref(x_3); +{ +size_t _tmp_6 = x_26; +lean_object* _tmp_7 = x_3; +lean_object* _tmp_17 = x_24; +x_7 = _tmp_6; +x_8 = _tmp_7; +x_18 = _tmp_17; +} +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 0); +lean_dec(x_29); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_4); +lean_ctor_set(x_22, 0, x_30); +return x_22; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_dec(x_22); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_4); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_34 = !lean_is_exclusive(x_22); +if (x_34 == 0) +{ +return x_22; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_22, 0); +x_36 = lean_ctor_get(x_22, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_22); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_array_uget(x_2, x_3); +x_13 = l_Lean_Name_getPrefix(x_12); +x_14 = l_Lean_Name_getPrefix(x_1); +x_15 = l_Lean_Name_isPrefixOf(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_dec(x_12); +x_6 = x_5; +goto block_10; +} +else +{ +lean_object* x_16; +x_16 = lean_array_push(x_5, x_12); +x_6 = x_16; +goto block_10; +} +} +else +{ +return x_5; +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +x_5 = x_6; +goto _start; +} +} +} +static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_box(0); +x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0; +x_17 = lean_array_size(x_3); +x_18 = 0; +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5(x_1, x_2, x_16, x_15, x_3, x_17, x_18, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_1); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec_ref(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec_ref(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = lean_apply_12(x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec_ref(x_1); +x_18 = lean_array_push(x_3, x_17); +x_19 = lean_box(0); +x_20 = lean_apply_12(x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +} +} +static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_rootNamespace; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_34; +x_34 = l_Lean_Name_hasMacroScopes(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_83; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec_ref(x_36); +lean_inc_ref(x_4); +lean_inc(x_1); +x_39 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___boxed), 14, 2); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_4); +lean_inc(x_1); +x_83 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_37); +x_84 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0; +lean_inc(x_1); +x_85 = l_Lean_Name_append(x_84, x_1); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +lean_inc(x_1); +x_40 = x_1; +x_41 = x_86; +goto block_82; +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_83); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_83, 0); +lean_inc(x_88); +x_89 = l_Lean_mkPrivateName(x_37, x_88); +lean_dec(x_37); +x_90 = lean_name_eq(x_1, x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +lean_object* x_91; +lean_free_object(x_83); +x_91 = lean_box(0); +x_40 = x_88; +x_41 = x_91; +goto block_82; +} +else +{ +lean_object* x_92; lean_object* x_93; +x_92 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0; +lean_inc(x_88); +x_93 = l_Lean_Name_append(x_92, x_88); +lean_ctor_set(x_83, 0, x_93); +x_40 = x_88; +x_41 = x_83; +goto block_82; +} +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_83, 0); +lean_inc(x_94); +lean_dec(x_83); +lean_inc(x_94); +x_95 = l_Lean_mkPrivateName(x_37, x_94); +lean_dec(x_37); +x_96 = lean_name_eq(x_1, x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +lean_object* x_97; +x_97 = lean_box(0); +x_40 = x_94; +x_41 = x_97; +goto block_82; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0; +lean_inc(x_94); +x_99 = l_Lean_Name_append(x_98, x_94); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_40 = x_94; +x_41 = x_100; +goto block_82; +} +} +} +block_82: +{ +if (x_2 == 0) +{ +lean_object* x_42; +lean_dec_ref(x_4); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +lean_inc_ref(x_39); +lean_inc(x_41); +x_45 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__0), 14, 2); +lean_closure_set(x_45, 0, x_41); +lean_closure_set(x_45, 1, x_39); +x_46 = l_Lean_getRevAliases(x_43, x_1); +x_47 = lean_array_mk(x_46); +if (x_3 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_dec(x_41); +lean_dec_ref(x_39); +x_48 = lean_unsigned_to_nat(0u); +x_49 = lean_array_get_size(x_47); +x_50 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; +x_51 = lean_nat_dec_lt(x_48, x_49); +if (x_51 == 0) +{ +lean_dec(x_49); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_44; +x_29 = x_45; +x_30 = x_50; +goto block_33; +} +else +{ +uint8_t x_52; +x_52 = lean_nat_dec_le(x_49, x_49); +if (x_52 == 0) +{ +lean_dec(x_49); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_44; +x_29 = x_45; +x_30 = x_50; +goto block_33; +} +else +{ +size_t x_53; size_t x_54; lean_object* x_55; +x_53 = 0; +x_54 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6(x_40, x_47, x_53, x_54, x_50); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_44; +x_29 = x_45; +x_30 = x_55; +goto block_33; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec_ref(x_45); +lean_dec(x_40); +x_56 = lean_box(0); +x_57 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__0(x_41, x_39, x_47, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_44); +return x_57; +} +} +else +{ +uint8_t x_58; +lean_dec(x_41); +lean_dec(x_40); +lean_dec_ref(x_39); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_42); +if (x_58 == 0) +{ +return x_42; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_42, 0); +x_60 = lean_ctor_get(x_42, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_42); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; +lean_dec_ref(x_39); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_40); +x_62 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec_ref(x_62); +lean_inc(x_1); +x_65 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2___boxed), 13, 2); +lean_closure_set(x_65, 0, x_41); +lean_closure_set(x_65, 1, x_1); +if (lean_obj_tag(x_63) == 0) +{ +lean_dec(x_40); +lean_dec_ref(x_4); +lean_dec(x_1); +x_23 = x_64; +x_24 = x_65; +goto block_27; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec_ref(x_63); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_name_eq(x_68, x_1); +lean_dec(x_1); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_dec_ref(x_4); +x_15 = x_40; +x_16 = x_65; +x_17 = x_69; +x_18 = x_64; +goto block_22; +} +else +{ +lean_object* x_70; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_40); +x_70 = lean_apply_11(x_4, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_64); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec_ref(x_70); +x_73 = lean_unbox(x_71); +lean_dec(x_71); +x_15 = x_40; +x_16 = x_65; +x_17 = x_73; +x_18 = x_72; +goto block_22; +} +else +{ +uint8_t x_74; +lean_dec_ref(x_65); +lean_dec(x_40); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_74 = !lean_is_exclusive(x_70); +if (x_74 == 0) +{ +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_70, 0); +x_76 = lean_ctor_get(x_70, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_70); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +} +else +{ +lean_dec_ref(x_67); +lean_dec(x_66); +lean_dec(x_40); +lean_dec_ref(x_4); +lean_dec(x_1); +x_23 = x_64; +x_24 = x_65; +goto block_27; +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_62); +if (x_78 == 0) +{ +return x_62; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_62, 0); +x_80 = lean_ctor_get(x_62, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_62); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_36); +if (x_101 == 0) +{ +return x_36; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_36, 0); +x_103 = lean_ctor_get(x_36, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_36); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +lean_object* x_105; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_1); +lean_ctor_set(x_105, 1, x_14); +return x_105; +} +block_22: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +x_19 = lean_box(0); +x_20 = lean_apply_11(x_16, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec_ref(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +block_27: +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = lean_apply_11(x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +return x_26; +} +block_33: +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = lean_apply_12(x_29, x_30, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_28); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = 1; +x_18 = lean_box(x_17); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = 1; +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec_ref(x_14); +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_13, 0); +lean_dec(x_24); +x_25 = lean_box(x_1); +lean_ctor_set(x_13, 0, x_25); +return x_13; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +lean_dec(x_13); +x_27 = lean_box(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_13); +if (x_29 == 0) +{ +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_13); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0___boxed), 12, 1); +lean_closure_set(x_15, 0, x_14); +x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3(x_1, x_2, x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -41331,7 +39168,7 @@ x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); return x_13; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0() { _start: { lean_object* x_1; @@ -41339,16 +39176,16 @@ x_1 = lean_mk_string_unchecked("Update severity:", 16, 16); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -41357,7 +39194,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3() { _start: { lean_object* x_1; @@ -41365,16 +39202,16 @@ x_1 = lean_mk_string_unchecked("Mismatched severity. Message has severity `", 43 return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5() { _start: { lean_object* x_1; @@ -41382,7 +39219,7 @@ x_1 = lean_mk_string_unchecked("MessageSeverity", 15, 15); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6() { _start: { lean_object* x_1; @@ -41390,18 +39227,18 @@ x_1 = lean_mk_string_unchecked("information", 11, 11); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8() { _start: { lean_object* x_1; @@ -41409,18 +39246,18 @@ x_1 = lean_mk_string_unchecked("warning", 7, 7); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10() { _start: { lean_object* x_1; @@ -41428,85 +39265,86 @@ x_1 = lean_mk_string_unchecked("error", 5, 5); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; uint8_t x_24; -x_24 = lean_usize_dec_lt(x_7, x_6); -if (x_24 == 0) +lean_object* x_19; uint8_t x_25; +x_25 = lean_usize_dec_lt(x_7, x_6); +if (x_25 == 0) { -lean_object* x_25; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_26; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_8); -lean_ctor_set(x_25, 1, x_17); -return x_25; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_8); +lean_ctor_set(x_26, 1, x_18); +return x_26; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec_ref(x_8); -x_26 = lean_array_uget(x_5, x_7); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +x_27 = lean_array_uget(x_5, x_7); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_29 = x_26; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_30 = x_27; } else { - lean_dec_ref(x_26); - x_29 = lean_box(0); + lean_dec_ref(x_27); + x_30 = lean_box(0); } -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_string_utf8_byte_size(x_28); -x_32 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_28, x_31, x_30); -x_33 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_28, x_32, x_31); -x_34 = lean_string_utf8_extract(x_28, x_32, x_33); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_string_utf8_byte_size(x_29); +x_33 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_29, x_32, x_31); +x_34 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_29, x_33, x_32); +x_35 = lean_string_utf8_extract(x_29, x_33, x_34); +lean_dec(x_34); lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_28); -x_35 = lean_string_utf8_byte_size(x_1); -x_36 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_1, x_35, x_30); -x_37 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_1, x_36, x_35); -x_38 = lean_string_utf8_extract(x_1, x_36, x_37); -lean_dec(x_37); -lean_dec(x_36); -x_39 = lean_string_dec_eq(x_34, x_38); -lean_dec_ref(x_38); -lean_dec_ref(x_34); -if (x_39 == 0) -{ -size_t x_40; size_t x_41; lean_dec(x_29); -lean_dec(x_27); -x_40 = 1; -x_41 = lean_usize_add(x_7, x_40); +x_36 = lean_string_utf8_byte_size(x_1); +x_37 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_1, x_36, x_31); +x_38 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_1, x_37, x_36); +x_39 = lean_string_utf8_extract(x_1, x_37, x_38); +lean_dec(x_38); +lean_dec(x_37); +x_40 = lean_string_dec_eq(x_35, x_39); +lean_dec_ref(x_39); +lean_dec_ref(x_35); +if (x_40 == 0) +{ +size_t x_41; size_t x_42; +lean_dec(x_30); +lean_dec(x_28); +x_41 = 1; +x_42 = lean_usize_add(x_7, x_41); lean_inc_ref(x_3); { -size_t _tmp_6 = x_41; +size_t _tmp_6 = x_42; lean_object* _tmp_7 = x_3; x_7 = _tmp_6; x_8 = _tmp_7; @@ -41518,749 +39356,772 @@ else lean_dec_ref(x_3); if (lean_obj_tag(x_4) == 0) { -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; -x_43 = lean_ctor_get(x_4, 0); -lean_inc(x_43); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; lean_object* x_52; +x_44 = lean_ctor_get(x_4, 0); +lean_inc(x_44); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); - x_44 = x_4; + x_45 = x_4; } else { lean_dec_ref(x_4); - x_44 = lean_box(0); + x_45 = lean_box(0); } -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_43, 1); +x_46 = lean_ctor_get(x_44, 0); lean_inc(x_46); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_47 = x_43; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_48 = x_44; } else { - lean_dec_ref(x_43); - x_47 = lean_box(0); + lean_dec_ref(x_44); + x_48 = lean_box(0); } -x_48 = lean_unbox(x_45); -lean_dec(x_45); -x_49 = lean_unbox(x_27); -x_50 = l_Lean_instBEqMessageSeverity_beq(x_48, x_49); -if (x_50 == 0) -{ -if (x_39 == 0) -{ -lean_dec(x_47); +x_49 = lean_unbox(x_46); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +x_50 = lean_unbox(x_28); +x_51 = l_Lean_instBEqMessageSeverity_beq(x_49, x_50); +if (x_51 == 0) +{ +if (x_40 == 0) +{ +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } else { -uint8_t x_94; -x_94 = lean_unbox(x_27); -switch (x_94) { +uint8_t x_95; +x_95 = lean_unbox(x_28); +switch (x_95) { case 0: { -lean_object* x_95; -x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7; -x_51 = x_95; -goto block_93; +lean_object* x_96; +x_96 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7; +x_52 = x_96; +goto block_94; } case 1: { -lean_object* x_96; -x_96 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9; -x_51 = x_96; -goto block_93; +lean_object* x_97; +x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; +x_52 = x_97; +goto block_94; } default: { -lean_object* x_97; -x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11; -x_51 = x_97; -goto block_93; +lean_object* x_98; +x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +x_52 = x_98; +goto block_94; } } } } else { +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } -block_93: +block_94: { -lean_object* x_52; -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); +lean_object* x_53; +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); lean_inc(x_10); -x_52 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_51, x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_52) == 0) +lean_inc_ref(x_9); +x_53 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(x_52, x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec_ref(x_52); -x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1; -x_56 = l_Lean_Name_toString(x_53, x_39); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_58); -lean_ctor_set(x_59, 3, x_58); -lean_ctor_set(x_59, 4, x_58); -lean_ctor_set(x_59, 5, x_58); -x_60 = 0; -x_61 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_61, 2, x_58); -lean_ctor_set_uint8(x_61, sizeof(void*)*3, x_60); -x_62 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2; -x_63 = lean_array_push(x_62, x_61); -lean_inc(x_46); -if (lean_is_scalar(x_44)) { - x_64 = lean_alloc_ctor(1, 1, 0); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1; +x_57 = l_Lean_Name_toString(x_54, x_40); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_59); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_59); +lean_ctor_set(x_60, 5, x_59); +x_61 = 0; +x_62 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set_uint8(x_62, sizeof(void*)*3, x_61); +x_63 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2; +x_64 = lean_array_push(x_63, x_62); +lean_inc(x_47); +if (lean_is_scalar(x_45)) { + x_65 = lean_alloc_ctor(1, 1, 0); } else { - x_64 = x_44; + x_65 = x_45; } -lean_ctor_set(x_64, 0, x_46); -x_65 = lean_box(x_50); -x_66 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0___boxed), 12, 5); -lean_closure_set(x_66, 0, x_55); -lean_closure_set(x_66, 1, x_63); -lean_closure_set(x_66, 2, x_64); -lean_closure_set(x_66, 3, x_58); -lean_closure_set(x_66, 4, x_65); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -x_67 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_54); -if (lean_obj_tag(x_67) == 0) +lean_ctor_set(x_65, 0, x_47); +x_66 = lean_box(x_51); +x_67 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0___boxed), 12, 5); +lean_closure_set(x_67, 0, x_56); +lean_closure_set(x_67, 1, x_64); +lean_closure_set(x_67, 2, x_65); +lean_closure_set(x_67, 3, x_59); +lean_closure_set(x_67, 4, x_66); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +x_68 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_55); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); -lean_dec_ref(x_67); -x_70 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4; -x_71 = lean_unbox(x_27); -lean_dec(x_27); -x_72 = l_Lean_MessageSeverity_toString(x_71); -x_73 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = l_Lean_MessageData_ofFormat(x_73); -if (lean_is_scalar(x_47)) { - x_75 = lean_alloc_ctor(7, 2, 0); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec_ref(x_68); +x_71 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4; +x_72 = lean_unbox(x_28); +lean_dec(x_28); +x_73 = l_Lean_MessageSeverity_toString(x_72); +x_74 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_Lean_MessageData_ofFormat(x_74); +if (lean_is_scalar(x_48)) { + x_76 = lean_alloc_ctor(7, 2, 0); } else { - x_75 = x_47; - lean_ctor_set_tag(x_75, 7); + x_76 = x_48; + lean_ctor_set_tag(x_76, 7); } -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16; -if (lean_is_scalar(x_29)) { - x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; +if (lean_is_scalar(x_30)) { + x_78 = lean_alloc_ctor(7, 2, 0); } else { - x_77 = x_29; - lean_ctor_set_tag(x_77, 7); + x_78 = x_30; + lean_ctor_set_tag(x_78, 7); } -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_68); -x_79 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_46, x_78, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_69); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_69); +x_80 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_47, x_79, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_70); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_46); -if (lean_obj_tag(x_79) == 0) +lean_dec_ref(x_9); +lean_dec(x_47); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_80; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec_ref(x_79); -x_18 = x_80; -goto block_23; +lean_object* x_81; +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec_ref(x_80); +x_19 = x_81; +goto block_24; } else { -uint8_t x_81; +uint8_t x_82; lean_dec_ref(x_1); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +x_82 = !lean_is_exclusive(x_80); +if (x_82 == 0) { -return x_79; +return x_80; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_79, 0); -x_83 = lean_ctor_get(x_79, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_80, 0); +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_79); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_dec(x_80); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } else { -uint8_t x_85; +uint8_t x_86; +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_1); -x_85 = !lean_is_exclusive(x_67); -if (x_85 == 0) +x_86 = !lean_is_exclusive(x_68); +if (x_86 == 0) { -return x_67; +return x_68; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_67, 0); -x_87 = lean_ctor_get(x_67, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_68, 0); +x_88 = lean_ctor_get(x_68, 1); +lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_67); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_dec(x_68); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_89; +uint8_t x_90; +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_1); -x_89 = !lean_is_exclusive(x_52); -if (x_89 == 0) +x_90 = !lean_is_exclusive(x_53); +if (x_90 == 0) { -return x_52; +return x_53; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_52, 0); -x_91 = lean_ctor_get(x_52, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_53, 0); +x_92 = lean_ctor_get(x_53, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_52); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_dec(x_53); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } } } } -block_23: +block_24: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_2); x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_18); -return x_22; +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); +return x_23; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; uint8_t x_24; -x_24 = lean_usize_dec_lt(x_7, x_6); -if (x_24 == 0) +lean_object* x_19; uint8_t x_25; +x_25 = lean_usize_dec_lt(x_7, x_6); +if (x_25 == 0) { -lean_object* x_25; -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_26; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_8); -lean_ctor_set(x_25, 1, x_17); -return x_25; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_8); +lean_ctor_set(x_26, 1, x_18); +return x_26; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec_ref(x_8); -x_26 = lean_array_uget(x_5, x_7); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +x_27 = lean_array_uget(x_5, x_7); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_29 = x_26; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_30 = x_27; } else { - lean_dec_ref(x_26); - x_29 = lean_box(0); + lean_dec_ref(x_27); + x_30 = lean_box(0); } -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_string_utf8_byte_size(x_28); -x_32 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_28, x_31, x_30); -x_33 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_28, x_32, x_31); -x_34 = lean_string_utf8_extract(x_28, x_32, x_33); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_string_utf8_byte_size(x_29); +x_33 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_29, x_32, x_31); +x_34 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_29, x_33, x_32); +x_35 = lean_string_utf8_extract(x_29, x_33, x_34); +lean_dec(x_34); lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_28); -x_35 = lean_string_utf8_byte_size(x_1); -x_36 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__0(x_1, x_35, x_30); -x_37 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt_spec__1(x_1, x_36, x_35); -x_38 = lean_string_utf8_extract(x_1, x_36, x_37); -lean_dec(x_37); -lean_dec(x_36); -x_39 = lean_string_dec_eq(x_34, x_38); -lean_dec_ref(x_38); -lean_dec_ref(x_34); -if (x_39 == 0) -{ -size_t x_40; size_t x_41; lean_object* x_42; lean_dec(x_29); -lean_dec(x_27); -x_40 = 1; -x_41 = lean_usize_add(x_7, x_40); +x_36 = lean_string_utf8_byte_size(x_1); +x_37 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(x_1, x_36, x_31); +x_38 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(x_1, x_37, x_36); +x_39 = lean_string_utf8_extract(x_1, x_37, x_38); +lean_dec(x_38); +lean_dec(x_37); +x_40 = lean_string_dec_eq(x_35, x_39); +lean_dec_ref(x_39); +lean_dec_ref(x_35); +if (x_40 == 0) +{ +size_t x_41; size_t x_42; lean_object* x_43; +lean_dec(x_30); +lean_dec(x_28); +x_41 = 1; +x_42 = lean_usize_add(x_7, x_41); lean_inc_ref(x_3); -x_42 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_42; +x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_43; } else { lean_dec_ref(x_3); if (lean_obj_tag(x_4) == 0) { -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; -x_43 = lean_ctor_get(x_4, 0); -lean_inc(x_43); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; lean_object* x_52; +x_44 = lean_ctor_get(x_4, 0); +lean_inc(x_44); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); - x_44 = x_4; + x_45 = x_4; } else { lean_dec_ref(x_4); - x_44 = lean_box(0); + x_45 = lean_box(0); } -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_43, 1); +x_46 = lean_ctor_get(x_44, 0); lean_inc(x_46); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_47 = x_43; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_48 = x_44; } else { - lean_dec_ref(x_43); - x_47 = lean_box(0); + lean_dec_ref(x_44); + x_48 = lean_box(0); } -x_48 = lean_unbox(x_45); -lean_dec(x_45); -x_49 = lean_unbox(x_27); -x_50 = l_Lean_instBEqMessageSeverity_beq(x_48, x_49); -if (x_50 == 0) -{ -if (x_39 == 0) -{ -lean_dec(x_47); +x_49 = lean_unbox(x_46); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +x_50 = lean_unbox(x_28); +x_51 = l_Lean_instBEqMessageSeverity_beq(x_49, x_50); +if (x_51 == 0) +{ +if (x_40 == 0) +{ +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } else { -uint8_t x_94; -x_94 = lean_unbox(x_27); -switch (x_94) { +uint8_t x_95; +x_95 = lean_unbox(x_28); +switch (x_95) { case 0: { -lean_object* x_95; -x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7; -x_51 = x_95; -goto block_93; +lean_object* x_96; +x_96 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7; +x_52 = x_96; +goto block_94; } case 1: { -lean_object* x_96; -x_96 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9; -x_51 = x_96; -goto block_93; +lean_object* x_97; +x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; +x_52 = x_97; +goto block_94; } default: { -lean_object* x_97; -x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11; -x_51 = x_97; -goto block_93; +lean_object* x_98; +x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +x_52 = x_98; +goto block_94; } } } } else { +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_18 = x_17; -goto block_23; +lean_dec_ref(x_9); +x_19 = x_18; +goto block_24; } -block_93: +block_94: { -lean_object* x_52; -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); +lean_object* x_53; +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); lean_inc(x_10); -x_52 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_51, x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_52) == 0) +lean_inc_ref(x_9); +x_53 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(x_52, x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec_ref(x_52); -x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1; -x_56 = l_Lean_Name_toString(x_53, x_39); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_58); -lean_ctor_set(x_59, 3, x_58); -lean_ctor_set(x_59, 4, x_58); -lean_ctor_set(x_59, 5, x_58); -x_60 = 0; -x_61 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_61, 2, x_58); -lean_ctor_set_uint8(x_61, sizeof(void*)*3, x_60); -x_62 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2; -x_63 = lean_array_push(x_62, x_61); -lean_inc(x_46); -if (lean_is_scalar(x_44)) { - x_64 = lean_alloc_ctor(1, 1, 0); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec_ref(x_53); +x_56 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1; +x_57 = l_Lean_Name_toString(x_54, x_40); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_59); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_59); +lean_ctor_set(x_60, 5, x_59); +x_61 = 0; +x_62 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set_uint8(x_62, sizeof(void*)*3, x_61); +x_63 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2; +x_64 = lean_array_push(x_63, x_62); +lean_inc(x_47); +if (lean_is_scalar(x_45)) { + x_65 = lean_alloc_ctor(1, 1, 0); } else { - x_64 = x_44; + x_65 = x_45; } -lean_ctor_set(x_64, 0, x_46); -x_65 = lean_box(x_50); -x_66 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0___boxed), 12, 5); -lean_closure_set(x_66, 0, x_55); -lean_closure_set(x_66, 1, x_63); -lean_closure_set(x_66, 2, x_64); -lean_closure_set(x_66, 3, x_58); -lean_closure_set(x_66, 4, x_65); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -x_67 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_54); -if (lean_obj_tag(x_67) == 0) +lean_ctor_set(x_65, 0, x_47); +x_66 = lean_box(x_51); +x_67 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0___boxed), 12, 5); +lean_closure_set(x_67, 0, x_56); +lean_closure_set(x_67, 1, x_64); +lean_closure_set(x_67, 2, x_65); +lean_closure_set(x_67, 3, x_59); +lean_closure_set(x_67, 4, x_66); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +x_68 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_55); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); -lean_dec_ref(x_67); -x_70 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4; -x_71 = lean_unbox(x_27); -lean_dec(x_27); -x_72 = l_Lean_MessageSeverity_toString(x_71); -x_73 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = l_Lean_MessageData_ofFormat(x_73); -if (lean_is_scalar(x_47)) { - x_75 = lean_alloc_ctor(7, 2, 0); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec_ref(x_68); +x_71 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4; +x_72 = lean_unbox(x_28); +lean_dec(x_28); +x_73 = l_Lean_MessageSeverity_toString(x_72); +x_74 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_Lean_MessageData_ofFormat(x_74); +if (lean_is_scalar(x_48)) { + x_76 = lean_alloc_ctor(7, 2, 0); } else { - x_75 = x_47; - lean_ctor_set_tag(x_75, 7); + x_76 = x_48; + lean_ctor_set_tag(x_76, 7); } -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16; -if (lean_is_scalar(x_29)) { - x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; +if (lean_is_scalar(x_30)) { + x_78 = lean_alloc_ctor(7, 2, 0); } else { - x_77 = x_29; - lean_ctor_set_tag(x_77, 7); + x_78 = x_30; + lean_ctor_set_tag(x_78, 7); } -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_68); -x_79 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_46, x_78, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_69); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_69); +x_80 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_47, x_79, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_70); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_46); -if (lean_obj_tag(x_79) == 0) +lean_dec_ref(x_9); +lean_dec(x_47); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_80; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec_ref(x_79); -x_18 = x_80; -goto block_23; +lean_object* x_81; +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec_ref(x_80); +x_19 = x_81; +goto block_24; } else { -uint8_t x_81; +uint8_t x_82; lean_dec_ref(x_1); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +x_82 = !lean_is_exclusive(x_80); +if (x_82 == 0) { -return x_79; +return x_80; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_79, 0); -x_83 = lean_ctor_get(x_79, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_80, 0); +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_79); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_dec(x_80); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } else { -uint8_t x_85; +uint8_t x_86; +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_1); -x_85 = !lean_is_exclusive(x_67); -if (x_85 == 0) +x_86 = !lean_is_exclusive(x_68); +if (x_86 == 0) { -return x_67; +return x_68; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_67, 0); -x_87 = lean_ctor_get(x_67, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_68, 0); +x_88 = lean_ctor_get(x_68, 1); +lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_67); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_dec(x_68); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_89; +uint8_t x_90; +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); +lean_dec(x_45); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); lean_dec(x_10); +lean_dec_ref(x_9); lean_dec_ref(x_1); -x_89 = !lean_is_exclusive(x_52); -if (x_89 == 0) +x_90 = !lean_is_exclusive(x_53); +if (x_90 == 0) { -return x_52; +return x_53; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_52, 0); -x_91 = lean_ctor_get(x_52, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_53, 0); +x_92 = lean_ctor_get(x_53, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_52); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_dec(x_53); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } } } } -block_23: +block_24: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_2); x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_18); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { -_start: -{ -lean_object* x_23; -x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(x_1, x_2, x_3, x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); return x_23; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(x_1, x_2, x_3, x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -42384,878 +40245,908 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_output(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_output(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_61; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_62; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___closed__0; -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -x_19 = lean_box(1); -x_20 = lean_box(0); -x_21 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(x_19, x_17, x_15, x_18, x_20); -lean_dec(x_18); -x_22 = l_Lean_TSyntax_getId(x_1); -x_61 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_NameMap_find_x3f_spec__0___redArg(x_21, x_22); -if (lean_obj_tag(x_61) == 0) +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___closed__0; +x_19 = lean_ctor_get(x_18, 2); +lean_inc(x_19); +x_20 = lean_box(1); +x_21 = lean_box(0); +x_22 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(x_20, x_18, x_16, x_19, x_21); +lean_dec(x_19); +x_23 = l_Lean_TSyntax_getId(x_1); +x_62 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_NameMap_find_x3f_spec__0___redArg(x_22, x_23); +if (lean_obj_tag(x_62) == 0) { -lean_dec(x_4); lean_dec(x_2); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_21, 0); -lean_inc(x_62); -x_23 = x_62; -goto block_60; -} -else +if (lean_obj_tag(x_22) == 0) { lean_object* x_63; -x_63 = lean_unsigned_to_nat(0u); -x_23 = x_63; -goto block_60; +x_63 = lean_ctor_get(x_22, 0); +lean_inc(x_63); +x_24 = x_63; +goto block_61; +} +else +{ +lean_object* x_64; +x_64 = lean_unsigned_to_nat(0u); +x_24 = x_64; +goto block_61; } } else { -uint8_t x_64; +uint8_t x_65; +lean_dec(x_23); lean_dec(x_22); -lean_dec(x_21); -x_64 = !lean_is_exclusive(x_61); -if (x_64 == 0) +x_65 = !lean_is_exclusive(x_62); +if (x_65 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; lean_object* x_72; -x_65 = lean_ctor_get(x_61, 0); -x_66 = l_Lean_TSyntax_getString(x_3); -x_67 = lean_box(0); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; lean_object* x_73; +x_66 = lean_ctor_get(x_62, 0); +x_67 = l_Lean_TSyntax_getString(x_3); x_68 = lean_box(0); -x_69 = l_Lean_Doc_output___closed__4; -x_70 = lean_array_size(x_65); -x_71 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +x_69 = lean_box(0); +x_70 = l_Lean_Doc_output___closed__4; +x_71 = lean_array_size(x_66); +x_72 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc_ref(x_66); -x_72 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(x_66, x_68, x_69, x_2, x_65, x_70, x_71, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -if (lean_obj_tag(x_72) == 0) +lean_inc_ref(x_4); +lean_inc_ref(x_67); +x_73 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(x_67, x_69, x_70, x_2, x_66, x_71, x_72, x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) { -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_73, 0); -x_76 = lean_ctor_get(x_73, 1); -lean_dec(x_76); -if (lean_obj_tag(x_75) == 0) +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +lean_dec(x_77); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; size_t x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_77 = lean_ctor_get(x_72, 1); -lean_inc(x_77); -lean_dec_ref(x_72); -lean_inc_ref(x_66); -x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_66, x_65); -x_79 = l_Lean_Doc_output___closed__6; -x_80 = lean_array_size(x_78); -x_81 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(x_80, x_71, x_78); +lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_dec_ref(x_73); +lean_inc_ref(x_67); +x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_67, x_66); +x_80 = l_Lean_Doc_output___closed__6; +x_81 = lean_array_size(x_79); +x_82 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(x_81, x_72, x_79); lean_inc(x_3); -lean_ctor_set(x_61, 0, x_3); -x_82 = 0; -x_83 = lean_box(x_82); -x_84 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_84, 0, x_79); -lean_closure_set(x_84, 1, x_81); -lean_closure_set(x_84, 2, x_61); -lean_closure_set(x_84, 3, x_67); -lean_closure_set(x_84, 4, x_83); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_85 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_84, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); -if (lean_obj_tag(x_85) == 0) +lean_ctor_set(x_62, 0, x_3); +x_83 = 0; +x_84 = lean_box(x_83); +x_85 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_85, 0, x_80); +lean_closure_set(x_85, 1, x_82); +lean_closure_set(x_85, 2, x_62); +lean_closure_set(x_85, 3, x_68); +lean_closure_set(x_85, 4, x_84); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_86 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_85, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec_ref(x_85); -x_88 = l_Lean_Doc_output___closed__8; -lean_ctor_set_tag(x_73, 7); -lean_ctor_set(x_73, 1, x_86); -lean_ctor_set(x_73, 0, x_88); -x_89 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_3, x_73, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l_Lean_Doc_output___closed__8; +lean_ctor_set_tag(x_74, 7); +lean_ctor_set(x_74, 1, x_87); +lean_ctor_set(x_74, 0, x_89); +x_90 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_3, x_74, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_88); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -if (lean_obj_tag(x_89) == 0) +if (lean_obj_tag(x_90) == 0) { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) +uint8_t x_91; +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) { -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_89, 0); -lean_dec(x_91); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_66); -lean_ctor_set(x_89, 0, x_92); -return x_89; +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_90, 0); +lean_dec(x_92); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_67); +lean_ctor_set(x_90, 0, x_93); +return x_90; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_dec(x_89); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_66); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -return x_95; +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_90, 1); +lean_inc(x_94); +lean_dec(x_90); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_67); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +return x_96; } } else { -uint8_t x_96; -lean_dec_ref(x_66); -x_96 = !lean_is_exclusive(x_89); -if (x_96 == 0) +uint8_t x_97; +lean_dec_ref(x_67); +x_97 = !lean_is_exclusive(x_90); +if (x_97 == 0) { -return x_89; +return x_90; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_89, 0); -x_98 = lean_ctor_get(x_89, 1); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_90, 0); +x_99 = lean_ctor_get(x_90, 1); +lean_inc(x_99); lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_89); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_dec(x_90); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } else { -uint8_t x_100; -lean_free_object(x_73); -lean_dec_ref(x_66); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_101; +lean_free_object(x_74); +lean_dec_ref(x_67); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_100 = !lean_is_exclusive(x_85); -if (x_100 == 0) +x_101 = !lean_is_exclusive(x_86); +if (x_101 == 0) { -return x_85; +return x_86; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_85, 0); -x_102 = lean_ctor_get(x_85, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_86, 0); +x_103 = lean_ctor_get(x_86, 1); +lean_inc(x_103); lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_85); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_dec(x_86); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } else { -uint8_t x_104; -lean_free_object(x_73); -lean_dec_ref(x_66); -lean_free_object(x_61); -lean_dec(x_65); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_105; +lean_free_object(x_74); +lean_dec_ref(x_67); +lean_free_object(x_62); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_104 = !lean_is_exclusive(x_72); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_73); +if (x_105 == 0) { -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_72, 0); -lean_dec(x_105); -x_106 = lean_ctor_get(x_75, 0); -lean_inc(x_106); -lean_dec_ref(x_75); -lean_ctor_set(x_72, 0, x_106); -return x_72; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_72, 1); +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_73, 0); +lean_dec(x_106); +x_107 = lean_ctor_get(x_76, 0); lean_inc(x_107); -lean_dec(x_72); -x_108 = lean_ctor_get(x_75, 0); +lean_dec_ref(x_76); +lean_ctor_set(x_73, 0, x_107); +return x_73; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_73, 1); lean_inc(x_108); -lean_dec_ref(x_75); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -return x_109; -} -} -} -else -{ -lean_object* x_110; -x_110 = lean_ctor_get(x_73, 0); -lean_inc(x_110); lean_dec(x_73); -if (lean_obj_tag(x_110) == 0) +x_109 = lean_ctor_get(x_76, 0); +lean_inc(x_109); +lean_dec_ref(x_76); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +} +} +else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; size_t x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_111 = lean_ctor_get(x_72, 1); +lean_object* x_111; +x_111 = lean_ctor_get(x_74, 0); lean_inc(x_111); -lean_dec_ref(x_72); -lean_inc_ref(x_66); -x_112 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_66, x_65); -x_113 = l_Lean_Doc_output___closed__6; -x_114 = lean_array_size(x_112); -x_115 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(x_114, x_71, x_112); +lean_dec(x_74); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; size_t x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_112 = lean_ctor_get(x_73, 1); +lean_inc(x_112); +lean_dec_ref(x_73); +lean_inc_ref(x_67); +x_113 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_67, x_66); +x_114 = l_Lean_Doc_output___closed__6; +x_115 = lean_array_size(x_113); +x_116 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(x_115, x_72, x_113); lean_inc(x_3); -lean_ctor_set(x_61, 0, x_3); -x_116 = 0; -x_117 = lean_box(x_116); -x_118 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_118, 0, x_113); -lean_closure_set(x_118, 1, x_115); -lean_closure_set(x_118, 2, x_61); -lean_closure_set(x_118, 3, x_67); -lean_closure_set(x_118, 4, x_117); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_119 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_118, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_111); -if (lean_obj_tag(x_119) == 0) +lean_ctor_set(x_62, 0, x_3); +x_117 = 0; +x_118 = lean_box(x_117); +x_119 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_119, 0, x_114); +lean_closure_set(x_119, 1, x_116); +lean_closure_set(x_119, 2, x_62); +lean_closure_set(x_119, 3, x_68); +lean_closure_set(x_119, 4, x_118); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_120 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_119, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_112); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); -lean_dec_ref(x_119); -x_122 = l_Lean_Doc_output___closed__8; -x_123 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_120); -x_124 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_3, x_123, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec_ref(x_120); +x_123 = l_Lean_Doc_output___closed__8; +x_124 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_121); +x_125 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_3, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_122); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -if (lean_obj_tag(x_124) == 0) +if (lean_obj_tag(x_125) == 0) { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_125); + x_127 = lean_box(0); } -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_66); -if (lean_is_scalar(x_126)) { - x_128 = lean_alloc_ctor(0, 2, 0); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_67); +if (lean_is_scalar(x_127)) { + x_129 = lean_alloc_ctor(0, 2, 0); } else { - x_128 = x_126; + x_129 = x_127; } -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_125); -return x_128; +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +return x_129; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec_ref(x_66); -x_129 = lean_ctor_get(x_124, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_124, 1); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec_ref(x_67); +x_130 = lean_ctor_get(x_125, 0); lean_inc(x_130); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_131 = x_124; +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_132 = x_125; } else { - lean_dec_ref(x_124); - x_131 = lean_box(0); + lean_dec_ref(x_125); + x_132 = lean_box(0); } -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); } else { - x_132 = x_131; + x_133 = x_132; } -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; } } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec_ref(x_66); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec_ref(x_67); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_133 = lean_ctor_get(x_119, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_119, 1); +x_134 = lean_ctor_get(x_120, 0); lean_inc(x_134); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_135 = x_119; +x_135 = lean_ctor_get(x_120, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_136 = x_120; } else { - lean_dec_ref(x_119); - x_135 = lean_box(0); + lean_dec_ref(x_120); + x_136 = lean_box(0); } -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); } else { - x_136 = x_135; + x_137 = x_136; } -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; } } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec_ref(x_66); -lean_free_object(x_61); -lean_dec(x_65); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec_ref(x_67); +lean_free_object(x_62); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_137 = lean_ctor_get(x_72, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_138 = x_72; +x_138 = lean_ctor_get(x_73, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_139 = x_73; } else { - lean_dec_ref(x_72); - x_138 = lean_box(0); + lean_dec_ref(x_73); + x_139 = lean_box(0); } -x_139 = lean_ctor_get(x_110, 0); -lean_inc(x_139); -lean_dec_ref(x_110); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 2, 0); +x_140 = lean_ctor_get(x_111, 0); +lean_inc(x_140); +lean_dec_ref(x_111); +if (lean_is_scalar(x_139)) { + x_141 = lean_alloc_ctor(0, 2, 0); } else { - x_140 = x_138; + x_141 = x_139; } -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_137); -return x_140; +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_138); +return x_141; } } } else { -uint8_t x_141; -lean_dec_ref(x_66); -lean_free_object(x_61); -lean_dec(x_65); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_142; +lean_dec_ref(x_67); +lean_free_object(x_62); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_141 = !lean_is_exclusive(x_72); -if (x_141 == 0) +x_142 = !lean_is_exclusive(x_73); +if (x_142 == 0) { -return x_72; +return x_73; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_72, 0); -x_143 = lean_ctor_get(x_72, 1); +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_73, 0); +x_144 = lean_ctor_get(x_73, 1); +lean_inc(x_144); lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_72); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -return x_144; +lean_dec(x_73); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; lean_object* x_152; -x_145 = lean_ctor_get(x_61, 0); -lean_inc(x_145); -lean_dec(x_61); -x_146 = l_Lean_TSyntax_getString(x_3); -x_147 = lean_box(0); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; size_t x_151; size_t x_152; lean_object* x_153; +x_146 = lean_ctor_get(x_62, 0); +lean_inc(x_146); +lean_dec(x_62); +x_147 = l_Lean_TSyntax_getString(x_3); x_148 = lean_box(0); -x_149 = l_Lean_Doc_output___closed__4; -x_150 = lean_array_size(x_145); -x_151 = 0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); +x_149 = lean_box(0); +x_150 = l_Lean_Doc_output___closed__4; +x_151 = lean_array_size(x_146); +x_152 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc_ref(x_146); -x_152 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(x_146, x_148, x_149, x_2, x_145, x_150, x_151, x_149, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -if (lean_obj_tag(x_152) == 0) +lean_inc_ref(x_4); +lean_inc_ref(x_147); +x_153 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(x_147, x_149, x_150, x_2, x_146, x_151, x_152, x_150, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); +lean_object* x_154; lean_object* x_155; lean_object* x_156; x_154 = lean_ctor_get(x_153, 0); lean_inc(x_154); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_157 = lean_ctor_get(x_153, 1); +lean_inc(x_157); +lean_dec_ref(x_153); +lean_inc_ref(x_147); +x_158 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_147, x_146); +x_159 = l_Lean_Doc_output___closed__6; +x_160 = lean_array_size(x_158); +x_161 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(x_160, x_152, x_158); +lean_inc(x_3); +x_162 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_162, 0, x_3); +x_163 = 0; +x_164 = lean_box(x_163); +x_165 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_165, 0, x_159); +lean_closure_set(x_165, 1, x_161); +lean_closure_set(x_165, 2, x_162); +lean_closure_set(x_165, 3, x_148); +lean_closure_set(x_165, 4, x_164); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_166 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_165, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_157); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +lean_dec_ref(x_166); +x_169 = l_Lean_Doc_output___closed__8; +if (lean_is_scalar(x_156)) { + x_170 = lean_alloc_ctor(7, 2, 0); +} else { + x_170 = x_156; + lean_ctor_set_tag(x_170, 7); +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_167); +x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_3, x_170, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_168); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); +} +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_147); +if (lean_is_scalar(x_173)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_173; +} +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_172); +return x_175; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec_ref(x_147); +x_176 = lean_ctor_get(x_171, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_171, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_178 = x_171; +} else { + lean_dec_ref(x_171); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_156); +lean_dec_ref(x_147); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_180 = lean_ctor_get(x_166, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_166, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_182 = x_166; +} else { + lean_dec_ref(x_166); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(1, 2, 0); +} else { + x_183 = x_182; +} +lean_ctor_set(x_183, 0, x_180); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_dec(x_156); +lean_dec_ref(x_147); +lean_dec(x_146); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_184 = lean_ctor_get(x_153, 1); +lean_inc(x_184); if (lean_is_exclusive(x_153)) { lean_ctor_release(x_153, 0); lean_ctor_release(x_153, 1); - x_155 = x_153; + x_185 = x_153; } else { lean_dec_ref(x_153); - x_155 = lean_box(0); + x_185 = lean_box(0); } -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; size_t x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_156 = lean_ctor_get(x_152, 1); -lean_inc(x_156); -lean_dec_ref(x_152); -lean_inc_ref(x_146); -x_157 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_146, x_145); -x_158 = l_Lean_Doc_output___closed__6; -x_159 = lean_array_size(x_157); -x_160 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(x_159, x_151, x_157); -lean_inc(x_3); -x_161 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_161, 0, x_3); -x_162 = 0; -x_163 = lean_box(x_162); -x_164 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_164, 0, x_158); -lean_closure_set(x_164, 1, x_160); -lean_closure_set(x_164, 2, x_161); -lean_closure_set(x_164, 3, x_147); -lean_closure_set(x_164, 4, x_163); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_165 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_164, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_156); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec_ref(x_165); -x_168 = l_Lean_Doc_output___closed__8; -if (lean_is_scalar(x_155)) { - x_169 = lean_alloc_ctor(7, 2, 0); +x_186 = lean_ctor_get(x_155, 0); +lean_inc(x_186); +lean_dec_ref(x_155); +if (lean_is_scalar(x_185)) { + x_187 = lean_alloc_ctor(0, 2, 0); } else { - x_169 = x_155; - lean_ctor_set_tag(x_169, 7); + x_187 = x_185; } -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_166); -x_170 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_3, x_169, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_167); -lean_dec(x_5); -lean_dec(x_3); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_172 = x_170; -} else { - lean_dec_ref(x_170); - x_172 = lean_box(0); -} -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_146); -if (lean_is_scalar(x_172)) { - x_174 = lean_alloc_ctor(0, 2, 0); -} else { - x_174 = x_172; -} -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_171); -return x_174; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec_ref(x_146); -x_175 = lean_ctor_get(x_170, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_170, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_177 = x_170; -} else { - lean_dec_ref(x_170); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); -} else { - x_178 = x_177; -} -lean_ctor_set(x_178, 0, x_175); -lean_ctor_set(x_178, 1, x_176); -return x_178; +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_184); +return x_187; } } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_155); -lean_dec_ref(x_146); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec_ref(x_147); +lean_dec(x_146); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_179 = lean_ctor_get(x_165, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_165, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_165)) { - lean_ctor_release(x_165, 0); - lean_ctor_release(x_165, 1); - x_181 = x_165; -} else { - lean_dec_ref(x_165); - x_181 = lean_box(0); -} -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); -} else { - x_182 = x_181; -} -lean_ctor_set(x_182, 0, x_179); -lean_ctor_set(x_182, 1, x_180); -return x_182; -} -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_155); -lean_dec_ref(x_146); -lean_dec(x_145); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_183 = lean_ctor_get(x_152, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_184 = x_152; -} else { - lean_dec_ref(x_152); - x_184 = lean_box(0); -} -x_185 = lean_ctor_get(x_154, 0); -lean_inc(x_185); -lean_dec_ref(x_154); -if (lean_is_scalar(x_184)) { - x_186 = lean_alloc_ctor(0, 2, 0); -} else { - x_186 = x_184; -} -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_183); -return x_186; -} -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec_ref(x_146); -lean_dec(x_145); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_187 = lean_ctor_get(x_152, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_152, 1); +x_188 = lean_ctor_get(x_153, 0); lean_inc(x_188); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_189 = x_152; +x_189 = lean_ctor_get(x_153, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_190 = x_153; } else { - lean_dec_ref(x_152); - x_189 = lean_box(0); + lean_dec_ref(x_153); + x_190 = lean_box(0); } -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(1, 2, 0); } else { - x_190 = x_189; + x_191 = x_190; } -lean_ctor_set(x_190, 0, x_187); -lean_ctor_set(x_190, 1, x_188); -return x_190; +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_189); +return x_191; } } } -block_60: +block_61: { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_24 = lean_mk_empty_array_with_capacity(x_23); -lean_dec(x_23); -x_25 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_Doc_output_spec__0_spec__0(x_24, x_21); -x_26 = lean_array_size(x_25); -x_27 = 0; -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__2(x_26, x_27, x_25); -x_29 = l_Lean_Doc_output___closed__1; -x_30 = lean_box(0); -x_31 = 0; -x_32 = lean_box(x_31); -x_33 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); -lean_closure_set(x_33, 0, x_29); -lean_closure_set(x_33, 1, x_28); -lean_closure_set(x_33, 2, x_30); -lean_closure_set(x_33, 3, x_30); -lean_closure_set(x_33, 4, x_32); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_34 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_33, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -if (lean_obj_tag(x_34) == 0) +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_25 = lean_mk_empty_array_with_capacity(x_24); +lean_dec(x_24); +x_26 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_Doc_output_spec__0_spec__0(x_25, x_22); +x_27 = lean_array_size(x_26); +x_28 = 0; +x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__2(x_27, x_28, x_26); +x_30 = l_Lean_Doc_output___closed__1; +x_31 = lean_box(0); +x_32 = 0; +x_33 = lean_box(x_32); +x_34 = lean_alloc_closure((void*)(l_Lean_Doc_attr___lam__1___boxed), 12, 5); +lean_closure_set(x_34, 0, x_30); +lean_closure_set(x_34, 1, x_29); +lean_closure_set(x_34, 2, x_31); +lean_closure_set(x_34, 3, x_31); +lean_closure_set(x_34, 4, x_33); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec_ref(x_34); -x_37 = l_Lean_Doc_output___closed__3; -x_38 = l_Lean_MessageData_ofName(x_22); -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Doc_tactic___closed__11; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec_ref(x_35); +x_38 = l_Lean_Doc_output___closed__3; +x_39 = l_Lean_MessageData_ofName(x_23); +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Doc_tactic___closed__11; x_42 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_35); -x_43 = l_Lean_logErrorAt___at___Lean_Doc_attr_spec__0___redArg(x_1, x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_36); +x_44 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_1, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +lean_dec(x_6); lean_dec(x_5); -if (lean_obj_tag(x_43) == 0) +lean_dec_ref(x_4); +if (lean_obj_tag(x_44) == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = l_Lean_TSyntax_getString(x_3); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +x_47 = l_Lean_TSyntax_getString(x_3); lean_dec(x_3); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_43, 0, x_47); -return x_43; +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_44, 0, x_48); +return x_44; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_dec(x_43); -x_49 = l_Lean_TSyntax_getString(x_3); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_44, 1); +lean_inc(x_49); +lean_dec(x_44); +x_50 = l_Lean_TSyntax_getString(x_3); lean_dec(x_3); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); +x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -return x_51; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_49); +return x_52; } } else { -uint8_t x_52; +uint8_t x_53; lean_dec(x_3); -x_52 = !lean_is_exclusive(x_43); -if (x_52 == 0) +x_53 = !lean_is_exclusive(x_44); +if (x_53 == 0) { -return x_43; +return x_44; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_43, 0); -x_54 = lean_ctor_get(x_43, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_44, 0); +x_55 = lean_ctor_get(x_44, 1); +lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_43); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_dec(x_44); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_56; -lean_dec(x_22); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_57; +lean_dec(x_23); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_3); -x_56 = !lean_is_exclusive(x_34); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_35); +if (x_57 == 0) { -return x_34; +return x_35; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_34, 0); -x_58 = lean_ctor_get(x_34, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_35, 0); +x_59 = lean_ctor_get(x_35, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_34); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_dec(x_35); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } else { -uint8_t x_191; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_192; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec(x_3); lean_dec(x_2); -x_191 = !lean_is_exclusive(x_14); -if (x_191 == 0) +x_192 = !lean_is_exclusive(x_15); +if (x_192 == 0) { -return x_14; +return x_15; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_14, 0); -x_193 = lean_ctor_get(x_14, 1); +lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_193 = lean_ctor_get(x_15, 0); +x_194 = lean_ctor_get(x_15, 1); +lean_inc(x_194); lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_14); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -return x_194; +lean_dec(x_15); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +return x_195; } } } @@ -43272,12 +41163,163 @@ x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_ return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +lean_dec(x_2); +return x_16; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6(x_1, x_2, x_6, x_7, x_5); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_2); +x_16 = lean_unbox(x_3); +x_17 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +x_14 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +x_14 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_5); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___lam__0(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___lam__0(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); @@ -43285,7 +41327,7 @@ lean_dec_ref(x_6); return x_14; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -43303,19 +41345,20 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -43333,19 +41376,20 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_6); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec_ref(x_5); -return x_20; +return x_21; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -43368,24 +41412,25 @@ lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -size_t x_23; size_t x_24; lean_object* x_25; -x_23 = lean_unbox_usize(x_11); +size_t x_24; size_t x_25; lean_object* x_26; +x_24 = lean_unbox_usize(x_11); lean_dec(x_11); -x_24 = lean_unbox_usize(x_12); +x_25 = lean_unbox_usize(x_12); lean_dec(x_12); -x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_24, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24, x_25, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); lean_dec_ref(x_10); lean_dec_ref(x_9); lean_dec_ref(x_8); lean_dec_ref(x_7); lean_dec_ref(x_6); lean_dec_ref(x_5); -return x_25; +return x_26; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -43393,143 +41438,538 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__5(x_4, x_5, x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Doc_output___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_output___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Doc_output(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_14; +x_14 = l_Lean_Doc_output(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0() { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; } } -static lean_object* _init_l_Lean_Doc_leanTerm___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Doc_given___lam__0), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_leanTerm___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_leanTerm___closed__0; -x_2 = l_Lean_Doc_tactic___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); -lean_closure_set(x_3, 0, x_2); -lean_closure_set(x_3, 1, x_1); +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0; +x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2() { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3() { +_start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3; +x_2 = l_Lean_Doc_option___closed__6; +x_3 = l_Lean_Parser_node(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_4); +x_5 = lean_apply_2(x_4, x_1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0), 2, 0); +x_4 = l_Lean_Doc_tactic___closed__2; +x_5 = l_Lean_Parser_andthenFn(x_4, x_3, x_1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_apply_3(x_1, x_2, x_3, x_4); +x_13 = l_Lean_Elab_Term_withoutErrToSorryImp___redArg(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +static lean_object* _init_l_Lean_Doc_leanRole___lam__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Ignoring `", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_leanRole___lam__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_leanRole___lam__2___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_leanRole___lam__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` in favor of type provided after colon", 39, 39); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_leanRole___lam__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_leanRole___lam__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +if (x_1 == 0) +{ +lean_dec_ref(x_5); +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_7); +lean_dec_ref(x_6); +x_16 = x_8; +x_17 = x_9; +x_18 = x_10; +x_19 = x_11; +x_20 = x_12; +x_21 = x_13; +x_22 = x_14; +x_23 = x_15; +goto block_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_38 = lean_ctor_get(x_3, 0); +lean_inc(x_38); +lean_dec_ref(x_3); +x_39 = l_Lean_Doc_leanRole___lam__2___closed__1; +x_40 = l_Lean_TSyntax_getString(x_4); +x_41 = l_Lean_stringToMessageData(x_40); +lean_dec_ref(x_40); +x_42 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Doc_leanRole___lam__2___closed__3; +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l_Lean_Doc_leanTerm___closed__1; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_14, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_15) == 0) +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_45 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_38, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_38); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec_ref(x_15); -x_18 = lean_box(0); -x_19 = 1; -x_20 = lean_box(x_19); -x_21 = lean_box(x_19); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_22, 0, x_16); -lean_closure_set(x_22, 1, x_18); -lean_closure_set(x_22, 2, x_20); -lean_closure_set(x_22, 3, x_21); -x_23 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__2___boxed), 10, 1); -lean_closure_set(x_23, 0, x_22); -x_24 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -if (lean_obj_tag(x_24) == 0) +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec_ref(x_45); +x_16 = x_8; +x_17 = x_9; +x_18 = x_10; +x_19 = x_11; +x_20 = x_12; +x_21 = x_13; +x_22 = x_14; +x_23 = x_46; +goto block_37; +} +else { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = l_Lean_TSyntax_getString(x_12); +uint8_t x_47; +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); -x_28 = lean_alloc_ctor(3, 1, 0); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_45, 0); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_45); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +else +{ +lean_dec(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_15); +return x_52; +} +else +{ +uint8_t x_53; +x_53 = !lean_is_exclusive(x_3); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_3, 0); +x_55 = l_Lean_Doc_tactic___closed__2; +x_56 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_56, 0, x_55); +lean_closure_set(x_56, 1, x_5); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +x_57 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2(x_56, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec_ref(x_57); +x_60 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_60, 0, x_58); +x_61 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_60, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_59); +lean_dec(x_8); +if (lean_obj_tag(x_61) == 0) +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_61, 0); +lean_ctor_set(x_3, 0, x_63); +lean_ctor_set(x_61, 0, x_3); +return x_61; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_61, 0); +x_65 = lean_ctor_get(x_61, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_61); +lean_ctor_set(x_3, 0, x_64); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_3); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +else +{ +uint8_t x_67; +lean_free_object(x_3); +x_67 = !lean_is_exclusive(x_61); +if (x_67 == 0) +{ +return x_61; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_61, 0); +x_69 = lean_ctor_get(x_61, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_61); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_free_object(x_3); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +x_71 = !lean_is_exclusive(x_57); +if (x_71 == 0) +{ +return x_57; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_57, 0); +x_73 = lean_ctor_get(x_57, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_57); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_3, 0); +lean_inc(x_75); +lean_dec(x_3); +x_76 = l_Lean_Doc_tactic___closed__2; +x_77 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_77, 0, x_76); +lean_closure_set(x_77, 1, x_5); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +x_78 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2(x_77, x_75, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec_ref(x_78); +x_81 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_81, 0, x_79); +x_82 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_81, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_80); +lean_dec(x_8); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_85 = x_82; +} else { + lean_dec_ref(x_82); + x_85 = lean_box(0); +} +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_83); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_82, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_90 = x_82; +} else { + lean_dec_ref(x_82); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +x_92 = lean_ctor_get(x_78, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_78, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_94 = x_78; +} else { + lean_dec_ref(x_78); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(1, 2, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +return x_95; +} +} +} +} +block_37: +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_24, 0, x_2); +x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_24, 0, x_28); -return x_24; +lean_ctor_set(x_25, 0, x_28); +return x_25; } else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_24, 1); +x_29 = lean_ctor_get(x_25, 0); +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); lean_inc(x_29); -lean_dec(x_24); -x_30 = l_Lean_TSyntax_getString(x_12); -lean_dec(x_12); -x_31 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_31, 0, x_30); +lean_dec(x_25); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 1, x_30); return x_32; } } else { uint8_t x_33; -lean_dec(x_12); -x_33 = !lean_is_exclusive(x_24); +x_33 = !lean_is_exclusive(x_25); if (x_33 == 0) { -return x_24; +return x_25; } else { lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_24, 0); -x_35 = lean_ctor_get(x_24, 1); +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); lean_inc(x_35); lean_inc(x_34); -lean_dec(x_24); +lean_dec(x_25); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); @@ -43537,87 +41977,3352 @@ return x_36; } } } +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_2); +return x_13; +} else { -uint8_t x_37; -lean_dec(x_12); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_Doc_leanRole___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents), 2, 0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_17 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_16, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = l_Lean_Doc_leanRole___closed__0; +x_21 = lean_unsigned_to_nat(1u); +x_22 = l_Lean_Syntax_getArg(x_18, x_21); +x_23 = l_Lean_Syntax_getArg(x_22, x_21); +lean_dec(x_22); +x_24 = l_Lean_Syntax_isMissing(x_23); +x_25 = lean_box(x_24); +lean_inc(x_14); +x_26 = lean_alloc_closure((void*)(l_Lean_Doc_leanRole___lam__2___boxed), 15, 5); +lean_closure_set(x_26, 0, x_25); +lean_closure_set(x_26, 1, x_23); +lean_closure_set(x_26, 2, x_1); +lean_closure_set(x_26, 3, x_14); +lean_closure_set(x_26, 4, x_20); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_27 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = 1; +x_31 = lean_unsigned_to_nat(0u); +x_32 = l_Lean_Syntax_getArg(x_18, x_31); +lean_dec(x_18); +x_33 = lean_box(x_30); +x_34 = lean_box(x_30); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_35, 0, x_32); +lean_closure_set(x_35, 1, x_28); +lean_closure_set(x_35, 2, x_33); +lean_closure_set(x_35, 3, x_34); +x_36 = lean_box(0); +x_37 = lean_alloc_closure((void*)(l_Lean_Doc_leanRole___lam__0___boxed), 12, 2); +lean_closure_set(x_37, 0, x_35); +lean_closure_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +x_41 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_42 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_38, 0, x_42); +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_inc(x_43); +lean_dec(x_38); +x_44 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_45 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; +} +} +else +{ +uint8_t x_47; +lean_dec(x_14); +x_47 = !lean_is_exclusive(x_38); +if (x_47 == 0) +{ +return x_38; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_38, 0); +x_49 = lean_ctor_get(x_38, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_38); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_37 = !lean_is_exclusive(x_15); -if (x_37 == 0) +lean_dec(x_4); +lean_dec_ref(x_3); +x_51 = !lean_is_exclusive(x_27); +if (x_51 == 0) { +return x_27; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_27); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_14); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_17); +if (x_55 == 0) +{ +return x_17; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_17, 0); +x_57 = lean_ctor_get(x_17, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_17); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_13); +if (x_59 == 0) +{ +return x_13; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_13, 0); +x_61 = lean_ctor_get(x_13, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_13); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_1); +x_17 = l_Lean_Doc_leanRole___lam__2(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_leanRole___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_leanRole(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_TSyntax_getString(x_14); +lean_dec(x_14); +x_16 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_12); +x_19 = l_Lean_TSyntax_getString(x_17); +lean_dec(x_17); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_12); +if (x_22 == 0) +{ +return x_12; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_12); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_lit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_13, 0, x_2); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_14); +if (x_22 == 0) +{ +return x_14; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_14); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_12); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents), 2, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_getArg(x_14, x_16); +x_18 = l_Lean_Syntax_getArg(x_17, x_16); +lean_dec(x_17); +x_19 = l_Lean_Syntax_isMissing(x_18); +x_20 = lean_box(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__0___boxed), 12, 2); +lean_closure_set(x_21, 0, x_20); +lean_closure_set(x_21, 1, x_18); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_22 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = 1; +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Syntax_getArg(x_14, x_26); +lean_dec(x_14); +x_28 = lean_box(x_25); +x_29 = lean_box(x_25); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_30, 0, x_27); +lean_closure_set(x_30, 1, x_23); +lean_closure_set(x_30, 2, x_28); +lean_closure_set(x_30, 3, x_29); +x_31 = lean_box(0); +x_32 = lean_alloc_closure((void*)(l_Lean_Doc_leanRole___lam__0___boxed), 12, 2); +lean_closure_set(x_32, 0, x_30); +lean_closure_set(x_32, 1, x_31); +x_33 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +x_36 = l_Lean_TSyntax_getString(x_1); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_33, 0, x_37); +return x_33; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +lean_dec(x_33); +x_39 = l_Lean_TSyntax_getString(x_1); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) +{ +return x_33; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_33); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_46 = !lean_is_exclusive(x_22); +if (x_46 == 0) +{ +return x_22; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_22, 0); +x_48 = lean_ctor_get(x_22, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_22); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_50 = !lean_is_exclusive(x_13); +if (x_50 == 0) +{ +return x_13; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_13, 0); +x_52 = lean_ctor_get(x_13, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_13); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +x_14 = l_Lean_Doc_leanTerm___lam__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_leanTerm(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Parser_andthenFn(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 61; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_chFn___boxed), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0; +x_5 = l_Lean_Parser_andthenFn(x_4, x_1, x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; +x_4 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_4); +x_5 = l_Lean_Doc_option___closed__6; +lean_inc_ref(x_4); +x_6 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__0), 3, 1); +lean_closure_set(x_6, 0, x_4); +x_7 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3), 3, 1); +lean_closure_set(x_7, 0, x_6); +lean_inc_ref(x_4); +x_8 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3), 4, 2); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_7); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1), 3, 1); +lean_closure_set(x_9, 0, x_8); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3), 4, 2); +lean_closure_set(x_10, 0, x_4); +lean_closure_set(x_10, 1, x_9); +x_11 = l_Lean_Parser_nodeFn(x_5, x_10, x_1, x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__4), 2, 0); +x_4 = l_Lean_Doc_tactic___closed__2; +x_5 = l_Lean_Parser_andthenFn(x_4, x_3, x_1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_reduceAll(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_whnf(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert_x27___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" = ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert_x27___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", which is ", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert_x27___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", reducing to ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert_x27___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" but they are not equal.", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert_x27___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert_x27___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static uint64_t _init_l_Lean_Doc_assert_x27___closed__10() { +_start: +{ +uint8_t x_1; uint64_t x_2; +x_1 = 0; +x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; +} else { + lean_dec_ref(x_12); + x_15 = lean_box(0); +} +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents), 2, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_22 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_21, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_unsigned_to_nat(3u); +x_26 = l_Lean_Syntax_getArg(x_23, x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = l_Lean_Syntax_getArg(x_26, x_27); +lean_dec(x_26); +x_29 = l_Lean_Syntax_isMissing(x_28); +x_30 = lean_box(x_29); +x_31 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__0___boxed), 12, 2); +lean_closure_set(x_31, 0, x_30); +lean_closure_set(x_31, 1, x_28); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_32 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_35 = 1; +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Syntax_getArg(x_23, x_36); +x_38 = lean_box(x_35); +x_39 = lean_box(x_35); +lean_inc(x_33); +x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_40, 0, x_37); +lean_closure_set(x_40, 1, x_33); +lean_closure_set(x_40, 2, x_38); +lean_closure_set(x_40, 3, x_39); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_41 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec_ref(x_41); +x_44 = lean_unsigned_to_nat(2u); +x_45 = l_Lean_Syntax_getArg(x_23, x_44); +x_46 = lean_box(x_35); +x_47 = lean_box(x_35); +x_48 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_48, 0, x_45); +lean_closure_set(x_48, 1, x_33); +lean_closure_set(x_48, 2, x_46); +lean_closure_set(x_48, 3, x_47); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_49 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_48, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec_ref(x_49); +x_52 = l_Lean_Meta_Context_config(x_7); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; uint8_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_54 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_55 = lean_ctor_get(x_7, 1); +x_56 = lean_ctor_get(x_7, 2); +x_57 = lean_ctor_get(x_7, 3); +x_58 = lean_ctor_get(x_7, 4); +x_59 = lean_ctor_get(x_7, 5); +x_60 = lean_ctor_get(x_7, 6); +x_61 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 1); +x_62 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 2); +lean_inc(x_42); +x_63 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__1___boxed), 8, 1); +lean_closure_set(x_63, 0, x_42); +lean_inc(x_42); +x_64 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_64, 0, x_42); +lean_inc(x_50); +lean_inc(x_42); +x_65 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__2___boxed), 9, 2); +lean_closure_set(x_65, 0, x_42); +lean_closure_set(x_65, 1, x_50); +lean_inc(x_50); +x_66 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__1___boxed), 8, 1); +lean_closure_set(x_66, 0, x_50); +lean_inc(x_50); +x_67 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_67, 0, x_50); +x_127 = 0; +lean_ctor_set_uint8(x_52, 9, x_127); +x_128 = l_Lean_Meta_Context_configKey(x_7); +x_129 = 2; +x_130 = lean_uint64_shift_right(x_128, x_129); +x_131 = lean_uint64_shift_left(x_130, x_129); +x_132 = l_Lean_Doc_assert_x27___closed__10; +x_133 = lean_uint64_lor(x_131, x_132); +x_134 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_134, 0, x_52); +lean_ctor_set_uint64(x_134, sizeof(void*)*1, x_133); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc_ref(x_57); +lean_inc_ref(x_56); +lean_inc(x_55); +x_135 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_55); +lean_ctor_set(x_135, 2, x_56); +lean_ctor_set(x_135, 3, x_57); +lean_ctor_set(x_135, 4, x_58); +lean_ctor_set(x_135, 5, x_59); +lean_ctor_set(x_135, 6, x_60); +lean_ctor_set_uint8(x_135, sizeof(void*)*7, x_54); +lean_ctor_set_uint8(x_135, sizeof(void*)*7 + 1, x_61); +lean_ctor_set_uint8(x_135, sizeof(void*)*7 + 2, x_62); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc_ref(x_5); +x_136 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_65, x_4, x_5, x_6, x_135, x_8, x_9, x_10, x_51); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec_ref(x_136); +x_139 = lean_unbox(x_137); +lean_dec(x_137); +x_68 = x_139; +x_69 = x_138; +goto block_126; +} +else +{ +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_140 = lean_ctor_get(x_136, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_136, 1); +lean_inc(x_141); +lean_dec_ref(x_136); +x_142 = lean_unbox(x_140); +lean_dec(x_140); +x_68 = x_142; +x_69 = x_141; +goto block_126; +} +else +{ +uint8_t x_143; +lean_dec_ref(x_67); +lean_dec_ref(x_66); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_143 = !lean_is_exclusive(x_136); +if (x_143 == 0) +{ +return x_136; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_136, 0); +x_145 = lean_ctor_get(x_136, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_136); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +} +block_126: +{ +if (x_68 == 0) +{ +lean_object* x_70; +lean_dec(x_15); +lean_dec(x_13); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_70 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_64, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_69); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec_ref(x_70); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_73 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_67, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_72); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec_ref(x_73); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_76 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_75); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec_ref(x_76); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_79 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec_ref(x_79); +x_82 = l_Lean_Doc_assert_x27___closed__1; +x_83 = l_Lean_MessageData_ofExpr(x_42); +x_84 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Doc_assert_x27___closed__3; +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_MessageData_ofExpr(x_50); +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Doc_assert_x27___closed__5; +x_90 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_MessageData_ofExpr(x_71); +x_92 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_85); +x_94 = l_Lean_MessageData_ofExpr(x_74); +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Doc_assert_x27___closed__7; +x_97 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_MessageData_ofExpr(x_77); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_85); +x_101 = l_Lean_MessageData_ofExpr(x_80); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Doc_assert_x27___closed__9; +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_23, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_81); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_23); +x_106 = !lean_is_exclusive(x_105); +if (x_106 == 0) +{ +return x_105; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_105, 0); +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_105); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +uint8_t x_110; +lean_dec(x_77); +lean_dec(x_74); +lean_dec(x_71); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_110 = !lean_is_exclusive(x_79); +if (x_110 == 0) +{ +return x_79; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_79, 0); +x_112 = lean_ctor_get(x_79, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_79); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; +} +} +} +else +{ +uint8_t x_114; +lean_dec(x_74); +lean_dec(x_71); +lean_dec_ref(x_66); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_114 = !lean_is_exclusive(x_76); +if (x_114 == 0) +{ +return x_76; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_76, 0); +x_116 = lean_ctor_get(x_76, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_76); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; +} +} +} +else +{ +uint8_t x_118; +lean_dec(x_71); +lean_dec_ref(x_66); +lean_dec_ref(x_63); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_118 = !lean_is_exclusive(x_73); +if (x_118 == 0) +{ +return x_73; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_73, 0); +x_120 = lean_ctor_get(x_73, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_73); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +} +else +{ +uint8_t x_122; +lean_dec_ref(x_67); +lean_dec_ref(x_66); +lean_dec_ref(x_63); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_122 = !lean_is_exclusive(x_70); +if (x_122 == 0) +{ +return x_70; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_70, 0); +x_124 = lean_ctor_get(x_70, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_70); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +else +{ +lean_dec_ref(x_67); +lean_dec_ref(x_66); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_16 = x_69; +goto block_20; +} +} +} +else +{ +uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; uint8_t x_163; uint8_t x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_180; uint8_t x_238; lean_object* x_239; uint64_t x_240; uint64_t x_241; uint64_t x_242; uint64_t x_243; uint64_t x_244; uint64_t x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_147 = lean_ctor_get_uint8(x_52, 0); +x_148 = lean_ctor_get_uint8(x_52, 1); +x_149 = lean_ctor_get_uint8(x_52, 2); +x_150 = lean_ctor_get_uint8(x_52, 3); +x_151 = lean_ctor_get_uint8(x_52, 4); +x_152 = lean_ctor_get_uint8(x_52, 5); +x_153 = lean_ctor_get_uint8(x_52, 6); +x_154 = lean_ctor_get_uint8(x_52, 7); +x_155 = lean_ctor_get_uint8(x_52, 8); +x_156 = lean_ctor_get_uint8(x_52, 10); +x_157 = lean_ctor_get_uint8(x_52, 11); +x_158 = lean_ctor_get_uint8(x_52, 12); +x_159 = lean_ctor_get_uint8(x_52, 13); +x_160 = lean_ctor_get_uint8(x_52, 14); +x_161 = lean_ctor_get_uint8(x_52, 15); +x_162 = lean_ctor_get_uint8(x_52, 16); +x_163 = lean_ctor_get_uint8(x_52, 17); +x_164 = lean_ctor_get_uint8(x_52, 18); +lean_dec(x_52); +x_165 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_166 = lean_ctor_get(x_7, 1); +x_167 = lean_ctor_get(x_7, 2); +x_168 = lean_ctor_get(x_7, 3); +x_169 = lean_ctor_get(x_7, 4); +x_170 = lean_ctor_get(x_7, 5); +x_171 = lean_ctor_get(x_7, 6); +x_172 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 1); +x_173 = lean_ctor_get_uint8(x_7, sizeof(void*)*7 + 2); +lean_inc(x_42); +x_174 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__1___boxed), 8, 1); +lean_closure_set(x_174, 0, x_42); +lean_inc(x_42); +x_175 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_175, 0, x_42); +lean_inc(x_50); +lean_inc(x_42); +x_176 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__2___boxed), 9, 2); +lean_closure_set(x_176, 0, x_42); +lean_closure_set(x_176, 1, x_50); +lean_inc(x_50); +x_177 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__1___boxed), 8, 1); +lean_closure_set(x_177, 0, x_50); +lean_inc(x_50); +x_178 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_178, 0, x_50); +x_238 = 0; +x_239 = lean_alloc_ctor(0, 0, 19); +lean_ctor_set_uint8(x_239, 0, x_147); +lean_ctor_set_uint8(x_239, 1, x_148); +lean_ctor_set_uint8(x_239, 2, x_149); +lean_ctor_set_uint8(x_239, 3, x_150); +lean_ctor_set_uint8(x_239, 4, x_151); +lean_ctor_set_uint8(x_239, 5, x_152); +lean_ctor_set_uint8(x_239, 6, x_153); +lean_ctor_set_uint8(x_239, 7, x_154); +lean_ctor_set_uint8(x_239, 8, x_155); +lean_ctor_set_uint8(x_239, 9, x_238); +lean_ctor_set_uint8(x_239, 10, x_156); +lean_ctor_set_uint8(x_239, 11, x_157); +lean_ctor_set_uint8(x_239, 12, x_158); +lean_ctor_set_uint8(x_239, 13, x_159); +lean_ctor_set_uint8(x_239, 14, x_160); +lean_ctor_set_uint8(x_239, 15, x_161); +lean_ctor_set_uint8(x_239, 16, x_162); +lean_ctor_set_uint8(x_239, 17, x_163); +lean_ctor_set_uint8(x_239, 18, x_164); +x_240 = l_Lean_Meta_Context_configKey(x_7); +x_241 = 2; +x_242 = lean_uint64_shift_right(x_240, x_241); +x_243 = lean_uint64_shift_left(x_242, x_241); +x_244 = l_Lean_Doc_assert_x27___closed__10; +x_245 = lean_uint64_lor(x_243, x_244); +x_246 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_246, 0, x_239); +lean_ctor_set_uint64(x_246, sizeof(void*)*1, x_245); +lean_inc(x_171); +lean_inc(x_170); +lean_inc(x_169); +lean_inc_ref(x_168); +lean_inc_ref(x_167); +lean_inc(x_166); +x_247 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_166); +lean_ctor_set(x_247, 2, x_167); +lean_ctor_set(x_247, 3, x_168); +lean_ctor_set(x_247, 4, x_169); +lean_ctor_set(x_247, 5, x_170); +lean_ctor_set(x_247, 6, x_171); +lean_ctor_set_uint8(x_247, sizeof(void*)*7, x_165); +lean_ctor_set_uint8(x_247, sizeof(void*)*7 + 1, x_172); +lean_ctor_set_uint8(x_247, sizeof(void*)*7 + 2, x_173); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc_ref(x_5); +x_248 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_176, x_4, x_5, x_6, x_247, x_8, x_9, x_10, x_51); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_248, 1); +lean_inc(x_250); +lean_dec_ref(x_248); +x_251 = lean_unbox(x_249); +lean_dec(x_249); +x_179 = x_251; +x_180 = x_250; +goto block_237; +} +else +{ +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_252; lean_object* x_253; uint8_t x_254; +x_252 = lean_ctor_get(x_248, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_248, 1); +lean_inc(x_253); +lean_dec_ref(x_248); +x_254 = lean_unbox(x_252); +lean_dec(x_252); +x_179 = x_254; +x_180 = x_253; +goto block_237; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; +lean_dec_ref(x_178); +lean_dec_ref(x_177); +lean_dec_ref(x_175); +lean_dec_ref(x_174); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_255 = lean_ctor_get(x_248, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_248, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_248)) { + lean_ctor_release(x_248, 0); + lean_ctor_release(x_248, 1); + x_257 = x_248; +} else { + lean_dec_ref(x_248); + x_257 = lean_box(0); +} +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(1, 2, 0); +} else { + x_258 = x_257; +} +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_256); +return x_258; +} +} +block_237: +{ +if (x_179 == 0) +{ +lean_object* x_181; +lean_dec(x_15); +lean_dec(x_13); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_181 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_175, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_180); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec_ref(x_181); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_184 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_178, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_183); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec_ref(x_184); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_187 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_174, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_186); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec_ref(x_187); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_190 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_189); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec_ref(x_190); +x_193 = l_Lean_Doc_assert_x27___closed__1; +x_194 = l_Lean_MessageData_ofExpr(x_42); +x_195 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +x_196 = l_Lean_Doc_assert_x27___closed__3; +x_197 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_MessageData_ofExpr(x_50); +x_199 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +x_200 = l_Lean_Doc_assert_x27___closed__5; +x_201 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_MessageData_ofExpr(x_182); +x_203 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_196); +x_205 = l_Lean_MessageData_ofExpr(x_185); +x_206 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +x_207 = l_Lean_Doc_assert_x27___closed__7; +x_208 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +x_209 = l_Lean_MessageData_ofExpr(x_188); +x_210 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +x_211 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_196); +x_212 = l_Lean_MessageData_ofExpr(x_191); +x_213 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +x_214 = l_Lean_Doc_assert_x27___closed__9; +x_215 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +x_216 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_23, x_215, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_192); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_23); +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_219 = x_216; +} else { + lean_dec_ref(x_216); + x_219 = lean_box(0); +} +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(1, 2, 0); +} else { + x_220 = x_219; +} +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +return x_220; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_188); +lean_dec(x_185); +lean_dec(x_182); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_221 = lean_ctor_get(x_190, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_190, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_223 = x_190; +} else { + lean_dec_ref(x_190); + x_223 = lean_box(0); +} +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(1, 2, 0); +} else { + x_224 = x_223; +} +lean_ctor_set(x_224, 0, x_221); +lean_ctor_set(x_224, 1, x_222); +return x_224; +} +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_185); +lean_dec(x_182); +lean_dec_ref(x_177); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_225 = lean_ctor_get(x_187, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_187, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_227 = x_187; +} else { + lean_dec_ref(x_187); + x_227 = lean_box(0); +} +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); +} else { + x_228 = x_227; +} +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_182); +lean_dec_ref(x_177); +lean_dec_ref(x_174); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_229 = lean_ctor_get(x_184, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_184, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_231 = x_184; +} else { + lean_dec_ref(x_184); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; +} +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec_ref(x_178); +lean_dec_ref(x_177); +lean_dec_ref(x_174); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_233 = lean_ctor_get(x_181, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_181, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_235 = x_181; +} else { + lean_dec_ref(x_181); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +else +{ +lean_dec_ref(x_178); +lean_dec_ref(x_177); +lean_dec_ref(x_175); +lean_dec_ref(x_174); +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_16 = x_180; +goto block_20; +} +} +} +} +else +{ +uint8_t x_259; +lean_dec(x_42); +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_259 = !lean_is_exclusive(x_49); +if (x_259 == 0) +{ +return x_49; +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = lean_ctor_get(x_49, 0); +x_261 = lean_ctor_get(x_49, 1); +lean_inc(x_261); +lean_inc(x_260); +lean_dec(x_49); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_260); +lean_ctor_set(x_262, 1, x_261); +return x_262; +} +} +} +else +{ +uint8_t x_263; +lean_dec(x_33); +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_263 = !lean_is_exclusive(x_41); +if (x_263 == 0) +{ +return x_41; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = lean_ctor_get(x_41, 0); +x_265 = lean_ctor_get(x_41, 1); +lean_inc(x_265); +lean_inc(x_264); +lean_dec(x_41); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +return x_266; +} +} +} +else +{ +uint8_t x_267; +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_267 = !lean_is_exclusive(x_32); +if (x_267 == 0) +{ +return x_32; +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_268 = lean_ctor_get(x_32, 0); +x_269 = lean_ctor_get(x_32, 1); +lean_inc(x_269); +lean_inc(x_268); +lean_dec(x_32); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; +} +} +} +else +{ +uint8_t x_271; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_271 = !lean_is_exclusive(x_22); +if (x_271 == 0) +{ +return x_22; +} +else +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_272 = lean_ctor_get(x_22, 0); +x_273 = lean_ctor_get(x_22, 1); +lean_inc(x_273); +lean_inc(x_272); +lean_dec(x_22); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_272); +lean_ctor_set(x_274, 1, x_273); +return x_274; +} +} +block_20: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = l_Lean_TSyntax_getString(x_13); +lean_dec(x_13); +x_18 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_18, 0, x_17); +if (lean_is_scalar(x_15)) { + x_19 = lean_alloc_ctor(0, 2, 0); +} else { + x_19 = x_15; +} +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +return x_19; +} +} +else +{ +uint8_t x_275; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_275 = !lean_is_exclusive(x_12); +if (x_275 == 0) +{ +return x_12; +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_276 = lean_ctor_get(x_12, 0); +x_277 = lean_ctor_get(x_12, 1); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_12); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_276); +lean_ctor_set(x_278, 1, x_277); +return x_278; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_assert_x27___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_assert_x27___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_assert_x27___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_assert_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_instantiateMVarsIfMVarApp___redArg(x_1, x_5, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_TSyntax_getString(x_1); +x_14 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); return x_15; } +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected equality type", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Eq", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", but they are not definitionally equal", 39, 39); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_assert___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_assert___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 1); +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_19 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_17, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +lean_inc(x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_22, 0, x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__0___boxed), 11, 1); +lean_closure_set(x_23, 0, x_22); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_24 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec_ref(x_24); +x_27 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_27, 0, x_25); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__2___boxed), 8, 1); +lean_closure_set(x_31, 0, x_29); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_32 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_51; uint8_t x_52; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_51 = l_Lean_Expr_cleanupAnnotations(x_33); +x_52 = l_Lean_Expr_isApp(x_51); +if (x_52 == 0) +{ +lean_dec_ref(x_51); +lean_free_object(x_15); +lean_dec(x_13); +x_35 = x_2; +x_36 = x_3; +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +goto block_50; +} else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); -lean_inc(x_39); -lean_inc(x_38); +lean_object* x_53; uint8_t x_54; +lean_inc_ref(x_51); +x_53 = l_Lean_Expr_appFnCleanup___redArg(x_51); +x_54 = l_Lean_Expr_isApp(x_53); +if (x_54 == 0) +{ +lean_dec_ref(x_53); +lean_dec_ref(x_51); +lean_free_object(x_15); +lean_dec(x_13); +x_35 = x_2; +x_36 = x_3; +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +goto block_50; +} +else +{ +lean_object* x_55; uint8_t x_56; +lean_inc_ref(x_53); +x_55 = l_Lean_Expr_appFnCleanup___redArg(x_53); +x_56 = l_Lean_Expr_isApp(x_55); +if (x_56 == 0) +{ +lean_dec_ref(x_55); +lean_dec_ref(x_53); +lean_dec_ref(x_51); +lean_free_object(x_15); +lean_dec(x_13); +x_35 = x_2; +x_36 = x_3; +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +goto block_50; +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = l_Lean_Expr_appFnCleanup___redArg(x_55); +x_58 = l_Lean_Doc_assert___closed__3; +x_59 = l_Lean_Expr_isConstOf(x_57, x_58); +lean_dec_ref(x_57); +if (x_59 == 0) +{ +lean_dec_ref(x_53); +lean_dec_ref(x_51); +lean_free_object(x_15); +lean_dec(x_13); +x_35 = x_2; +x_36 = x_3; +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +goto block_50; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_60); +lean_dec_ref(x_51); +x_61 = lean_ctor_get(x_53, 1); +lean_inc_ref(x_61); +lean_dec_ref(x_53); +lean_inc_ref(x_60); +lean_inc_ref(x_61); +x_62 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__3___boxed), 9, 2); +lean_closure_set(x_62, 0, x_61); +lean_closure_set(x_62, 1, x_60); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_63 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_unbox(x_64); +lean_dec(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_dec(x_13); +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); +lean_dec_ref(x_63); +x_67 = l_Lean_Doc_assert_x27___closed__1; +x_68 = l_Lean_MessageData_ofExpr(x_61); +lean_ctor_set_tag(x_15, 7); +lean_ctor_set(x_15, 1, x_68); +lean_ctor_set(x_15, 0, x_67); +x_69 = l_Lean_Doc_assert_x27___closed__3; +x_70 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_70, 0, x_15); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_MessageData_ofExpr(x_60); +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Doc_assert___closed__5; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_20, x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_66); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_20); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +return x_75; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_75); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec_ref(x_61); +lean_dec_ref(x_60); +lean_dec(x_20); +lean_free_object(x_15); +x_80 = lean_ctor_get(x_63, 1); +lean_inc(x_80); +lean_dec_ref(x_63); +x_81 = lean_box(0); +x_82 = l_Lean_Doc_assert___lam__1(x_13, x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_80); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_13); +return x_82; +} +} +else +{ +uint8_t x_83; +lean_dec_ref(x_61); +lean_dec_ref(x_60); +lean_dec(x_20); +lean_free_object(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_83 = !lean_is_exclusive(x_63); +if (x_83 == 0) +{ +return x_63; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_63, 0); +x_85 = lean_ctor_get(x_63, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_63); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +} +} +block_50: +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = l_Lean_Doc_assert___closed__1; +x_45 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_20, x_44, x_35, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_34); +lean_dec(x_37); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_20); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +return x_45; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_45); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +uint8_t x_87; +lean_dec(x_20); +lean_free_object(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_87 = !lean_is_exclusive(x_32); +if (x_87 == 0) +{ +return x_32; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_32, 0); +x_89 = lean_ctor_get(x_32, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_32); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +else +{ +uint8_t x_91; +lean_dec(x_20); +lean_free_object(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_91 = !lean_is_exclusive(x_28); +if (x_91 == 0) +{ +return x_28; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_28, 0); +x_93 = lean_ctor_get(x_28, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_28); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} +} +else +{ +uint8_t x_95; +lean_dec(x_20); +lean_free_object(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_95 = !lean_is_exclusive(x_24); +if (x_95 == 0) +{ +return x_24; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_24, 0); +x_97 = lean_ctor_get(x_24, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_24); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +uint8_t x_99; +lean_free_object(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_99 = !lean_is_exclusive(x_19); +if (x_99 == 0) +{ +return x_19; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_19, 0); +x_101 = lean_ctor_get(x_19, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_19); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_15, 1); +lean_inc(x_103); lean_dec(x_15); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_104 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_103, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec_ref(x_104); +lean_inc(x_105); +x_107 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_107, 0, x_105); +x_108 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__0___boxed), 11, 1); +lean_closure_set(x_108, 0, x_107); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_109 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_106); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec_ref(x_109); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27___lam__0___boxed), 8, 1); +lean_closure_set(x_112, 0, x_110); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_111); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__2___boxed), 8, 1); +lean_closure_set(x_116, 0, x_114); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_136; uint8_t x_137; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec_ref(x_117); +x_136 = l_Lean_Expr_cleanupAnnotations(x_118); +x_137 = l_Lean_Expr_isApp(x_136); +if (x_137 == 0) +{ +lean_dec_ref(x_136); +lean_dec(x_13); +x_120 = x_2; +x_121 = x_3; +x_122 = x_4; +x_123 = x_5; +x_124 = x_6; +x_125 = x_7; +x_126 = x_8; +x_127 = x_9; +x_128 = x_10; +goto block_135; +} +else +{ +lean_object* x_138; uint8_t x_139; +lean_inc_ref(x_136); +x_138 = l_Lean_Expr_appFnCleanup___redArg(x_136); +x_139 = l_Lean_Expr_isApp(x_138); +if (x_139 == 0) +{ +lean_dec_ref(x_138); +lean_dec_ref(x_136); +lean_dec(x_13); +x_120 = x_2; +x_121 = x_3; +x_122 = x_4; +x_123 = x_5; +x_124 = x_6; +x_125 = x_7; +x_126 = x_8; +x_127 = x_9; +x_128 = x_10; +goto block_135; +} +else +{ +lean_object* x_140; uint8_t x_141; +lean_inc_ref(x_138); +x_140 = l_Lean_Expr_appFnCleanup___redArg(x_138); +x_141 = l_Lean_Expr_isApp(x_140); +if (x_141 == 0) +{ +lean_dec_ref(x_140); +lean_dec_ref(x_138); +lean_dec_ref(x_136); +lean_dec(x_13); +x_120 = x_2; +x_121 = x_3; +x_122 = x_4; +x_123 = x_5; +x_124 = x_6; +x_125 = x_7; +x_126 = x_8; +x_127 = x_9; +x_128 = x_10; +goto block_135; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = l_Lean_Expr_appFnCleanup___redArg(x_140); +x_143 = l_Lean_Doc_assert___closed__3; +x_144 = l_Lean_Expr_isConstOf(x_142, x_143); +lean_dec_ref(x_142); +if (x_144 == 0) +{ +lean_dec_ref(x_138); +lean_dec_ref(x_136); +lean_dec(x_13); +x_120 = x_2; +x_121 = x_3; +x_122 = x_4; +x_123 = x_5; +x_124 = x_6; +x_125 = x_7; +x_126 = x_8; +x_127 = x_9; +x_128 = x_10; +goto block_135; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_145 = lean_ctor_get(x_136, 1); +lean_inc_ref(x_145); +lean_dec_ref(x_136); +x_146 = lean_ctor_get(x_138, 1); +lean_inc_ref(x_146); +lean_dec_ref(x_138); +lean_inc_ref(x_145); +lean_inc_ref(x_146); +x_147 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__3___boxed), 9, 2); +lean_closure_set(x_147, 0, x_146); +lean_closure_set(x_147, 1, x_145); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_148 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_147, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_119); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; uint8_t x_150; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_unbox(x_149); +lean_dec(x_149); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_dec(x_13); +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_151); +lean_dec_ref(x_148); +x_152 = l_Lean_Doc_assert_x27___closed__1; +x_153 = l_Lean_MessageData_ofExpr(x_146); +x_154 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +x_155 = l_Lean_Doc_assert_x27___closed__3; +x_156 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_MessageData_ofExpr(x_145); +x_158 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Lean_Doc_assert___closed__5; +x_160 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +x_161 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_105, x_160, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_151); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_105); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_164 = x_161; +} else { + lean_dec_ref(x_161); + x_164 = lean_box(0); +} +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 2, 0); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_163); +return x_165; +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec_ref(x_146); +lean_dec_ref(x_145); +lean_dec(x_105); +x_166 = lean_ctor_get(x_148, 1); +lean_inc(x_166); +lean_dec_ref(x_148); +x_167 = lean_box(0); +x_168 = l_Lean_Doc_assert___lam__1(x_13, x_167, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_166); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_13); +return x_168; +} +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +lean_dec_ref(x_146); +lean_dec_ref(x_145); +lean_dec(x_105); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_169 = lean_ctor_get(x_148, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_148, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_171 = x_148; +} else { + lean_dec_ref(x_148); + x_171 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(1, 2, 0); +} else { + x_172 = x_171; +} +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +return x_172; +} +} +} +} +} +block_135: +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_129 = l_Lean_Doc_assert___closed__1; +x_130 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_105, x_129, x_120, x_121, x_122, x_123, x_124, x_125, x_126, x_127, x_128, x_119); +lean_dec(x_122); +lean_dec(x_121); +lean_dec_ref(x_120); +lean_dec(x_105); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_133 = x_130; +} else { + lean_dec_ref(x_130); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_105); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_173 = lean_ctor_get(x_117, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_117, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_175 = x_117; +} else { + lean_dec_ref(x_117); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_173); +lean_ctor_set(x_176, 1, x_174); +return x_176; +} +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_105); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_177 = lean_ctor_get(x_113, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_113, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_179 = x_113; +} else { + lean_dec_ref(x_113); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_105); +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_181 = lean_ctor_get(x_109, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_109, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_183 = x_109; +} else { + lean_dec_ref(x_109); + x_183 = lean_box(0); +} +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_13); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_185 = lean_ctor_get(x_104, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_104, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_187 = x_104; +} else { + lean_dec_ref(x_104); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 2, 0); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; } } } else { -uint8_t x_41; -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_189; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_189 = !lean_is_exclusive(x_12); +if (x_189 == 0) +{ +return x_12; +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_12, 0); +x_191 = lean_ctor_get(x_12, 1); +lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_12); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +return x_192; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_assert___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_assert___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); -lean_dec(x_2); -x_41 = !lean_is_exclusive(x_11); -if (x_41 == 0) -{ -return x_11; +lean_dec_ref(x_2); +return x_9; } -else +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_11, 0); -x_43 = lean_ctor_get(x_11, 1); -lean_inc(x_43); -lean_inc(x_42); +lean_object* x_13; +x_13 = l_Lean_Doc_assert___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; } } -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_leanTerm___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_object* x_10; +x_10 = l_Lean_Doc_assert___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_assert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_leanTerm(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Doc_assert(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_1); -return x_11; +return x_12; } } LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { @@ -43664,7 +45369,7 @@ static lean_object* _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespa _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed), 7, 0); return x_1; } } @@ -43672,7 +45377,7 @@ static lean_object* _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespa _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg___lam__2___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0___boxed), 7, 0); return x_1; } } @@ -43688,7 +45393,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespac _start: { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +x_11 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); @@ -43764,12 +45469,12 @@ x_26 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_ x_27 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_25); x_28 = lean_string_append(x_26, x_27); lean_dec_ref(x_27); -x_29 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2; +x_29 = l_Lean_Doc_checkNameExists___redArg___closed__7; x_30 = lean_string_append(x_28, x_29); x_31 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_31, 0, x_30); x_32 = l_Lean_MessageData_ofFormat(x_31); -x_33 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_33 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { @@ -43840,12 +45545,12 @@ x_43 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_ x_44 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_41); x_45 = lean_string_append(x_43, x_44); lean_dec_ref(x_44); -x_46 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2; +x_46 = l_Lean_Doc_checkNameExists___redArg___closed__7; x_47 = lean_string_append(x_45, x_46); x_48 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_48, 0, x_47); x_49 = l_Lean_MessageData_ofFormat(x_48); -x_50 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_39); +x_50 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_39); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -43979,12 +45684,12 @@ return x_67; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; } } static lean_object* _init_l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__0() { @@ -44014,73 +45719,74 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_ctor_get(x_1, 2); -lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 3); -x_13 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_1, 2); lean_inc(x_12); -x_14 = l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(x_12, x_13); -x_15 = l_List_isEmpty___redArg(x_14); -if (x_15 == 0) +x_13 = lean_ctor_get(x_1, 3); +x_14 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; +lean_inc(x_13); +x_15 = l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(x_13, x_14); +x_16 = l_List_isEmpty___redArg(x_15); +if (x_16 == 0) { -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); lean_dec_ref(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_10); -return x_16; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_11); +return x_17; } else { -uint8_t x_17; -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_8); -if (x_17 == 0) +uint8_t x_18; +lean_dec(x_15); +x_18 = !lean_is_exclusive(x_9); +if (x_18 == 0) { -lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_8, 5); -x_19 = 0; -x_20 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_9, 5); +x_20 = 0; +x_21 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); lean_dec_ref(x_1); -lean_ctor_set(x_8, 5, x_20); -x_21 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_11, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_21; +lean_ctor_set(x_9, 5, x_21); +x_22 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_12, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_22 = lean_ctor_get(x_8, 0); -x_23 = lean_ctor_get(x_8, 1); -x_24 = lean_ctor_get(x_8, 2); -x_25 = lean_ctor_get(x_8, 3); -x_26 = lean_ctor_get(x_8, 4); -x_27 = lean_ctor_get(x_8, 5); -x_28 = lean_ctor_get(x_8, 6); -x_29 = lean_ctor_get(x_8, 7); -x_30 = lean_ctor_get(x_8, 8); -x_31 = lean_ctor_get(x_8, 9); -x_32 = lean_ctor_get(x_8, 10); -x_33 = lean_ctor_get(x_8, 11); -x_34 = lean_ctor_get_uint8(x_8, sizeof(void*)*14); -x_35 = lean_ctor_get(x_8, 12); -x_36 = lean_ctor_get_uint8(x_8, sizeof(void*)*14 + 1); -x_37 = lean_ctor_get(x_8, 13); -lean_inc(x_37); -lean_inc(x_35); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_23 = lean_ctor_get(x_9, 0); +x_24 = lean_ctor_get(x_9, 1); +x_25 = lean_ctor_get(x_9, 2); +x_26 = lean_ctor_get(x_9, 3); +x_27 = lean_ctor_get(x_9, 4); +x_28 = lean_ctor_get(x_9, 5); +x_29 = lean_ctor_get(x_9, 6); +x_30 = lean_ctor_get(x_9, 7); +x_31 = lean_ctor_get(x_9, 8); +x_32 = lean_ctor_get(x_9, 9); +x_33 = lean_ctor_get(x_9, 10); +x_34 = lean_ctor_get(x_9, 11); +x_35 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_36 = lean_ctor_get(x_9, 12); +x_37 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_38 = lean_ctor_get(x_9, 13); +lean_inc(x_38); +lean_inc(x_36); +lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); @@ -44092,41 +45798,40 @@ lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_8); -x_38 = 0; -x_39 = l_Lean_replaceRef(x_1, x_27); -lean_dec(x_27); +lean_dec(x_9); +x_39 = 0; +x_40 = l_Lean_replaceRef(x_1, x_28); +lean_dec(x_28); lean_dec_ref(x_1); -x_40 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_40, 0, x_22); -lean_ctor_set(x_40, 1, x_23); -lean_ctor_set(x_40, 2, x_24); -lean_ctor_set(x_40, 3, x_25); -lean_ctor_set(x_40, 4, x_26); -lean_ctor_set(x_40, 5, x_39); -lean_ctor_set(x_40, 6, x_28); -lean_ctor_set(x_40, 7, x_29); -lean_ctor_set(x_40, 8, x_30); -lean_ctor_set(x_40, 9, x_31); -lean_ctor_set(x_40, 10, x_32); -lean_ctor_set(x_40, 11, x_33); -lean_ctor_set(x_40, 12, x_35); -lean_ctor_set(x_40, 13, x_37); -lean_ctor_set_uint8(x_40, sizeof(void*)*14, x_34); -lean_ctor_set_uint8(x_40, sizeof(void*)*14 + 1, x_36); -x_41 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_11, x_38, x_3, x_4, x_5, x_6, x_7, x_40, x_9, x_10); -return x_41; +x_41 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_24); +lean_ctor_set(x_41, 2, x_25); +lean_ctor_set(x_41, 3, x_26); +lean_ctor_set(x_41, 4, x_27); +lean_ctor_set(x_41, 5, x_40); +lean_ctor_set(x_41, 6, x_29); +lean_ctor_set(x_41, 7, x_30); +lean_ctor_set(x_41, 8, x_31); +lean_ctor_set(x_41, 9, x_32); +lean_ctor_set(x_41, 10, x_33); +lean_ctor_set(x_41, 11, x_34); +lean_ctor_set(x_41, 12, x_36); +lean_ctor_set(x_41, 13, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*14, x_35); +lean_ctor_set_uint8(x_41, sizeof(void*)*14 + 1, x_37); +x_42 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(x_12, x_39, x_4, x_5, x_6, x_7, x_8, x_41, x_10, x_11); +return x_42; } } } else { -lean_object* x_42; lean_object* x_43; -x_42 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__2; -x_43 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_1, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_43; lean_object* x_44; +x_43 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__2; +x_44 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_1, x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_43; +return x_44; } } } @@ -44182,155 +45887,155 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_23; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_24; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec_ref(x_13); -x_23 = l_Lean_Name_isAnonymous(x_2); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_ctor_get_uint8(x_14, sizeof(void*)*8); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_24 = l_Lean_Name_isAnonymous(x_2); if (x_24 == 0) { -lean_dec(x_14); +uint8_t x_25; +x_25 = lean_ctor_get_uint8(x_15, sizeof(void*)*8); +if (x_25 == 0) +{ +lean_dec(x_15); lean_dec(x_2); -goto block_22; +goto block_23; } else { -lean_object* x_25; uint8_t x_26; -lean_inc(x_14); -x_25 = l_Lean_Environment_setExporting(x_14, x_23); +lean_object* x_26; uint8_t x_27; +lean_inc(x_15); +x_26 = l_Lean_Environment_setExporting(x_15, x_24); lean_inc(x_2); -lean_inc_ref(x_25); -x_26 = l_Lean_Environment_contains(x_25, x_2, x_24); -if (x_26 == 0) +lean_inc_ref(x_26); +x_27 = l_Lean_Environment_contains(x_26, x_2, x_25); +if (x_27 == 0) { -lean_dec_ref(x_25); -lean_dec(x_14); +lean_dec_ref(x_26); +lean_dec(x_15); lean_dec(x_2); -goto block_22; +goto block_23; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2; -x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6; -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_27); -lean_ctor_set(x_30, 2, x_28); -lean_ctor_set(x_30, 3, x_29); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_28 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2; +x_29 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_28); +lean_ctor_set(x_31, 2, x_29); +lean_ctor_set(x_31, 3, x_30); lean_inc(x_2); -x_31 = l_Lean_MessageData_ofConstName(x_2, x_23); -x_32 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Environment_getModuleIdxFor_x3f(x_14, x_2); -if (lean_obj_tag(x_33) == 0) +x_32 = l_Lean_MessageData_ofConstName(x_2, x_24); +x_33 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Environment_getModuleIdxFor_x3f(x_15, x_2); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_14); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_15); lean_dec(x_2); -x_34 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -x_36 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10; -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_MessageData_note(x_37); -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_38); -x_16 = x_39; -goto block_19; +x_35 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +x_37 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10; +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_MessageData_note(x_38); +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_39); +x_17 = x_40; +goto block_20; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_40 = lean_ctor_get(x_33, 0); -lean_inc(x_40); -lean_dec_ref(x_33); -x_41 = lean_box(0); -x_42 = l_Lean_Environment_header(x_14); -lean_dec(x_14); -x_43 = l_Lean_EnvironmentHeader_moduleNames(x_42); -x_44 = lean_array_get(x_41, x_43, x_40); -lean_dec(x_40); -lean_dec_ref(x_43); -x_45 = l_Lean_isPrivateName(x_2); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_34, 0); +lean_inc(x_41); +lean_dec_ref(x_34); +x_42 = lean_box(0); +x_43 = l_Lean_Environment_header(x_15); +lean_dec(x_15); +x_44 = l_Lean_EnvironmentHeader_moduleNames(x_43); +x_45 = lean_array_get(x_42, x_44, x_41); +lean_dec(x_41); +lean_dec_ref(x_44); +x_46 = l_Lean_isPrivateName(x_2); lean_dec(x_2); -if (x_45 == 0) +if (x_46 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_46 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_32); -x_48 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14; -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_MessageData_ofName(x_44); -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16; -x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_MessageData_note(x_53); -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_54); -x_16 = x_55; -goto block_19; +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_33); +x_49 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_MessageData_ofName(x_45); +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_MessageData_note(x_54); +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_55); +x_17 = x_56; +goto block_20; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_56 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8; -x_57 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_32); -x_58 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18; -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_MessageData_ofName(x_44); -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20; -x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_MessageData_note(x_63); -x_65 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_64); -x_16 = x_65; -goto block_19; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_57 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8; +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_33); +x_59 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_MessageData_ofName(x_45); +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_MessageData_note(x_64); +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_1); +lean_ctor_set(x_66, 1, x_65); +x_17 = x_66; +goto block_20; } } } @@ -44338,65 +46043,65 @@ goto block_19; } else { -lean_dec(x_14); +lean_dec(x_15); lean_dec(x_2); -goto block_22; +goto block_23; } -block_19: +block_20: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_19; } -block_22: +block_23: { -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -return x_21; +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1(x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_22; } } else { -uint8_t x_66; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_67; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_2); lean_dec_ref(x_1); -x_66 = !lean_is_exclusive(x_13); -if (x_66 == 0) +x_67 = !lean_is_exclusive(x_14); +if (x_67 == 0) { -return x_13; +return x_14; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_13, 0); -x_68 = lean_ctor_get(x_13, 1); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_14, 0); +x_69 = lean_ctor_get(x_14, 1); +lean_inc(x_69); lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_13); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_dec(x_14); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } @@ -44406,7 +46111,7 @@ _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; x_7 = lean_ctor_get(x_4, 5); -x_8 = l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -44439,51 +46144,52 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_13; +x_13 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_8, x_9, x_10, x_11, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 5); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_7, x_8, x_9, x_10, x_11); -lean_dec_ref(x_9); -return x_15; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 5); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_10, 5, x_15); +x_16 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_10); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -x_24 = lean_ctor_get(x_9, 8); -x_25 = lean_ctor_get(x_9, 9); -x_26 = lean_ctor_get(x_9, 10); -x_27 = lean_ctor_get(x_9, 11); -x_28 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_29 = lean_ctor_get(x_9, 12); -x_30 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_31 = lean_ctor_get(x_9, 13); -lean_inc(x_31); -lean_inc(x_29); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +x_19 = lean_ctor_get(x_10, 2); +x_20 = lean_ctor_get(x_10, 3); +x_21 = lean_ctor_get(x_10, 4); +x_22 = lean_ctor_get(x_10, 5); +x_23 = lean_ctor_get(x_10, 6); +x_24 = lean_ctor_get(x_10, 7); +x_25 = lean_ctor_get(x_10, 8); +x_26 = lean_ctor_get(x_10, 9); +x_27 = lean_ctor_get(x_10, 10); +x_28 = lean_ctor_get(x_10, 11); +x_29 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_30 = lean_ctor_get(x_10, 12); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_32 = lean_ctor_get(x_10, 13); +lean_inc(x_32); +lean_inc(x_30); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -44495,245 +46201,244 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_32 = l_Lean_replaceRef(x_1, x_21); -lean_dec(x_21); -x_33 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_33, 0, x_16); -lean_ctor_set(x_33, 1, x_17); -lean_ctor_set(x_33, 2, x_18); -lean_ctor_set(x_33, 3, x_19); -lean_ctor_set(x_33, 4, x_20); -lean_ctor_set(x_33, 5, x_32); -lean_ctor_set(x_33, 6, x_22); -lean_ctor_set(x_33, 7, x_23); -lean_ctor_set(x_33, 8, x_24); -lean_ctor_set(x_33, 9, x_25); -lean_ctor_set(x_33, 10, x_26); -lean_ctor_set(x_33, 11, x_27); -lean_ctor_set(x_33, 12, x_29); -lean_ctor_set(x_33, 13, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*14, x_28); -lean_ctor_set_uint8(x_33, sizeof(void*)*14 + 1, x_30); -x_34 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_7, x_8, x_33, x_10, x_11); -lean_dec_ref(x_33); -return x_34; +lean_dec(x_10); +x_33 = l_Lean_replaceRef(x_1, x_22); +lean_dec(x_22); +x_34 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_19); +lean_ctor_set(x_34, 3, x_20); +lean_ctor_set(x_34, 4, x_21); +lean_ctor_set(x_34, 5, x_33); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_24); +lean_ctor_set(x_34, 8, x_25); +lean_ctor_set(x_34, 9, x_26); +lean_ctor_set(x_34, 10, x_27); +lean_ctor_set(x_34, 11, x_28); +lean_ctor_set(x_34, 12, x_30); +lean_ctor_set(x_34, 13, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_29); +lean_ctor_set_uint8(x_34, sizeof(void*)*14 + 1, x_31); +x_35 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_2, x_8, x_9, x_34, x_11, x_12); +lean_dec_ref(x_34); +return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec_ref(x_13); -x_16 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -lean_dec(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -return x_16; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_1, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_17; } else { -uint8_t x_17; +uint8_t x_18; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1; +x_14 = 0; +lean_inc(x_2); +x_15 = l_Lean_MessageData_ofConstName(x_2, x_14); +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(0); +x_14 = l_List_mapTR_loop___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_box(0); +x_14 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__24(x_2, x_13); +x_15 = l_List_isEmpty___redArg(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_box(0); +x_17 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(x_14, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -return x_13; +return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_13, 0); -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_14); +x_18 = lean_ctor_get(x_10, 5); lean_inc(x_18); -lean_dec(x_13); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +x_19 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_18, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_18); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_14; -x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_1); +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1; -x_13 = 0; -lean_inc(x_2); -x_14 = l_Lean_MessageData_ofConstName(x_2, x_13); -x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3; -x_17 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_18; +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_15; } -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +else { -lean_object* x_13; -x_13 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_box(0); -x_13 = l_List_mapTR_loop___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_box(0); -x_13 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__10(x_2, x_12); -x_14 = l_List_isEmpty___redArg(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_1); -x_15 = lean_box(0); -x_16 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +uint8_t x_16; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_13); -x_17 = lean_ctor_get(x_9, 5); -lean_inc(x_17); -x_18 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_17, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_17); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -return x_18; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_1); -x_11 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__0_spec__9_spec__9___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_14; -} -else -{ -uint8_t x_15; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); lean_dec(x_1); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) { -return x_11; +return x_12; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_11, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_11); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } @@ -44870,194 +46575,195 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_2) == 0) { -goto block_23; +goto block_24; } else { -lean_object* x_24; -x_24 = lean_ctor_get(x_2, 1); -if (lean_obj_tag(x_24) == 0) +lean_object* x_25; +x_25 = lean_ctor_get(x_2, 1); +if (lean_obj_tag(x_25) == 0) { -uint8_t x_25; +uint8_t x_26; lean_dec(x_1); -x_25 = !lean_is_exclusive(x_2); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_2); +if (x_26 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_2, 1); -lean_dec(x_26); +lean_object* x_27; +x_27 = lean_ctor_get(x_2, 1); +lean_dec(x_27); lean_ctor_set_tag(x_2, 0); -lean_ctor_set(x_2, 1, x_11); +lean_ctor_set(x_2, 1, x_12); return x_2; } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_2, 0); -lean_inc(x_27); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); lean_dec(x_2); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_11); -return x_28; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_12); +return x_29; } } else { -goto block_23; +goto block_24; } } -block_23: +block_24: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_12 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__1; -x_13 = l_Lean_MessageData_ofName(x_1); -x_14 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__3; -x_16 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_box(0); -x_18 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__11(x_2, x_17); -x_19 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_18, x_17); -x_20 = l_Lean_MessageData_ofList(x_19); -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_21, x_7, x_8, x_9, x_10, x_11); -return x_22; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_13 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__1; +x_14 = l_Lean_MessageData_ofName(x_1); +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__3; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_box(0); +x_19 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__11(x_2, x_18); +x_20 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_19, x_18); +x_21 = l_Lean_MessageData_ofList(x_20); +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_22, x_8, x_9, x_10, x_11, x_12); +return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_1); -x_11 = l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_14; -} -else -{ -uint8_t x_15; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_11); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +lean_object* x_12; lean_inc(x_10); lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_1); +x_12 = l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = l_Lean_Syntax_getId(x_2); -x_18 = l_Lean_Name_append(x_1, x_17); -x_19 = 1; -lean_inc(x_18); -x_20 = l_Lean_Environment_contains(x_15, x_18, x_19); -if (x_20 == 0) -{ -uint8_t x_21; -lean_free_object(x_13); -x_21 = !lean_is_exclusive(x_9); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_9, 5); -x_23 = l_Lean_replaceRef(x_2, x_22); -lean_dec(x_22); -lean_ctor_set(x_9, 5, x_23); -x_24 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_24; +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(x_1, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_15; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_25 = lean_ctor_get(x_9, 0); -x_26 = lean_ctor_get(x_9, 1); -x_27 = lean_ctor_get(x_9, 2); -x_28 = lean_ctor_get(x_9, 3); -x_29 = lean_ctor_get(x_9, 4); -x_30 = lean_ctor_get(x_9, 5); -x_31 = lean_ctor_get(x_9, 6); -x_32 = lean_ctor_get(x_9, 7); -x_33 = lean_ctor_get(x_9, 8); -x_34 = lean_ctor_get(x_9, 9); -x_35 = lean_ctor_get(x_9, 10); -x_36 = lean_ctor_get(x_9, 11); -x_37 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_38 = lean_ctor_get(x_9, 12); -x_39 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_40 = lean_ctor_get(x_9, 13); -lean_inc(x_40); -lean_inc(x_38); +uint8_t x_16; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) +{ +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l_Lean_Syntax_getId(x_2); +x_19 = l_Lean_Name_append(x_1, x_18); +x_20 = 1; +lean_inc(x_19); +x_21 = l_Lean_Environment_contains(x_16, x_19, x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_free_object(x_14); +x_22 = !lean_is_exclusive(x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_10, 5); +x_24 = l_Lean_replaceRef(x_2, x_23); +lean_dec(x_23); +lean_ctor_set(x_10, 5, x_24); +x_25 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_26 = lean_ctor_get(x_10, 0); +x_27 = lean_ctor_get(x_10, 1); +x_28 = lean_ctor_get(x_10, 2); +x_29 = lean_ctor_get(x_10, 3); +x_30 = lean_ctor_get(x_10, 4); +x_31 = lean_ctor_get(x_10, 5); +x_32 = lean_ctor_get(x_10, 6); +x_33 = lean_ctor_get(x_10, 7); +x_34 = lean_ctor_get(x_10, 8); +x_35 = lean_ctor_get(x_10, 9); +x_36 = lean_ctor_get(x_10, 10); +x_37 = lean_ctor_get(x_10, 11); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_39 = lean_ctor_get(x_10, 12); +x_40 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_41 = lean_ctor_get(x_10, 13); +lean_inc(x_41); +lean_inc(x_39); +lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); @@ -45069,327 +46775,326 @@ lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); +lean_dec(x_10); +x_42 = l_Lean_replaceRef(x_2, x_31); +lean_dec(x_31); +x_43 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_43, 0, x_26); +lean_ctor_set(x_43, 1, x_27); +lean_ctor_set(x_43, 2, x_28); +lean_ctor_set(x_43, 3, x_29); +lean_ctor_set(x_43, 4, x_30); +lean_ctor_set(x_43, 5, x_42); +lean_ctor_set(x_43, 6, x_32); +lean_ctor_set(x_43, 7, x_33); +lean_ctor_set(x_43, 8, x_34); +lean_ctor_set(x_43, 9, x_35); +lean_ctor_set(x_43, 10, x_36); +lean_ctor_set(x_43, 11, x_37); +lean_ctor_set(x_43, 12, x_39); +lean_ctor_set(x_43, 13, x_41); +lean_ctor_set_uint8(x_43, sizeof(void*)*14, x_38); +lean_ctor_set_uint8(x_43, sizeof(void*)*14 + 1, x_40); +x_44 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_43, x_11, x_17); +return x_44; +} +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); -x_41 = l_Lean_replaceRef(x_2, x_30); -lean_dec(x_30); -x_42 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_42, 0, x_25); -lean_ctor_set(x_42, 1, x_26); -lean_ctor_set(x_42, 2, x_27); -lean_ctor_set(x_42, 3, x_28); -lean_ctor_set(x_42, 4, x_29); -lean_ctor_set(x_42, 5, x_41); -lean_ctor_set(x_42, 6, x_31); -lean_ctor_set(x_42, 7, x_32); -lean_ctor_set(x_42, 8, x_33); -lean_ctor_set(x_42, 9, x_34); -lean_ctor_set(x_42, 10, x_35); -lean_ctor_set(x_42, 11, x_36); -lean_ctor_set(x_42, 12, x_38); -lean_ctor_set(x_42, 13, x_40); -lean_ctor_set_uint8(x_42, sizeof(void*)*14, x_37); -lean_ctor_set_uint8(x_42, sizeof(void*)*14 + 1, x_39); -x_43 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_42, x_10, x_16); -return x_43; +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_ctor_set(x_14, 0, x_19); +return x_14; } } else { -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_ctor_set(x_13, 0, x_18); -return x_13; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; -x_44 = lean_ctor_get(x_13, 0); -x_45 = lean_ctor_get(x_13, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_50; +x_45 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_13); -x_46 = l_Lean_Syntax_getId(x_2); -x_47 = l_Lean_Name_append(x_1, x_46); -x_48 = 1; -lean_inc(x_47); -x_49 = l_Lean_Environment_contains(x_44, x_47, x_48); -if (x_49 == 0) +lean_dec(x_14); +x_47 = l_Lean_Syntax_getId(x_2); +x_48 = l_Lean_Name_append(x_1, x_47); +x_49 = 1; +lean_inc(x_48); +x_50 = l_Lean_Environment_contains(x_45, x_48, x_49); +if (x_50 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_50 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_50); -x_51 = lean_ctor_get(x_9, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_51 = lean_ctor_get(x_10, 0); lean_inc_ref(x_51); -x_52 = lean_ctor_get(x_9, 2); -lean_inc(x_52); -x_53 = lean_ctor_get(x_9, 3); +x_52 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_52); +x_53 = lean_ctor_get(x_10, 2); lean_inc(x_53); -x_54 = lean_ctor_get(x_9, 4); +x_54 = lean_ctor_get(x_10, 3); lean_inc(x_54); -x_55 = lean_ctor_get(x_9, 5); +x_55 = lean_ctor_get(x_10, 4); lean_inc(x_55); -x_56 = lean_ctor_get(x_9, 6); +x_56 = lean_ctor_get(x_10, 5); lean_inc(x_56); -x_57 = lean_ctor_get(x_9, 7); +x_57 = lean_ctor_get(x_10, 6); lean_inc(x_57); -x_58 = lean_ctor_get(x_9, 8); +x_58 = lean_ctor_get(x_10, 7); lean_inc(x_58); -x_59 = lean_ctor_get(x_9, 9); +x_59 = lean_ctor_get(x_10, 8); lean_inc(x_59); -x_60 = lean_ctor_get(x_9, 10); +x_60 = lean_ctor_get(x_10, 9); lean_inc(x_60); -x_61 = lean_ctor_get(x_9, 11); +x_61 = lean_ctor_get(x_10, 10); lean_inc(x_61); -x_62 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_63 = lean_ctor_get(x_9, 12); -lean_inc(x_63); -x_64 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_65 = lean_ctor_get(x_9, 13); -lean_inc_ref(x_65); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - lean_ctor_release(x_9, 8); - lean_ctor_release(x_9, 9); - lean_ctor_release(x_9, 10); - lean_ctor_release(x_9, 11); - lean_ctor_release(x_9, 12); - lean_ctor_release(x_9, 13); - x_66 = x_9; +x_62 = lean_ctor_get(x_10, 11); +lean_inc(x_62); +x_63 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_64 = lean_ctor_get(x_10, 12); +lean_inc(x_64); +x_65 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_66 = lean_ctor_get(x_10, 13); +lean_inc_ref(x_66); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + lean_ctor_release(x_10, 3); + lean_ctor_release(x_10, 4); + lean_ctor_release(x_10, 5); + lean_ctor_release(x_10, 6); + lean_ctor_release(x_10, 7); + lean_ctor_release(x_10, 8); + lean_ctor_release(x_10, 9); + lean_ctor_release(x_10, 10); + lean_ctor_release(x_10, 11); + lean_ctor_release(x_10, 12); + lean_ctor_release(x_10, 13); + x_67 = x_10; } else { - lean_dec_ref(x_9); - x_66 = lean_box(0); + lean_dec_ref(x_10); + x_67 = lean_box(0); } -x_67 = l_Lean_replaceRef(x_2, x_55); -lean_dec(x_55); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 14, 2); +x_68 = l_Lean_replaceRef(x_2, x_56); +lean_dec(x_56); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 14, 2); } else { - x_68 = x_66; + x_69 = x_67; } -lean_ctor_set(x_68, 0, x_50); -lean_ctor_set(x_68, 1, x_51); -lean_ctor_set(x_68, 2, x_52); -lean_ctor_set(x_68, 3, x_53); -lean_ctor_set(x_68, 4, x_54); -lean_ctor_set(x_68, 5, x_67); -lean_ctor_set(x_68, 6, x_56); -lean_ctor_set(x_68, 7, x_57); -lean_ctor_set(x_68, 8, x_58); -lean_ctor_set(x_68, 9, x_59); -lean_ctor_set(x_68, 10, x_60); -lean_ctor_set(x_68, 11, x_61); -lean_ctor_set(x_68, 12, x_63); -lean_ctor_set(x_68, 13, x_65); -lean_ctor_set_uint8(x_68, sizeof(void*)*14, x_62); -lean_ctor_set_uint8(x_68, sizeof(void*)*14 + 1, x_64); -x_69 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_68, x_10, x_45); -return x_69; -} -else -{ -lean_object* x_70; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_47); -lean_ctor_set(x_70, 1, x_45); +lean_ctor_set(x_69, 0, x_51); +lean_ctor_set(x_69, 1, x_52); +lean_ctor_set(x_69, 2, x_53); +lean_ctor_set(x_69, 3, x_54); +lean_ctor_set(x_69, 4, x_55); +lean_ctor_set(x_69, 5, x_68); +lean_ctor_set(x_69, 6, x_57); +lean_ctor_set(x_69, 7, x_58); +lean_ctor_set(x_69, 8, x_59); +lean_ctor_set(x_69, 9, x_60); +lean_ctor_set(x_69, 10, x_61); +lean_ctor_set(x_69, 11, x_62); +lean_ctor_set(x_69, 12, x_64); +lean_ctor_set(x_69, 13, x_66); +lean_ctor_set_uint8(x_69, sizeof(void*)*14, x_63); +lean_ctor_set_uint8(x_69, sizeof(void*)*14 + 1, x_65); +x_70 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_69, x_11, x_46); return x_70; } +else +{ +lean_object* x_71; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_48); +lean_ctor_set(x_71, 1, x_46); +return x_71; +} } } else { -uint8_t x_71; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_72; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_1); -x_71 = !lean_is_exclusive(x_13); -if (x_71 == 0) +x_72 = !lean_is_exclusive(x_14); +if (x_72 == 0) { -return x_13; +return x_14; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_13, 0); -x_73 = lean_ctor_get(x_13, 1); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_14, 0); +x_74 = lean_ctor_get(x_14, 1); +lean_inc(x_74); lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_13); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_dec(x_14); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_13; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_3); -lean_ctor_set(x_13, 1, x_12); -return x_13; +lean_object* x_14; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_13); +return x_14; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); -lean_dec_ref(x_2); -x_16 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 1); +lean_dec_ref(x_2); +x_17 = lean_ctor_get(x_3, 0); lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 1); +lean_inc(x_18); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_18 = x_3; + x_19 = x_3; } else { lean_dec_ref(x_3); - x_18 = lean_box(0); + x_19 = lean_box(0); } -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_19 = l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(x_14, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_20 = l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(x_15, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec_ref(x_19); -x_22 = lean_array_push(x_17, x_20); -if (lean_is_scalar(x_18)) { - x_23 = lean_alloc_ctor(0, 2, 0); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_array_push(x_18, x_21); +if (lean_is_scalar(x_19)) { + x_24 = lean_alloc_ctor(0, 2, 0); } else { - x_23 = x_18; + x_24 = x_19; } -lean_ctor_set(x_23, 0, x_16); -lean_ctor_set(x_23, 1, x_22); -x_2 = x_15; -x_3 = x_23; -x_12 = x_21; +lean_ctor_set(x_24, 0, x_17); +lean_ctor_set(x_24, 1, x_23); +x_2 = x_16; +x_3 = x_24; +x_13 = x_22; goto _start; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_34; -x_25 = lean_ctor_get(x_19, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_19, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_35; +x_26 = lean_ctor_get(x_20, 0); lean_inc(x_26); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_27 = x_19; +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_28 = x_20; } else { - lean_dec_ref(x_19); - x_27 = lean_box(0); + lean_dec_ref(x_20); + x_28 = lean_box(0); } -x_34 = l_Lean_Exception_isInterrupt(x_25); -if (x_34 == 0) +x_35 = l_Lean_Exception_isInterrupt(x_26); +if (x_35 == 0) { -uint8_t x_35; -x_35 = l_Lean_Exception_isRuntime(x_25); -x_28 = x_35; -goto block_33; +uint8_t x_36; +x_36 = l_Lean_Exception_isRuntime(x_26); +x_29 = x_36; +goto block_34; } else { -x_28 = x_34; -goto block_33; +x_29 = x_35; +goto block_34; } -block_33: +block_34: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_27); -x_29 = lean_array_push(x_16, x_25); -if (lean_is_scalar(x_18)) { - x_30 = lean_alloc_ctor(0, 2, 0); +lean_object* x_30; lean_object* x_31; +lean_dec(x_28); +x_30 = lean_array_push(x_17, x_26); +if (lean_is_scalar(x_19)) { + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_18; + x_31 = x_19; } -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_17); -x_2 = x_15; -x_3 = x_30; -x_12 = x_26; +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_18); +x_2 = x_16; +x_3 = x_31; +x_13 = x_27; goto _start; } else { -lean_object* x_32; +lean_object* x_33; +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -if (lean_is_scalar(x_27)) { - x_32 = lean_alloc_ctor(1, 2, 0); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +if (lean_is_scalar(x_28)) { + x_33 = lean_alloc_ctor(1, 2, 0); } else { - x_32 = x_27; + x_33 = x_28; } -lean_ctor_set(x_32, 0, x_25); -lean_ctor_set(x_32, 1, x_26); -return x_32; +lean_ctor_set(x_33, 0, x_26); +lean_ctor_set(x_33, 1, x_27); +return x_33; } } } } } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -x_15 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; +lean_object* x_16; +x_16 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(size_t x_1, size_t x_2, lean_object* x_3) { @@ -45418,75 +47123,75 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_array_size(x_2); -x_13 = 0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_array_size(x_2); +x_14 = 0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; -x_18 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_toMessageList(x_15); -x_20 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_20, x_7, x_8, x_9, x_10, x_16); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_21; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_toMessageList(x_16); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_21, x_8, x_9, x_10, x_11, x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +return x_22; } else { -uint8_t x_22; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +uint8_t x_23; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec_ref(x_1); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) { -return x_14; +return x_15; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; +lean_object* x_14; +x_14 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; } } static lean_object* _init_l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__0() { @@ -45523,70 +47228,71 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_dec_eq(x_14, x_15); -lean_dec(x_14); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_11); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_array_get_size(x_1); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_15); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_18 = lean_ctor_get(x_11, 5); -x_19 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; -x_20 = l_Lean_Syntax_getId(x_2); -x_21 = l_Lean_MessageData_ofName(x_20); -x_22 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_array_size(x_1); -x_26 = 0; -x_27 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(x_25, x_26, x_1); -x_28 = lean_array_to_list(x_27); -x_29 = lean_box(0); -x_30 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_28, x_29); -x_31 = l_Lean_MessageData_ofList(x_30); -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_replaceRef(x_2, x_18); -lean_dec(x_18); -lean_ctor_set(x_11, 5, x_33); -x_34 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_32, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_11); -return x_34; +uint8_t x_18; +x_18 = !lean_is_exclusive(x_12); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_19 = lean_ctor_get(x_12, 5); +x_20 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; +x_21 = l_Lean_Syntax_getId(x_2); +x_22 = l_Lean_MessageData_ofName(x_21); +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_array_size(x_1); +x_27 = 0; +x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(x_26, x_27, x_1); +x_29 = lean_array_to_list(x_28); +x_30 = lean_box(0); +x_31 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_29, x_30); +x_32 = l_Lean_MessageData_ofList(x_31); +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_25); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_replaceRef(x_2, x_19); +lean_dec(x_19); +lean_ctor_set(x_12, 5, x_34); +x_35 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_33, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_12); +return x_35; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; size_t x_57; size_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_35 = lean_ctor_get(x_11, 0); -x_36 = lean_ctor_get(x_11, 1); -x_37 = lean_ctor_get(x_11, 2); -x_38 = lean_ctor_get(x_11, 3); -x_39 = lean_ctor_get(x_11, 4); -x_40 = lean_ctor_get(x_11, 5); -x_41 = lean_ctor_get(x_11, 6); -x_42 = lean_ctor_get(x_11, 7); -x_43 = lean_ctor_get(x_11, 8); -x_44 = lean_ctor_get(x_11, 9); -x_45 = lean_ctor_get(x_11, 10); -x_46 = lean_ctor_get(x_11, 11); -x_47 = lean_ctor_get_uint8(x_11, sizeof(void*)*14); -x_48 = lean_ctor_get(x_11, 12); -x_49 = lean_ctor_get_uint8(x_11, sizeof(void*)*14 + 1); -x_50 = lean_ctor_get(x_11, 13); -lean_inc(x_50); -lean_inc(x_48); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_36 = lean_ctor_get(x_12, 0); +x_37 = lean_ctor_get(x_12, 1); +x_38 = lean_ctor_get(x_12, 2); +x_39 = lean_ctor_get(x_12, 3); +x_40 = lean_ctor_get(x_12, 4); +x_41 = lean_ctor_get(x_12, 5); +x_42 = lean_ctor_get(x_12, 6); +x_43 = lean_ctor_get(x_12, 7); +x_44 = lean_ctor_get(x_12, 8); +x_45 = lean_ctor_get(x_12, 9); +x_46 = lean_ctor_get(x_12, 10); +x_47 = lean_ctor_get(x_12, 11); +x_48 = lean_ctor_get_uint8(x_12, sizeof(void*)*14); +x_49 = lean_ctor_get(x_12, 12); +x_50 = lean_ctor_get_uint8(x_12, sizeof(void*)*14 + 1); +x_51 = lean_ctor_get(x_12, 13); +lean_inc(x_51); +lean_inc(x_49); +lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); @@ -45598,73 +47304,72 @@ lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_11); -x_51 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; -x_52 = l_Lean_Syntax_getId(x_2); -x_53 = l_Lean_MessageData_ofName(x_52); -x_54 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; -x_56 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_size(x_1); -x_58 = 0; -x_59 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(x_57, x_58, x_1); -x_60 = lean_array_to_list(x_59); -x_61 = lean_box(0); -x_62 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_60, x_61); -x_63 = l_Lean_MessageData_ofList(x_62); -x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_56); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_replaceRef(x_2, x_40); -lean_dec(x_40); -x_66 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_66, 0, x_35); -lean_ctor_set(x_66, 1, x_36); -lean_ctor_set(x_66, 2, x_37); -lean_ctor_set(x_66, 3, x_38); -lean_ctor_set(x_66, 4, x_39); -lean_ctor_set(x_66, 5, x_65); -lean_ctor_set(x_66, 6, x_41); -lean_ctor_set(x_66, 7, x_42); -lean_ctor_set(x_66, 8, x_43); -lean_ctor_set(x_66, 9, x_44); -lean_ctor_set(x_66, 10, x_45); -lean_ctor_set(x_66, 11, x_46); -lean_ctor_set(x_66, 12, x_48); -lean_ctor_set(x_66, 13, x_50); -lean_ctor_set_uint8(x_66, sizeof(void*)*14, x_47); -lean_ctor_set_uint8(x_66, sizeof(void*)*14 + 1, x_49); -x_67 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_64, x_9, x_10, x_66, x_12, x_13); -lean_dec_ref(x_66); -return x_67; +lean_dec(x_12); +x_52 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; +x_53 = l_Lean_Syntax_getId(x_2); +x_54 = l_Lean_MessageData_ofName(x_53); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_array_size(x_1); +x_59 = 0; +x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(x_58, x_59, x_1); +x_61 = lean_array_to_list(x_60); +x_62 = lean_box(0); +x_63 = l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(x_61, x_62); +x_64 = l_Lean_MessageData_ofList(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_57); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_replaceRef(x_2, x_41); +lean_dec(x_41); +x_67 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_67, 0, x_36); +lean_ctor_set(x_67, 1, x_37); +lean_ctor_set(x_67, 2, x_38); +lean_ctor_set(x_67, 3, x_39); +lean_ctor_set(x_67, 4, x_40); +lean_ctor_set(x_67, 5, x_66); +lean_ctor_set(x_67, 6, x_42); +lean_ctor_set(x_67, 7, x_43); +lean_ctor_set(x_67, 8, x_44); +lean_ctor_set(x_67, 9, x_45); +lean_ctor_set(x_67, 10, x_46); +lean_ctor_set(x_67, 11, x_47); +lean_ctor_set(x_67, 12, x_49); +lean_ctor_set(x_67, 13, x_51); +lean_ctor_set_uint8(x_67, sizeof(void*)*14, x_48); +lean_ctor_set_uint8(x_67, sizeof(void*)*14 + 1, x_50); +x_68 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(x_65, x_10, x_11, x_67, x_13, x_14); +lean_dec_ref(x_67); +return x_68; } } else { -lean_object* x_68; lean_object* x_69; -lean_dec_ref(x_11); -x_68 = lean_array_fget(x_1, x_3); +lean_object* x_69; lean_object* x_70; +lean_dec_ref(x_12); +x_69 = lean_array_fget(x_1, x_3); lean_dec_ref(x_1); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_13); -return x_69; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_14); +return x_70; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_10); -return x_11; +lean_object* x_12; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +return x_12; } } static lean_object* _init_l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__0() { @@ -45705,220 +47410,225 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__0; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); lean_inc(x_1); -x_14 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_2, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +x_15 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_2, x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec_ref(x_14); -x_17 = lean_ctor_get(x_15, 0); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); -lean_dec(x_15); -x_47 = lean_array_get_size(x_17); -x_48 = l_List_lengthTR___redArg(x_1); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_48 = lean_array_get_size(x_18); +x_49 = l_List_lengthTR___redArg(x_1); lean_dec(x_1); -x_49 = lean_nat_dec_eq(x_47, x_48); +x_50 = lean_nat_dec_eq(x_48, x_49); +lean_dec(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_dec(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -lean_dec(x_47); -lean_dec(x_17); -x_50 = lean_box(0); -x_51 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_18, x_2, x_12, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +lean_dec(x_18); +x_51 = lean_box(0); +x_52 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_19, x_2, x_13, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_51; +lean_dec_ref(x_3); +return x_52; } else { -lean_object* x_52; uint8_t x_53; -x_52 = lean_unsigned_to_nat(1u); -x_53 = lean_nat_dec_eq(x_47, x_52); -lean_dec(x_47); -if (x_53 == 0) +lean_object* x_53; uint8_t x_54; +x_53 = lean_unsigned_to_nat(1u); +x_54 = lean_nat_dec_eq(x_48, x_53); +lean_dec(x_48); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__3; -x_55 = lean_alloc_closure((void*)(l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed), 12, 3); -lean_closure_set(x_55, 0, lean_box(0)); -lean_closure_set(x_55, 1, x_54); -lean_closure_set(x_55, 2, x_17); -x_19 = x_55; -goto block_46; +lean_object* x_55; lean_object* x_56; +x_55 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__3; +x_56 = lean_alloc_closure((void*)(l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed), 13, 3); +lean_closure_set(x_56, 0, lean_box(0)); +lean_closure_set(x_56, 1, x_55); +lean_closure_set(x_56, 2, x_18); +x_20 = x_56; +goto block_47; } else { -lean_object* x_56; lean_object* x_57; -x_56 = lean_array_fget(x_17, x_12); -lean_dec(x_17); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1___boxed), 10, 1); -lean_closure_set(x_57, 0, x_56); -x_19 = x_57; -goto block_46; +lean_object* x_57; lean_object* x_58; +x_57 = lean_array_fget(x_18, x_13); +lean_dec(x_18); +x_58 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1___boxed), 11, 1); +lean_closure_set(x_58, 0, x_57); +x_20 = x_58; +goto block_47; } } -block_46: +block_47: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_20 = lean_ctor_get(x_9, 0); -x_21 = lean_ctor_get(x_9, 1); -x_22 = lean_ctor_get(x_9, 2); -x_23 = lean_ctor_get(x_9, 3); -x_24 = lean_ctor_get(x_9, 4); -x_25 = lean_ctor_get(x_9, 5); -x_26 = lean_ctor_get(x_9, 6); -x_27 = lean_ctor_get(x_9, 7); -x_28 = lean_ctor_get(x_9, 8); -x_29 = lean_ctor_get(x_9, 9); -x_30 = lean_ctor_get(x_9, 10); -x_31 = lean_ctor_get(x_9, 11); -x_32 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_33 = lean_ctor_get(x_9, 12); -x_34 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_35 = lean_ctor_get(x_9, 13); -x_36 = l_Lean_replaceRef(x_2, x_25); -lean_inc_ref(x_35); -lean_inc(x_33); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_21 = lean_ctor_get(x_10, 0); +x_22 = lean_ctor_get(x_10, 1); +x_23 = lean_ctor_get(x_10, 2); +x_24 = lean_ctor_get(x_10, 3); +x_25 = lean_ctor_get(x_10, 4); +x_26 = lean_ctor_get(x_10, 5); +x_27 = lean_ctor_get(x_10, 6); +x_28 = lean_ctor_get(x_10, 7); +x_29 = lean_ctor_get(x_10, 8); +x_30 = lean_ctor_get(x_10, 9); +x_31 = lean_ctor_get(x_10, 10); +x_32 = lean_ctor_get(x_10, 11); +x_33 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_34 = lean_ctor_get(x_10, 12); +x_35 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_36 = lean_ctor_get(x_10, 13); +x_37 = l_Lean_replaceRef(x_2, x_26); +lean_inc_ref(x_36); +lean_inc(x_34); +lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); +lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); +lean_inc_ref(x_22); lean_inc_ref(x_21); -lean_inc_ref(x_20); -x_37 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_37, 0, x_20); -lean_ctor_set(x_37, 1, x_21); -lean_ctor_set(x_37, 2, x_22); -lean_ctor_set(x_37, 3, x_23); -lean_ctor_set(x_37, 4, x_24); -lean_ctor_set(x_37, 5, x_36); -lean_ctor_set(x_37, 6, x_26); -lean_ctor_set(x_37, 7, x_27); -lean_ctor_set(x_37, 8, x_28); -lean_ctor_set(x_37, 9, x_29); -lean_ctor_set(x_37, 10, x_30); -lean_ctor_set(x_37, 11, x_31); -lean_ctor_set(x_37, 12, x_33); -lean_ctor_set(x_37, 13, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*14, x_32); -lean_ctor_set_uint8(x_37, sizeof(void*)*14 + 1, x_34); -lean_inc(x_10); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); +x_38 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_38, 0, x_21); +lean_ctor_set(x_38, 1, x_22); +lean_ctor_set(x_38, 2, x_23); +lean_ctor_set(x_38, 3, x_24); +lean_ctor_set(x_38, 4, x_25); +lean_ctor_set(x_38, 5, x_37); +lean_ctor_set(x_38, 6, x_27); +lean_ctor_set(x_38, 7, x_28); +lean_ctor_set(x_38, 8, x_29); +lean_ctor_set(x_38, 9, x_30); +lean_ctor_set(x_38, 10, x_31); +lean_ctor_set(x_38, 11, x_32); +lean_ctor_set(x_38, 12, x_34); +lean_ctor_set(x_38, 13, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*14, x_33); +lean_ctor_set_uint8(x_38, sizeof(void*)*14 + 1, x_35); +lean_inc(x_11); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_38 = lean_apply_9(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_37, x_10, x_16); -if (lean_obj_tag(x_38) == 0) +lean_inc_ref(x_3); +x_39 = lean_apply_10(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38, x_11, x_17); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec_ref(x_38); -x_41 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_18, x_2, x_12, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_19, x_2, x_13, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_41; +lean_dec_ref(x_3); +return x_42; } else { -uint8_t x_42; -lean_dec(x_18); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_43; +lean_dec(x_19); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +lean_dec_ref(x_3); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) { -return x_38; +return x_39; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } } else { -uint8_t x_58; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_59; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec_ref(x_3); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_14); -if (x_58 == 0) +x_59 = !lean_is_exclusive(x_15); +if (x_59 == 0) { -return x_14; +return x_15; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_14, 0); -x_60 = lean_ctor_get(x_14, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_15, 0); +x_61 = lean_ctor_get(x_15, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_14); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_15); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } @@ -45957,1004 +47667,1022 @@ return x_15; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; uint8_t x_22; -x_22 = lean_usize_dec_lt(x_5, x_4); -if (x_22 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) { -lean_object* x_23; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +lean_object* x_24; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_6); -lean_ctor_set(x_23, 1, x_15); -return x_23; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_array_uget(x_3, x_5); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); +lean_object* x_25; lean_object* x_26; +x_25 = lean_array_uget(x_3, x_5); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc_ref(x_7); lean_inc(x_1); -x_25 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_st_ref_take(x_8, x_27); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_st_ref_take(x_9, x_28); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_28, 0); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_29, 0); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_32 = lean_ctor_get(x_28, 1); -x_33 = lean_ctor_get(x_30, 1); -x_34 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -lean_ctor_set_tag(x_28, 1); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 0, x_34); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_28); -lean_ctor_set(x_35, 1, x_33); -lean_ctor_set(x_30, 1, x_35); -x_36 = lean_st_ref_set(x_8, x_30, x_32); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec_ref(x_36); -x_38 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_37); -if (lean_obj_tag(x_39) == 0) +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_29, 1); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 0, x_35); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_29); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_31, 1, x_36); +x_37 = lean_st_ref_set(x_9, x_31, x_33); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec_ref(x_37); +x_39 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_40 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_38); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_40; uint8_t x_41; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*3); -lean_dec(x_40); -if (x_41 == 0) +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*3); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_42; -lean_dec(x_26); -lean_dec(x_24); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec_ref(x_39); -x_16 = x_2; -x_17 = x_42; -goto block_21; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_39, 1); +lean_object* x_43; +lean_dec(x_27); +lean_dec(x_25); +x_43 = lean_ctor_get(x_40, 1); lean_inc(x_43); -lean_dec_ref(x_39); -x_44 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_45 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec_ref(x_45); -x_16 = x_2; -x_17 = x_46; -goto block_21; +lean_dec_ref(x_40); +x_17 = x_2; +x_18 = x_43; +goto block_22; } else { -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec_ref(x_40); +x_45 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_46 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec_ref(x_46); +x_17 = x_2; +x_18 = x_47; +goto block_22; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -return x_45; +return x_46; } } } else { -uint8_t x_47; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +uint8_t x_48; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_39); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_40); +if (x_48 == 0) { -return x_39; +return x_40; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_39, 0); -x_49 = lean_ctor_get(x_39, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_40, 0); +x_50 = lean_ctor_get(x_40, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_39); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_dec(x_40); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_51 = lean_ctor_get(x_28, 1); -x_52 = lean_ctor_get(x_30, 0); -x_53 = lean_ctor_get(x_30, 1); -x_54 = lean_ctor_get(x_30, 2); -x_55 = lean_ctor_get(x_30, 3); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_52 = lean_ctor_get(x_29, 1); +x_53 = lean_ctor_get(x_31, 0); +x_54 = lean_ctor_get(x_31, 1); +x_55 = lean_ctor_get(x_31, 2); +x_56 = lean_ctor_get(x_31, 3); +lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_30); -x_56 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -lean_ctor_set_tag(x_28, 1); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 0, x_56); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_28); -lean_ctor_set(x_57, 1, x_53); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -x_59 = lean_st_ref_set(x_8, x_58, x_51); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec_ref(x_59); -x_61 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_62 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_61, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_60); -if (lean_obj_tag(x_62) == 0) +lean_dec(x_31); +x_57 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 0, x_57); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_29); +lean_ctor_set(x_58, 1, x_54); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_55); +lean_ctor_set(x_59, 3, x_56); +x_60 = lean_st_ref_set(x_9, x_59, x_52); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec_ref(x_60); +x_62 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_63 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_61); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get_uint8(x_63, sizeof(void*)*3); -lean_dec(x_63); -if (x_64 == 0) +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*3); +lean_dec(x_64); +if (x_65 == 0) { -lean_object* x_65; -lean_dec(x_26); -lean_dec(x_24); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec_ref(x_62); -x_16 = x_2; -x_17 = x_65; -goto block_21; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_62, 1); +lean_object* x_66; +lean_dec(x_27); +lean_dec(x_25); +x_66 = lean_ctor_get(x_63, 1); lean_inc(x_66); -lean_dec_ref(x_62); -x_67 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_68 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec_ref(x_68); -x_16 = x_2; -x_17 = x_69; -goto block_21; +lean_dec_ref(x_63); +x_17 = x_2; +x_18 = x_66; +goto block_22; } else { -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_68; -} -} -} -else +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec_ref(x_63); +x_68 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_69 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_68, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_70 = lean_ctor_get(x_62, 0); +lean_object* x_70; +x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_72 = x_62; -} else { - lean_dec_ref(x_62); - x_72 = lean_box(0); +lean_dec_ref(x_69); +x_17 = x_2; +x_18 = x_70; +goto block_22; } -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(1, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_71); -return x_73; +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +return x_69; } } } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_28, 0); -x_75 = lean_ctor_get(x_28, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_28); -x_76 = lean_ctor_get(x_74, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -x_78 = lean_ctor_get(x_74, 2); -lean_inc_ref(x_78); -x_79 = lean_ctor_get(x_74, 3); -lean_inc(x_79); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - lean_ctor_release(x_74, 2); - lean_ctor_release(x_74, 3); - x_80 = x_74; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_71 = lean_ctor_get(x_63, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_63, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_73 = x_63; } else { - lean_dec_ref(x_74); - x_80 = lean_box(0); + lean_dec_ref(x_63); + x_73 = lean_box(0); } -x_81 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_26); +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(1, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_75 = lean_ctor_get(x_29, 0); +x_76 = lean_ctor_get(x_29, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_29); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +x_79 = lean_ctor_get(x_75, 2); +lean_inc_ref(x_79); +x_80 = lean_ctor_get(x_75, 3); +lean_inc(x_80); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + lean_ctor_release(x_75, 3); + x_81 = x_75; +} else { + lean_dec_ref(x_75); + x_81 = lean_box(0); +} +x_82 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_77); -if (lean_is_scalar(x_80)) { - x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 1, x_27); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_78); +if (lean_is_scalar(x_81)) { + x_85 = lean_alloc_ctor(0, 4, 0); } else { - x_84 = x_80; + x_85 = x_81; } -lean_ctor_set(x_84, 0, x_76); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_78); -lean_ctor_set(x_84, 3, x_79); -x_85 = lean_st_ref_set(x_8, x_84, x_75); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec_ref(x_85); -x_87 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_88 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_87, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_86); -if (lean_obj_tag(x_88) == 0) +lean_ctor_set(x_85, 0, x_77); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_79); +lean_ctor_set(x_85, 3, x_80); +x_86 = lean_st_ref_set(x_9, x_85, x_76); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec_ref(x_86); +x_88 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_89 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_88, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_87); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_89; uint8_t x_90; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*3); -lean_dec(x_89); -if (x_90 == 0) +lean_object* x_90; uint8_t x_91; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get_uint8(x_90, sizeof(void*)*3); +lean_dec(x_90); +if (x_91 == 0) { -lean_object* x_91; -lean_dec(x_26); -lean_dec(x_24); -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_dec_ref(x_88); -x_16 = x_2; -x_17 = x_91; -goto block_21; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -lean_dec_ref(x_88); -x_93 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_94 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_93, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_92); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec_ref(x_94); -x_16 = x_2; -x_17 = x_95; -goto block_21; -} -else -{ -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_94; -} -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_96 = lean_ctor_get(x_88, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_88, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_98 = x_88; -} else { - lean_dec_ref(x_88); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_100 = !lean_is_exclusive(x_25); -if (x_100 == 0) -{ -return x_25; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_25, 0); -x_102 = lean_ctor_get(x_25, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_92; +lean_dec(x_27); lean_dec(x_25); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec_ref(x_89); +x_17 = x_2; +x_18 = x_92; +goto block_22; } -} -} -block_21: +else { -size_t x_18; size_t x_19; -x_18 = 1; -x_19 = lean_usize_add(x_5, x_18); -x_5 = x_19; -x_6 = x_16; -x_15 = x_17; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_89, 1); +lean_inc(x_93); +lean_dec_ref(x_89); +x_94 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_95 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_94, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_93); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec_ref(x_95); +x_17 = x_2; +x_18 = x_96; +goto block_22; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +return x_95; +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_97 = lean_ctor_get(x_89, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_89, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_99 = x_89; +} else { + lean_dec_ref(x_89); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_26); +if (x_101 == 0) +{ +return x_26; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_26, 0); +x_103 = lean_ctor_get(x_26, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_26); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +block_22: +{ +size_t x_19; size_t x_20; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_5 = x_20; +x_6 = x_17; +x_16 = x_18; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; uint8_t x_22; -x_22 = lean_usize_dec_lt(x_5, x_4); -if (x_22 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_23; +x_23 = lean_usize_dec_lt(x_5, x_4); +if (x_23 == 0) { -lean_object* x_23; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +lean_object* x_24; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_6); -lean_ctor_set(x_23, 1, x_15); -return x_23; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_16); +return x_24; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_array_uget(x_3, x_5); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); +lean_object* x_25; lean_object* x_26; +x_25 = lean_array_uget(x_3, x_5); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc_ref(x_7); lean_inc(x_1); -x_25 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = lean_st_ref_take(x_8, x_27); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_st_ref_take(x_9, x_28); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_28, 0); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_29, 0); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_32 = lean_ctor_get(x_28, 1); -x_33 = lean_ctor_get(x_30, 1); -x_34 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -lean_ctor_set_tag(x_28, 1); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 0, x_34); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_28); -lean_ctor_set(x_35, 1, x_33); -lean_ctor_set(x_30, 1, x_35); -x_36 = lean_st_ref_set(x_8, x_30, x_32); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec_ref(x_36); -x_38 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_37); -if (lean_obj_tag(x_39) == 0) +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_29, 1); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 0, x_35); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_29); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_31, 1, x_36); +x_37 = lean_st_ref_set(x_9, x_31, x_33); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec_ref(x_37); +x_39 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_40 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_38); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_40; uint8_t x_41; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*3); -lean_dec(x_40); -if (x_41 == 0) +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*3); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_42; -lean_dec(x_26); -lean_dec(x_24); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec_ref(x_39); -x_16 = x_2; -x_17 = x_42; -goto block_21; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_39, 1); +lean_object* x_43; +lean_dec(x_27); +lean_dec(x_25); +x_43 = lean_ctor_get(x_40, 1); lean_inc(x_43); -lean_dec_ref(x_39); -x_44 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_45 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec_ref(x_45); -x_16 = x_2; -x_17 = x_46; -goto block_21; +lean_dec_ref(x_40); +x_17 = x_2; +x_18 = x_43; +goto block_22; } else { -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec_ref(x_40); +x_45 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_46 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec_ref(x_46); +x_17 = x_2; +x_18 = x_47; +goto block_22; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -return x_45; +return x_46; } } } else { -uint8_t x_47; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); +uint8_t x_48; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_39); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_40); +if (x_48 == 0) { -return x_39; +return x_40; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_39, 0); -x_49 = lean_ctor_get(x_39, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_40, 0); +x_50 = lean_ctor_get(x_40, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_39); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_dec(x_40); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_51 = lean_ctor_get(x_28, 1); -x_52 = lean_ctor_get(x_30, 0); -x_53 = lean_ctor_get(x_30, 1); -x_54 = lean_ctor_get(x_30, 2); -x_55 = lean_ctor_get(x_30, 3); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_52 = lean_ctor_get(x_29, 1); +x_53 = lean_ctor_get(x_31, 0); +x_54 = lean_ctor_get(x_31, 1); +x_55 = lean_ctor_get(x_31, 2); +x_56 = lean_ctor_get(x_31, 3); +lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_30); -x_56 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -lean_ctor_set_tag(x_28, 1); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 0, x_56); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_28); -lean_ctor_set(x_57, 1, x_53); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -x_59 = lean_st_ref_set(x_8, x_58, x_51); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec_ref(x_59); -x_61 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_62 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_61, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_60); -if (lean_obj_tag(x_62) == 0) +lean_dec(x_31); +x_57 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 0, x_57); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_29); +lean_ctor_set(x_58, 1, x_54); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_55); +lean_ctor_set(x_59, 3, x_56); +x_60 = lean_st_ref_set(x_9, x_59, x_52); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec_ref(x_60); +x_62 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_63 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_61); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get_uint8(x_63, sizeof(void*)*3); -lean_dec(x_63); -if (x_64 == 0) +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*3); +lean_dec(x_64); +if (x_65 == 0) { -lean_object* x_65; -lean_dec(x_26); -lean_dec(x_24); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec_ref(x_62); -x_16 = x_2; -x_17 = x_65; -goto block_21; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_62, 1); +lean_object* x_66; +lean_dec(x_27); +lean_dec(x_25); +x_66 = lean_ctor_get(x_63, 1); lean_inc(x_66); -lean_dec_ref(x_62); -x_67 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_68 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec_ref(x_68); -x_16 = x_2; -x_17 = x_69; -goto block_21; +lean_dec_ref(x_63); +x_17 = x_2; +x_18 = x_66; +goto block_22; } else { -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_68; -} -} -} -else +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec_ref(x_63); +x_68 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_69 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_68, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_70 = lean_ctor_get(x_62, 0); +lean_object* x_70; +x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_72 = x_62; -} else { - lean_dec_ref(x_62); - x_72 = lean_box(0); +lean_dec_ref(x_69); +x_17 = x_2; +x_18 = x_70; +goto block_22; } -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(1, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_71); -return x_73; +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +return x_69; } } } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_28, 0); -x_75 = lean_ctor_get(x_28, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_28); -x_76 = lean_ctor_get(x_74, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -x_78 = lean_ctor_get(x_74, 2); -lean_inc_ref(x_78); -x_79 = lean_ctor_get(x_74, 3); -lean_inc(x_79); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - lean_ctor_release(x_74, 2); - lean_ctor_release(x_74, 3); - x_80 = x_74; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_71 = lean_ctor_get(x_63, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_63, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_73 = x_63; } else { - lean_dec_ref(x_74); - x_80 = lean_box(0); + lean_dec_ref(x_63); + x_73 = lean_box(0); } -x_81 = l_Lean_TSyntax_getId(x_24); -lean_inc(x_26); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_26); +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(1, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_75 = lean_ctor_get(x_29, 0); +x_76 = lean_ctor_get(x_29, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_29); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +x_79 = lean_ctor_get(x_75, 2); +lean_inc_ref(x_79); +x_80 = lean_ctor_get(x_75, 3); +lean_inc(x_80); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + lean_ctor_release(x_75, 3); + x_81 = x_75; +} else { + lean_dec_ref(x_75); + x_81 = lean_box(0); +} +x_82 = l_Lean_TSyntax_getId(x_25); +lean_inc(x_27); x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_77); -if (lean_is_scalar(x_80)) { - x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 1, x_27); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_78); +if (lean_is_scalar(x_81)) { + x_85 = lean_alloc_ctor(0, 4, 0); } else { - x_84 = x_80; + x_85 = x_81; } -lean_ctor_set(x_84, 0, x_76); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_78); -lean_ctor_set(x_84, 3, x_79); -x_85 = lean_st_ref_set(x_8, x_84, x_75); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec_ref(x_85); -x_87 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_88 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_87, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_86); -if (lean_obj_tag(x_88) == 0) +lean_ctor_set(x_85, 0, x_77); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_79); +lean_ctor_set(x_85, 3, x_80); +x_86 = lean_st_ref_set(x_9, x_85, x_76); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec_ref(x_86); +x_88 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed), 7, 0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_89 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_88, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_87); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_89; uint8_t x_90; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*3); -lean_dec(x_89); -if (x_90 == 0) +lean_object* x_90; uint8_t x_91; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get_uint8(x_90, sizeof(void*)*3); +lean_dec(x_90); +if (x_91 == 0) { -lean_object* x_91; -lean_dec(x_26); -lean_dec(x_24); -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_dec_ref(x_88); -x_16 = x_2; -x_17 = x_91; -goto block_21; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -lean_dec_ref(x_88); -x_93 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_94 = l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4(x_24, x_26, x_93, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_92); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec_ref(x_94); -x_16 = x_2; -x_17 = x_95; -goto block_21; -} -else -{ -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_94; -} -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_96 = lean_ctor_get(x_88, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_88, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_98 = x_88; -} else { - lean_dec_ref(x_88); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_24); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_100 = !lean_is_exclusive(x_25); -if (x_100 == 0) -{ -return x_25; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_25, 0); -x_102 = lean_ctor_get(x_25, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_92; +lean_dec(x_27); lean_dec(x_25); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec_ref(x_89); +x_17 = x_2; +x_18 = x_92; +goto block_22; } -} -} -block_21: +else { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = 1; -x_19 = lean_usize_add(x_5, x_18); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(x_1, x_2, x_3, x_4, x_19, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_17); -return x_20; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_89, 1); +lean_inc(x_93); +lean_dec_ref(x_89); +x_94 = lean_box(0); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_95 = l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(x_25, x_27, x_94, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_93); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec_ref(x_95); +x_17 = x_2; +x_18 = x_96; +goto block_22; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +return x_95; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, size_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_97 = lean_ctor_get(x_89, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_89, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_99 = x_89; +} else { + lean_dec_ref(x_89); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_25); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_26); +if (x_101 == 0) +{ +return x_26; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_26, 0); +x_103 = lean_ctor_get(x_26, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_26); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +block_22: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(x_1, x_2, x_3, x_4, x_20, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_18); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, size_t x_13, size_t x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25) { _start: { -lean_object* x_24; -x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); -return x_24; +lean_object* x_26; +x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +return x_26; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -47223,12 +48951,12 @@ return x_19; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_16; +lean_object* x_17; +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -47264,476 +48992,97 @@ x_1 = l_Lean_scopedEnvExtensionsRef; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0; -x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0___boxed), 8, 1); -lean_closure_set(x_12, 0, x_11); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_13) == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0; +x_13 = lean_alloc_closure((void*)(l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0___boxed), 8, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec_ref(x_13); -x_16 = lean_box(0); -x_17 = lean_array_size(x_14); -x_18 = 0; -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(x_1, x_16, x_14, x_17, x_18, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -lean_dec(x_14); -if (lean_obj_tag(x_19) == 0) +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_box(0); +x_18 = lean_array_size(x_15); +x_19 = 0; +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(x_1, x_17, x_15, x_18, x_19, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_15); +if (lean_obj_tag(x_20) == 0) { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_16); -return x_19; +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_17); +return x_20; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_16); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_17); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -return x_19; +return x_20; } } else { -uint8_t x_24; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) -{ -return x_13; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_14; -lean_dec(x_12); -lean_dec_ref(x_11); +uint8_t x_25; lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_13); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_14); +if (x_25 == 0) +{ return x_14; } else { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_3); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -if (x_2 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_st_ref_take(x_6, x_13); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_31, 0); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_31, 1); -x_36 = lean_ctor_get(x_33, 1); -x_37 = lean_box(0); -lean_inc(x_16); -lean_ctor_set(x_31, 1, x_37); -lean_ctor_set(x_31, 0, x_16); -lean_ctor_set(x_3, 1, x_36); -lean_ctor_set(x_3, 0, x_31); -lean_ctor_set(x_33, 1, x_3); -x_38 = lean_st_ref_set(x_6, x_33, x_35); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec_ref(x_38); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = x_5; -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_39; -goto block_30; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_40 = lean_ctor_get(x_31, 1); -x_41 = lean_ctor_get(x_33, 0); -x_42 = lean_ctor_get(x_33, 1); -x_43 = lean_ctor_get(x_33, 2); -x_44 = lean_ctor_get(x_33, 3); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_33); -x_45 = lean_box(0); -lean_inc(x_16); -lean_ctor_set(x_31, 1, x_45); -lean_ctor_set(x_31, 0, x_16); -lean_ctor_set(x_3, 1, x_42); -lean_ctor_set(x_3, 0, x_31); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_3); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_44); -x_47 = lean_st_ref_set(x_6, x_46, x_40); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec_ref(x_47); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = x_5; -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_48; -goto block_30; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_49 = lean_ctor_get(x_31, 0); -x_50 = lean_ctor_get(x_31, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_31); -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_49, 2); -lean_inc_ref(x_53); -x_54 = lean_ctor_get(x_49, 3); -lean_inc(x_54); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - lean_ctor_release(x_49, 2); - lean_ctor_release(x_49, 3); - x_55 = x_49; -} else { - lean_dec_ref(x_49); - x_55 = lean_box(0); -} -x_56 = lean_box(0); -lean_inc(x_16); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_16); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_3, 1, x_52); -lean_ctor_set(x_3, 0, x_57); -if (lean_is_scalar(x_55)) { - x_58 = lean_alloc_ctor(0, 4, 0); -} else { - x_58 = x_55; -} -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_3); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -x_59 = lean_st_ref_set(x_6, x_58, x_50); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec_ref(x_59); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = x_5; -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_60; -goto block_30; -} -} -else -{ -lean_free_object(x_3); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_18 = x_5; -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_13; -goto block_30; -} -block_30: -{ -lean_object* x_27; -x_27 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_16, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec_ref(x_27); -{ -lean_object* _tmp_2 = x_17; -lean_object* _tmp_3 = x_1; -lean_object* _tmp_12 = x_28; -x_3 = _tmp_2; -x_4 = _tmp_3; -x_13 = _tmp_12; -} -goto _start; -} -else -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_27; -} -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_61 = lean_ctor_get(x_3, 0); -x_62 = lean_ctor_get(x_3, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_3); -if (x_2 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_76 = lean_st_ref_take(x_6, x_13); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_79 = x_76; -} else { - lean_dec_ref(x_76); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_77, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_77, 2); -lean_inc_ref(x_82); -x_83 = lean_ctor_get(x_77, 3); -lean_inc(x_83); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - lean_ctor_release(x_77, 2); - lean_ctor_release(x_77, 3); - x_84 = x_77; -} else { - lean_dec_ref(x_77); - x_84 = lean_box(0); -} -x_85 = lean_box(0); -lean_inc(x_61); -if (lean_is_scalar(x_79)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_79; -} -lean_ctor_set(x_86, 0, x_61); -lean_ctor_set(x_86, 1, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_81); -if (lean_is_scalar(x_84)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_84; -} -lean_ctor_set(x_88, 0, x_80); -lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_88, 2, x_82); -lean_ctor_set(x_88, 3, x_83); -x_89 = lean_st_ref_set(x_6, x_88, x_78); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec_ref(x_89); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_63 = x_5; -x_64 = x_6; -x_65 = x_7; -x_66 = x_8; -x_67 = x_9; -x_68 = x_10; -x_69 = x_11; -x_70 = x_12; -x_71 = x_90; -goto block_75; -} -else -{ -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_63 = x_5; -x_64 = x_6; -x_65 = x_7; -x_66 = x_8; -x_67 = x_9; -x_68 = x_10; -x_69 = x_11; -x_70 = x_12; -x_71 = x_13; -goto block_75; -} -block_75: -{ -lean_object* x_72; -x_72 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_61, x_63, x_64, x_65, x_66, x_67, x_68, x_69, x_70, x_71); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec_ref(x_72); -{ -lean_object* _tmp_2 = x_62; -lean_object* _tmp_3 = x_1; -lean_object* _tmp_12 = x_73; -x_3 = _tmp_2; -x_4 = _tmp_3; -x_13 = _tmp_12; -} -goto _start; -} -else -{ -lean_dec(x_62); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_72; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_14); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } } -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_16; -x_16 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_16; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_3) == 0) { lean_object* x_15; lean_dec(x_13); @@ -47743,204 +49092,215 @@ lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 0, x_4); lean_ctor_set(x_15, 1, x_14); return x_15; } else { uint8_t x_16; -x_16 = !lean_is_exclusive(x_4); +x_16 = !lean_is_exclusive(x_3); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_17 = lean_ctor_get(x_3, 0); +x_18 = lean_ctor_get(x_3, 1); if (x_2 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = lean_st_ref_take(x_7, x_14); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = lean_st_ref_take(x_7, x_14); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_32, 0); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_33, 0); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_32, 1); -x_37 = lean_ctor_get(x_34, 1); -x_38 = lean_box(0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_ctor_get(x_35, 1); +x_39 = lean_box(0); lean_inc(x_17); -lean_ctor_set(x_32, 1, x_38); -lean_ctor_set(x_32, 0, x_17); -lean_ctor_set(x_4, 1, x_37); -lean_ctor_set(x_4, 0, x_32); -lean_ctor_set(x_34, 1, x_4); -x_39 = lean_st_ref_set(x_7, x_34, x_36); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec_ref(x_39); +lean_ctor_set(x_33, 1, x_39); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_3, 1, x_38); +lean_ctor_set(x_3, 0, x_33); +lean_ctor_set(x_35, 1, x_3); +x_40 = lean_st_ref_set(x_7, x_35, x_37); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec_ref(x_40); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_13; -x_27 = x_40; -goto block_31; +x_19 = x_5; +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_41; +goto block_32; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_41 = lean_ctor_get(x_32, 1); -x_42 = lean_ctor_get(x_34, 0); -x_43 = lean_ctor_get(x_34, 1); -x_44 = lean_ctor_get(x_34, 2); -x_45 = lean_ctor_get(x_34, 3); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_42 = lean_ctor_get(x_33, 1); +x_43 = lean_ctor_get(x_35, 0); +x_44 = lean_ctor_get(x_35, 1); +x_45 = lean_ctor_get(x_35, 2); +x_46 = lean_ctor_get(x_35, 3); +lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_34); -x_46 = lean_box(0); +lean_dec(x_35); +x_47 = lean_box(0); lean_inc(x_17); -lean_ctor_set(x_32, 1, x_46); -lean_ctor_set(x_32, 0, x_17); -lean_ctor_set(x_4, 1, x_43); -lean_ctor_set(x_4, 0, x_32); -x_47 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_4); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_45); -x_48 = lean_st_ref_set(x_7, x_47, x_41); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec_ref(x_48); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_13; -x_27 = x_49; -goto block_31; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_50 = lean_ctor_get(x_32, 0); -x_51 = lean_ctor_get(x_32, 1); -lean_inc(x_51); +lean_ctor_set(x_33, 1, x_47); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_3, 1, x_44); +lean_ctor_set(x_3, 0, x_33); +x_48 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_3); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_46); +x_49 = lean_st_ref_set(x_7, x_48, x_42); +x_50 = lean_ctor_get(x_49, 1); lean_inc(x_50); -lean_dec(x_32); -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_50, 2); -lean_inc_ref(x_54); -x_55 = lean_ctor_get(x_50, 3); -lean_inc(x_55); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - lean_ctor_release(x_50, 2); - lean_ctor_release(x_50, 3); - x_56 = x_50; -} else { - lean_dec_ref(x_50); - x_56 = lean_box(0); -} -x_57 = lean_box(0); -lean_inc(x_17); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_17); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_4, 1, x_53); -lean_ctor_set(x_4, 0, x_58); -if (lean_is_scalar(x_56)) { - x_59 = lean_alloc_ctor(0, 4, 0); -} else { - x_59 = x_56; -} -lean_ctor_set(x_59, 0, x_52); -lean_ctor_set(x_59, 1, x_4); -lean_ctor_set(x_59, 2, x_54); -lean_ctor_set(x_59, 3, x_55); -x_60 = lean_st_ref_set(x_7, x_59, x_51); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec_ref(x_60); +lean_dec_ref(x_49); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_13; -x_27 = x_61; -goto block_31; +x_19 = x_5; +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_50; +goto block_32; } } else { -lean_free_object(x_4); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_51 = lean_ctor_get(x_33, 0); +x_52 = lean_ctor_get(x_33, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_33); +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +x_55 = lean_ctor_get(x_51, 2); +lean_inc_ref(x_55); +x_56 = lean_ctor_get(x_51, 3); +lean_inc(x_56); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + lean_ctor_release(x_51, 2); + lean_ctor_release(x_51, 3); + x_57 = x_51; +} else { + lean_dec_ref(x_51); + x_57 = lean_box(0); +} +x_58 = lean_box(0); +lean_inc(x_17); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_17); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_3, 1, x_54); +lean_ctor_set(x_3, 0, x_59); +if (lean_is_scalar(x_57)) { + x_60 = lean_alloc_ctor(0, 4, 0); +} else { + x_60 = x_57; +} +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_3); +lean_ctor_set(x_60, 2, x_55); +lean_ctor_set(x_60, 3, x_56); +x_61 = lean_st_ref_set(x_7, x_60, x_52); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec_ref(x_61); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_19 = x_6; -x_20 = x_7; -x_21 = x_8; -x_22 = x_9; -x_23 = x_10; -x_24 = x_11; -x_25 = x_12; -x_26 = x_13; -x_27 = x_14; -goto block_31; +x_19 = x_5; +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_62; +goto block_32; } -block_31: +} +else { -lean_object* x_28; -x_28 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_17, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27); -if (lean_obj_tag(x_28) == 0) +lean_free_object(x_3); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_19 = x_5; +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_14; +goto block_32; +} +block_32: { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec_ref(x_28); -x_30 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_18, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_29); -return x_30; +lean_object* x_29; +x_29 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_17, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec_ref(x_29); +{ +lean_object* _tmp_2 = x_18; +lean_object* _tmp_3 = x_1; +lean_object* _tmp_13 = x_30; +x_3 = _tmp_2; +x_4 = _tmp_3; +x_14 = _tmp_13; +} +goto _start; } else { @@ -47951,93 +49311,94 @@ lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); -return x_28; +return x_29; } } } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_62 = lean_ctor_get(x_4, 0); -x_63 = lean_ctor_get(x_4, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_63 = lean_ctor_get(x_3, 0); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_4); +lean_dec(x_3); if (x_2 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_77 = lean_st_ref_take(x_7, x_14); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; -} else { - lean_dec_ref(x_77); - x_80 = lean_box(0); -} -x_81 = lean_ctor_get(x_78, 0); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_79 = lean_st_ref_take(x_7, x_14); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_78, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_78, 2); -lean_inc_ref(x_83); -x_84 = lean_ctor_get(x_78, 3); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_82 = x_79; +} else { + lean_dec_ref(x_79); + x_82 = lean_box(0); +} +x_83 = lean_ctor_get(x_80, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_80, 1); lean_inc(x_84); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_85 = x_78; -} else { - lean_dec_ref(x_78); - x_85 = lean_box(0); -} -x_86 = lean_box(0); -lean_inc(x_62); -if (lean_is_scalar(x_80)) { - x_87 = lean_alloc_ctor(0, 2, 0); -} else { +x_85 = lean_ctor_get(x_80, 2); +lean_inc_ref(x_85); +x_86 = lean_ctor_get(x_80, 3); +lean_inc(x_86); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + lean_ctor_release(x_80, 3); x_87 = x_80; -} -lean_ctor_set(x_87, 0, x_62); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -if (lean_is_scalar(x_85)) { - x_89 = lean_alloc_ctor(0, 4, 0); } else { - x_89 = x_85; + lean_dec_ref(x_80); + x_87 = lean_box(0); } -lean_ctor_set(x_89, 0, x_81); +x_88 = lean_box(0); +lean_inc(x_63); +if (lean_is_scalar(x_82)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_82; +} +lean_ctor_set(x_89, 0, x_63); lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_83); -lean_ctor_set(x_89, 3, x_84); -x_90 = lean_st_ref_set(x_7, x_89, x_79); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec_ref(x_90); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_84); +if (lean_is_scalar(x_87)) { + x_91 = lean_alloc_ctor(0, 4, 0); +} else { + x_91 = x_87; +} +lean_ctor_set(x_91, 0, x_83); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_85); +lean_ctor_set(x_91, 3, x_86); +x_92 = lean_st_ref_set(x_7, x_91, x_81); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec_ref(x_92); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_64 = x_6; -x_65 = x_7; -x_66 = x_8; -x_67 = x_9; -x_68 = x_10; -x_69 = x_11; -x_70 = x_12; -x_71 = x_13; -x_72 = x_91; -goto block_76; +x_65 = x_5; +x_66 = x_6; +x_67 = x_7; +x_68 = x_8; +x_69 = x_9; +x_70 = x_10; +x_71 = x_11; +x_72 = x_12; +x_73 = x_13; +x_74 = x_93; +goto block_78; } else { @@ -48047,71 +49408,442 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_64 = x_6; -x_65 = x_7; -x_66 = x_8; -x_67 = x_9; -x_68 = x_10; -x_69 = x_11; -x_70 = x_12; -x_71 = x_13; -x_72 = x_14; -goto block_76; +x_65 = x_5; +x_66 = x_6; +x_67 = x_7; +x_68 = x_8; +x_69 = x_9; +x_70 = x_10; +x_71 = x_11; +x_72 = x_12; +x_73 = x_13; +x_74 = x_14; +goto block_78; } -block_76: +block_78: { -lean_object* x_73; -x_73 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_62, x_64, x_65, x_66, x_67, x_68, x_69, x_70, x_71, x_72); -if (lean_obj_tag(x_73) == 0) +lean_object* x_75; +x_75 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_63, x_65, x_66, x_67, x_68, x_69, x_70, x_71, x_72, x_73, x_74); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec_ref(x_73); -x_75 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_63, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_74); -return x_75; +lean_object* x_76; +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec_ref(x_75); +{ +lean_object* _tmp_2 = x_64; +lean_object* _tmp_3 = x_1; +lean_object* _tmp_13 = x_76; +x_3 = _tmp_2; +x_4 = _tmp_3; +x_14 = _tmp_13; +} +goto _start; } else { -lean_dec(x_63); +lean_dec(x_64); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); -return x_73; +return x_75; } } } } } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_21; -x_21 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_21; +lean_object* x_17; +x_17 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_17; } } -static lean_object* _init_l_Lean_Doc_open___lam__0___closed__0() { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_1; -x_1 = l_Lean_Doc_Block_empty(lean_box(0), lean_box(0)); -return x_1; +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_16; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_4); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_18 = lean_ctor_get(x_4, 0); +x_19 = lean_ctor_get(x_4, 1); +if (x_2 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_st_ref_take(x_8, x_15); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_34, 0); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_34, 1); +x_39 = lean_ctor_get(x_36, 1); +x_40 = lean_box(0); +lean_inc(x_18); +lean_ctor_set(x_34, 1, x_40); +lean_ctor_set(x_34, 0, x_18); +lean_ctor_set(x_4, 1, x_39); +lean_ctor_set(x_4, 0, x_34); +lean_ctor_set(x_36, 1, x_4); +x_41 = lean_st_ref_set(x_8, x_36, x_38); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec_ref(x_41); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_14; +x_29 = x_42; +goto block_33; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_34, 1); +x_44 = lean_ctor_get(x_36, 0); +x_45 = lean_ctor_get(x_36, 1); +x_46 = lean_ctor_get(x_36, 2); +x_47 = lean_ctor_get(x_36, 3); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_36); +x_48 = lean_box(0); +lean_inc(x_18); +lean_ctor_set(x_34, 1, x_48); +lean_ctor_set(x_34, 0, x_18); +lean_ctor_set(x_4, 1, x_45); +lean_ctor_set(x_4, 0, x_34); +x_49 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_4); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_47); +x_50 = lean_st_ref_set(x_8, x_49, x_43); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec_ref(x_50); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_14; +x_29 = x_51; +goto block_33; } } -LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_52 = lean_ctor_get(x_34, 0); +x_53 = lean_ctor_get(x_34, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_34); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_52, 2); +lean_inc_ref(x_56); +x_57 = lean_ctor_get(x_52, 3); +lean_inc(x_57); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + lean_ctor_release(x_52, 3); + x_58 = x_52; +} else { + lean_dec_ref(x_52); + x_58 = lean_box(0); +} +x_59 = lean_box(0); +lean_inc(x_18); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_18); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_4, 1, x_55); +lean_ctor_set(x_4, 0, x_60); +if (lean_is_scalar(x_58)) { + x_61 = lean_alloc_ctor(0, 4, 0); +} else { + x_61 = x_58; +} +lean_ctor_set(x_61, 0, x_54); +lean_ctor_set(x_61, 1, x_4); +lean_ctor_set(x_61, 2, x_56); +lean_ctor_set(x_61, 3, x_57); +x_62 = lean_st_ref_set(x_8, x_61, x_53); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec_ref(x_62); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_14; +x_29 = x_63; +goto block_33; +} +} +else +{ +lean_free_object(x_4); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_20 = x_6; +x_21 = x_7; +x_22 = x_8; +x_23 = x_9; +x_24 = x_10; +x_25 = x_11; +x_26 = x_12; +x_27 = x_13; +x_28 = x_14; +x_29 = x_15; +goto block_33; +} +block_33: +{ +lean_object* x_30; +x_30 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_18, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27, x_28, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec_ref(x_30); +x_32 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_19, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +return x_32; +} +else +{ +lean_dec(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +return x_30; +} +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_64 = lean_ctor_get(x_4, 0); +x_65 = lean_ctor_get(x_4, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_4); +if (x_2 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_80 = lean_st_ref_take(x_8, x_15); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_83 = x_80; +} else { + lean_dec_ref(x_80); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get(x_81, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 2); +lean_inc_ref(x_86); +x_87 = lean_ctor_get(x_81, 3); +lean_inc(x_87); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + lean_ctor_release(x_81, 2); + lean_ctor_release(x_81, 3); + x_88 = x_81; +} else { + lean_dec_ref(x_81); + x_88 = lean_box(0); +} +x_89 = lean_box(0); +lean_inc(x_64); +if (lean_is_scalar(x_83)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_83; +} +lean_ctor_set(x_90, 0, x_64); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_85); +if (lean_is_scalar(x_88)) { + x_92 = lean_alloc_ctor(0, 4, 0); +} else { + x_92 = x_88; +} +lean_ctor_set(x_92, 0, x_84); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_86); +lean_ctor_set(x_92, 3, x_87); +x_93 = lean_st_ref_set(x_8, x_92, x_82); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec_ref(x_93); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_66 = x_6; +x_67 = x_7; +x_68 = x_8; +x_69 = x_9; +x_70 = x_10; +x_71 = x_11; +x_72 = x_12; +x_73 = x_13; +x_74 = x_14; +x_75 = x_94; +goto block_79; +} +else +{ +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_66 = x_6; +x_67 = x_7; +x_68 = x_8; +x_69 = x_9; +x_70 = x_10; +x_71 = x_11; +x_72 = x_12; +x_73 = x_13; +x_74 = x_14; +x_75 = x_15; +goto block_79; +} +block_79: +{ +lean_object* x_76; +x_76 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_64, x_66, x_67, x_68, x_69, x_70, x_71, x_72, x_73, x_74, x_75); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec_ref(x_76); +x_78 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_2, x_65, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_77); +return x_78; +} +else +{ +lean_dec(x_65); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +return x_76; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Doc_open___lam__0___closed__0; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_22; +x_22 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_lean___closed__16; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } } static lean_object* _init_l_Lean_Doc_open___closed__0() { @@ -48131,222 +49863,230 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_open(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_open(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_13 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_36; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_38; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec_ref(x_13); -x_36 = l_Array_isEmpty___redArg(x_3); -if (x_36 == 0) +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_38 = l_Array_isEmpty___redArg(x_3); +if (x_38 == 0) { if (x_2 == 0) { -x_16 = x_4; -x_17 = x_5; -x_18 = x_6; -x_19 = x_7; -x_20 = x_8; -x_21 = x_9; -x_22 = x_10; -x_23 = x_11; -x_24 = x_15; -goto block_35; +x_17 = x_4; +x_18 = x_5; +x_19 = x_6; +x_20 = x_7; +x_21 = x_8; +x_22 = x_9; +x_23 = x_10; +x_24 = x_11; +x_25 = x_12; +x_26 = x_16; +goto block_37; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; -lean_dec(x_14); -lean_dec(x_4); -x_37 = l_Lean_Doc_open___closed__1; -x_38 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_15); lean_dec(x_5); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +lean_dec_ref(x_4); +x_39 = l_Lean_Doc_open___closed__1; +x_40 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_6); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -return x_38; +return x_40; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_38); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_40); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -lean_object* x_43; lean_object* x_44; -x_43 = lean_box(0); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_14); -x_44 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_43, x_2, x_14, x_14, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -lean_dec(x_14); -if (lean_obj_tag(x_44) == 0) -{ lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec_ref(x_44); -x_46 = l_Lean_Doc_open___lam__0(x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_45); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +x_45 = lean_box(0); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_15); +x_46 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_45, x_2, x_15, x_15, x_45, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_15); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec_ref(x_46); +x_48 = l_Lean_Doc_open___lam__0(x_45, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); +return x_48; +} +else +{ +uint8_t x_49; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) +{ return x_46; } else { -uint8_t x_47; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_46); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +block_37: { -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -block_35: -{ -lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_25 = lean_box(0); -x_26 = lean_array_size(x_3); -x_27 = 0; +lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_27 = lean_box(0); +x_28 = lean_array_size(x_3); +x_29 = 0; +lean_inc(x_25); +lean_inc_ref(x_24); lean_inc(x_23); lean_inc_ref(x_22); lean_inc(x_21); lean_inc_ref(x_20); lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc(x_16); -x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_14, x_25, x_3, x_26, x_27, x_25, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_18); +lean_inc_ref(x_17); +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_15, x_27, x_3, x_28, x_29, x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec_ref(x_28); -x_30 = l_Lean_Doc_open___lam__0(x_25, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_29); +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec_ref(x_30); +x_32 = l_Lean_Doc_open___lam__0(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_31); +lean_dec(x_25); +lean_dec_ref(x_24); lean_dec(x_23); lean_dec_ref(x_22); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_18); +lean_dec_ref(x_17); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_25); +lean_dec_ref(x_24); +lean_dec(x_23); +lean_dec_ref(x_22); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) +{ return x_30; } else { -uint8_t x_31; -lean_dec(x_23); -lean_dec_ref(x_22); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec(x_16); -x_31 = !lean_is_exclusive(x_28); -if (x_31 == 0) -{ -return x_28; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_28, 0); -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_28); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_30, 0); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_30); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } } else { -uint8_t x_51; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_53; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_51 = !lean_is_exclusive(x_13); -if (x_51 == 0) +lean_dec_ref(x_4); +x_53 = !lean_is_exclusive(x_14); +if (x_53 == 0) { -return x_13; +return x_14; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_13, 0); -x_53 = lean_ctor_get(x_13, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_13); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_14, 0); +x_55 = lean_ctor_get(x_14, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_14); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -48361,37 +50101,40 @@ lean_dec(x_3); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +x_14 = l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_13; +lean_dec_ref(x_3); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -48404,43 +50147,28 @@ lean_dec_ref(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_9); lean_dec_ref(x_8); @@ -48448,148 +50176,178 @@ lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_3); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec_ref(x_4); lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); +lean_object* x_14; +x_14 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec(x_1); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_2); lean_dec(x_1); -return x_15; +return x_16; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -48604,68 +50362,72 @@ x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); +lean_dec_ref(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); +x_14 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_2); +lean_dec_ref(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_2); +return x_13; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -48680,30 +50442,30 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec_ref(x_3); -return x_18; +return x_19; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec_ref(x_3); -return x_18; +return x_19; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___boxed(lean_object** _args) { @@ -48730,15 +50492,18 @@ lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; _start: { -size_t x_24; size_t x_25; lean_object* x_26; -x_24 = lean_unbox_usize(x_12); -lean_dec(x_12); -x_25 = lean_unbox_usize(x_13); +size_t x_26; size_t x_27; lean_object* x_28; +x_26 = lean_unbox_usize(x_13); lean_dec(x_13); -x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24, x_25, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); -lean_dec_ref(x_11); +x_27 = lean_unbox_usize(x_14); +lean_dec(x_14); +x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26, x_27, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +lean_dec_ref(x_12); +lean_dec_ref(x_9); lean_dec_ref(x_8); lean_dec_ref(x_7); lean_dec_ref(x_6); @@ -48747,7 +50512,7 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_26; +return x_28; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -48778,19 +50543,20 @@ lean_dec_ref(x_3); return x_17; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_4); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_17 = lean_unbox_usize(x_5); +x_18 = lean_unbox_usize(x_5); lean_dec(x_5); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec_ref(x_7); lean_dec_ref(x_3); -return x_18; +return x_19; } } LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -48808,51 +50574,55 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_activateScoped___at___Lean_Doc_open_spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_11; +lean_dec_ref(x_2); +return x_12; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_2); -x_15 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -return x_15; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_2); -x_17 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -return x_17; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_2); -x_16 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_3); +lean_dec_ref(x_5); return x_16; } } +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_2); +x_18 = l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_3); +return x_18; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_2); +x_17 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +return x_17; +} +} LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -48874,500 +50644,507 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -uint8_t x_21; lean_object* x_22; -x_21 = lean_unbox(x_7); -x_22 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +uint8_t x_22; lean_object* x_23; +x_22 = lean_unbox(x_7); +x_23 = l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec_ref(x_12); lean_dec(x_8); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_22; +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_open___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_open___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -x_14 = l_Lean_Doc_open(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_set__option(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -lean_inc(x_1); -x_12 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_12, 0, x_1); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_13 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = lean_ctor_get(x_9, 0); -x_16 = lean_ctor_get(x_9, 1); -x_17 = lean_ctor_get(x_9, 2); -x_18 = lean_ctor_get(x_9, 3); -x_19 = lean_ctor_get(x_9, 4); -x_20 = lean_ctor_get(x_9, 5); -x_21 = lean_ctor_get(x_9, 6); -x_22 = lean_ctor_get(x_9, 7); -x_23 = lean_ctor_get(x_9, 8); -x_24 = lean_ctor_get(x_9, 9); -x_25 = lean_ctor_get(x_9, 10); -x_26 = lean_ctor_get(x_9, 11); -x_27 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_28 = lean_ctor_get(x_9, 12); -x_29 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_30 = lean_ctor_get(x_9, 13); -x_31 = l_Lean_TSyntax_getId(x_1); -lean_inc(x_31); -x_32 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_32, 0, x_31); -x_33 = l_Lean_replaceRef(x_1, x_20); -lean_inc_ref(x_30); -lean_inc(x_28); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -lean_inc_ref(x_15); -x_34 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_34, 0, x_15); -lean_ctor_set(x_34, 1, x_16); -lean_ctor_set(x_34, 2, x_17); -lean_ctor_set(x_34, 3, x_18); -lean_ctor_set(x_34, 4, x_19); -lean_ctor_set(x_34, 5, x_33); -lean_ctor_set(x_34, 6, x_21); -lean_ctor_set(x_34, 7, x_22); -lean_ctor_set(x_34, 8, x_23); -lean_ctor_set(x_34, 9, x_24); -lean_ctor_set(x_34, 10, x_25); -lean_ctor_set(x_34, 11, x_26); -lean_ctor_set(x_34, 12, x_28); -lean_ctor_set(x_34, 13, x_30); -lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_27); -lean_ctor_set_uint8(x_34, sizeof(void*)*14 + 1, x_29); -lean_inc(x_10); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_32, x_4, x_5, x_6, x_7, x_8, x_34, x_10, x_14); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec_ref(x_35); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_inc(x_31); -x_39 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_31); -lean_ctor_set(x_39, 2, x_38); -x_40 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_40, 0, x_39); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_41 = l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec_ref(x_41); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc_ref(x_2); -lean_inc(x_31); -x_43 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_31, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42); -lean_dec(x_36); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec_ref(x_43); -x_45 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3; -x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec_ref(x_46); -x_49 = lean_st_ref_take(x_4, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec_ref(x_49); -x_52 = !lean_is_exclusive(x_50); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_53 = lean_ctor_get(x_50, 3); -lean_dec(x_53); -x_54 = l_Lean_KVMap_insert(x_47, x_31, x_2); -lean_ctor_set(x_50, 3, x_54); -x_55 = lean_st_ref_set(x_4, x_50, x_51); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -x_58 = l_Lean_Doc_open___lam__0___closed__0; -lean_ctor_set(x_55, 0, x_58); -return x_55; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -x_60 = l_Lean_Doc_open___lam__0___closed__0; -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_62 = lean_ctor_get(x_50, 0); -x_63 = lean_ctor_get(x_50, 1); -x_64 = lean_ctor_get(x_50, 2); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_50); -x_65 = l_Lean_KVMap_insert(x_47, x_31, x_2); -x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_62); -lean_ctor_set(x_66, 1, x_63); -lean_ctor_set(x_66, 2, x_64); -lean_ctor_set(x_66, 3, x_65); -x_67 = lean_st_ref_set(x_4, x_66, x_51); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; -} else { - lean_dec_ref(x_67); - x_69 = lean_box(0); -} -x_70 = l_Lean_Doc_open___lam__0___closed__0; -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_69; -} -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; -} -} -else -{ -uint8_t x_72; -lean_dec(x_31); -lean_dec_ref(x_2); -x_72 = !lean_is_exclusive(x_46); -if (x_72 == 0) -{ -return x_46; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_46, 0); -x_74 = lean_ctor_get(x_46, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_46); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -else -{ -uint8_t x_76; -lean_dec(x_31); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -x_76 = !lean_is_exclusive(x_43); -if (x_76 == 0) -{ -return x_43; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_43, 0); -x_78 = lean_ctor_get(x_43, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_43); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -uint8_t x_80; -lean_dec(x_36); -lean_dec(x_31); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -x_80 = !lean_is_exclusive(x_41); -if (x_80 == 0) -{ -return x_41; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_41, 0); -x_82 = lean_ctor_get(x_41, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_41); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -} -} -else -{ -uint8_t x_84; -lean_dec(x_31); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -lean_dec(x_1); -x_84 = !lean_is_exclusive(x_35); -if (x_84 == 0) -{ -return x_35; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_35, 0); -x_86 = lean_ctor_get(x_35, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_35); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; -} -} -} -else -{ -uint8_t x_88; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -lean_dec(x_1); -x_88 = !lean_is_exclusive(x_13); -if (x_88 == 0) -{ -return x_13; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_13, 0); -x_90 = lean_ctor_get(x_13, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_13); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_set__option___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Doc_set__option(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Doc_open___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_open___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_2, x_1); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_12); -return x_14; +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_2); +x_15 = l_Lean_Doc_open(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_3); +return x_15; } -else +} +LEAN_EXPORT lean_object* l_Lean_Doc_set__option(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_uget(x_3, x_2); +lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_13 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_13, 0, x_1); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_16 = l_Lean_Doc_elabInline(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +x_14 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 1); +x_18 = lean_ctor_get(x_10, 2); +x_19 = lean_ctor_get(x_10, 3); +x_20 = lean_ctor_get(x_10, 4); +x_21 = lean_ctor_get(x_10, 5); +x_22 = lean_ctor_get(x_10, 6); +x_23 = lean_ctor_get(x_10, 7); +x_24 = lean_ctor_get(x_10, 8); +x_25 = lean_ctor_get(x_10, 9); +x_26 = lean_ctor_get(x_10, 10); +x_27 = lean_ctor_get(x_10, 11); +x_28 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_29 = lean_ctor_get(x_10, 12); +x_30 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_31 = lean_ctor_get(x_10, 13); +x_32 = l_Lean_TSyntax_getId(x_1); +lean_inc(x_32); +x_33 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_33, 0, x_32); +x_34 = l_Lean_replaceRef(x_1, x_21); +lean_inc_ref(x_31); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); -lean_dec_ref(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_3, x_2, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_2, x_21); -x_23 = lean_array_uset(x_20, x_2, x_17); -x_2 = x_22; -x_3 = x_23; -x_12 = x_18; -goto _start; +lean_inc_ref(x_17); +lean_inc_ref(x_16); +x_35 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_35, 0, x_16); +lean_ctor_set(x_35, 1, x_17); +lean_ctor_set(x_35, 2, x_18); +lean_ctor_set(x_35, 3, x_19); +lean_ctor_set(x_35, 4, x_20); +lean_ctor_set(x_35, 5, x_34); +lean_ctor_set(x_35, 6, x_22); +lean_ctor_set(x_35, 7, x_23); +lean_ctor_set(x_35, 8, x_24); +lean_ctor_set(x_35, 9, x_25); +lean_ctor_set(x_35, 10, x_26); +lean_ctor_set(x_35, 11, x_27); +lean_ctor_set(x_35, 12, x_29); +lean_ctor_set(x_35, 13, x_31); +lean_ctor_set_uint8(x_35, sizeof(void*)*14, x_28); +lean_ctor_set_uint8(x_35, sizeof(void*)*14 + 1, x_30); +lean_inc(x_11); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_33, x_5, x_6, x_7, x_8, x_9, x_35, x_11, x_15); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec_ref(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_inc(x_32); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_32); +lean_ctor_set(x_40, 2, x_39); +x_41 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_41, 0, x_40); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_42 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec_ref(x_42); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_2); +lean_inc(x_32); +x_44 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_32, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +lean_dec(x_37); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec_ref(x_44); +x_46 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; +x_47 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_45); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec_ref(x_47); +x_50 = lean_st_ref_take(x_5, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec_ref(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_51, 3); +lean_dec(x_54); +x_55 = l_Lean_KVMap_insert(x_48, x_32, x_2); +lean_ctor_set(x_51, 3, x_55); +x_56 = lean_st_ref_set(x_5, x_51, x_52); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +x_59 = l_Lean_Doc_lean___closed__16; +lean_ctor_set(x_56, 0, x_59); +return x_56; } else { -uint8_t x_25; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_dec(x_56); +x_61 = l_Lean_Doc_lean___closed__16; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_63 = lean_ctor_get(x_51, 0); +x_64 = lean_ctor_get(x_51, 1); +x_65 = lean_ctor_get(x_51, 2); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_51); +x_66 = l_Lean_KVMap_insert(x_48, x_32, x_2); +x_67 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_66); +x_68 = lean_st_ref_set(x_5, x_67, x_52); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +x_71 = l_Lean_Doc_lean___closed__16; +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_32); +lean_dec_ref(x_2); +x_73 = !lean_is_exclusive(x_47); +if (x_73 == 0) +{ +return x_47; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_47, 0); +x_75 = lean_ctor_get(x_47, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_47); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_32); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_16); -if (x_25 == 0) +lean_dec_ref(x_2); +x_77 = !lean_is_exclusive(x_44); +if (x_77 == 0) { -return x_16; +return x_44; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 0); -x_27 = lean_ctor_get(x_16, 1); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_44, 0); +x_79 = lean_ctor_get(x_44, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_44); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_37); +lean_dec(x_32); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_81 = !lean_is_exclusive(x_42); +if (x_81 == 0) +{ +return x_42; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_42, 0); +x_83 = lean_ctor_get(x_42, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_42); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_32); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_36); +if (x_85 == 0) +{ +return x_36; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_36, 0); +x_87 = lean_ctor_get(x_36, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_36); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +uint8_t x_89; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_89 = !lean_is_exclusive(x_14); +if (x_89 == 0) +{ +return x_14; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_14, 0); +x_91 = lean_ctor_get(x_14, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_14); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_set__option___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_set__option(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_uget(x_3, x_2); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_17 = l_Lean_Doc_elabInline(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_3, x_2, x_20); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_21, x_2, x_18); +x_2 = x_23; +x_3 = x_24; +x_13 = x_19; +goto _start; +} +else +{ +uint8_t x_26; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_16); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -49520,238 +51297,242 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Doc_manual(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_manual(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; -x_13 = l_Lean_TSyntax_getId(x_1); -x_14 = 1; -x_15 = l_Lean_Name_toString(x_13, x_14); -x_49 = l_Lean_Doc_manual___closed__0; -x_50 = l_Lean_Doc_manual___closed__1; -lean_inc_ref(x_15); -x_51 = l_List_elem___redArg(x_49, x_15, x_50); -x_52 = l_instDecidableNot___redArg(x_51); -if (x_52 == 0) +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; +x_14 = l_Lean_TSyntax_getId(x_1); +x_15 = 1; +x_16 = l_Lean_Name_toString(x_14, x_15); +x_51 = l_Lean_Doc_manual___closed__0; +x_52 = l_Lean_Doc_manual___closed__1; +lean_inc_ref(x_16); +x_53 = l_List_elem___redArg(x_51, x_16, x_52); +x_54 = l_instDecidableNot___redArg(x_53); +if (x_54 == 0) { lean_dec(x_1); -x_16 = x_4; -x_17 = x_5; -x_18 = x_6; -x_19 = x_7; -x_20 = x_8; -x_21 = x_9; -x_22 = x_10; -x_23 = x_11; -x_24 = x_12; -goto block_48; +x_17 = x_4; +x_18 = x_5; +x_19 = x_6; +x_20 = x_7; +x_21 = x_8; +x_22 = x_9; +x_23 = x_10; +x_24 = x_11; +x_25 = x_12; +x_26 = x_13; +goto block_50; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec_ref(x_15); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec_ref(x_16); lean_dec_ref(x_3); -x_53 = l_Lean_Doc_manual___closed__4; -x_54 = lean_box(0); -x_55 = l_List_mapTR_loop___at___Lean_Doc_manual_spec__1(x_50, x_54); -x_56 = lean_array_mk(x_55); +x_55 = l_Lean_Doc_manual___closed__4; +x_56 = lean_box(0); +x_57 = l_List_mapTR_loop___at___Lean_Doc_manual_spec__1(x_52, x_56); +x_58 = lean_array_mk(x_57); lean_inc(x_1); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_1); -x_58 = lean_box(0); -x_59 = 0; -x_60 = lean_box(x_59); -x_61 = lean_alloc_closure((void*)(l_Lean_Doc_manual___lam__0___boxed), 12, 5); -lean_closure_set(x_61, 0, x_53); -lean_closure_set(x_61, 1, x_56); -lean_closure_set(x_61, 2, x_57); -lean_closure_set(x_61, 3, x_58); -lean_closure_set(x_61, 4, x_60); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_62 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_62) == 0) +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_1); +x_60 = lean_box(0); +x_61 = 0; +x_62 = lean_box(x_61); +x_63 = lean_alloc_closure((void*)(l_Lean_Doc_manual___lam__0___boxed), 12, 5); +lean_closure_set(x_63, 0, x_55); +lean_closure_set(x_63, 1, x_58); +lean_closure_set(x_63, 2, x_59); +lean_closure_set(x_63, 3, x_60); +lean_closure_set(x_63, 4, x_62); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_64 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_63, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec_ref(x_62); -x_65 = l_Lean_Doc_manual___closed__6; -x_66 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_63); -x_67 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__2___redArg(x_1, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec_ref(x_64); +x_67 = l_Lean_Doc_manual___closed__6; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +x_69 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__1___redArg(x_1, x_68, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) { -return x_67; +return x_69; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_67, 0); -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_67); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_69); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } else { -uint8_t x_72; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +uint8_t x_74; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec_ref(x_4); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_62); -if (x_72 == 0) +x_74 = !lean_is_exclusive(x_64); +if (x_74 == 0) { -return x_62; +return x_64; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_62, 0); -x_74 = lean_ctor_get(x_62, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_62); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_64, 0); +x_76 = lean_ctor_get(x_64, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_64); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } -block_48: +block_50: { -lean_object* x_25; -x_25 = l_Lean_manualLink(x_15, x_2); -lean_dec_ref(x_15); -if (lean_obj_tag(x_25) == 0) +lean_object* x_27; +x_27 = l_Lean_manualLink(x_16, x_2); +lean_dec_ref(x_16); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_26; -lean_dec(x_16); +uint8_t x_28; +lean_dec(x_18); +lean_dec_ref(x_17); lean_dec_ref(x_3); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -lean_ctor_set_tag(x_25, 3); -x_27 = l_Lean_MessageData_ofFormat(x_25); -x_28 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -lean_dec(x_17); -return x_28; +lean_object* x_29; lean_object* x_30; +lean_ctor_set_tag(x_27, 3); +x_29 = l_Lean_MessageData_ofFormat(x_27); +x_30 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_29, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +lean_dec(x_19); +return x_30; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -x_30 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_MessageData_ofFormat(x_30); -x_32 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode_spec__0___redArg(x_31, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -lean_dec(x_17); -return x_32; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +lean_dec(x_27); +x_32 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_MessageData_ofFormat(x_32); +x_34 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg(x_33, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +lean_dec(x_19); +return x_34; } } else { -lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_25, 0); -lean_inc(x_33); -lean_dec_ref(x_25); -x_34 = lean_array_size(x_3); -x_35 = 0; -x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(x_34, x_35, x_3, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -if (lean_obj_tag(x_36) == 0) +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_27, 0); +lean_inc(x_35); +lean_dec_ref(x_27); +x_36 = lean_array_size(x_3); +x_37 = 0; +x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(x_36, x_37, x_3, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +if (lean_obj_tag(x_38) == 0) { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_33); -lean_ctor_set(x_36, 0, x_39); -return x_36; +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_35); +lean_ctor_set(x_38, 0, x_41); +return x_38; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_36, 0); -x_41 = lean_ctor_get(x_36, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_36); -x_42 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_33); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_38, 0); +x_43 = lean_ctor_get(x_38, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_38); +x_44 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_35); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } else { -uint8_t x_44; -lean_dec(x_33); -x_44 = !lean_is_exclusive(x_36); -if (x_44 == 0) +uint8_t x_46; +lean_dec(x_35); +x_46 = !lean_is_exclusive(x_38); +if (x_46 == 0) { -return x_36; +return x_38; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_36, 0); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_36); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_38, 0); +x_48 = lean_ctor_get(x_38, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_38); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Doc_manual___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -49767,13 +51548,13 @@ lean_dec_ref(x_6); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Doc_manual___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Doc_manual___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Doc_manual(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_14; +x_14 = l_Lean_Doc_manual(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec_ref(x_2); -return x_13; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -49787,23 +51568,49 @@ return x_9; static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__0() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("given", 5, 5); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__1() { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Doc_suggestName___lam__1___closed__0; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_suggestName___lam__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_suggestName___lam__1___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = l_Lean_Doc_suggestName___lam__1___closed__2; +x_14 = lean_array_push(x_1, x_13); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; } } static lean_object* _init_l_Lean_Doc_suggestName___closed__0() { @@ -49850,310 +51657,307 @@ return x_3; static lean_object* _init_l_Lean_Doc_suggestName___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Doc_suggestName___closed__5() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Doc_suggestName___closed__3; -x_2 = l_Lean_Doc_suggestName___closed__4; +x_2 = l_Lean_Doc_suggestName___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_19; lean_object* x_20; -x_19 = l_Lean_Doc_given___lam__3___closed__0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_19, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_20) == 0) +lean_object* x_12; lean_object* x_21; lean_object* x_22; +x_21 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_22 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec_ref(x_20); -lean_inc(x_21); -x_23 = lean_alloc_closure((void*)(l_Lean_Doc_suggestName___lam__0___boxed), 8, 1); -lean_closure_set(x_23, 0, x_21); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_24 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_24) == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +lean_inc(x_23); +x_25 = lean_alloc_closure((void*)(l_Lean_Doc_suggestName___lam__0___boxed), 8, 1); +lean_closure_set(x_25, 0, x_23); +x_26 = l_Lean_Doc_suggestName___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_27 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_25; -lean_dec(x_21); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +uint8_t x_28; +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = l_Lean_Doc_suggestName___closed__5; -lean_ctor_set(x_24, 0, x_27); -return x_24; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = l_Lean_Doc_suggestName___closed__4; +lean_ctor_set(x_27, 0, x_30); +return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = l_Lean_Doc_suggestName___closed__5; -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_56; -x_31 = lean_ctor_get(x_24, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_33 = x_24; -} else { - lean_dec_ref(x_24); - x_33 = lean_box(0); +lean_dec(x_27); +x_32 = l_Lean_Doc_suggestName___closed__4; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; } -x_56 = l_Lean_Exception_isInterrupt(x_31); -if (x_56 == 0) -{ -uint8_t x_57; -x_57 = l_Lean_Exception_isRuntime(x_31); -x_34 = x_57; -goto block_55; } else { -x_34 = x_56; -goto block_55; +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_59; +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_36 = x_27; +} else { + lean_dec_ref(x_27); + x_36 = lean_box(0); } -block_55: +x_59 = l_Lean_Exception_isInterrupt(x_34); +if (x_59 == 0) { -if (x_34 == 0) +uint8_t x_60; +x_60 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_60; +goto block_58; +} +else { -lean_object* x_35; lean_object* x_36; -lean_dec(x_33); -lean_dec(x_31); -x_35 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_36 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__0(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); -if (lean_obj_tag(x_36) == 0) +x_37 = x_59; +goto block_58; +} +block_58: { -lean_object* x_37; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -if (lean_obj_tag(x_37) == 0) +if (x_37 == 0) { lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec_ref(x_36); -x_39 = l_Lean_Doc_suggestName___lam__1(x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_11 = x_39; -goto block_18; +lean_dec(x_36); +lean_dec(x_34); +x_38 = l_Lean_Syntax_getId(x_23); +lean_dec(x_23); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_39 = l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = l_Lean_Doc_suggestName___lam__1(x_26, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_12 = x_42; +goto block_20; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_37, 0); -x_41 = lean_ctor_get(x_40, 1); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; -lean_dec_ref(x_37); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_42 = !lean_is_exclusive(x_36); -if (x_42 == 0) -{ lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_36, 0); -lean_dec(x_43); -x_44 = l_Lean_Doc_suggestName___closed__5; -lean_ctor_set(x_36, 0, x_44); -return x_36; +x_43 = lean_ctor_get(x_40, 0); +x_44 = lean_ctor_get(x_43, 1); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +lean_dec_ref(x_40); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_45 = !lean_is_exclusive(x_39); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_39, 0); +lean_dec(x_46); +x_47 = l_Lean_Doc_suggestName___closed__4; +lean_ctor_set(x_39, 0, x_47); +return x_39; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_36, 1); -lean_inc(x_45); -lean_dec(x_36); -x_46 = l_Lean_Doc_suggestName___closed__5; -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_36, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_39, 1); lean_inc(x_48); -lean_dec_ref(x_36); -x_49 = l_Lean_Doc_suggestName___lam__1(x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_37); -x_11 = x_49; -goto block_18; -} +lean_dec(x_39); +x_49 = l_Lean_Doc_suggestName___closed__4; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; } } else { -uint8_t x_50; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_50 = !lean_is_exclusive(x_36); -if (x_50 == 0) -{ -return x_36; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_36, 0); -x_52 = lean_ctor_get(x_36, 1); -lean_inc(x_52); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_39, 1); lean_inc(x_51); -lean_dec(x_36); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_dec_ref(x_39); +x_52 = l_Lean_Doc_suggestName___lam__1(x_26, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_40); +x_12 = x_52; +goto block_20; } } } else { -lean_object* x_54; -lean_dec(x_21); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_33)) { - x_54 = lean_alloc_ctor(1, 2, 0); +uint8_t x_53; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_53 = !lean_is_exclusive(x_39); +if (x_53 == 0) +{ +return x_39; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_39, 0); +x_55 = lean_ctor_get(x_39, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_39); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +lean_object* x_57; +lean_dec(x_23); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_36)) { + x_57 = lean_alloc_ctor(1, 2, 0); } else { - x_54 = x_33; + x_57 = x_36; } -lean_ctor_set(x_54, 0, x_31); -lean_ctor_set(x_54, 1, x_32); -return x_54; +lean_ctor_set(x_57, 0, x_34); +lean_ctor_set(x_57, 1, x_35); +return x_57; } } } } else { -uint8_t x_58; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_58 = !lean_is_exclusive(x_20); -if (x_58 == 0) +uint8_t x_61; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_61 = !lean_is_exclusive(x_22); +if (x_61 == 0) { -return x_20; +return x_22; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_20, 0); -x_60 = lean_ctor_get(x_20, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_20); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_22, 0); +x_63 = lean_ctor_get(x_22, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_22); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } -block_18: +block_20: { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = l_Lean_Doc_suggestName___closed__0; -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -lean_dec(x_11); -x_16 = l_Lean_Doc_suggestName___closed__0; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_dec(x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } } @@ -50170,35 +51974,168 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestName___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l_Lean_Doc_suggestName___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); +lean_dec(x_4); +lean_dec_ref(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_11; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Doc_suggestName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_11; +return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestLean___closed__0() { +static lean_object* _init_l_Lean_Doc_suggestGiven___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_suggestGiven___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_suggestName___lam__1___closed__2; +x_2 = l_Lean_Doc_suggestGiven___closed__0; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents), 2, 0); +x_13 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_16 = x_13; +} else { + lean_dec_ref(x_13); + x_16 = lean_box(0); +} +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_getArg(x_14, x_23); +x_25 = l_Lean_Syntax_getArg(x_24, x_23); +lean_dec(x_24); +x_26 = l_Lean_Syntax_isMissing(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_dec(x_14); +x_17 = x_26; +goto block_22; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_unsigned_to_nat(2u); +x_28 = l_Lean_Syntax_getArg(x_14, x_27); +lean_dec(x_14); +x_29 = l_Lean_Syntax_getArg(x_28, x_23); +lean_dec(x_28); +x_30 = l_Lean_Syntax_isMissing(x_29); +lean_dec(x_29); +x_17 = x_30; +goto block_22; +} +block_22: +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_Doc_suggestGiven___closed__1; +if (lean_is_scalar(x_16)) { + x_19 = lean_alloc_ctor(0, 2, 0); +} else { + x_19 = x_16; +} +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_15); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = l_Lean_Doc_suggestName___closed__0; +if (lean_is_scalar(x_16)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_16; +} +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +return x_21; +} +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_13); +if (x_31 == 0) +{ +return x_13; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_13, 0); +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_13); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestGiven(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__0() { _start: { lean_object* x_1; @@ -50206,23 +52143,23 @@ x_1 = lean_mk_string_unchecked("lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestLean___closed__1() { +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestLean___closed__0; +x_1 = l_Lean_Doc_suggestLean___lam__0___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestLean___closed__2() { +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestLean___closed__1; +x_2 = l_Lean_Doc_suggestLean___lam__0___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -50230,205 +52167,1004 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestLean___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestLean___closed__2; -x_2 = l_Lean_Doc_suggestName___closed__4; +x_1 = l_Lean_Doc_suggestLean___lam__0___closed__2; +x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_23; lean_object* x_24; -x_23 = l_Lean_Doc_leanTerm___closed__1; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_24 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_23, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec_ref(x_24); -x_27 = lean_box(0); -x_28 = 1; -x_29 = lean_box(x_28); -x_30 = lean_box(x_28); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_31, 0, x_25); -lean_closure_set(x_31, 1, x_27); -lean_closure_set(x_31, 2, x_29); -lean_closure_set(x_31, 3, x_30); -x_32 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__2___boxed), 10, 1); -lean_closure_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_given_spec__0___redArg(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -x_36 = l_Lean_Doc_suggestLean___closed__3; -lean_ctor_set(x_33, 0, x_36); -return x_33; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -lean_dec(x_33); -x_38 = l_Lean_Doc_suggestLean___closed__3; -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_suggestLean___lam__0___closed__3; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } } -else +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_33); -if (x_40 == 0) +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_24; lean_object* x_26; lean_object* x_27; +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents), 2, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_27 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_26, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_33, 0); -x_42 = lean_ctor_get(x_33, 1); -lean_inc(x_42); -lean_inc(x_41); -x_17 = x_33; -x_18 = x_41; -x_19 = x_42; -goto block_22; -} -else +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +lean_inc(x_28); +x_30 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(x_28); +if (x_30 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_33, 0); -x_44 = lean_ctor_get(x_33, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_33); -lean_inc(x_44); -lean_inc(x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_17 = x_45; -x_18 = x_43; -x_19 = x_44; -goto block_22; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = l_Lean_Doc_suggestLean___lam__0(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_46 = !lean_is_exclusive(x_24); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_24, 0); -x_48 = lean_ctor_get(x_24, 1); -lean_inc(x_48); -lean_inc(x_47); -x_17 = x_24; -x_18 = x_47; -x_19 = x_48; -goto block_22; +lean_dec_ref(x_2); +x_24 = x_32; +goto block_25; } else { +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_unsigned_to_nat(1u); +x_34 = l_Lean_Syntax_getArg(x_28, x_33); +x_35 = l_Lean_Syntax_getArg(x_34, x_33); +lean_dec(x_34); +x_36 = l_Lean_Syntax_isMissing(x_35); +x_37 = lean_box(x_36); +x_38 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__0___boxed), 12, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_35); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_39 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l_Lean_Syntax_getArg(x_28, x_42); +lean_dec(x_28); +x_44 = lean_box(x_30); +x_45 = lean_box(x_30); +x_46 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_46, 0, x_43); +lean_closure_set(x_46, 1, x_40); +lean_closure_set(x_46, 2, x_44); +lean_closure_set(x_46, 3, x_45); +x_47 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__0___boxed), 11, 1); +lean_closure_set(x_47, 0, x_46); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_48 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +if (lean_obj_tag(x_48) == 0) +{ lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_24, 0); -x_50 = lean_ctor_get(x_24, 1); -lean_inc(x_50); +x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); -lean_dec(x_24); -lean_inc(x_50); -lean_inc(x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_17 = x_51; -x_18 = x_49; -x_19 = x_50; -goto block_22; +lean_dec_ref(x_48); +x_50 = lean_box(0); +x_51 = l_Lean_Doc_suggestLean___lam__0(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_24 = x_51; +goto block_25; +} +else +{ +uint8_t x_52; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +x_18 = x_48; +x_19 = x_53; +x_20 = x_54; +goto block_23; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_48); +lean_inc(x_56); +lean_inc(x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_18 = x_57; +x_19 = x_55; +x_20 = x_56; +goto block_23; } } -block_16: +} +else { -if (x_13 == 0) +uint8_t x_58; +lean_dec(x_28); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_58 = !lean_is_exclusive(x_39); +if (x_58 == 0) { -lean_object* x_14; lean_object* x_15; +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_39, 0); +x_60 = lean_ctor_get(x_39, 1); +lean_inc(x_60); +lean_inc(x_59); +x_18 = x_39; +x_19 = x_59; +x_20 = x_60; +goto block_23; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_39, 0); +x_62 = lean_ctor_get(x_39, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_39); +lean_inc(x_62); +lean_inc(x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_18 = x_63; +x_19 = x_61; +x_20 = x_62; +goto block_23; +} +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_64 = !lean_is_exclusive(x_27); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_27, 0); +x_66 = lean_ctor_get(x_27, 1); +lean_inc(x_66); +lean_inc(x_65); +x_18 = x_27; +x_19 = x_65; +x_20 = x_66; +goto block_23; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_27, 0); +x_68 = lean_ctor_get(x_27, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_27); +lean_inc(x_68); +lean_inc(x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_18 = x_69; +x_19 = x_67; +x_20 = x_68; +goto block_23; +} +} +block_17: +{ +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_dec_ref(x_12); -x_14 = l_Lean_Doc_suggestName___closed__0; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_11); -return x_15; +x_15 = l_Lean_Doc_suggestName___closed__0; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; } else { return x_12; } } -block_22: -{ -uint8_t x_20; -x_20 = l_Lean_Exception_isInterrupt(x_18); -if (x_20 == 0) +block_23: { uint8_t x_21; -x_21 = l_Lean_Exception_isRuntime(x_18); +x_21 = l_Lean_Exception_isInterrupt(x_19); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = l_Lean_Exception_isRuntime(x_19); +lean_dec_ref(x_19); +x_12 = x_18; +x_13 = x_20; +x_14 = x_22; +goto block_17; +} +else +{ +lean_dec_ref(x_19); +x_12 = x_18; +x_13 = x_20; +x_14 = x_21; +goto block_17; +} +} +block_25: +{ +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestLean___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestLean(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leanTerm", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2; +x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_24; lean_object* x_26; lean_object* x_27; +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents), 2, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_27 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_26, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +lean_inc(x_28); +x_30 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = l_Lean_Doc_suggestLeanTermBlock___lam__0(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_24 = x_32; +goto block_25; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_unsigned_to_nat(1u); +x_34 = l_Lean_Syntax_getArg(x_28, x_33); +x_35 = l_Lean_Syntax_getArg(x_34, x_33); +lean_dec(x_34); +x_36 = l_Lean_Syntax_isMissing(x_35); +x_37 = lean_box(x_36); +x_38 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm___lam__0___boxed), 12, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_35); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_39 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l_Lean_Syntax_getArg(x_28, x_42); +lean_dec(x_28); +x_44 = lean_box(x_30); +x_45 = lean_box(x_30); +x_46 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_46, 0, x_43); +lean_closure_set(x_46, 1, x_40); +lean_closure_set(x_46, 2, x_44); +lean_closure_set(x_46, 3, x_45); +x_47 = lean_alloc_closure((void*)(l_Lean_Doc_assert___lam__0___boxed), 11, 1); +lean_closure_set(x_47, 0, x_46); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_48 = l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec_ref(x_48); +x_50 = lean_box(0); +x_51 = l_Lean_Doc_suggestLeanTermBlock___lam__0(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_24 = x_51; +goto block_25; +} +else +{ +uint8_t x_52; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +x_18 = x_48; +x_19 = x_53; +x_20 = x_54; +goto block_23; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_48); +lean_inc(x_56); +lean_inc(x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_18 = x_57; +x_19 = x_55; +x_20 = x_56; +goto block_23; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_28); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_58 = !lean_is_exclusive(x_39); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_39, 0); +x_60 = lean_ctor_get(x_39, 1); +lean_inc(x_60); +lean_inc(x_59); +x_18 = x_39; +x_19 = x_59; +x_20 = x_60; +goto block_23; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_39, 0); +x_62 = lean_ctor_get(x_39, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_39); +lean_inc(x_62); +lean_inc(x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_18 = x_63; +x_19 = x_61; +x_20 = x_62; +goto block_23; +} +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_64 = !lean_is_exclusive(x_27); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_27, 0); +x_66 = lean_ctor_get(x_27, 1); +lean_inc(x_66); +lean_inc(x_65); +x_18 = x_27; +x_19 = x_65; +x_20 = x_66; +goto block_23; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_27, 0); +x_68 = lean_ctor_get(x_27, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_27); +lean_inc(x_68); +lean_inc(x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_18 = x_69; +x_19 = x_67; +x_20 = x_68; +goto block_23; +} +} +block_17: +{ +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec_ref(x_13); +x_15 = l_Lean_Doc_suggestLeanTermBlock___closed__0; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; +} +else +{ +return x_13; +} +} +block_23: +{ +uint8_t x_21; +x_21 = l_Lean_Exception_isInterrupt(x_19); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = l_Lean_Exception_isRuntime(x_19); +lean_dec_ref(x_19); +x_12 = x_20; +x_13 = x_18; +x_14 = x_22; +goto block_17; +} +else +{ +lean_dec_ref(x_19); +x_12 = x_20; +x_13 = x_18; +x_14 = x_21; +goto block_17; +} +} +block_25: +{ +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestLeanTermBlock___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestLeanTermBlock(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("command", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_suggestLeanBlock___lam__0___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Doc_suggestLeanBlock___lam__0___closed__1; +x_3 = l_Lean_Parser_categoryParser(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Doc_suggestLeanBlock___lam__0___closed__2; +x_4 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_4); +x_5 = l_Lean_Parser_many1Fn(x_4, x_1, x_2); +return x_5; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanBlock___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_suggestLean___lam__0___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanBlock___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_suggestLeanBlock___closed__0; +x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_alloc_closure((void*)(l_Lean_Doc_suggestLeanBlock___lam__0), 2, 0); +x_13 = l_Lean_Doc_tactic___closed__2; +x_14 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_12); +x_15 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = l_Lean_Doc_suggestLeanBlock___closed__1; +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l_Lean_Doc_suggestLeanBlock___closed__1; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_29; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +x_29 = l_Lean_Exception_isInterrupt(x_23); +if (x_29 == 0) +{ +uint8_t x_30; +x_30 = l_Lean_Exception_isRuntime(x_23); +lean_dec(x_23); +x_25 = x_30; +goto block_28; +} +else +{ +lean_dec(x_23); +x_25 = x_29; +goto block_28; +} +block_28: +{ +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec_ref(x_15); +x_26 = l_Lean_Doc_suggestLeanTermBlock___closed__0; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +return x_27; +} +else +{ +lean_dec(x_24); +return x_15; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_38; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +lean_inc(x_32); +lean_inc(x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_38 = l_Lean_Exception_isInterrupt(x_31); +if (x_38 == 0) +{ +uint8_t x_39; +x_39 = l_Lean_Exception_isRuntime(x_31); +lean_dec(x_31); +x_34 = x_39; +goto block_37; +} +else +{ +lean_dec(x_31); +x_34 = x_38; +goto block_37; +} +block_37: +{ +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec_ref(x_33); +x_35 = l_Lean_Doc_suggestLeanTermBlock___closed__0; +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_32); +return x_36; +} +else +{ +lean_dec(x_32); +return x_33; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestLeanBlock(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_12; +x_12 = lean_usize_dec_eq(x_4, x_5); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = lean_array_uget(x_3, x_4); +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_13, 1); +lean_inc_ref(x_18); +x_19 = lean_string_dec_eq(x_18, x_1); lean_dec_ref(x_18); -x_11 = x_19; -x_12 = x_17; -x_13 = x_21; +if (x_19 == 0) +{ +uint8_t x_20; +x_20 = lean_name_eq(x_17, x_2); +lean_dec(x_17); +x_14 = x_20; goto block_16; } else { -lean_dec_ref(x_18); -x_11 = x_19; -x_12 = x_17; -x_13 = x_20; +lean_dec(x_17); +x_14 = x_19; goto block_16; } -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +block_16: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestLean(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; +if (x_14 == 0) +{ +lean_dec_ref(x_13); +x_7 = x_6; +goto block_11; +} +else +{ +lean_object* x_15; +x_15 = lean_array_push(x_6, x_13); +x_7 = x_15; +goto block_11; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__0() { +} +else +{ +return x_6; +} +block_11: +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_4, x_8); +x_4 = x_9; +x_6 = x_7; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__0() { _start: { lean_object* x_1; @@ -50436,7 +53172,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__0___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__1() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__1() { _start: { lean_object* x_1; @@ -50444,11 +53180,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__2() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestTactic___redArg___closed__1; +x_1 = l_Lean_Doc_suggestTactic___closed__1; x_2 = l_Lean_Doc_tactic___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); lean_closure_set(x_3, 0, x_2); @@ -50456,7 +53192,7 @@ lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -50467,12 +53203,12 @@ x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__4() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestTactic___redArg___closed__3; +x_2 = l_Lean_Doc_suggestTactic___closed__3; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -50480,106 +53216,614 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___redArg___closed__5() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestTactic___redArg___closed__4; -x_2 = l_Lean_Doc_suggestName___closed__4; +x_1 = l_Lean_Doc_suggestTactic___closed__4; +x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_16; lean_object* x_17; -x_16 = l_Lean_Doc_suggestTactic___redArg___closed__0; +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_Doc_suggestTactic___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_17 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) +x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_20 = x_17; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_22 = x_19; } else { - lean_dec_ref(x_17); - x_20 = lean_box(0); + lean_dec_ref(x_19); + x_22 = lean_box(0); } -x_46 = lean_unsigned_to_nat(0u); -x_47 = lean_array_get_size(x_18); -x_48 = l_Lean_Doc_tactic___closed__12; -x_49 = lean_nat_dec_lt(x_46, x_47); -if (x_49 == 0) +x_48 = lean_unsigned_to_nat(0u); +x_49 = lean_array_get_size(x_20); +x_50 = l_Lean_Doc_tactic___closed__12; +x_51 = lean_nat_dec_lt(x_48, x_49); +if (x_51 == 0) { -lean_dec(x_47); -lean_dec(x_18); -x_21 = x_48; -goto block_45; -} -else -{ -uint8_t x_50; -x_50 = lean_nat_dec_le(x_47, x_47); -if (x_50 == 0) -{ -lean_dec(x_47); -lean_dec(x_18); -x_21 = x_48; -goto block_45; -} -else -{ -lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; lean_object* x_55; -x_51 = l_Lean_TSyntax_getString(x_1); -lean_inc_ref(x_51); -x_52 = l_String_toName(x_51); -x_53 = 0; -x_54 = lean_usize_of_nat(x_47); -lean_dec(x_47); -x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__13(x_51, x_52, x_18, x_53, x_54, x_48); -lean_dec(x_18); -lean_dec(x_52); -lean_dec_ref(x_51); -x_21 = x_55; -goto block_45; -} -} -block_45: -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_array_get_size(x_21); -lean_dec_ref(x_21); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_dec_eq(x_22, x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; +lean_dec(x_49); lean_dec(x_20); -x_25 = l_Lean_Doc_suggestTactic___redArg___closed__2; -x_26 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_23 = x_50; +goto block_47; +} +else +{ +uint8_t x_52; +x_52 = lean_nat_dec_le(x_49, x_49); +if (x_52 == 0) +{ +lean_dec(x_49); +lean_dec(x_20); +x_23 = x_50; +goto block_47; +} +else +{ +lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; +x_53 = l_Lean_TSyntax_getString(x_1); +lean_inc_ref(x_53); +x_54 = l_String_toName(x_53); +x_55 = 0; +x_56 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_57 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(x_53, x_54, x_20, x_55, x_56, x_50); +lean_dec(x_20); +lean_dec(x_54); +lean_dec_ref(x_53); +x_23 = x_57; +goto block_47; +} +} +block_47: +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_array_get_size(x_23); +lean_dec_ref(x_23); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_dec_eq(x_24, x_25); +lean_dec(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_22); +x_27 = l_Lean_Doc_suggestTactic___closed__2; +x_28 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_27, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = l_Lean_Doc_suggestTactic___closed__5; +lean_ctor_set(x_28, 0, x_31); +return x_28; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = l_Lean_Doc_suggestTactic___closed__5; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_28); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_28, 0); +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_inc(x_36); +x_38 = l_Lean_Exception_isInterrupt(x_36); +if (x_38 == 0) +{ +uint8_t x_39; +x_39 = l_Lean_Exception_isRuntime(x_36); +lean_dec(x_36); +x_12 = x_37; +x_13 = x_28; +x_14 = x_39; +goto block_17; +} +else +{ +lean_dec(x_36); +x_12 = x_37; +x_13 = x_28; +x_14 = x_38; +goto block_17; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_ctor_get(x_28, 0); +x_41 = lean_ctor_get(x_28, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_28); +lean_inc(x_41); +lean_inc(x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Exception_isInterrupt(x_40); +if (x_43 == 0) +{ +uint8_t x_44; +x_44 = l_Lean_Exception_isRuntime(x_40); +lean_dec(x_40); +x_12 = x_41; +x_13 = x_42; +x_14 = x_44; +goto block_17; +} +else +{ +lean_dec(x_40); +x_12 = x_41; +x_13 = x_42; +x_14 = x_43; +goto block_17; +} +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_45 = l_Lean_Doc_suggestTactic___closed__5; +if (lean_is_scalar(x_22)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_22; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_21); +return x_46; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_58 = !lean_is_exclusive(x_19); +if (x_58 == 0) +{ +return x_19; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_19, 0); +x_60 = lean_ctor_get(x_19, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_19); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +block_17: +{ +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec_ref(x_13); +x_15 = l_Lean_Doc_suggestName___closed__0; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; +} +else +{ +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_suggestAttr___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_attr___closed__6; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestAttr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_suggestAttr___closed__0; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_suggestAttr___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_suggestAttr___closed__1; +x_2 = l_Lean_Doc_suggestGiven___closed__0; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_Doc_attr___closed__0; +x_21 = lean_ctor_get(x_20, 1); +lean_inc_ref(x_21); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_22 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = l_Lean_Doc_attr___closed__15; +x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = l_Lean_Doc_suggestName___closed__0; +lean_ctor_set(x_22, 0, x_27); +return x_22; +} +else +{ +lean_object* x_28; +x_28 = l_Lean_Doc_suggestAttr___closed__2; +lean_ctor_set(x_22, 0, x_28); +return x_22; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +x_31 = l_Lean_Doc_attr___closed__15; +x_32 = l_Lean_Syntax_isOfKind(x_29, x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_Doc_suggestName___closed__0; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = l_Lean_Doc_suggestAttr___closed__2; +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_30); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_57; +x_37 = lean_ctor_get(x_22, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_22, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_39 = x_22; +} else { + lean_dec_ref(x_22); + x_39 = lean_box(0); +} +x_57 = l_Lean_Exception_isInterrupt(x_37); +if (x_57 == 0) +{ +uint8_t x_58; +x_58 = l_Lean_Exception_isRuntime(x_37); +x_40 = x_58; +goto block_56; +} +else +{ +x_40 = x_57; +goto block_56; +} +block_56: +{ +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_39); +lean_dec(x_37); +x_41 = lean_unsigned_to_nat(0u); +x_42 = l_Lean_Doc_attr___closed__8; +x_43 = lean_ctor_get(x_42, 1); +lean_inc_ref(x_43); +x_44 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_43, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +x_47 = l_Lean_Doc_suggestAttr___closed__2; +lean_ctor_set(x_44, 0, x_47); +return x_44; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +x_49 = l_Lean_Doc_suggestAttr___closed__2; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_44, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_44, 1); +lean_inc(x_52); +lean_dec_ref(x_44); +x_53 = l_Lean_Exception_isInterrupt(x_51); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = l_Lean_Exception_isRuntime(x_51); +x_12 = x_51; +x_13 = x_41; +x_14 = x_52; +x_15 = x_54; +goto block_19; +} +else +{ +x_12 = x_51; +x_13 = x_41; +x_14 = x_52; +x_15 = x_53; +goto block_19; +} +} +} +else +{ +lean_object* x_55; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_is_scalar(x_39)) { + x_55 = lean_alloc_ctor(1, 2, 0); +} else { + x_55 = x_39; +} +lean_ctor_set(x_55, 0, x_37); +lean_ctor_set(x_55, 1, x_38); +return x_55; +} +} +} +block_19: +{ +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec_ref(x_12); +x_16 = lean_mk_empty_array_with_capacity(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_14); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestAttr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Doc_suggestOption___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("option", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_suggestOption___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_suggestOption___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestOption___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_suggestOption___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_suggestOption___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_suggestOption___closed__2; +x_2 = l_Lean_Doc_suggestGiven___closed__0; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = l_Lean_Doc_option___closed__0; +x_25 = lean_ctor_get(x_24, 1); +lean_inc_ref(x_25); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_26 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_26) == 0) { uint8_t x_27; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) { lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_dec(x_28); -x_29 = l_Lean_Doc_suggestTactic___redArg___closed__5; +x_29 = l_Lean_Doc_suggestOption___closed__3; lean_ctor_set(x_26, 0, x_29); return x_26; } @@ -50589,7 +53833,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_26, 1); lean_inc(x_30); lean_dec(x_26); -x_31 = l_Lean_Doc_suggestTactic___redArg___closed__5; +x_31 = l_Lean_Doc_suggestOption___closed__3; x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -50602,1388 +53846,382 @@ uint8_t x_33; x_33 = !lean_is_exclusive(x_26); if (x_33 == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_64; x_34 = lean_ctor_get(x_26, 0); x_35 = lean_ctor_get(x_26, 1); lean_inc(x_35); lean_inc(x_34); -x_36 = l_Lean_Exception_isInterrupt(x_34); +x_64 = l_Lean_Exception_isInterrupt(x_34); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Exception_isRuntime(x_34); +lean_dec(x_34); +x_36 = x_65; +goto block_63; +} +else +{ +lean_dec(x_34); +x_36 = x_64; +goto block_63; +} +block_63: +{ if (x_36 == 0) { -uint8_t x_37; -x_37 = l_Lean_Exception_isRuntime(x_34); -lean_dec(x_34); -x_10 = x_35; -x_11 = x_26; -x_12 = x_37; -goto block_15; -} -else -{ -lean_dec(x_34); -x_10 = x_35; -x_11 = x_26; -x_12 = x_36; -goto block_15; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_26, 0); -x_39 = lean_ctor_get(x_26, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_26); -lean_inc(x_39); -lean_inc(x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Exception_isInterrupt(x_38); -if (x_41 == 0) -{ -uint8_t x_42; -x_42 = l_Lean_Exception_isRuntime(x_38); -lean_dec(x_38); -x_10 = x_39; -x_11 = x_40; -x_12 = x_42; -goto block_15; -} -else -{ -lean_dec(x_38); -x_10 = x_39; -x_11 = x_40; -x_12 = x_41; -goto block_15; -} -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_43 = l_Lean_Doc_suggestTactic___redArg___closed__5; -if (lean_is_scalar(x_20)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_20; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_19); -return x_44; -} -} -} -else -{ -uint8_t x_56; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_56 = !lean_is_exclusive(x_17); -if (x_56 == 0) -{ -return x_17; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_17, 0); -x_58 = lean_ctor_get(x_17, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_17); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -block_15: -{ -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec_ref(x_11); -x_13 = l_Lean_Doc_suggestName___closed__0; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_10); -return x_14; -} -else -{ -return x_11; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestTactic___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Doc_suggestTactic___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l_Lean_Doc_suggestAttr___redArg___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_attr___closed__6; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_suggestAttr___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestAttr___redArg___closed__0; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Doc_suggestAttr___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestAttr___redArg___closed__1; -x_2 = l_Lean_Doc_suggestName___closed__4; -x_3 = lean_array_push(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = l_Lean_Doc_attr___closed__0; -x_19 = lean_ctor_get(x_18, 1); -lean_inc_ref(x_19); +lean_object* x_37; lean_object* x_38; +lean_dec_ref(x_26); +x_37 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_20) == 0) +x_38 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_37, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +if (lean_obj_tag(x_38) == 0) { -uint8_t x_21; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec_ref(x_38); +x_41 = l_Lean_Syntax_getId(x_39); +lean_dec(x_39); +x_42 = lean_erase_macro_scopes(x_41); +x_43 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_43, 0, x_42); +x_44 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_20, 0); -x_23 = l_Lean_Doc_attr___closed__15; -x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); -if (x_24 == 0) +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_25; -x_25 = l_Lean_Doc_suggestName___closed__0; -lean_ctor_set(x_20, 0, x_25); -return x_20; +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +x_47 = l_Lean_Doc_suggestOption___closed__3; +lean_ctor_set(x_44, 0, x_47); +return x_44; } else { -lean_object* x_26; -x_26 = l_Lean_Doc_suggestAttr___redArg___closed__2; -lean_ctor_set(x_20, 0, x_26); -return x_20; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = l_Lean_Doc_attr___closed__15; -x_30 = l_Lean_Syntax_isOfKind(x_27, x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = l_Lean_Doc_suggestName___closed__0; -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_28); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = l_Lean_Doc_suggestAttr___redArg___closed__2; -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_28); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_55; -x_35 = lean_ctor_get(x_20, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_20, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_37 = x_20; -} else { - lean_dec_ref(x_20); - x_37 = lean_box(0); -} -x_55 = l_Lean_Exception_isInterrupt(x_35); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = l_Lean_Exception_isRuntime(x_35); -x_38 = x_56; -goto block_54; -} -else -{ -x_38 = x_55; -goto block_54; -} -block_54: -{ -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_37); -lean_dec(x_35); -x_39 = lean_unsigned_to_nat(0u); -x_40 = l_Lean_Doc_attr___closed__8; -x_41 = lean_ctor_get(x_40, 1); -lean_inc_ref(x_41); -x_42 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_41, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); lean_dec(x_44); -x_45 = l_Lean_Doc_suggestAttr___redArg___closed__2; -lean_ctor_set(x_42, 0, x_45); -return x_42; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = l_Lean_Doc_suggestAttr___redArg___closed__2; -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; +x_49 = l_Lean_Doc_suggestOption___closed__3; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; } } else { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_42, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_42, 1); -lean_inc(x_50); -lean_dec_ref(x_42); -x_51 = l_Lean_Exception_isInterrupt(x_49); +uint8_t x_51; +x_51 = !lean_is_exclusive(x_44); if (x_51 == 0) { -uint8_t x_52; -x_52 = l_Lean_Exception_isRuntime(x_49); -x_10 = x_50; -x_11 = x_39; -x_12 = x_49; -x_13 = x_52; -goto block_17; +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_44, 0); +x_53 = lean_ctor_get(x_44, 1); +lean_inc(x_53); +lean_inc(x_52); +x_18 = x_44; +x_19 = x_52; +x_20 = x_53; +goto block_23; } else { -x_10 = x_50; -x_11 = x_39; -x_12 = x_49; -x_13 = x_51; -goto block_17; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_44, 0); +x_55 = lean_ctor_get(x_44, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_44); +lean_inc(x_55); +lean_inc(x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_18 = x_56; +x_19 = x_54; +x_20 = x_55; +goto block_23; } } } else { -lean_object* x_53; +uint8_t x_57; +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -if (lean_is_scalar(x_37)) { - x_53 = lean_alloc_ctor(1, 2, 0); -} else { - x_53 = x_37; +x_57 = !lean_is_exclusive(x_38); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_38, 0); +x_59 = lean_ctor_get(x_38, 1); +lean_inc(x_59); +lean_inc(x_58); +x_18 = x_38; +x_19 = x_58; +x_20 = x_59; +goto block_23; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_38, 0); +x_61 = lean_ctor_get(x_38, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_38); +lean_inc(x_61); +lean_inc(x_60); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_18 = x_62; +x_19 = x_60; +x_20 = x_61; +goto block_23; +} +} +} +else +{ +lean_dec(x_35); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_26; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t x_91; +x_66 = lean_ctor_get(x_26, 0); +x_67 = lean_ctor_get(x_26, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_26); +lean_inc(x_67); +lean_inc(x_66); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_91 = l_Lean_Exception_isInterrupt(x_66); +if (x_91 == 0) +{ +uint8_t x_92; +x_92 = l_Lean_Exception_isRuntime(x_66); +lean_dec(x_66); +x_69 = x_92; +goto block_90; +} +else +{ +lean_dec(x_66); +x_69 = x_91; +goto block_90; +} +block_90: +{ +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec_ref(x_68); +x_70 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_71 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_70, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_67); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec_ref(x_71); +x_74 = l_Lean_Syntax_getId(x_72); +lean_dec(x_72); +x_75 = lean_erase_macro_scopes(x_74); +x_76 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); +lean_closure_set(x_76, 0, x_75); +x_77 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_76, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = l_Lean_Doc_suggestOption___closed__3; +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_77, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_84 = x_77; +} else { + lean_dec_ref(x_77); + x_84 = lean_box(0); +} +lean_inc(x_83); +lean_inc(x_82); +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +x_18 = x_85; +x_19 = x_82; +x_20 = x_83; +goto block_23; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_86 = lean_ctor_get(x_71, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_71, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_88 = x_71; +} else { + lean_dec_ref(x_71); + x_88 = lean_box(0); +} +lean_inc(x_87); +lean_inc(x_86); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +x_18 = x_89; +x_19 = x_86; +x_20 = x_87; +goto block_23; +} +} +else +{ +lean_dec(x_67); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_68; } -lean_ctor_set(x_53, 0, x_35); -lean_ctor_set(x_53, 1, x_36); -return x_53; } } } block_17: { -if (x_13 == 0) +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; +lean_object* x_15; lean_object* x_16; lean_dec_ref(x_12); -x_14 = lean_mk_empty_array_with_capacity(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_12); -lean_ctor_set(x_16, 1, x_10); -return x_16; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestAttr___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Doc_suggestAttr___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestAttr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l_Lean_Doc_suggestOption___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("option", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_suggestOption___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestOption___redArg___closed__0; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_suggestOption___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestOption___redArg___closed__1; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Doc_suggestOption___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestOption___redArg___closed__2; -x_2 = l_Lean_Doc_suggestName___closed__4; -x_3 = lean_array_push(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = l_Lean_Doc_option___closed__0; -x_23 = lean_ctor_get(x_22, 1); -lean_inc_ref(x_23); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_24 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_23, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = l_Lean_Doc_suggestOption___redArg___closed__3; -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = l_Lean_Doc_suggestOption___redArg___closed__3; -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_62; -x_32 = lean_ctor_get(x_24, 0); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_inc(x_32); -x_62 = l_Lean_Exception_isInterrupt(x_32); -if (x_62 == 0) -{ -uint8_t x_63; -x_63 = l_Lean_Exception_isRuntime(x_32); -lean_dec(x_32); -x_34 = x_63; -goto block_61; -} -else -{ -lean_dec(x_32); -x_34 = x_62; -goto block_61; -} -block_61: -{ -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec_ref(x_24); -x_35 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0; -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_36 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_35, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_33); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec_ref(x_36); -x_39 = l_Lean_Syntax_getId(x_37); -lean_dec(x_37); -x_40 = lean_erase_macro_scopes(x_39); -x_41 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_41, 0, x_40); -x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = l_Lean_Doc_suggestOption___redArg___closed__3; -lean_ctor_set(x_42, 0, x_45); -return x_42; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = l_Lean_Doc_suggestOption___redArg___closed__3; -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_42); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_42, 0); -x_51 = lean_ctor_get(x_42, 1); -lean_inc(x_51); -lean_inc(x_50); -x_16 = x_42; -x_17 = x_50; -x_18 = x_51; -goto block_21; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_42, 0); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_42); -lean_inc(x_53); -lean_inc(x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_16 = x_54; -x_17 = x_52; -x_18 = x_53; -goto block_21; -} -} -} -else -{ -uint8_t x_55; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_55 = !lean_is_exclusive(x_36); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_36, 0); -x_57 = lean_ctor_get(x_36, 1); -lean_inc(x_57); -lean_inc(x_56); -x_16 = x_36; -x_17 = x_56; -x_18 = x_57; -goto block_21; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_36, 0); -x_59 = lean_ctor_get(x_36, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_36); -lean_inc(x_59); -lean_inc(x_58); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_16 = x_60; -x_17 = x_58; -x_18 = x_59; -goto block_21; -} -} -} -else -{ -lean_dec(x_33); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_24; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_89; -x_64 = lean_ctor_get(x_24, 0); -x_65 = lean_ctor_get(x_24, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_24); -lean_inc(x_65); -lean_inc(x_64); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -x_89 = l_Lean_Exception_isInterrupt(x_64); -if (x_89 == 0) -{ -uint8_t x_90; -x_90 = l_Lean_Exception_isRuntime(x_64); -lean_dec(x_64); -x_67 = x_90; -goto block_88; -} -else -{ -lean_dec(x_64); -x_67 = x_89; -goto block_88; -} -block_88: -{ -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -lean_dec_ref(x_66); -x_68 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0; -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_69 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_68, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_65); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec_ref(x_69); -x_72 = l_Lean_Syntax_getId(x_70); -lean_dec(x_70); -x_73 = lean_erase_macro_scopes(x_72); -x_74 = lean_alloc_closure((void*)(l_Lean_Doc_option___lam__0___boxed), 8, 1); -lean_closure_set(x_74, 0, x_73); -x_75 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = l_Lean_Doc_suggestOption___redArg___closed__3; -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_ctor_get(x_75, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_75, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_82 = x_75; -} else { - lean_dec_ref(x_75); - x_82 = lean_box(0); -} -lean_inc(x_81); -lean_inc(x_80); -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); -} else { - x_83 = x_82; -} -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -x_16 = x_83; -x_17 = x_80; -x_18 = x_81; -goto block_21; -} -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_84 = lean_ctor_get(x_69, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_69, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_86 = x_69; -} else { - lean_dec_ref(x_69); - x_86 = lean_box(0); -} -lean_inc(x_85); -lean_inc(x_84); -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -x_16 = x_87; -x_17 = x_84; -x_18 = x_85; -goto block_21; -} -} -else -{ -lean_dec(x_65); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_66; -} -} -} -} -block_15: -{ -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec_ref(x_11); -x_13 = l_Lean_Doc_suggestName___closed__0; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_10); -return x_14; -} -else -{ -return x_11; -} -} -block_21: -{ -uint8_t x_19; -x_19 = l_Lean_Exception_isInterrupt(x_17); -if (x_19 == 0) -{ -uint8_t x_20; -x_20 = l_Lean_Exception_isRuntime(x_17); -lean_dec_ref(x_17); -x_10 = x_18; -x_11 = x_16; -x_12 = x_20; -goto block_15; -} -else -{ -lean_dec_ref(x_17); -x_10 = x_18; -x_11 = x_16; -x_12 = x_19; -goto block_15; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestOption___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Doc_suggestOption___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_4, x_3); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); +x_15 = l_Lean_Doc_suggestName___closed__0; x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); return x_16; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_array_uget(x_2, x_4); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec_ref(x_17); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc_ref(x_1); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_18, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec_ref(x_19); -x_22 = lean_array_size(x_20); -x_23 = 0; -x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_18, x_22, x_23, x_20); -x_25 = l_Array_append___redArg(x_5, x_24); -lean_dec_ref(x_24); -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_4 = x_27; -x_5 = x_25; -x_14 = x_21; -goto _start; -} -else -{ -uint8_t x_29; -lean_dec(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) -{ -return x_19; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_19, 0); -x_31 = lean_ctor_get(x_19, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_19); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_4, x_3); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_array_uget(x_2, x_4); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec_ref(x_17); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc_ref(x_1); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_withAtom(x_18, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec_ref(x_19); -x_22 = lean_array_size(x_20); -x_23 = 0; -x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__3(x_18, x_22, x_23, x_20); -x_25 = l_Array_append___redArg(x_5, x_24); -lean_dec_ref(x_24); -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(x_1, x_2, x_3, x_27, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_18); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) -{ -return x_19; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_19, 0); -x_31 = lean_ctor_get(x_19, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_19); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("(of := ", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("(in `", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`)", 2, 2); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_2, x_1); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_3); -lean_ctor_set(x_6, 1, x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_7 = lean_array_uget(x_3, x_2); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0; -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1; -x_14 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_9, x_5); -x_15 = lean_string_append(x_13, x_14); -lean_dec_ref(x_14); -x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2; -x_20 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_8, x_5); -x_21 = lean_string_append(x_19, x_20); -lean_dec_ref(x_20); -x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3; -x_23 = lean_string_append(x_21, x_22); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_25, 0, x_12); -lean_ctor_set(x_25, 1, x_18); -lean_ctor_set(x_25, 2, x_24); -x_26 = 1; -x_27 = lean_usize_add(x_2, x_26); -x_28 = lean_array_uset(x_11, x_2, x_25); -x_2 = x_27; -x_3 = x_28; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_1, x_2, x_3, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_16 = lean_ctor_get(x_15, 1); -lean_inc_ref(x_16); -x_17 = lean_ctor_get(x_16, 0); -lean_inc_ref(x_17); -lean_dec_ref(x_16); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -lean_dec_ref(x_17); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_20 = l_Lean_ScopedEnvExtension_getState___redArg(x_19, x_15, x_13, x_18); -lean_dec(x_18); -x_21 = lean_ctor_get(x_20, 2); -lean_inc_ref(x_21); -lean_dec_ref(x_20); -x_22 = l_Lean_TSyntax_getString(x_1); -x_23 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_21); -lean_dec_ref(x_21); -x_24 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6; -x_25 = lean_array_size(x_23); -x_26 = 0; -x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(x_22, x_23, x_25, x_26, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec_ref(x_23); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec_ref(x_27); -x_30 = lean_array_size(x_28); -x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_30, x_26, x_28, x_29); -return x_31; -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) -{ -return x_27; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 0); -x_34 = lean_ctor_get(x_27, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_27); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_36 = !lean_is_exclusive(x_12); -if (x_36 == 0) -{ return x_12; } +} +block_23: +{ +uint8_t x_21; +x_21 = l_Lean_Exception_isInterrupt(x_19); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = l_Lean_Exception_isRuntime(x_19); +lean_dec_ref(x_19); +x_12 = x_18; +x_13 = x_20; +x_14 = x_22; +goto block_17; +} else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_12, 0); -x_38 = lean_ctor_get(x_12, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_12); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_dec_ref(x_19); +x_12 = x_18; +x_13 = x_20; +x_14 = x_21; +goto block_17; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); +lean_object* x_12; +x_12 = l_Lean_Doc_suggestOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_2); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_1); lean_dec(x_1); -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_5, x_6, x_3, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Doc_suggestKw(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; +return x_12; } } static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__0() { @@ -52023,7 +54261,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Doc_suggestCat___redArg___closed__2; -x_2 = l_Lean_Doc_suggestName___closed__4; +x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; } @@ -52032,7 +54270,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___redArg(lean_object* x_1, lean_o _start: { lean_object* x_10; lean_object* x_11; -x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; +x_10 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_11) == 0) { @@ -52042,7 +54280,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_13 = lean_ctor_get(x_11, 0); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; x_15 = lean_ctor_get(x_14, 1); lean_inc_ref(x_15); x_16 = lean_ctor_get(x_15, 0); @@ -52051,7 +54289,7 @@ lean_dec_ref(x_15); x_17 = lean_ctor_get(x_16, 2); lean_inc(x_17); lean_dec_ref(x_16); -x_18 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; +x_18 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; x_19 = l_Lean_ScopedEnvExtension_getState___redArg(x_18, x_14, x_13, x_17); lean_dec(x_17); x_20 = lean_ctor_get(x_19, 2); @@ -52059,7 +54297,7 @@ lean_inc_ref(x_20); lean_dec_ref(x_19); x_21 = l_Lean_TSyntax_getString(x_1); x_22 = l_String_toName(x_21); -x_23 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_20, x_22); +x_23 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_20, x_22); lean_dec(x_22); if (x_23 == 0) { @@ -52084,7 +54322,7 @@ x_27 = lean_ctor_get(x_11, 1); lean_inc(x_27); lean_inc(x_26); lean_dec(x_11); -x_28 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; +x_28 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; x_29 = lean_ctor_get(x_28, 1); lean_inc_ref(x_29); x_30 = lean_ctor_get(x_29, 0); @@ -52093,7 +54331,7 @@ lean_dec_ref(x_29); x_31 = lean_ctor_get(x_30, 2); lean_inc(x_31); lean_dec_ref(x_30); -x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; +x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; x_33 = l_Lean_ScopedEnvExtension_getState___redArg(x_32, x_28, x_26, x_31); lean_dec(x_31); x_34 = lean_ctor_get(x_33, 2); @@ -52101,7 +54339,7 @@ lean_inc_ref(x_34); lean_dec_ref(x_33); x_35 = l_Lean_TSyntax_getString(x_1); x_36 = l_String_toName(x_35); -x_37 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__0___redArg(x_34, x_36); +x_37 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(x_34, x_36); lean_dec(x_36); if (x_37 == 0) { @@ -52147,12 +54385,12 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestCat___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_12; +x_12 = l_Lean_Doc_suggestCat___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -52165,18 +54403,19 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Doc_suggestCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_11; +return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -52189,146 +54428,144 @@ x_7 = lean_apply_2(x_6, x_2, x_3); return x_7; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_5; -x_5 = l_Lean_Parser_andthenFn(x_1, x_2, x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: +lean_object* x_16; lean_object* x_17; uint8_t x_22; +x_22 = lean_usize_dec_lt(x_4, x_3); +if (x_22 == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_20; -x_20 = lean_usize_dec_lt(x_4, x_3); -if (x_20 == 0) -{ -lean_object* x_21; +lean_object* x_23; +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_5); -lean_ctor_set(x_21, 1, x_13); -return x_21; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_15); +return x_23; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_22 = lean_array_uget(x_2, x_4); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec_ref(x_22); -lean_inc(x_23); -x_24 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__0), 3, 1); -lean_closure_set(x_24, 0, x_23); -x_25 = l_Lean_Doc_tactic___closed__2; -x_26 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___lam__1), 4, 2); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_array_uget(x_2, x_4); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +lean_inc(x_25); +x_26 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___lam__0), 3, 1); lean_closure_set(x_26, 0, x_25); -lean_closure_set(x_26, 1, x_24); +x_27 = l_Lean_Doc_tactic___closed__2; +x_28 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__5), 4, 2); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_26); +lean_inc(x_14); +lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_27 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg(x_26, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_28, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec_ref(x_27); -x_29 = lean_array_push(x_5, x_23); -x_14 = x_29; -x_15 = x_28; -goto block_19; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_36; -lean_dec(x_23); -x_30 = lean_ctor_get(x_27, 0); +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_27, 1); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_32 = x_27; +lean_dec_ref(x_29); +x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(x_30); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_array_push(x_5, x_25); +x_16 = x_33; +x_17 = x_31; +goto block_21; +} +else +{ +lean_dec(x_25); +x_16 = x_5; +x_17 = x_31; +goto block_21; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_40; +lean_dec(x_25); +x_34 = lean_ctor_get(x_29, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_36 = x_29; } else { - lean_dec_ref(x_27); - x_32 = lean_box(0); + lean_dec_ref(x_29); + x_36 = lean_box(0); } -x_36 = l_Lean_Exception_isInterrupt(x_30); -if (x_36 == 0) +x_40 = l_Lean_Exception_isInterrupt(x_34); +if (x_40 == 0) { -uint8_t x_37; -x_37 = l_Lean_Exception_isRuntime(x_30); -x_33 = x_37; -goto block_35; +uint8_t x_41; +x_41 = l_Lean_Exception_isRuntime(x_34); +x_37 = x_41; +goto block_39; } else { -x_33 = x_36; -goto block_35; +x_37 = x_40; +goto block_39; } -block_35: +block_39: { -if (x_33 == 0) +if (x_37 == 0) { -lean_dec(x_32); -lean_dec(x_30); -x_14 = x_5; -x_15 = x_31; -goto block_19; +lean_dec(x_36); +lean_dec(x_34); +x_16 = x_5; +x_17 = x_35; +goto block_21; } else { -lean_object* x_34; +lean_object* x_38; +lean_dec(x_14); +lean_dec_ref(x_13); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); lean_dec_ref(x_5); -if (lean_is_scalar(x_32)) { - x_34 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_34 = x_32; + x_38 = x_36; } -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_31); -return x_34; +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } } -block_19: +block_21: { -size_t x_16; size_t x_17; -x_16 = 1; -x_17 = lean_usize_add(x_4, x_16); -x_4 = x_17; -x_5 = x_14; -x_13 = x_15; +size_t x_18; size_t x_19; +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_4 = x_19; +x_5 = x_16; +x_15 = x_17; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; -} -} static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0() { _start: { @@ -52385,150 +54622,136 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(x_1, x_2, x_3, x_12); +lean_object* x_14; +x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(x_1, x_2, x_3, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; +x_17 = lean_ctor_get(x_16, 1); +lean_inc_ref(x_17); +x_18 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_18); +lean_dec_ref(x_17); +x_19 = lean_ctor_get(x_18, 2); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; +x_21 = l_Lean_ScopedEnvExtension_getState___redArg(x_20, x_16, x_14, x_19); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 2); +lean_inc_ref(x_22); +lean_dec_ref(x_21); +x_23 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_22); +lean_dec_ref(x_22); +x_24 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; +x_25 = lean_array_size(x_23); +x_26 = 0; +x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(x_1, x_23, x_25, x_26, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +lean_dec_ref(x_23); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = lean_array_size(x_28); +x_31 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(x_30, x_26, x_28, x_29); +return x_31; +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_36 = !lean_is_exclusive(x_13); +if (x_36 == 0) +{ return x_13; } +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_13, 0); +x_38 = lean_ctor_get(x_13, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_13); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1; -x_16 = lean_ctor_get(x_15, 1); -lean_inc_ref(x_16); -x_17 = lean_ctor_get(x_16, 0); -lean_inc_ref(x_17); -lean_dec_ref(x_16); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -lean_dec_ref(x_17); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2; -x_20 = l_Lean_ScopedEnvExtension_getState___redArg(x_19, x_15, x_13, x_18); -lean_dec(x_18); -x_21 = lean_ctor_get(x_20, 2); -lean_inc_ref(x_21); -lean_dec_ref(x_20); -x_22 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(x_21); -lean_dec_ref(x_21); -x_23 = l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; -x_24 = lean_array_size(x_22); -x_25 = 0; -x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg(x_1, x_22, x_24, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec_ref(x_22); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; size_t x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec_ref(x_26); -x_29 = lean_array_size(x_27); -x_30 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(x_29, x_25, x_27, x_28); -return x_30; -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) -{ -return x_26; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_26); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_9); -lean_dec_ref(x_8); +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_35 = !lean_is_exclusive(x_12); -if (x_35 == 0) -{ -return x_12; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_12, 0); -x_37 = lean_ctor_get(x_12, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_12); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___redArg(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); lean_dec_ref(x_2); lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_2); -lean_dec(x_1); -return x_17; +return x_18; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -52543,38 +54766,43 @@ x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_ return x_7; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_1); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_15; +lean_dec_ref(x_4); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Doc_suggestSyntax(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Doc_suggestSyntax(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_11; +return x_12; } } lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Parsing(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Scopes(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Postponed(uint8_t builtin, lean_object*); lean_object* initialize_Lean_DocString_Links(uint8_t builtin, lean_object*); lean_object* initialize_Lean_DocString_Syntax(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_InfoTree(uint8_t builtin, lean_object*); @@ -52582,8 +54810,10 @@ lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Open(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Parser(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Hint(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Reduce(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Doc(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_EditDistance(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Keywords(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_DocString_Builtin(uint8_t builtin, lean_object* w) { lean_object * res; @@ -52592,6 +54822,15 @@ _G_initialized = true; res = initialize_Lean_Elab_DocString(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Parsing(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Scopes(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Postponed(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_DocString_Links(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -52613,12 +54852,18 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Hint(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Reduce(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Doc(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Data_EditDistance(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Keywords(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_ = _init_l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_(); lean_mark_persistent(l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_); l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_ = _init_l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_(); @@ -52689,14 +54934,6 @@ l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx lean_mark_persistent(l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_); l_Lean_Doc_Data_instTypeNameOption = _init_l_Lean_Doc_Data_instTypeNameOption(); lean_mark_persistent(l_Lean_Doc_Data_instTypeNameOption); -l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_ = _init_l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_(); -lean_mark_persistent(l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_); -l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_ = _init_l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_(); -lean_mark_persistent(l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_); -l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_ = _init_l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_(); -lean_mark_persistent(l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1640796728____hygCtx___hyg_23_); -l_Lean_Doc_Data_instTypeNameAtom = _init_l_Lean_Doc_Data_instTypeNameAtom(); -lean_mark_persistent(l_Lean_Doc_Data_instTypeNameAtom); l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_ = _init_l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_(); lean_mark_persistent(l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_); l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_ = _init_l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_(); @@ -52713,56 +54950,154 @@ l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx lean_mark_persistent(l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_); l_Lean_Doc_Data_instTypeNameSyntax = _init_l_Lean_Doc_Data_instTypeNameSyntax(); lean_mark_persistent(l_Lean_Doc_Data_instTypeNameSyntax); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___closed__5); -l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__0); -l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__1); -l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Doc_name_spec__13___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__5); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3); +l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_ = _init_l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_(); +lean_mark_persistent(l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_); +l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_ = _init_l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_(); +lean_mark_persistent(l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_); +l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_ = _init_l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_(); +lean_mark_persistent(l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_); +l_Lean_Doc_instTypeNamePostponedName = _init_l_Lean_Doc_instTypeNamePostponedName(); +lean_mark_persistent(l_Lean_Doc_instTypeNamePostponedName); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4); +l_Lean_Doc_checkNameExists___redArg___closed__0 = _init_l_Lean_Doc_checkNameExists___redArg___closed__0(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__0); +l_Lean_Doc_checkNameExists___redArg___closed__1 = _init_l_Lean_Doc_checkNameExists___redArg___closed__1(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__1); +l_Lean_Doc_checkNameExists___redArg___closed__2 = _init_l_Lean_Doc_checkNameExists___redArg___closed__2(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__2); +l_Lean_Doc_checkNameExists___redArg___closed__3 = _init_l_Lean_Doc_checkNameExists___redArg___closed__3(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__3); +l_Lean_Doc_checkNameExists___redArg___closed__4 = _init_l_Lean_Doc_checkNameExists___redArg___closed__4(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__4); +l_Lean_Doc_checkNameExists___redArg___closed__5 = _init_l_Lean_Doc_checkNameExists___redArg___closed__5(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__5); +l_Lean_Doc_checkNameExists___redArg___closed__6 = _init_l_Lean_Doc_checkNameExists___redArg___closed__6(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__6); +l_Lean_Doc_checkNameExists___redArg___closed__7 = _init_l_Lean_Doc_checkNameExists___redArg___closed__7(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__7); +l_Lean_Doc_checkNameExists___redArg___closed__8 = _init_l_Lean_Doc_checkNameExists___redArg___closed__8(); +lean_mark_persistent(l_Lean_Doc_checkNameExists___redArg___closed__8); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__2); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__7); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__8); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__9); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__10); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__19); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__0); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2); +l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0 = _init_l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0(); +lean_mark_persistent(l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___closed__0); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0); +l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1 = _init_l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1); l_Lean_Doc_name___closed__0 = _init_l_Lean_Doc_name___closed__0(); lean_mark_persistent(l_Lean_Doc_name___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit___redArg___closed__5); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__0); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__1); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__2); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___lam__0___closed__3); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__0); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__1); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__2); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__3); -l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4(); -lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_parseStrLit_x27_spec__0_spec__0_spec__0___redArg___closed__4); +l_Lean_Doc_name___closed__1 = _init_l_Lean_Doc_name___closed__1(); +lean_mark_persistent(l_Lean_Doc_name___closed__1); +l_Lean_Doc_name___closed__2 = _init_l_Lean_Doc_name___closed__2(); +lean_mark_persistent(l_Lean_Doc_name___closed__2); +l_Lean_Doc_name___closed__3 = _init_l_Lean_Doc_name___closed__3(); +lean_mark_persistent(l_Lean_Doc_name___closed__3); +l_Lean_Doc_name___closed__4 = _init_l_Lean_Doc_name___closed__4(); +lean_mark_persistent(l_Lean_Doc_name___closed__4); +l_Lean_Doc_name___closed__5 = _init_l_Lean_Doc_name___closed__5(); +lean_mark_persistent(l_Lean_Doc_name___closed__5); +l_Lean_Doc_name___closed__6 = _init_l_Lean_Doc_name___closed__6(); +lean_mark_persistent(l_Lean_Doc_name___closed__6); +l_Lean_Doc_name___closed__7 = _init_l_Lean_Doc_name___closed__7(); +lean_mark_persistent(l_Lean_Doc_name___closed__7); +l_Lean_Doc_name___closed__8 = _init_l_Lean_Doc_name___closed__8(); +lean_mark_persistent(l_Lean_Doc_name___closed__8); l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0 = _init_l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0(); lean_mark_persistent(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0); l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1 = _init_l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1(); @@ -52789,64 +55124,20 @@ l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedEr lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__2); l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3(); lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__3); +l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__4); l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__0 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__0(); lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__0); l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___lam__1___closed__0); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__0); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__1); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__2); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__3); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__4); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__5); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__6); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__7); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__8); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__9); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__10); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__11); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__12); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__13); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__14); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__15); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__16); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__17); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__18); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__19); -l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4_spec__4___closed__20); -l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__0); -l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__1); -l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__2); -l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4_spec__4_spec__4_spec__4_spec__4___redArg___closed__3); -l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0 = _init_l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0(); -lean_mark_persistent(l_Lean_Elab_addConstInfo___at___Lean_Doc_tactic_spec__4___closed__0); +l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0 = _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0); +l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1 = _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1(); +lean_mark_persistent(l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1); +l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2 = _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2(); +lean_mark_persistent(l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2); +l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3 = _init_l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3(); +lean_mark_persistent(l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3); l_Lean_Doc_tactic___lam__1___closed__0 = _init_l_Lean_Doc_tactic___lam__1___closed__0(); lean_mark_persistent(l_Lean_Doc_tactic___lam__1___closed__0); l_Lean_Doc_tactic___lam__1___closed__1 = _init_l_Lean_Doc_tactic___lam__1___closed__1(); @@ -52883,34 +55174,34 @@ l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0_ lean_mark_persistent(l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0); l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0 = _init_l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0(); lean_mark_persistent(l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__5); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__6); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__7); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__8); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__9); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___redArg___closed__10); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__6); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__9); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__10); l_Lean_Doc_conv___closed__0 = _init_l_Lean_Doc_conv___closed__0(); lean_mark_persistent(l_Lean_Doc_conv___closed__0); l_Lean_Doc_conv___closed__1 = _init_l_Lean_Doc_conv___closed__1(); lean_mark_persistent(l_Lean_Doc_conv___closed__1); -l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0 = _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0(); -lean_mark_persistent(l_Array_filterMapM___at___Lean_Doc_attr_spec__2___closed__0); +l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0 = _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0(); +lean_mark_persistent(l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0); l_Lean_Doc_attr___lam__2___closed__0 = _init_l_Lean_Doc_attr___lam__2___closed__0(); lean_mark_persistent(l_Lean_Doc_attr___lam__2___closed__0); l_Lean_Doc_attr___lam__2___closed__1 = _init_l_Lean_Doc_attr___lam__2___closed__1(); @@ -53013,137 +55304,95 @@ l_Lean_Doc_option___closed__5 = _init_l_Lean_Doc_option___closed__5(); lean_mark_persistent(l_Lean_Doc_option___closed__5); l_Lean_Doc_option___closed__6 = _init_l_Lean_Doc_option___closed__6(); lean_mark_persistent(l_Lean_Doc_option___closed__6); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__5); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__6); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__7); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__8); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__9); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__10); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__11); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__12); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_containsAtom_attempt___closed__13); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_categorySuggestions___closed__0); -l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0 = _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0(); -lean_mark_persistent(l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___closed__0); -l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0(); -lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__1___closed__0); -l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0(); -lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_ofSuggestions_spec__6_spec__6___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl_spec__7___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__4); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__5); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__6); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__7); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__8); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__9); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__10); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__11); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__12); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__13); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__14); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_kwImpl___closed__15); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3); -l_Lean_Doc_given___lam__0___closed__0 = _init_l_Lean_Doc_given___lam__0___closed__0(); -lean_mark_persistent(l_Lean_Doc_given___lam__0___closed__0); -l_Lean_Doc_given___lam__2___closed__0 = _init_l_Lean_Doc_given___lam__2___closed__0(); -lean_mark_persistent(l_Lean_Doc_given___lam__2___closed__0); -l_Lean_Doc_given___lam__3___closed__0 = _init_l_Lean_Doc_given___lam__3___closed__0(); -lean_mark_persistent(l_Lean_Doc_given___lam__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2); +l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0 = _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0); +l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1 = _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___redArg___closed__0); l_Lean_Doc_given___closed__0 = _init_l_Lean_Doc_given___closed__0(); lean_mark_persistent(l_Lean_Doc_given___closed__0); l_Lean_Doc_given___closed__1 = _init_l_Lean_Doc_given___closed__1(); lean_mark_persistent(l_Lean_Doc_given___closed__1); +l_Lean_Doc_given___closed__2 = _init_l_Lean_Doc_given___closed__2(); +lean_mark_persistent(l_Lean_Doc_given___closed__2); +l_Lean_Doc_given___closed__3 = _init_l_Lean_Doc_given___closed__3(); +lean_mark_persistent(l_Lean_Doc_given___closed__3); +l_Lean_Doc_given___closed__4 = _init_l_Lean_Doc_given___closed__4(); +lean_mark_persistent(l_Lean_Doc_given___closed__4); +l_Lean_Doc_given___closed__5 = _init_l_Lean_Doc_given___closed__5(); +lean_mark_persistent(l_Lean_Doc_given___closed__5); if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt); lean_dec_ref(res); -}l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0(); -lean_mark_persistent(l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__0_spec__0___redArg___closed__0); -l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__0); -l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__1); -l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__2); -l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__3); -l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__5___redArg___closed__4); +}l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0 = _init_l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0(); +lean_mark_persistent(l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0); +l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__0); +l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1); +l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2); +l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3); +l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4 = _init_l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__8); l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__0 = _init_l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__0(); lean_mark_persistent(l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__0); l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__1 = _init_l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__1(); @@ -53220,30 +55469,36 @@ l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1 = lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__2(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__2); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__1); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__2); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__3); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__4); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__5); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__6); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__7); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__8); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__9); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__10); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__3_spec__3___closed__11); +l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0 = _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0(); +lean_mark_persistent(l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0); +l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0(); +lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0); +l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0(); +lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11); l_Lean_Doc_output___closed__0 = _init_l_Lean_Doc_output___closed__0(); lean_mark_persistent(l_Lean_Doc_output___closed__0); l_Lean_Doc_output___closed__1 = _init_l_Lean_Doc_output___closed__1(); @@ -53262,10 +55517,63 @@ l_Lean_Doc_output___closed__7 = _init_l_Lean_Doc_output___closed__7(); lean_mark_persistent(l_Lean_Doc_output___closed__7); l_Lean_Doc_output___closed__8 = _init_l_Lean_Doc_output___closed__8(); lean_mark_persistent(l_Lean_Doc_output___closed__8); -l_Lean_Doc_leanTerm___closed__0 = _init_l_Lean_Doc_leanTerm___closed__0(); -lean_mark_persistent(l_Lean_Doc_leanTerm___closed__0); -l_Lean_Doc_leanTerm___closed__1 = _init_l_Lean_Doc_leanTerm___closed__1(); -lean_mark_persistent(l_Lean_Doc_leanTerm___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4); +l_Lean_Doc_leanRole___lam__2___closed__0 = _init_l_Lean_Doc_leanRole___lam__2___closed__0(); +lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__0); +l_Lean_Doc_leanRole___lam__2___closed__1 = _init_l_Lean_Doc_leanRole___lam__2___closed__1(); +lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__1); +l_Lean_Doc_leanRole___lam__2___closed__2 = _init_l_Lean_Doc_leanRole___lam__2___closed__2(); +lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__2); +l_Lean_Doc_leanRole___lam__2___closed__3 = _init_l_Lean_Doc_leanRole___lam__2___closed__3(); +lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__3); +l_Lean_Doc_leanRole___closed__0 = _init_l_Lean_Doc_leanRole___closed__0(); +lean_mark_persistent(l_Lean_Doc_leanRole___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0); +l_Lean_Doc_assert_x27___closed__0 = _init_l_Lean_Doc_assert_x27___closed__0(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__0); +l_Lean_Doc_assert_x27___closed__1 = _init_l_Lean_Doc_assert_x27___closed__1(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__1); +l_Lean_Doc_assert_x27___closed__2 = _init_l_Lean_Doc_assert_x27___closed__2(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__2); +l_Lean_Doc_assert_x27___closed__3 = _init_l_Lean_Doc_assert_x27___closed__3(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__3); +l_Lean_Doc_assert_x27___closed__4 = _init_l_Lean_Doc_assert_x27___closed__4(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__4); +l_Lean_Doc_assert_x27___closed__5 = _init_l_Lean_Doc_assert_x27___closed__5(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__5); +l_Lean_Doc_assert_x27___closed__6 = _init_l_Lean_Doc_assert_x27___closed__6(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__6); +l_Lean_Doc_assert_x27___closed__7 = _init_l_Lean_Doc_assert_x27___closed__7(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__7); +l_Lean_Doc_assert_x27___closed__8 = _init_l_Lean_Doc_assert_x27___closed__8(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__8); +l_Lean_Doc_assert_x27___closed__9 = _init_l_Lean_Doc_assert_x27___closed__9(); +lean_mark_persistent(l_Lean_Doc_assert_x27___closed__9); +l_Lean_Doc_assert_x27___closed__10 = _init_l_Lean_Doc_assert_x27___closed__10(); +l_Lean_Doc_assert___closed__0 = _init_l_Lean_Doc_assert___closed__0(); +lean_mark_persistent(l_Lean_Doc_assert___closed__0); +l_Lean_Doc_assert___closed__1 = _init_l_Lean_Doc_assert___closed__1(); +lean_mark_persistent(l_Lean_Doc_assert___closed__1); +l_Lean_Doc_assert___closed__2 = _init_l_Lean_Doc_assert___closed__2(); +lean_mark_persistent(l_Lean_Doc_assert___closed__2); +l_Lean_Doc_assert___closed__3 = _init_l_Lean_Doc_assert___closed__3(); +lean_mark_persistent(l_Lean_Doc_assert___closed__3); +l_Lean_Doc_assert___closed__4 = _init_l_Lean_Doc_assert___closed__4(); +lean_mark_persistent(l_Lean_Doc_assert___closed__4); +l_Lean_Doc_assert___closed__5 = _init_l_Lean_Doc_assert___closed__5(); +lean_mark_persistent(l_Lean_Doc_assert___closed__5); l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0(); lean_mark_persistent(l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0); l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1(); @@ -53304,8 +55612,6 @@ l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3 lean_mark_persistent(l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__3); l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0 = _init_l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0(); lean_mark_persistent(l_Lean_activateScoped___at___Lean_Doc_open_spec__22___closed__0); -l_Lean_Doc_open___lam__0___closed__0 = _init_l_Lean_Doc_open___lam__0___closed__0(); -lean_mark_persistent(l_Lean_Doc_open___lam__0___closed__0); l_Lean_Doc_open___closed__0 = _init_l_Lean_Doc_open___closed__0(); lean_mark_persistent(l_Lean_Doc_open___closed__0); l_Lean_Doc_open___closed__1 = _init_l_Lean_Doc_open___closed__1(); @@ -53326,6 +55632,10 @@ l_Lean_Doc_manual___closed__6 = _init_l_Lean_Doc_manual___closed__6(); lean_mark_persistent(l_Lean_Doc_manual___closed__6); l_Lean_Doc_suggestName___lam__1___closed__0 = _init_l_Lean_Doc_suggestName___lam__1___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__0); +l_Lean_Doc_suggestName___lam__1___closed__1 = _init_l_Lean_Doc_suggestName___lam__1___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__1); +l_Lean_Doc_suggestName___lam__1___closed__2 = _init_l_Lean_Doc_suggestName___lam__1___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__2); l_Lean_Doc_suggestName___closed__0 = _init_l_Lean_Doc_suggestName___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__0); l_Lean_Doc_suggestName___closed__1 = _init_l_Lean_Doc_suggestName___closed__1(); @@ -53336,50 +55646,66 @@ l_Lean_Doc_suggestName___closed__3 = _init_l_Lean_Doc_suggestName___closed__3(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__3); l_Lean_Doc_suggestName___closed__4 = _init_l_Lean_Doc_suggestName___closed__4(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__4); -l_Lean_Doc_suggestName___closed__5 = _init_l_Lean_Doc_suggestName___closed__5(); -lean_mark_persistent(l_Lean_Doc_suggestName___closed__5); -l_Lean_Doc_suggestLean___closed__0 = _init_l_Lean_Doc_suggestLean___closed__0(); -lean_mark_persistent(l_Lean_Doc_suggestLean___closed__0); -l_Lean_Doc_suggestLean___closed__1 = _init_l_Lean_Doc_suggestLean___closed__1(); -lean_mark_persistent(l_Lean_Doc_suggestLean___closed__1); -l_Lean_Doc_suggestLean___closed__2 = _init_l_Lean_Doc_suggestLean___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestLean___closed__2); -l_Lean_Doc_suggestLean___closed__3 = _init_l_Lean_Doc_suggestLean___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestLean___closed__3); -l_Lean_Doc_suggestTactic___redArg___closed__0 = _init_l_Lean_Doc_suggestTactic___redArg___closed__0(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__0); -l_Lean_Doc_suggestTactic___redArg___closed__1 = _init_l_Lean_Doc_suggestTactic___redArg___closed__1(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__1); -l_Lean_Doc_suggestTactic___redArg___closed__2 = _init_l_Lean_Doc_suggestTactic___redArg___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__2); -l_Lean_Doc_suggestTactic___redArg___closed__3 = _init_l_Lean_Doc_suggestTactic___redArg___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__3); -l_Lean_Doc_suggestTactic___redArg___closed__4 = _init_l_Lean_Doc_suggestTactic___redArg___closed__4(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__4); -l_Lean_Doc_suggestTactic___redArg___closed__5 = _init_l_Lean_Doc_suggestTactic___redArg___closed__5(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___redArg___closed__5); -l_Lean_Doc_suggestAttr___redArg___closed__0 = _init_l_Lean_Doc_suggestAttr___redArg___closed__0(); -lean_mark_persistent(l_Lean_Doc_suggestAttr___redArg___closed__0); -l_Lean_Doc_suggestAttr___redArg___closed__1 = _init_l_Lean_Doc_suggestAttr___redArg___closed__1(); -lean_mark_persistent(l_Lean_Doc_suggestAttr___redArg___closed__1); -l_Lean_Doc_suggestAttr___redArg___closed__2 = _init_l_Lean_Doc_suggestAttr___redArg___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestAttr___redArg___closed__2); -l_Lean_Doc_suggestOption___redArg___closed__0 = _init_l_Lean_Doc_suggestOption___redArg___closed__0(); -lean_mark_persistent(l_Lean_Doc_suggestOption___redArg___closed__0); -l_Lean_Doc_suggestOption___redArg___closed__1 = _init_l_Lean_Doc_suggestOption___redArg___closed__1(); -lean_mark_persistent(l_Lean_Doc_suggestOption___redArg___closed__1); -l_Lean_Doc_suggestOption___redArg___closed__2 = _init_l_Lean_Doc_suggestOption___redArg___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestOption___redArg___closed__2); -l_Lean_Doc_suggestOption___redArg___closed__3 = _init_l_Lean_Doc_suggestOption___redArg___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestOption___redArg___closed__3); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__3); +l_Lean_Doc_suggestGiven___closed__0 = _init_l_Lean_Doc_suggestGiven___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestGiven___closed__0); +l_Lean_Doc_suggestGiven___closed__1 = _init_l_Lean_Doc_suggestGiven___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestGiven___closed__1); +l_Lean_Doc_suggestLean___lam__0___closed__0 = _init_l_Lean_Doc_suggestLean___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__0); +l_Lean_Doc_suggestLean___lam__0___closed__1 = _init_l_Lean_Doc_suggestLean___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__1); +l_Lean_Doc_suggestLean___lam__0___closed__2 = _init_l_Lean_Doc_suggestLean___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__2); +l_Lean_Doc_suggestLean___lam__0___closed__3 = _init_l_Lean_Doc_suggestLean___lam__0___closed__3(); +lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__3); +l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0); +l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1); +l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2); +l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3); +l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4); +l_Lean_Doc_suggestLeanTermBlock___closed__0 = _init_l_Lean_Doc_suggestLeanTermBlock___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___closed__0); +l_Lean_Doc_suggestLeanBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___lam__0___closed__0); +l_Lean_Doc_suggestLeanBlock___lam__0___closed__1 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___lam__0___closed__1); +l_Lean_Doc_suggestLeanBlock___lam__0___closed__2 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___lam__0___closed__2); +l_Lean_Doc_suggestLeanBlock___closed__0 = _init_l_Lean_Doc_suggestLeanBlock___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___closed__0); +l_Lean_Doc_suggestLeanBlock___closed__1 = _init_l_Lean_Doc_suggestLeanBlock___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___closed__1); +l_Lean_Doc_suggestTactic___closed__0 = _init_l_Lean_Doc_suggestTactic___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__0); +l_Lean_Doc_suggestTactic___closed__1 = _init_l_Lean_Doc_suggestTactic___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__1); +l_Lean_Doc_suggestTactic___closed__2 = _init_l_Lean_Doc_suggestTactic___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__2); +l_Lean_Doc_suggestTactic___closed__3 = _init_l_Lean_Doc_suggestTactic___closed__3(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__3); +l_Lean_Doc_suggestTactic___closed__4 = _init_l_Lean_Doc_suggestTactic___closed__4(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__4); +l_Lean_Doc_suggestTactic___closed__5 = _init_l_Lean_Doc_suggestTactic___closed__5(); +lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__5); +l_Lean_Doc_suggestAttr___closed__0 = _init_l_Lean_Doc_suggestAttr___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__0); +l_Lean_Doc_suggestAttr___closed__1 = _init_l_Lean_Doc_suggestAttr___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__1); +l_Lean_Doc_suggestAttr___closed__2 = _init_l_Lean_Doc_suggestAttr___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__2); +l_Lean_Doc_suggestOption___closed__0 = _init_l_Lean_Doc_suggestOption___closed__0(); +lean_mark_persistent(l_Lean_Doc_suggestOption___closed__0); +l_Lean_Doc_suggestOption___closed__1 = _init_l_Lean_Doc_suggestOption___closed__1(); +lean_mark_persistent(l_Lean_Doc_suggestOption___closed__1); +l_Lean_Doc_suggestOption___closed__2 = _init_l_Lean_Doc_suggestOption___closed__2(); +lean_mark_persistent(l_Lean_Doc_suggestOption___closed__2); +l_Lean_Doc_suggestOption___closed__3 = _init_l_Lean_Doc_suggestOption___closed__3(); +lean_mark_persistent(l_Lean_Doc_suggestOption___closed__3); l_Lean_Doc_suggestCat___redArg___closed__0 = _init_l_Lean_Doc_suggestCat___redArg___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestCat___redArg___closed__0); l_Lean_Doc_suggestCat___redArg___closed__1 = _init_l_Lean_Doc_suggestCat___redArg___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c new file mode 100644 index 0000000000..0289137193 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c @@ -0,0 +1,29164 @@ +// Lean compiler output +// Module: Lean.Elab.DocString.Builtin.Keywords +// Imports: Lean.Elab.DocString Lean.Elab.DocString.Builtin.Scopes Lean.Elab.DocString.Builtin.Postponed Lean.DocString.Links Lean.DocString.Syntax Lean.Elab.InfoTree Lean.Elab.Term.TermElabM Lean.Elab.Open Lean.Parser Lean.Meta.Hint Lean.Meta.Reduce Lean.Elab.Tactic.Doc Lean.Data.EditDistance +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__9; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2(lean_object*, lean_object*, size_t, lean_object*); +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1; +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___boxed(lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms(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_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___boxed(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_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__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_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint32_t lean_string_utf8_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe(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_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_shift_right(size_t, size_t); +static lean_object* l_Lean_Doc_kw_x21___closed__3; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0(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_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10; +static lean_object* l_Lean_Doc_kw_x21___closed__13; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_TSyntax_getId(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0; +lean_object* lean_private_to_user_name(lean_object*); +static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___boxed(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_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4; +lean_object* l_Lean_ConstantInfo_type(lean_object*); +lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1; +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__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*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +lean_object* l_Lean_Environment_header(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_indentD(lean_object*); +uint8_t l_Array_isEmpty___redArg(lean_object*); +uint8_t l_Lean_Exception_isInterrupt(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__8; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(lean_object*); +lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_TSyntax_getString(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_uint64_to_usize(uint64_t); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__20; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__0; +lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); +lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +lean_object* l_Std_DTreeMap_Internal_Impl_balance___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_SyntaxStack_size(lean_object*); +lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_unknownIdentifierMessageTag; +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10; +lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +extern lean_object* l_Lean_Parser_ParserExtension_instInhabitedState_default; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__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_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0; +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___boxed(lean_object**); +extern lean_object* l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg(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_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +extern lean_object* l_Lean_LocalContext_empty; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_List_isEmpty___redArg(lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3; +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___boxed(lean_object**); +lean_object* l_Lean_MessageData_note(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7; +lean_object* l_Lean_MessageData_hint(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0; +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___boxed(lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__21; +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__14; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__7; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_getTokenTable(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___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_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___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_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19___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_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17; +lean_object* l_Lean_Parser_SyntaxStack_extract(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(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_DocString_Builtin_Keywords_0__Lean_Doc_Data_instTypeNameAtom; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__2; +uint8_t lean_string_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1; +static lean_object* l_Lean_Doc_kw_x21___closed__6; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1; +lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_next(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0(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_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg___boxed(lean_object*, lean_object*); +uint8_t lean_expr_eqv(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16; +lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14; +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(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_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +lean_object* l_Lean_Environment_evalConstCheck___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__10; +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__10(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_Atom_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); +lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw___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_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_getPrefix(lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18; +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(lean_object*); +lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1; +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_Lean_Parser_mkParserState(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8; +lean_object* l_Lean_MessageData_andList(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18; +lean_object* l_Std_DTreeMap_Internal_Impl_filter___at___Lean_NameMap_filter_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0___boxed(lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___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_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___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*); +extern lean_object* l_Lean_Parser_parserExtension; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___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_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_FileMap_ofString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8(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_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); +lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___boxed(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_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___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_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +lean_object* l_Lean_instToExprName___private__1(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_privateToUserName(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom(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_DocString_Builtin_Keywords_0__Lean_Doc_Data_Atom_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(lean_object*, lean_object*); +lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_extractMacroScopes(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_componentsRev(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__4; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +extern lean_object* l_Lean_rootNamespace; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2; +extern lean_object* l_Lean_warningAsError; +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_pp_macroStack; +LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw(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_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(lean_object*, lean_object*); +lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_prev(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instTypeNamePostponedKind; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___boxed(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_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__17; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___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*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0; +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_fvarId(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +lean_object* lean_mk_syntax_ident(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MacroScopesView_review(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21(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_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0___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_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__7; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__0; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +static lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0; +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0; +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(uint8_t, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4; +lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_userName(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f(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_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__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_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3; +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1; +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0; +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0(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_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2; +uint8_t l_Lean_Name_hasMacroScopes(lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5; +lean_object* l_Lean_Name_appendCore(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +LEAN_EXPORT lean_object* l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19___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_Doc_kw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3; +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1; +lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(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_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__2; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1; +lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2; +static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg(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_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg___lam__0(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t l_Lean_Name_hash___override(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6; +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_reverse___redArg(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_append___redArg(lean_object*, lean_object*); +lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +uint8_t l_Lean_isPrivateName(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(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_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions___boxed(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_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms_go(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists(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_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(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_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; +lean_object* l_String_intercalate(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg___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*); +size_t lean_usize_sub(size_t, size_t); +lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___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_object*); +uint8_t l_Substring_beq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23(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_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__16; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr1(lean_object*); +size_t lean_usize_shift_left(size_t, size_t); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__12; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___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_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___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*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__15; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9(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_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFnArgs(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__4; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_LocalDecl_toExpr(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0; +lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__8; +uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg___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_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___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*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Exception_isRuntime(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__19; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3; +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelParam(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19(lean_object*, 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_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0; +lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__5; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__14(lean_object*, lean_object*); +size_t lean_usize_land(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21___closed__18; +static lean_object* l_Lean_Doc_kw_x21___closed__11; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_Atom_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_Atom_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_Atom_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = lean_box(0); +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DocString", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Builtin", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Keywords", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Doc", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Data", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Atom", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instTypeNameAtom() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected precisely 1 code argument", 34, 34); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Syntax", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("code", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected code", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_dec_eq(x_4, x_5); +lean_dec(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1; +x_8 = l_Lean_throwError___redArg(x_1, x_2, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_fget_borrowed(x_3, x_9); +x_11 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4; +lean_inc(x_10); +x_12 = l_Lean_Syntax_isOfKind(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6; +lean_inc(x_10); +x_14 = l_Lean_throwErrorAt___redArg(x_1, x_2, x_10, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec_ref(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_15); +lean_dec_ref(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = l_Lean_Syntax_getArg(x_10, x_5); +x_18 = lean_apply_2(x_16, lean_box(0), x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg(x_1, x_2, x_3); +lean_dec_ref(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode(x_1, x_2, x_3, x_4); +lean_dec_ref(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_7; uint8_t x_9; +x_9 = lean_nat_dec_lt(x_3, x_2); +if (x_9 == 0) +{ +return x_3; +} +else +{ +uint32_t x_10; uint8_t x_11; uint32_t x_17; uint8_t x_18; +x_10 = lean_string_utf8_get(x_1, x_3); +x_17 = 32; +x_18 = lean_uint32_dec_eq(x_10, x_17); +if (x_18 == 0) +{ +uint32_t x_19; uint8_t x_20; +x_19 = 9; +x_20 = lean_uint32_dec_eq(x_10, x_19); +x_11 = x_20; +goto block_16; +} +else +{ +x_11 = x_18; +goto block_16; +} +block_16: +{ +if (x_11 == 0) +{ +uint32_t x_12; uint8_t x_13; +x_12 = 13; +x_13 = lean_uint32_dec_eq(x_10, x_12); +if (x_13 == 0) +{ +uint32_t x_14; uint8_t x_15; +x_14 = 10; +x_15 = lean_uint32_dec_eq(x_10, x_14); +x_7 = x_15; +goto block_8; +} +else +{ +x_7 = x_13; +goto block_8; +} +} +else +{ +goto block_6; +} +} +} +block_6: +{ +lean_object* x_4; +x_4 = lean_string_utf8_next(x_1, x_3); +lean_dec(x_3); +x_3 = x_4; +goto _start; +} +block_8: +{ +if (x_7 == 0) +{ +return x_3; +} +else +{ +goto block_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; uint8_t x_6; uint32_t x_9; uint8_t x_10; uint32_t x_17; uint8_t x_18; +x_5 = lean_string_utf8_prev(x_1, x_3); +x_9 = lean_string_utf8_get(x_1, x_5); +x_17 = 32; +x_18 = lean_uint32_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +uint32_t x_19; uint8_t x_20; +x_19 = 9; +x_20 = lean_uint32_dec_eq(x_9, x_19); +x_10 = x_20; +goto block_16; +} +else +{ +x_10 = x_18; +goto block_16; +} +block_8: +{ +if (x_6 == 0) +{ +lean_dec(x_5); +return x_3; +} +else +{ +lean_dec(x_3); +x_3 = x_5; +goto _start; +} +} +block_16: +{ +if (x_10 == 0) +{ +uint32_t x_11; uint8_t x_12; +x_11 = 13; +x_12 = lean_uint32_dec_eq(x_9, x_11); +if (x_12 == 0) +{ +uint32_t x_13; uint8_t x_14; +x_13 = 10; +x_14 = lean_uint32_dec_eq(x_9, x_13); +x_6 = x_14; +goto block_8; +} +else +{ +x_6 = x_12; +goto block_8; +} +} +else +{ +lean_dec(x_3); +x_3 = x_5; +goto _start; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HAndThen", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hAndThen", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ParserDescr", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withAntiquot", 12, 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leadingNode", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("nonReservedSymbol", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("symbol", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withCache", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("node", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trailingNode", 12, 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unary", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("binary", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("andthen", 7, 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_48; lean_object* x_49; +lean_inc_ref(x_2); +x_48 = l_Lean_Expr_getAppFnArgs(x_2); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 1) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 1) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_50, 0); +switch (lean_obj_tag(x_51)) { +case 0: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_48, 1); +lean_inc(x_52); +lean_dec_ref(x_48); +x_53 = lean_ctor_get(x_49, 1); +lean_inc_ref(x_53); +lean_dec_ref(x_49); +x_54 = lean_ctor_get(x_50, 1); +lean_inc_ref(x_54); +lean_dec_ref(x_50); +x_55 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; +x_56 = lean_string_dec_eq(x_54, x_55); +lean_dec_ref(x_54); +if (x_56 == 0) +{ +lean_dec_ref(x_53); +lean_dec(x_52); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_57; uint8_t x_58; +x_57 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1; +x_58 = lean_string_dec_eq(x_53, x_57); +lean_dec_ref(x_53); +if (x_58 == 0) +{ +lean_dec(x_52); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_array_get_size(x_52); +x_60 = lean_unsigned_to_nat(6u); +x_61 = lean_nat_dec_eq(x_59, x_60); +lean_dec(x_59); +if (x_61 == 0) +{ +lean_dec(x_52); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec_ref(x_2); +x_62 = lean_unsigned_to_nat(4u); +x_63 = lean_array_fget_borrowed(x_52, x_62); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_63); +x_64 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_63, x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_unbox(x_65); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec_ref(x_64); +x_68 = lean_unsigned_to_nat(5u); +x_69 = lean_array_fget(x_52, x_68); +lean_dec(x_52); +x_70 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_69, x_1, x_4, x_5, x_6, x_7, x_67); +return x_70; +} +else +{ +lean_dec(x_52); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_64; +} +} +else +{ +lean_dec(x_52); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_64; +} +} +} +} +} +case 1: +{ +lean_object* x_71; +lean_inc_ref(x_51); +x_71 = lean_ctor_get(x_51, 0); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_48); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_73 = lean_ctor_get(x_48, 1); +x_74 = lean_ctor_get(x_48, 0); +lean_dec(x_74); +x_75 = lean_ctor_get(x_49, 1); +lean_inc_ref(x_75); +lean_dec_ref(x_49); +x_76 = lean_ctor_get(x_50, 1); +lean_inc_ref(x_76); +lean_dec_ref(x_50); +x_77 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_77); +lean_dec_ref(x_51); +x_78 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_79 = lean_string_dec_eq(x_77, x_78); +lean_dec_ref(x_77); +if (x_79 == 0) +{ +lean_dec_ref(x_76); +lean_dec_ref(x_75); +lean_free_object(x_48); +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_80; uint8_t x_81; +x_80 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_81 = lean_string_dec_eq(x_76, x_80); +if (x_81 == 0) +{ +lean_object* x_82; uint8_t x_83; +x_82 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_83 = lean_string_dec_eq(x_76, x_82); +lean_dec_ref(x_76); +if (x_83 == 0) +{ +lean_dec_ref(x_75); +lean_free_object(x_48); +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_84; uint8_t x_85; +x_84 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_85 = lean_string_dec_eq(x_75, x_84); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_87 = lean_string_dec_eq(x_75, x_86); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_89 = lean_string_dec_eq(x_75, x_88); +if (x_89 == 0) +{ +lean_object* x_90; uint8_t x_91; +x_90 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_91 = lean_string_dec_eq(x_75, x_90); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +lean_free_object(x_48); +x_92 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_93 = lean_string_dec_eq(x_75, x_92); +lean_dec_ref(x_75); +if (x_93 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_array_get_size(x_73); +x_95 = lean_unsigned_to_nat(2u); +x_96 = lean_nat_dec_eq(x_94, x_95); +lean_dec(x_94); +if (x_96 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec_ref(x_2); +x_97 = lean_unsigned_to_nat(1u); +x_98 = lean_array_fget(x_73, x_97); +lean_dec(x_73); +x_99 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_98, x_1, x_4, x_5, x_6, x_7, x_8); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +lean_dec_ref(x_75); +x_100 = lean_array_get_size(x_73); +x_101 = lean_unsigned_to_nat(1u); +x_102 = lean_nat_dec_eq(x_100, x_101); +lean_dec(x_100); +if (x_102 == 0) +{ +lean_free_object(x_48); +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_103 = lean_unsigned_to_nat(0u); +x_104 = lean_array_fget(x_73, x_103); +lean_dec(x_73); +if (lean_obj_tag(x_104) == 9) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_104, 0); +lean_inc_ref(x_105); +lean_dec_ref(x_104); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +lean_dec_ref(x_105); +x_106 = lean_box(x_89); +lean_ctor_set(x_48, 1, x_8); +lean_ctor_set(x_48, 0, x_106); +return x_48; +} +else +{ +lean_object* x_107; +lean_free_object(x_48); +x_107 = lean_ctor_get(x_105, 0); +lean_inc_ref(x_107); +lean_dec_ref(x_105); +x_37 = x_107; +x_38 = x_8; +goto block_47; +} +} +else +{ +lean_object* x_108; +lean_dec_ref(x_104); +x_108 = lean_box(x_89); +lean_ctor_set(x_48, 1, x_8); +lean_ctor_set(x_48, 0, x_108); +return x_48; +} +} +} +} +else +{ +lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_dec_ref(x_75); +lean_free_object(x_48); +x_109 = lean_array_get_size(x_73); +x_110 = lean_unsigned_to_nat(2u); +x_111 = lean_nat_dec_eq(x_109, x_110); +lean_dec(x_109); +if (x_111 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_112; lean_object* x_113; +x_112 = lean_unsigned_to_nat(0u); +x_113 = lean_array_fget(x_73, x_112); +lean_dec(x_73); +if (lean_obj_tag(x_113) == 9) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_113, 0); +lean_inc_ref(x_114); +lean_dec_ref(x_113); +if (lean_obj_tag(x_114) == 0) +{ +lean_dec_ref(x_114); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_115; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_115 = lean_ctor_get(x_114, 0); +lean_inc_ref(x_115); +lean_dec_ref(x_114); +x_26 = x_115; +x_27 = x_8; +goto block_36; +} +} +else +{ +lean_dec_ref(x_113); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; uint8_t x_118; +lean_dec_ref(x_75); +lean_free_object(x_48); +x_116 = lean_array_get_size(x_73); +x_117 = lean_unsigned_to_nat(3u); +x_118 = lean_nat_dec_eq(x_116, x_117); +lean_dec(x_116); +if (x_118 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec_ref(x_2); +x_119 = lean_unsigned_to_nat(2u); +x_120 = lean_array_fget(x_73, x_119); +lean_dec(x_73); +x_121 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_120, x_1, x_4, x_5, x_6, x_7, x_8); +return x_121; +} +} +} +else +{ +lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec_ref(x_75); +lean_free_object(x_48); +x_122 = lean_array_get_size(x_73); +x_123 = lean_unsigned_to_nat(2u); +x_124 = lean_nat_dec_eq(x_122, x_123); +lean_dec(x_122); +if (x_124 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec_ref(x_2); +x_125 = lean_unsigned_to_nat(1u); +x_126 = lean_array_fget(x_73, x_125); +lean_dec(x_73); +x_127 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_126, x_1, x_4, x_5, x_6, x_7, x_8); +return x_127; +} +} +} +} +else +{ +lean_object* x_128; uint8_t x_129; +lean_dec_ref(x_76); +lean_free_object(x_48); +x_128 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_129 = lean_string_dec_eq(x_75, x_128); +if (x_129 == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_131 = lean_string_dec_eq(x_75, x_130); +if (x_131 == 0) +{ +lean_object* x_132; uint8_t x_133; +x_132 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_133 = lean_string_dec_eq(x_75, x_132); +if (x_133 == 0) +{ +lean_object* x_134; uint8_t x_135; +x_134 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_135 = lean_string_dec_eq(x_75, x_134); +if (x_135 == 0) +{ +lean_object* x_136; uint8_t x_137; +x_136 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_137 = lean_string_dec_eq(x_75, x_136); +if (x_137 == 0) +{ +lean_object* x_138; uint8_t x_139; +x_138 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_139 = lean_string_dec_eq(x_75, x_138); +lean_dec_ref(x_75); +if (x_139 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_140 = lean_array_get_size(x_73); +x_141 = lean_unsigned_to_nat(1u); +x_142 = lean_nat_dec_eq(x_140, x_141); +lean_dec(x_140); +if (x_142 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_unsigned_to_nat(0u); +x_144 = lean_array_fget(x_73, x_143); +lean_dec(x_73); +if (lean_obj_tag(x_144) == 9) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_144, 0); +lean_inc_ref(x_145); +lean_dec_ref(x_144); +if (lean_obj_tag(x_145) == 0) +{ +lean_dec_ref(x_145); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_146; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_146 = lean_ctor_get(x_145, 0); +lean_inc_ref(x_146); +lean_dec_ref(x_145); +x_37 = x_146; +x_38 = x_8; +goto block_47; +} +} +else +{ +lean_dec_ref(x_144); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; uint8_t x_149; +lean_dec_ref(x_75); +x_147 = lean_array_get_size(x_73); +x_148 = lean_unsigned_to_nat(2u); +x_149 = lean_nat_dec_eq(x_147, x_148); +lean_dec(x_147); +if (x_149 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_unsigned_to_nat(0u); +x_151 = lean_array_fget(x_73, x_150); +lean_dec(x_73); +if (lean_obj_tag(x_151) == 9) +{ +lean_object* x_152; +x_152 = lean_ctor_get(x_151, 0); +lean_inc_ref(x_152); +lean_dec_ref(x_151); +if (lean_obj_tag(x_152) == 0) +{ +lean_dec_ref(x_152); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_153; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_153 = lean_ctor_get(x_152, 0); +lean_inc_ref(x_153); +lean_dec_ref(x_152); +x_26 = x_153; +x_27 = x_8; +goto block_36; +} +} +else +{ +lean_dec_ref(x_151); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec_ref(x_75); +x_154 = lean_array_get_size(x_73); +x_155 = lean_unsigned_to_nat(3u); +x_156 = lean_nat_dec_eq(x_154, x_155); +lean_dec(x_154); +if (x_156 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_unsigned_to_nat(0u); +x_158 = lean_array_fget_borrowed(x_73, x_157); +if (lean_obj_tag(x_158) == 5) +{ +lean_object* x_159; +x_159 = lean_ctor_get(x_158, 1); +if (lean_obj_tag(x_159) == 9) +{ +lean_object* x_160; +x_160 = lean_ctor_get(x_159, 0); +if (lean_obj_tag(x_160) == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_161; lean_object* x_162; uint8_t x_163; +x_161 = lean_ctor_get(x_160, 0); +x_162 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_163 = lean_string_dec_eq(x_161, x_162); +if (x_163 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec_ref(x_2); +x_164 = lean_unsigned_to_nat(1u); +x_165 = lean_array_fget(x_73, x_164); +lean_dec(x_73); +x_166 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_165, x_1, x_4, x_5, x_6, x_7, x_8); +return x_166; +} +} +} +else +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; uint8_t x_169; +lean_dec_ref(x_75); +x_167 = lean_array_get_size(x_73); +x_168 = lean_unsigned_to_nat(2u); +x_169 = lean_nat_dec_eq(x_167, x_168); +lean_dec(x_167); +if (x_169 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_170; lean_object* x_171; +x_170 = lean_unsigned_to_nat(0u); +x_171 = lean_array_fget_borrowed(x_73, x_170); +if (lean_obj_tag(x_171) == 5) +{ +lean_object* x_172; +x_172 = lean_ctor_get(x_171, 1); +if (lean_obj_tag(x_172) == 9) +{ +lean_object* x_173; +x_173 = lean_ctor_get(x_172, 0); +if (lean_obj_tag(x_173) == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec_ref(x_2); +x_174 = lean_unsigned_to_nat(1u); +x_175 = lean_array_fget(x_73, x_174); +lean_dec(x_73); +x_176 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_175, x_1, x_4, x_5, x_6, x_7, x_8); +return x_176; +} +} +else +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec_ref(x_75); +x_177 = lean_array_get_size(x_73); +x_178 = lean_unsigned_to_nat(4u); +x_179 = lean_nat_dec_eq(x_177, x_178); +lean_dec(x_177); +if (x_179 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec_ref(x_2); +x_180 = lean_unsigned_to_nat(3u); +x_181 = lean_array_fget(x_73, x_180); +lean_dec(x_73); +x_182 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_181, x_1, x_4, x_5, x_6, x_7, x_8); +return x_182; +} +} +} +else +{ +lean_object* x_183; lean_object* x_184; uint8_t x_185; +lean_dec_ref(x_75); +x_183 = lean_array_get_size(x_73); +x_184 = lean_unsigned_to_nat(3u); +x_185 = lean_nat_dec_eq(x_183, x_184); +lean_dec(x_183); +if (x_185 == 0) +{ +lean_dec(x_73); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec_ref(x_2); +x_186 = lean_unsigned_to_nat(2u); +x_187 = lean_array_fget(x_73, x_186); +lean_dec(x_73); +x_188 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_187, x_1, x_4, x_5, x_6, x_7, x_8); +return x_188; +} +} +} +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +x_189 = lean_ctor_get(x_48, 1); +lean_inc(x_189); +lean_dec(x_48); +x_190 = lean_ctor_get(x_49, 1); +lean_inc_ref(x_190); +lean_dec_ref(x_49); +x_191 = lean_ctor_get(x_50, 1); +lean_inc_ref(x_191); +lean_dec_ref(x_50); +x_192 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_192); +lean_dec_ref(x_51); +x_193 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_194 = lean_string_dec_eq(x_192, x_193); +lean_dec_ref(x_192); +if (x_194 == 0) +{ +lean_dec_ref(x_191); +lean_dec_ref(x_190); +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_195; uint8_t x_196; +x_195 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_196 = lean_string_dec_eq(x_191, x_195); +if (x_196 == 0) +{ +lean_object* x_197; uint8_t x_198; +x_197 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_198 = lean_string_dec_eq(x_191, x_197); +lean_dec_ref(x_191); +if (x_198 == 0) +{ +lean_dec_ref(x_190); +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_199; uint8_t x_200; +x_199 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_200 = lean_string_dec_eq(x_190, x_199); +if (x_200 == 0) +{ +lean_object* x_201; uint8_t x_202; +x_201 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_202 = lean_string_dec_eq(x_190, x_201); +if (x_202 == 0) +{ +lean_object* x_203; uint8_t x_204; +x_203 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_204 = lean_string_dec_eq(x_190, x_203); +if (x_204 == 0) +{ +lean_object* x_205; uint8_t x_206; +x_205 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_206 = lean_string_dec_eq(x_190, x_205); +if (x_206 == 0) +{ +lean_object* x_207; uint8_t x_208; +x_207 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_208 = lean_string_dec_eq(x_190, x_207); +lean_dec_ref(x_190); +if (x_208 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_209 = lean_array_get_size(x_189); +x_210 = lean_unsigned_to_nat(2u); +x_211 = lean_nat_dec_eq(x_209, x_210); +lean_dec(x_209); +if (x_211 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_dec_ref(x_2); +x_212 = lean_unsigned_to_nat(1u); +x_213 = lean_array_fget(x_189, x_212); +lean_dec(x_189); +x_214 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_213, x_1, x_4, x_5, x_6, x_7, x_8); +return x_214; +} +} +} +else +{ +lean_object* x_215; lean_object* x_216; uint8_t x_217; +lean_dec_ref(x_190); +x_215 = lean_array_get_size(x_189); +x_216 = lean_unsigned_to_nat(1u); +x_217 = lean_nat_dec_eq(x_215, x_216); +lean_dec(x_215); +if (x_217 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_218 = lean_unsigned_to_nat(0u); +x_219 = lean_array_fget(x_189, x_218); +lean_dec(x_189); +if (lean_obj_tag(x_219) == 9) +{ +lean_object* x_220; +x_220 = lean_ctor_get(x_219, 0); +lean_inc_ref(x_220); +lean_dec_ref(x_219); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; +lean_dec_ref(x_220); +x_221 = lean_box(x_204); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_8); +return x_222; +} +else +{ +lean_object* x_223; +x_223 = lean_ctor_get(x_220, 0); +lean_inc_ref(x_223); +lean_dec_ref(x_220); +x_37 = x_223; +x_38 = x_8; +goto block_47; +} +} +else +{ +lean_object* x_224; lean_object* x_225; +lean_dec_ref(x_219); +x_224 = lean_box(x_204); +x_225 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_8); +return x_225; +} +} +} +} +else +{ +lean_object* x_226; lean_object* x_227; uint8_t x_228; +lean_dec_ref(x_190); +x_226 = lean_array_get_size(x_189); +x_227 = lean_unsigned_to_nat(2u); +x_228 = lean_nat_dec_eq(x_226, x_227); +lean_dec(x_226); +if (x_228 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_229; lean_object* x_230; +x_229 = lean_unsigned_to_nat(0u); +x_230 = lean_array_fget(x_189, x_229); +lean_dec(x_189); +if (lean_obj_tag(x_230) == 9) +{ +lean_object* x_231; +x_231 = lean_ctor_get(x_230, 0); +lean_inc_ref(x_231); +lean_dec_ref(x_230); +if (lean_obj_tag(x_231) == 0) +{ +lean_dec_ref(x_231); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_232; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_232 = lean_ctor_get(x_231, 0); +lean_inc_ref(x_232); +lean_dec_ref(x_231); +x_26 = x_232; +x_27 = x_8; +goto block_36; +} +} +else +{ +lean_dec_ref(x_230); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_233; lean_object* x_234; uint8_t x_235; +lean_dec_ref(x_190); +x_233 = lean_array_get_size(x_189); +x_234 = lean_unsigned_to_nat(3u); +x_235 = lean_nat_dec_eq(x_233, x_234); +lean_dec(x_233); +if (x_235 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec_ref(x_2); +x_236 = lean_unsigned_to_nat(2u); +x_237 = lean_array_fget(x_189, x_236); +lean_dec(x_189); +x_238 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_237, x_1, x_4, x_5, x_6, x_7, x_8); +return x_238; +} +} +} +else +{ +lean_object* x_239; lean_object* x_240; uint8_t x_241; +lean_dec_ref(x_190); +x_239 = lean_array_get_size(x_189); +x_240 = lean_unsigned_to_nat(2u); +x_241 = lean_nat_dec_eq(x_239, x_240); +lean_dec(x_239); +if (x_241 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +lean_dec_ref(x_2); +x_242 = lean_unsigned_to_nat(1u); +x_243 = lean_array_fget(x_189, x_242); +lean_dec(x_189); +x_244 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_243, x_1, x_4, x_5, x_6, x_7, x_8); +return x_244; +} +} +} +} +else +{ +lean_object* x_245; uint8_t x_246; +lean_dec_ref(x_191); +x_245 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_246 = lean_string_dec_eq(x_190, x_245); +if (x_246 == 0) +{ +lean_object* x_247; uint8_t x_248; +x_247 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_248 = lean_string_dec_eq(x_190, x_247); +if (x_248 == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_250 = lean_string_dec_eq(x_190, x_249); +if (x_250 == 0) +{ +lean_object* x_251; uint8_t x_252; +x_251 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_252 = lean_string_dec_eq(x_190, x_251); +if (x_252 == 0) +{ +lean_object* x_253; uint8_t x_254; +x_253 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_254 = lean_string_dec_eq(x_190, x_253); +if (x_254 == 0) +{ +lean_object* x_255; uint8_t x_256; +x_255 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_256 = lean_string_dec_eq(x_190, x_255); +lean_dec_ref(x_190); +if (x_256 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_257 = lean_array_get_size(x_189); +x_258 = lean_unsigned_to_nat(1u); +x_259 = lean_nat_dec_eq(x_257, x_258); +lean_dec(x_257); +if (x_259 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_260; lean_object* x_261; +x_260 = lean_unsigned_to_nat(0u); +x_261 = lean_array_fget(x_189, x_260); +lean_dec(x_189); +if (lean_obj_tag(x_261) == 9) +{ +lean_object* x_262; +x_262 = lean_ctor_get(x_261, 0); +lean_inc_ref(x_262); +lean_dec_ref(x_261); +if (lean_obj_tag(x_262) == 0) +{ +lean_dec_ref(x_262); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_263; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_263 = lean_ctor_get(x_262, 0); +lean_inc_ref(x_263); +lean_dec_ref(x_262); +x_37 = x_263; +x_38 = x_8; +goto block_47; +} +} +else +{ +lean_dec_ref(x_261); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_264; lean_object* x_265; uint8_t x_266; +lean_dec_ref(x_190); +x_264 = lean_array_get_size(x_189); +x_265 = lean_unsigned_to_nat(2u); +x_266 = lean_nat_dec_eq(x_264, x_265); +lean_dec(x_264); +if (x_266 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_267; lean_object* x_268; +x_267 = lean_unsigned_to_nat(0u); +x_268 = lean_array_fget(x_189, x_267); +lean_dec(x_189); +if (lean_obj_tag(x_268) == 9) +{ +lean_object* x_269; +x_269 = lean_ctor_get(x_268, 0); +lean_inc_ref(x_269); +lean_dec_ref(x_268); +if (lean_obj_tag(x_269) == 0) +{ +lean_dec_ref(x_269); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_270; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_270 = lean_ctor_get(x_269, 0); +lean_inc_ref(x_270); +lean_dec_ref(x_269); +x_26 = x_270; +x_27 = x_8; +goto block_36; +} +} +else +{ +lean_dec_ref(x_268); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_271; lean_object* x_272; uint8_t x_273; +lean_dec_ref(x_190); +x_271 = lean_array_get_size(x_189); +x_272 = lean_unsigned_to_nat(3u); +x_273 = lean_nat_dec_eq(x_271, x_272); +lean_dec(x_271); +if (x_273 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_unsigned_to_nat(0u); +x_275 = lean_array_fget_borrowed(x_189, x_274); +if (lean_obj_tag(x_275) == 5) +{ +lean_object* x_276; +x_276 = lean_ctor_get(x_275, 1); +if (lean_obj_tag(x_276) == 9) +{ +lean_object* x_277; +x_277 = lean_ctor_get(x_276, 0); +if (lean_obj_tag(x_277) == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_278 = lean_ctor_get(x_277, 0); +x_279 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_280 = lean_string_dec_eq(x_278, x_279); +if (x_280 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec_ref(x_2); +x_281 = lean_unsigned_to_nat(1u); +x_282 = lean_array_fget(x_189, x_281); +lean_dec(x_189); +x_283 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_282, x_1, x_4, x_5, x_6, x_7, x_8); +return x_283; +} +} +} +else +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_284; lean_object* x_285; uint8_t x_286; +lean_dec_ref(x_190); +x_284 = lean_array_get_size(x_189); +x_285 = lean_unsigned_to_nat(2u); +x_286 = lean_nat_dec_eq(x_284, x_285); +lean_dec(x_284); +if (x_286 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_287; lean_object* x_288; +x_287 = lean_unsigned_to_nat(0u); +x_288 = lean_array_fget_borrowed(x_189, x_287); +if (lean_obj_tag(x_288) == 5) +{ +lean_object* x_289; +x_289 = lean_ctor_get(x_288, 1); +if (lean_obj_tag(x_289) == 9) +{ +lean_object* x_290; +x_290 = lean_ctor_get(x_289, 0); +if (lean_obj_tag(x_290) == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; +lean_dec_ref(x_2); +x_291 = lean_unsigned_to_nat(1u); +x_292 = lean_array_fget(x_189, x_291); +lean_dec(x_189); +x_293 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_292, x_1, x_4, x_5, x_6, x_7, x_8); +return x_293; +} +} +else +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_294; lean_object* x_295; uint8_t x_296; +lean_dec_ref(x_190); +x_294 = lean_array_get_size(x_189); +x_295 = lean_unsigned_to_nat(4u); +x_296 = lean_nat_dec_eq(x_294, x_295); +lean_dec(x_294); +if (x_296 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec_ref(x_2); +x_297 = lean_unsigned_to_nat(3u); +x_298 = lean_array_fget(x_189, x_297); +lean_dec(x_189); +x_299 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_298, x_1, x_4, x_5, x_6, x_7, x_8); +return x_299; +} +} +} +else +{ +lean_object* x_300; lean_object* x_301; uint8_t x_302; +lean_dec_ref(x_190); +x_300 = lean_array_get_size(x_189); +x_301 = lean_unsigned_to_nat(3u); +x_302 = lean_nat_dec_eq(x_300, x_301); +lean_dec(x_300); +if (x_302 == 0) +{ +lean_dec(x_189); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; +lean_dec_ref(x_2); +x_303 = lean_unsigned_to_nat(2u); +x_304 = lean_array_fget(x_189, x_303); +lean_dec(x_189); +x_305 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_304, x_1, x_4, x_5, x_6, x_7, x_8); +return x_305; +} +} +} +} +} +} +else +{ +lean_dec_ref(x_51); +lean_dec_ref(x_50); +lean_dec_ref(x_49); +lean_dec_ref(x_48); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +default: +{ +lean_dec_ref(x_50); +lean_dec_ref(x_49); +lean_dec_ref(x_48); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +else +{ +lean_dec(x_50); +lean_dec_ref(x_49); +lean_dec_ref(x_48); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_49); +lean_dec_ref(x_48); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +block_25: +{ +if (x_3 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_2); +x_14 = lean_box(x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_16 = lean_whnf(x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = 0; +x_2 = x_17; +x_3 = x_19; +x_4 = x_9; +x_5 = x_10; +x_6 = x_11; +x_7 = x_12; +x_8 = x_18; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +block_36: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_28 = lean_unsigned_to_nat(0u); +x_29 = lean_string_utf8_byte_size(x_26); +x_30 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_26, x_29, x_28); +x_31 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_26, x_30, x_29); +x_32 = lean_string_utf8_extract(x_26, x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +lean_dec_ref(x_26); +x_33 = lean_string_dec_eq(x_32, x_1); +lean_dec_ref(x_32); +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +return x_35; +} +block_47: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_string_utf8_byte_size(x_37); +x_41 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_37, x_40, x_39); +x_42 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_37, x_41, x_40); +x_43 = lean_string_utf8_extract(x_37, x_41, x_42); +lean_dec(x_42); +lean_dec(x_41); +lean_dec_ref(x_37); +x_44 = lean_string_dec_eq(x_43, x_1); +lean_dec_ref(x_43); +x_45 = lean_box(x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_38); +return x_46; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt(x_2, x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_2); +return x_8; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("const", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("skip", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4; +x_2 = l_Lean_instToExprName___private__1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2; +x_3 = l_Lean_Expr_app___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +x_2 = l_Lean_instToExprName___private__1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_26; lean_object* x_27; lean_object* x_39; lean_object* x_40; lean_object* x_52; lean_object* x_56; lean_object* x_57; +lean_inc_ref(x_2); +x_56 = l_Lean_Expr_getAppFnArgs(x_2); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 1) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 1) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_58, 0); +switch (lean_obj_tag(x_59)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_dec_ref(x_56); +x_61 = lean_ctor_get(x_57, 1); +lean_inc_ref(x_61); +lean_dec_ref(x_57); +x_62 = lean_ctor_get(x_58, 1); +lean_inc_ref(x_62); +lean_dec_ref(x_58); +x_63 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; +x_64 = lean_string_dec_eq(x_62, x_63); +lean_dec_ref(x_62); +if (x_64 == 0) +{ +lean_dec_ref(x_61); +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_65; uint8_t x_66; +x_65 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1; +x_66 = lean_string_dec_eq(x_61, x_65); +lean_dec_ref(x_61); +if (x_66 == 0) +{ +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = lean_array_get_size(x_60); +x_68 = lean_unsigned_to_nat(6u); +x_69 = lean_nat_dec_eq(x_67, x_68); +lean_dec(x_67); +if (x_69 == 0) +{ +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec_ref(x_2); +x_70 = lean_unsigned_to_nat(4u); +x_71 = lean_array_fget_borrowed(x_60, x_70); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_71); +x_72 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_71, x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_72, 0); +x_75 = lean_ctor_get(x_72, 1); +x_76 = lean_unsigned_to_nat(5u); +x_77 = lean_array_fget(x_60, x_76); +lean_dec(x_60); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_78; +lean_free_object(x_72); +x_78 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_77, x_1, x_4, x_5, x_6, x_7, x_75); +return x_78; +} +else +{ +uint8_t x_79; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_79 = !lean_is_exclusive(x_74); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_74, 0); +x_81 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_82 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_83 = l_Lean_mkApp3(x_81, x_82, x_80, x_77); +lean_ctor_set(x_74, 0, x_83); +return x_72; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_84 = lean_ctor_get(x_74, 0); +lean_inc(x_84); +lean_dec(x_74); +x_85 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_86 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_87 = l_Lean_mkApp3(x_85, x_86, x_84, x_77); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_72, 0, x_88); +return x_72; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_72, 0); +x_90 = lean_ctor_get(x_72, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_72); +x_91 = lean_unsigned_to_nat(5u); +x_92 = lean_array_fget(x_60, x_91); +lean_dec(x_60); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_93; +x_93 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_92, x_1, x_4, x_5, x_6, x_7, x_90); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_94 = lean_ctor_get(x_89, 0); +lean_inc(x_94); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + x_95 = x_89; +} else { + lean_dec_ref(x_89); + x_95 = lean_box(0); +} +x_96 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_97 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_98 = l_Lean_mkApp3(x_96, x_97, x_94, x_92); +if (lean_is_scalar(x_95)) { + x_99 = lean_alloc_ctor(1, 1, 0); +} else { + x_99 = x_95; +} +lean_ctor_set(x_99, 0, x_98); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_90); +return x_100; +} +} +} +else +{ +lean_dec(x_60); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_72; +} +} +} +} +} +case 1: +{ +lean_object* x_101; +lean_inc_ref(x_59); +x_101 = lean_ctor_get(x_59, 0); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_102 = lean_ctor_get(x_56, 1); +lean_inc(x_102); +lean_dec_ref(x_56); +x_103 = lean_ctor_get(x_57, 1); +lean_inc_ref(x_103); +lean_dec_ref(x_57); +x_104 = lean_ctor_get(x_58, 1); +lean_inc_ref(x_104); +lean_dec_ref(x_58); +x_105 = lean_ctor_get(x_59, 1); +lean_inc_ref(x_105); +lean_dec_ref(x_59); +x_106 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_107 = lean_string_dec_eq(x_105, x_106); +lean_dec_ref(x_105); +if (x_107 == 0) +{ +lean_dec_ref(x_104); +lean_dec_ref(x_103); +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_108; uint8_t x_109; +x_108 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_109 = lean_string_dec_eq(x_104, x_108); +if (x_109 == 0) +{ +lean_object* x_110; uint8_t x_111; +x_110 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_111 = lean_string_dec_eq(x_104, x_110); +lean_dec_ref(x_104); +if (x_111 == 0) +{ +lean_dec_ref(x_103); +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_112; uint8_t x_113; +x_112 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_113 = lean_string_dec_eq(x_103, x_112); +if (x_113 == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_115 = lean_string_dec_eq(x_103, x_114); +if (x_115 == 0) +{ +lean_object* x_116; uint8_t x_117; +x_116 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_117 = lean_string_dec_eq(x_103, x_116); +if (x_117 == 0) +{ +lean_object* x_118; uint8_t x_119; +x_118 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_119 = lean_string_dec_eq(x_103, x_118); +if (x_119 == 0) +{ +lean_object* x_120; uint8_t x_121; +x_120 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_121 = lean_string_dec_eq(x_103, x_120); +lean_dec_ref(x_103); +if (x_121 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_122 = lean_array_get_size(x_102); +x_123 = lean_unsigned_to_nat(2u); +x_124 = lean_nat_dec_eq(x_122, x_123); +lean_dec(x_122); +if (x_124 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec_ref(x_2); +x_125 = lean_unsigned_to_nat(1u); +x_126 = lean_array_fget(x_102, x_125); +lean_dec(x_102); +x_127 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_126, x_1, x_4, x_5, x_6, x_7, x_8); +return x_127; +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; uint8_t x_130; +lean_dec_ref(x_103); +x_128 = lean_array_get_size(x_102); +x_129 = lean_unsigned_to_nat(3u); +x_130 = lean_nat_dec_eq(x_128, x_129); +lean_dec(x_128); +if (x_130 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec_ref(x_2); +x_131 = lean_unsigned_to_nat(2u); +x_132 = lean_array_fget(x_102, x_131); +lean_dec(x_102); +x_133 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_132, x_1, x_4, x_5, x_6, x_7, x_8); +return x_133; +} +} +} +else +{ +lean_object* x_134; lean_object* x_135; uint8_t x_136; +lean_dec_ref(x_103); +x_134 = lean_array_get_size(x_102); +x_135 = lean_unsigned_to_nat(2u); +x_136 = lean_nat_dec_eq(x_134, x_135); +lean_dec(x_134); +if (x_136 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec_ref(x_2); +x_137 = lean_unsigned_to_nat(1u); +x_138 = lean_array_fget(x_102, x_137); +lean_dec(x_102); +x_139 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_138, x_1, x_4, x_5, x_6, x_7, x_8); +return x_139; +} +} +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec_ref(x_103); +x_140 = lean_array_get_size(x_102); +x_141 = lean_unsigned_to_nat(2u); +x_142 = lean_nat_dec_eq(x_140, x_141); +lean_dec(x_140); +if (x_142 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_unsigned_to_nat(0u); +x_144 = lean_array_fget(x_102, x_143); +lean_dec(x_102); +if (lean_obj_tag(x_144) == 9) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_144, 0); +lean_inc_ref(x_145); +lean_dec_ref(x_144); +if (lean_obj_tag(x_145) == 0) +{ +lean_dec_ref(x_145); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_146; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_146 = lean_ctor_get(x_145, 0); +lean_inc_ref(x_146); +lean_dec_ref(x_145); +x_26 = x_146; +x_27 = x_8; +goto block_38; +} +} +else +{ +lean_dec_ref(x_144); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; uint8_t x_149; +lean_dec_ref(x_103); +x_147 = lean_array_get_size(x_102); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_nat_dec_eq(x_147, x_148); +lean_dec(x_147); +if (x_149 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_150; lean_object* x_151; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_150 = lean_unsigned_to_nat(0u); +x_151 = lean_array_fget(x_102, x_150); +lean_dec(x_102); +if (lean_obj_tag(x_151) == 9) +{ +lean_object* x_152; +x_152 = lean_ctor_get(x_151, 0); +lean_inc_ref(x_152); +lean_dec_ref(x_151); +if (lean_obj_tag(x_152) == 0) +{ +lean_dec_ref(x_152); +x_52 = x_8; +goto block_55; +} +else +{ +lean_object* x_153; +x_153 = lean_ctor_get(x_152, 0); +lean_inc_ref(x_153); +lean_dec_ref(x_152); +x_39 = x_153; +x_40 = x_8; +goto block_51; +} +} +else +{ +lean_dec_ref(x_151); +x_52 = x_8; +goto block_55; +} +} +} +} +} +else +{ +lean_object* x_154; uint8_t x_155; +lean_dec_ref(x_104); +x_154 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_155 = lean_string_dec_eq(x_103, x_154); +if (x_155 == 0) +{ +lean_object* x_156; uint8_t x_157; +x_156 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_157 = lean_string_dec_eq(x_103, x_156); +if (x_157 == 0) +{ +lean_object* x_158; uint8_t x_159; +x_158 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_159 = lean_string_dec_eq(x_103, x_158); +if (x_159 == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_161 = lean_string_dec_eq(x_103, x_160); +if (x_161 == 0) +{ +lean_object* x_162; uint8_t x_163; +x_162 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_163 = lean_string_dec_eq(x_103, x_162); +if (x_163 == 0) +{ +lean_object* x_164; uint8_t x_165; +x_164 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_165 = lean_string_dec_eq(x_103, x_164); +lean_dec_ref(x_103); +if (x_165 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_array_get_size(x_102); +x_167 = lean_unsigned_to_nat(3u); +x_168 = lean_nat_dec_eq(x_166, x_167); +lean_dec(x_166); +if (x_168 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_169; lean_object* x_170; +x_169 = lean_unsigned_to_nat(0u); +x_170 = lean_array_fget_borrowed(x_102, x_169); +if (lean_obj_tag(x_170) == 5) +{ +lean_object* x_171; +x_171 = lean_ctor_get(x_170, 1); +if (lean_obj_tag(x_171) == 9) +{ +lean_object* x_172; +x_172 = lean_ctor_get(x_171, 0); +if (lean_obj_tag(x_172) == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_173; lean_object* x_174; uint8_t x_175; +x_173 = lean_ctor_get(x_172, 0); +x_174 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_175 = lean_string_dec_eq(x_173, x_174); +if (x_175 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec_ref(x_2); +x_176 = lean_unsigned_to_nat(1u); +x_177 = lean_array_fget_borrowed(x_102, x_176); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_177); +x_178 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_177, x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_178) == 0) +{ +uint8_t x_179; +x_179 = !lean_is_exclusive(x_178); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_180 = lean_ctor_get(x_178, 0); +x_181 = lean_ctor_get(x_178, 1); +x_182 = lean_unsigned_to_nat(2u); +x_183 = lean_array_fget(x_102, x_182); +lean_dec(x_102); +if (lean_obj_tag(x_180) == 0) +{ +lean_object* x_184; +lean_free_object(x_178); +x_184 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_183, x_1, x_4, x_5, x_6, x_7, x_181); +return x_184; +} +else +{ +uint8_t x_185; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_185 = !lean_is_exclusive(x_180); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_186 = lean_ctor_get(x_180, 0); +x_187 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_188 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_189 = l_Lean_mkApp3(x_187, x_188, x_186, x_183); +lean_ctor_set(x_180, 0, x_189); +return x_178; +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_190 = lean_ctor_get(x_180, 0); +lean_inc(x_190); +lean_dec(x_180); +x_191 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_192 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_193 = l_Lean_mkApp3(x_191, x_192, x_190, x_183); +x_194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_178, 0, x_194); +return x_178; +} +} +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_195 = lean_ctor_get(x_178, 0); +x_196 = lean_ctor_get(x_178, 1); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_178); +x_197 = lean_unsigned_to_nat(2u); +x_198 = lean_array_fget(x_102, x_197); +lean_dec(x_102); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_199; +x_199 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_198, x_1, x_4, x_5, x_6, x_7, x_196); +return x_199; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_200 = lean_ctor_get(x_195, 0); +lean_inc(x_200); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + x_201 = x_195; +} else { + lean_dec_ref(x_195); + x_201 = lean_box(0); +} +x_202 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_203 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_204 = l_Lean_mkApp3(x_202, x_203, x_200, x_198); +if (lean_is_scalar(x_201)) { + x_205 = lean_alloc_ctor(1, 1, 0); +} else { + x_205 = x_201; +} +lean_ctor_set(x_205, 0, x_204); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_196); +return x_206; +} +} +} +else +{ +lean_dec(x_102); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_178; +} +} +} +} +else +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_dec_ref(x_103); +x_207 = lean_array_get_size(x_102); +x_208 = lean_unsigned_to_nat(1u); +x_209 = lean_nat_dec_eq(x_207, x_208); +lean_dec(x_207); +if (x_209 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_210; lean_object* x_211; +x_210 = lean_unsigned_to_nat(0u); +x_211 = lean_array_fget(x_102, x_210); +lean_dec(x_102); +if (lean_obj_tag(x_211) == 9) +{ +lean_object* x_212; +x_212 = lean_ctor_get(x_211, 0); +lean_inc_ref(x_212); +lean_dec_ref(x_211); +if (lean_obj_tag(x_212) == 0) +{ +lean_dec_ref(x_212); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_213; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_213 = lean_ctor_get(x_212, 0); +lean_inc_ref(x_213); +lean_dec_ref(x_212); +x_39 = x_213; +x_40 = x_8; +goto block_51; +} +} +else +{ +lean_dec_ref(x_211); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_214; lean_object* x_215; uint8_t x_216; +lean_dec_ref(x_103); +x_214 = lean_array_get_size(x_102); +x_215 = lean_unsigned_to_nat(2u); +x_216 = lean_nat_dec_eq(x_214, x_215); +lean_dec(x_214); +if (x_216 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_217; lean_object* x_218; +x_217 = lean_unsigned_to_nat(0u); +x_218 = lean_array_fget(x_102, x_217); +lean_dec(x_102); +if (lean_obj_tag(x_218) == 9) +{ +lean_object* x_219; +x_219 = lean_ctor_get(x_218, 0); +lean_inc_ref(x_219); +lean_dec_ref(x_218); +if (lean_obj_tag(x_219) == 0) +{ +lean_dec_ref(x_219); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_220; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_220 = lean_ctor_get(x_219, 0); +lean_inc_ref(x_220); +lean_dec_ref(x_219); +x_26 = x_220; +x_27 = x_8; +goto block_38; +} +} +else +{ +lean_dec_ref(x_218); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_221; lean_object* x_222; uint8_t x_223; +lean_dec_ref(x_103); +x_221 = lean_array_get_size(x_102); +x_222 = lean_unsigned_to_nat(2u); +x_223 = lean_nat_dec_eq(x_221, x_222); +lean_dec(x_221); +if (x_223 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_224; lean_object* x_225; +x_224 = lean_unsigned_to_nat(0u); +x_225 = lean_array_fget_borrowed(x_102, x_224); +if (lean_obj_tag(x_225) == 5) +{ +lean_object* x_226; +x_226 = lean_ctor_get(x_225, 1); +if (lean_obj_tag(x_226) == 9) +{ +lean_object* x_227; +x_227 = lean_ctor_get(x_226, 0); +if (lean_obj_tag(x_227) == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec_ref(x_2); +x_228 = lean_unsigned_to_nat(1u); +x_229 = lean_array_fget(x_102, x_228); +lean_dec(x_102); +x_230 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_229, x_1, x_4, x_5, x_6, x_7, x_8); +return x_230; +} +} +else +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_231; lean_object* x_232; uint8_t x_233; +lean_dec_ref(x_103); +x_231 = lean_array_get_size(x_102); +x_232 = lean_unsigned_to_nat(4u); +x_233 = lean_nat_dec_eq(x_231, x_232); +lean_dec(x_231); +if (x_233 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec_ref(x_2); +x_234 = lean_unsigned_to_nat(3u); +x_235 = lean_array_fget(x_102, x_234); +lean_dec(x_102); +x_236 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_235, x_1, x_4, x_5, x_6, x_7, x_8); +return x_236; +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; uint8_t x_239; +lean_dec_ref(x_103); +x_237 = lean_array_get_size(x_102); +x_238 = lean_unsigned_to_nat(3u); +x_239 = lean_nat_dec_eq(x_237, x_238); +lean_dec(x_237); +if (x_239 == 0) +{ +lean_dec(x_102); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec_ref(x_2); +x_240 = lean_unsigned_to_nat(2u); +x_241 = lean_array_fget(x_102, x_240); +lean_dec(x_102); +x_242 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_241, x_1, x_4, x_5, x_6, x_7, x_8); +return x_242; +} +} +} +} +} +else +{ +lean_dec_ref(x_59); +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +default: +{ +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +else +{ +lean_dec(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +block_25: +{ +if (x_3 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_2); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_16 = lean_whnf(x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = 0; +x_2 = x_17; +x_3 = x_19; +x_4 = x_9; +x_5 = x_10; +x_6 = x_11; +x_7 = x_12; +x_8 = x_18; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +block_38: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_unsigned_to_nat(0u); +x_29 = lean_string_utf8_byte_size(x_26); +x_30 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_26, x_29, x_28); +x_31 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_26, x_30, x_29); +x_32 = lean_string_utf8_extract(x_26, x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +lean_dec_ref(x_26); +x_33 = lean_string_dec_eq(x_32, x_1); +lean_dec_ref(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_27); +return x_37; +} +} +block_51: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_string_utf8_byte_size(x_39); +x_43 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_39, x_42, x_41); +x_44 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_39, x_43, x_42); +x_45 = lean_string_utf8_extract(x_39, x_43, x_44); +lean_dec(x_44); +lean_dec(x_43); +lean_dec_ref(x_39); +x_46 = lean_string_dec_eq(x_45, x_1); +lean_dec_ref(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_40); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_40); +return x_50; +} +} +block_55: +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_box(0); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt(x_2, x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_25; lean_object* x_30; lean_object* x_31; +lean_inc_ref(x_1); +x_30 = l_Lean_Expr_getAppFnArgs(x_1); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 1) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 1) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); +switch (lean_obj_tag(x_33)) { +case 0: +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec_ref(x_30); +x_35 = lean_ctor_get(x_31, 1); +lean_inc_ref(x_35); +lean_dec_ref(x_31); +x_36 = lean_ctor_get(x_32, 1); +lean_inc_ref(x_36); +lean_dec_ref(x_32); +x_37 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; +x_38 = lean_string_dec_eq(x_36, x_37); +lean_dec_ref(x_36); +if (x_38 == 0) +{ +lean_dec_ref(x_35); +lean_dec(x_34); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_39; uint8_t x_40; +x_39 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1; +x_40 = lean_string_dec_eq(x_35, x_39); +lean_dec_ref(x_35); +if (x_40 == 0) +{ +lean_dec(x_34); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_34); +x_42 = lean_unsigned_to_nat(6u); +x_43 = lean_nat_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) +{ +lean_dec(x_34); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec_ref(x_1); +x_44 = lean_unsigned_to_nat(4u); +x_45 = lean_array_fget_borrowed(x_34, x_44); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc_ref(x_45); +x_46 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_45, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_dec(x_34); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_46; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec_ref(x_46); +x_50 = lean_unsigned_to_nat(5u); +x_51 = lean_array_fget(x_34, x_50); +lean_dec(x_34); +x_52 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_51, x_3, x_4, x_5, x_6, x_49); +return x_52; +} +} +else +{ +lean_dec(x_34); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_46; +} +} +} +} +} +case 1: +{ +lean_object* x_53; +lean_inc_ref(x_33); +x_53 = lean_ctor_get(x_33, 0); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_30); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = lean_ctor_get(x_30, 1); +x_56 = lean_ctor_get(x_30, 0); +lean_dec(x_56); +x_57 = lean_ctor_get(x_31, 1); +lean_inc_ref(x_57); +lean_dec_ref(x_31); +x_58 = lean_ctor_get(x_32, 1); +lean_inc_ref(x_58); +lean_dec_ref(x_32); +x_59 = lean_ctor_get(x_33, 1); +lean_inc_ref(x_59); +lean_dec_ref(x_33); +x_60 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_61 = lean_string_dec_eq(x_59, x_60); +lean_dec_ref(x_59); +if (x_61 == 0) +{ +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_free_object(x_30); +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_62; uint8_t x_63; +x_62 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_63 = lean_string_dec_eq(x_58, x_62); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_65 = lean_string_dec_eq(x_58, x_64); +lean_dec_ref(x_58); +if (x_65 == 0) +{ +lean_dec_ref(x_57); +lean_free_object(x_30); +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_66; uint8_t x_67; +x_66 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_67 = lean_string_dec_eq(x_57, x_66); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_69 = lean_string_dec_eq(x_57, x_68); +if (x_69 == 0) +{ +lean_object* x_70; uint8_t x_71; +lean_free_object(x_30); +x_70 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_71 = lean_string_dec_eq(x_57, x_70); +if (x_71 == 0) +{ +lean_object* x_72; uint8_t x_73; +x_72 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_73 = lean_string_dec_eq(x_57, x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; +x_74 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_75 = lean_string_dec_eq(x_57, x_74); +lean_dec_ref(x_57); +if (x_75 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_76 = lean_array_get_size(x_55); +x_77 = lean_unsigned_to_nat(2u); +x_78 = lean_nat_dec_eq(x_76, x_77); +lean_dec(x_76); +if (x_78 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec_ref(x_1); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_array_fget(x_55, x_79); +lean_dec(x_55); +x_81 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_80, x_3, x_4, x_5, x_6, x_7); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; +lean_dec_ref(x_57); +x_82 = lean_array_get_size(x_55); +x_83 = lean_unsigned_to_nat(3u); +x_84 = lean_nat_dec_eq(x_82, x_83); +lean_dec(x_82); +if (x_84 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec_ref(x_1); +x_85 = lean_unsigned_to_nat(2u); +x_86 = lean_array_fget(x_55, x_85); +lean_dec(x_55); +x_87 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_86, x_3, x_4, x_5, x_6, x_7); +return x_87; +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +lean_dec_ref(x_57); +x_88 = lean_array_get_size(x_55); +x_89 = lean_unsigned_to_nat(2u); +x_90 = lean_nat_dec_eq(x_88, x_89); +lean_dec(x_88); +if (x_90 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec_ref(x_1); +x_91 = lean_unsigned_to_nat(1u); +x_92 = lean_array_fget(x_55, x_91); +lean_dec(x_55); +x_93 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_92, x_3, x_4, x_5, x_6, x_7); +return x_93; +} +} +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +lean_dec_ref(x_57); +x_94 = lean_array_get_size(x_55); +lean_dec(x_55); +x_95 = lean_unsigned_to_nat(2u); +x_96 = lean_nat_dec_eq(x_94, x_95); +lean_dec(x_94); +if (x_96 == 0) +{ +lean_free_object(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_97; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_97 = lean_box(x_67); +lean_ctor_set(x_30, 1, x_7); +lean_ctor_set(x_30, 0, x_97); +return x_30; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec_ref(x_57); +lean_free_object(x_30); +x_98 = lean_array_get_size(x_55); +lean_dec(x_55); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_dec_eq(x_98, x_99); +lean_dec(x_98); +if (x_100 == 0) +{ +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_25 = x_7; +goto block_29; +} +} +} +} +else +{ +lean_object* x_101; uint8_t x_102; +lean_dec_ref(x_58); +x_101 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_102 = lean_string_dec_eq(x_57, x_101); +if (x_102 == 0) +{ +lean_object* x_103; uint8_t x_104; +x_103 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_104 = lean_string_dec_eq(x_57, x_103); +if (x_104 == 0) +{ +lean_object* x_105; uint8_t x_106; +x_105 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_106 = lean_string_dec_eq(x_57, x_105); +if (x_106 == 0) +{ +lean_object* x_107; uint8_t x_108; +x_107 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_108 = lean_string_dec_eq(x_57, x_107); +if (x_108 == 0) +{ +lean_object* x_109; uint8_t x_110; +lean_free_object(x_30); +x_109 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_110 = lean_string_dec_eq(x_57, x_109); +if (x_110 == 0) +{ +lean_object* x_111; uint8_t x_112; +x_111 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_112 = lean_string_dec_eq(x_57, x_111); +lean_dec_ref(x_57); +if (x_112 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_array_get_size(x_55); +x_114 = lean_unsigned_to_nat(3u); +x_115 = lean_nat_dec_eq(x_113, x_114); +lean_dec(x_113); +if (x_115 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_unsigned_to_nat(0u); +x_117 = lean_array_fget_borrowed(x_55, x_116); +if (lean_obj_tag(x_117) == 5) +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_117, 1); +if (lean_obj_tag(x_118) == 9) +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +if (lean_obj_tag(x_119) == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_120 = lean_ctor_get(x_119, 0); +x_121 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_122 = lean_string_dec_eq(x_120, x_121); +if (x_122 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec_ref(x_1); +x_123 = lean_unsigned_to_nat(1u); +x_124 = lean_array_fget_borrowed(x_55, x_123); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc_ref(x_124); +x_125 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_124, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; uint8_t x_127; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_unbox(x_126); +lean_dec(x_126); +if (x_127 == 0) +{ +lean_dec(x_55); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_125; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_128 = lean_ctor_get(x_125, 1); +lean_inc(x_128); +lean_dec_ref(x_125); +x_129 = lean_unsigned_to_nat(2u); +x_130 = lean_array_fget(x_55, x_129); +lean_dec(x_55); +x_131 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_130, x_3, x_4, x_5, x_6, x_128); +return x_131; +} +} +else +{ +lean_dec(x_55); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_125; +} +} +} +} +else +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +else +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_132; lean_object* x_133; uint8_t x_134; +lean_dec_ref(x_57); +x_132 = lean_array_get_size(x_55); +lean_dec(x_55); +x_133 = lean_unsigned_to_nat(1u); +x_134 = lean_nat_dec_eq(x_132, x_133); +lean_dec(x_132); +if (x_134 == 0) +{ +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_25 = x_7; +goto block_29; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_dec_ref(x_57); +x_135 = lean_array_get_size(x_55); +x_136 = lean_unsigned_to_nat(2u); +x_137 = lean_nat_dec_eq(x_135, x_136); +lean_dec(x_135); +if (x_137 == 0) +{ +lean_free_object(x_30); +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_138; lean_object* x_139; +x_138 = lean_unsigned_to_nat(0u); +x_139 = lean_array_fget(x_55, x_138); +lean_dec(x_55); +if (lean_obj_tag(x_139) == 9) +{ +lean_object* x_140; +x_140 = lean_ctor_get(x_139, 0); +lean_inc_ref(x_140); +lean_dec_ref(x_139); +if (lean_obj_tag(x_140) == 0) +{ +lean_dec_ref(x_140); +lean_free_object(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_141; +lean_dec_ref(x_140); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_141 = lean_box(x_106); +lean_ctor_set(x_30, 1, x_7); +lean_ctor_set(x_30, 0, x_141); +return x_30; +} +} +else +{ +lean_dec_ref(x_139); +lean_free_object(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +lean_dec_ref(x_57); +lean_free_object(x_30); +x_142 = lean_array_get_size(x_55); +x_143 = lean_unsigned_to_nat(2u); +x_144 = lean_nat_dec_eq(x_142, x_143); +lean_dec(x_142); +if (x_144 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_unsigned_to_nat(0u); +x_146 = lean_array_fget_borrowed(x_55, x_145); +if (lean_obj_tag(x_146) == 5) +{ +lean_object* x_147; +x_147 = lean_ctor_get(x_146, 1); +if (lean_obj_tag(x_147) == 9) +{ +lean_object* x_148; +x_148 = lean_ctor_get(x_147, 0); +if (lean_obj_tag(x_148) == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec_ref(x_1); +x_149 = lean_unsigned_to_nat(1u); +x_150 = lean_array_fget(x_55, x_149); +lean_dec(x_55); +x_151 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_150, x_3, x_4, x_5, x_6, x_7); +return x_151; +} +} +else +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +else +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_152; lean_object* x_153; uint8_t x_154; +lean_dec_ref(x_57); +lean_free_object(x_30); +x_152 = lean_array_get_size(x_55); +x_153 = lean_unsigned_to_nat(4u); +x_154 = lean_nat_dec_eq(x_152, x_153); +lean_dec(x_152); +if (x_154 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec_ref(x_1); +x_155 = lean_unsigned_to_nat(3u); +x_156 = lean_array_fget(x_55, x_155); +lean_dec(x_55); +x_157 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_156, x_3, x_4, x_5, x_6, x_7); +return x_157; +} +} +} +else +{ +lean_object* x_158; lean_object* x_159; uint8_t x_160; +lean_dec_ref(x_57); +lean_free_object(x_30); +x_158 = lean_array_get_size(x_55); +x_159 = lean_unsigned_to_nat(3u); +x_160 = lean_nat_dec_eq(x_158, x_159); +lean_dec(x_158); +if (x_160 == 0) +{ +lean_dec(x_55); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec_ref(x_1); +x_161 = lean_unsigned_to_nat(2u); +x_162 = lean_array_fget(x_55, x_161); +lean_dec(x_55); +x_163 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_162, x_3, x_4, x_5, x_6, x_7); +return x_163; +} +} +} +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_164 = lean_ctor_get(x_30, 1); +lean_inc(x_164); +lean_dec(x_30); +x_165 = lean_ctor_get(x_31, 1); +lean_inc_ref(x_165); +lean_dec_ref(x_31); +x_166 = lean_ctor_get(x_32, 1); +lean_inc_ref(x_166); +lean_dec_ref(x_32); +x_167 = lean_ctor_get(x_33, 1); +lean_inc_ref(x_167); +lean_dec_ref(x_33); +x_168 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_169 = lean_string_dec_eq(x_167, x_168); +lean_dec_ref(x_167); +if (x_169 == 0) +{ +lean_dec_ref(x_166); +lean_dec_ref(x_165); +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_170; uint8_t x_171; +x_170 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_171 = lean_string_dec_eq(x_166, x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_173 = lean_string_dec_eq(x_166, x_172); +lean_dec_ref(x_166); +if (x_173 == 0) +{ +lean_dec_ref(x_165); +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_174; uint8_t x_175; +x_174 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_175 = lean_string_dec_eq(x_165, x_174); +if (x_175 == 0) +{ +lean_object* x_176; uint8_t x_177; +x_176 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_177 = lean_string_dec_eq(x_165, x_176); +if (x_177 == 0) +{ +lean_object* x_178; uint8_t x_179; +x_178 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_179 = lean_string_dec_eq(x_165, x_178); +if (x_179 == 0) +{ +lean_object* x_180; uint8_t x_181; +x_180 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_181 = lean_string_dec_eq(x_165, x_180); +if (x_181 == 0) +{ +lean_object* x_182; uint8_t x_183; +x_182 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_183 = lean_string_dec_eq(x_165, x_182); +lean_dec_ref(x_165); +if (x_183 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_184 = lean_array_get_size(x_164); +x_185 = lean_unsigned_to_nat(2u); +x_186 = lean_nat_dec_eq(x_184, x_185); +lean_dec(x_184); +if (x_186 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec_ref(x_1); +x_187 = lean_unsigned_to_nat(1u); +x_188 = lean_array_fget(x_164, x_187); +lean_dec(x_164); +x_189 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_188, x_3, x_4, x_5, x_6, x_7); +return x_189; +} +} +} +else +{ +lean_object* x_190; lean_object* x_191; uint8_t x_192; +lean_dec_ref(x_165); +x_190 = lean_array_get_size(x_164); +x_191 = lean_unsigned_to_nat(3u); +x_192 = lean_nat_dec_eq(x_190, x_191); +lean_dec(x_190); +if (x_192 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec_ref(x_1); +x_193 = lean_unsigned_to_nat(2u); +x_194 = lean_array_fget(x_164, x_193); +lean_dec(x_164); +x_195 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_194, x_3, x_4, x_5, x_6, x_7); +return x_195; +} +} +} +else +{ +lean_object* x_196; lean_object* x_197; uint8_t x_198; +lean_dec_ref(x_165); +x_196 = lean_array_get_size(x_164); +x_197 = lean_unsigned_to_nat(2u); +x_198 = lean_nat_dec_eq(x_196, x_197); +lean_dec(x_196); +if (x_198 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec_ref(x_1); +x_199 = lean_unsigned_to_nat(1u); +x_200 = lean_array_fget(x_164, x_199); +lean_dec(x_164); +x_201 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_200, x_3, x_4, x_5, x_6, x_7); +return x_201; +} +} +} +else +{ +lean_object* x_202; lean_object* x_203; uint8_t x_204; +lean_dec_ref(x_165); +x_202 = lean_array_get_size(x_164); +lean_dec(x_164); +x_203 = lean_unsigned_to_nat(2u); +x_204 = lean_nat_dec_eq(x_202, x_203); +lean_dec(x_202); +if (x_204 == 0) +{ +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_205; lean_object* x_206; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_205 = lean_box(x_175); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_7); +return x_206; +} +} +} +else +{ +lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_dec_ref(x_165); +x_207 = lean_array_get_size(x_164); +lean_dec(x_164); +x_208 = lean_unsigned_to_nat(1u); +x_209 = lean_nat_dec_eq(x_207, x_208); +lean_dec(x_207); +if (x_209 == 0) +{ +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_25 = x_7; +goto block_29; +} +} +} +} +else +{ +lean_object* x_210; uint8_t x_211; +lean_dec_ref(x_166); +x_210 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_211 = lean_string_dec_eq(x_165, x_210); +if (x_211 == 0) +{ +lean_object* x_212; uint8_t x_213; +x_212 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_213 = lean_string_dec_eq(x_165, x_212); +if (x_213 == 0) +{ +lean_object* x_214; uint8_t x_215; +x_214 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_215 = lean_string_dec_eq(x_165, x_214); +if (x_215 == 0) +{ +lean_object* x_216; uint8_t x_217; +x_216 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_217 = lean_string_dec_eq(x_165, x_216); +if (x_217 == 0) +{ +lean_object* x_218; uint8_t x_219; +x_218 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_219 = lean_string_dec_eq(x_165, x_218); +if (x_219 == 0) +{ +lean_object* x_220; uint8_t x_221; +x_220 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_221 = lean_string_dec_eq(x_165, x_220); +lean_dec_ref(x_165); +if (x_221 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_222 = lean_array_get_size(x_164); +x_223 = lean_unsigned_to_nat(3u); +x_224 = lean_nat_dec_eq(x_222, x_223); +lean_dec(x_222); +if (x_224 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_225; lean_object* x_226; +x_225 = lean_unsigned_to_nat(0u); +x_226 = lean_array_fget_borrowed(x_164, x_225); +if (lean_obj_tag(x_226) == 5) +{ +lean_object* x_227; +x_227 = lean_ctor_get(x_226, 1); +if (lean_obj_tag(x_227) == 9) +{ +lean_object* x_228; +x_228 = lean_ctor_get(x_227, 0); +if (lean_obj_tag(x_228) == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_229; lean_object* x_230; uint8_t x_231; +x_229 = lean_ctor_get(x_228, 0); +x_230 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_231 = lean_string_dec_eq(x_229, x_230); +if (x_231 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec_ref(x_1); +x_232 = lean_unsigned_to_nat(1u); +x_233 = lean_array_fget_borrowed(x_164, x_232); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc_ref(x_233); +x_234 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_233, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; uint8_t x_236; +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_unbox(x_235); +lean_dec(x_235); +if (x_236 == 0) +{ +lean_dec(x_164); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_234; +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_237 = lean_ctor_get(x_234, 1); +lean_inc(x_237); +lean_dec_ref(x_234); +x_238 = lean_unsigned_to_nat(2u); +x_239 = lean_array_fget(x_164, x_238); +lean_dec(x_164); +x_240 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_239, x_3, x_4, x_5, x_6, x_237); +return x_240; +} +} +else +{ +lean_dec(x_164); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_234; +} +} +} +} +else +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +else +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_241; lean_object* x_242; uint8_t x_243; +lean_dec_ref(x_165); +x_241 = lean_array_get_size(x_164); +lean_dec(x_164); +x_242 = lean_unsigned_to_nat(1u); +x_243 = lean_nat_dec_eq(x_241, x_242); +lean_dec(x_241); +if (x_243 == 0) +{ +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_25 = x_7; +goto block_29; +} +} +} +else +{ +lean_object* x_244; lean_object* x_245; uint8_t x_246; +lean_dec_ref(x_165); +x_244 = lean_array_get_size(x_164); +x_245 = lean_unsigned_to_nat(2u); +x_246 = lean_nat_dec_eq(x_244, x_245); +lean_dec(x_244); +if (x_246 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_247; lean_object* x_248; +x_247 = lean_unsigned_to_nat(0u); +x_248 = lean_array_fget(x_164, x_247); +lean_dec(x_164); +if (lean_obj_tag(x_248) == 9) +{ +lean_object* x_249; +x_249 = lean_ctor_get(x_248, 0); +lean_inc_ref(x_249); +lean_dec_ref(x_248); +if (lean_obj_tag(x_249) == 0) +{ +lean_dec_ref(x_249); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_250; lean_object* x_251; +lean_dec_ref(x_249); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_250 = lean_box(x_215); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_7); +return x_251; +} +} +else +{ +lean_dec_ref(x_248); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_252; lean_object* x_253; uint8_t x_254; +lean_dec_ref(x_165); +x_252 = lean_array_get_size(x_164); +x_253 = lean_unsigned_to_nat(2u); +x_254 = lean_nat_dec_eq(x_252, x_253); +lean_dec(x_252); +if (x_254 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_255; lean_object* x_256; +x_255 = lean_unsigned_to_nat(0u); +x_256 = lean_array_fget_borrowed(x_164, x_255); +if (lean_obj_tag(x_256) == 5) +{ +lean_object* x_257; +x_257 = lean_ctor_get(x_256, 1); +if (lean_obj_tag(x_257) == 9) +{ +lean_object* x_258; +x_258 = lean_ctor_get(x_257, 0); +if (lean_obj_tag(x_258) == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; +lean_dec_ref(x_1); +x_259 = lean_unsigned_to_nat(1u); +x_260 = lean_array_fget(x_164, x_259); +lean_dec(x_164); +x_261 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_260, x_3, x_4, x_5, x_6, x_7); +return x_261; +} +} +else +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +else +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +} +else +{ +lean_object* x_262; lean_object* x_263; uint8_t x_264; +lean_dec_ref(x_165); +x_262 = lean_array_get_size(x_164); +x_263 = lean_unsigned_to_nat(4u); +x_264 = lean_nat_dec_eq(x_262, x_263); +lean_dec(x_262); +if (x_264 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec_ref(x_1); +x_265 = lean_unsigned_to_nat(3u); +x_266 = lean_array_fget(x_164, x_265); +lean_dec(x_164); +x_267 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_266, x_3, x_4, x_5, x_6, x_7); +return x_267; +} +} +} +else +{ +lean_object* x_268; lean_object* x_269; uint8_t x_270; +lean_dec_ref(x_165); +x_268 = lean_array_get_size(x_164); +x_269 = lean_unsigned_to_nat(3u); +x_270 = lean_nat_dec_eq(x_268, x_269); +lean_dec(x_268); +if (x_270 == 0) +{ +lean_dec(x_164); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; +lean_dec_ref(x_1); +x_271 = lean_unsigned_to_nat(2u); +x_272 = lean_array_fget(x_164, x_271); +lean_dec(x_164); +x_273 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_272, x_3, x_4, x_5, x_6, x_7); +return x_273; +} +} +} +} +} +} +else +{ +lean_dec_ref(x_33); +lean_dec_ref(x_32); +lean_dec_ref(x_31); +lean_dec_ref(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +default: +{ +lean_dec_ref(x_32); +lean_dec_ref(x_31); +lean_dec_ref(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +} +else +{ +lean_dec(x_32); +lean_dec_ref(x_31); +lean_dec_ref(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +} +else +{ +lean_dec(x_31); +lean_dec_ref(x_30); +x_8 = x_3; +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +goto block_24; +} +block_24: +{ +if (x_2 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_1); +x_13 = lean_box(x_2); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_15 = lean_whnf(x_1, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = 0; +x_1 = x_16; +x_2 = x_18; +x_3 = x_8; +x_4 = x_9; +x_5 = x_10; +x_6 = x_11; +x_7 = x_17; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_15); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +block_29: +{ +uint8_t x_26; lean_object* x_27; lean_object* x_28; +x_26 = 0; +x_27 = lean_box(x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = 1; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_26; lean_object* x_27; lean_object* x_39; lean_object* x_40; lean_object* x_52; lean_object* x_56; lean_object* x_57; +lean_inc_ref(x_2); +x_56 = l_Lean_Expr_getAppFnArgs(x_2); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 1) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 1) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_58, 0); +switch (lean_obj_tag(x_59)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_dec_ref(x_56); +x_61 = lean_ctor_get(x_57, 1); +lean_inc_ref(x_61); +lean_dec_ref(x_57); +x_62 = lean_ctor_get(x_58, 1); +lean_inc_ref(x_62); +lean_dec_ref(x_58); +x_63 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; +x_64 = lean_string_dec_eq(x_62, x_63); +lean_dec_ref(x_62); +if (x_64 == 0) +{ +lean_dec_ref(x_61); +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_65; uint8_t x_66; +x_65 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1; +x_66 = lean_string_dec_eq(x_61, x_65); +lean_dec_ref(x_61); +if (x_66 == 0) +{ +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = lean_array_get_size(x_60); +x_68 = lean_unsigned_to_nat(6u); +x_69 = lean_nat_dec_eq(x_67, x_68); +lean_dec(x_67); +if (x_69 == 0) +{ +lean_dec(x_60); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec_ref(x_2); +x_70 = lean_unsigned_to_nat(4u); +x_71 = lean_array_fget(x_60, x_70); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_71); +x_72 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_71, x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_72, 0); +x_75 = lean_ctor_get(x_72, 1); +x_76 = lean_unsigned_to_nat(5u); +x_77 = lean_array_fget(x_60, x_76); +lean_dec(x_60); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_78; +lean_free_object(x_72); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_78 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_71, x_4, x_5, x_6, x_7, x_75); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_unbox(x_79); +lean_dec(x_79); +if (x_80 == 0) +{ +uint8_t x_81; +lean_dec_ref(x_77); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_78, 0); +lean_dec(x_82); +lean_ctor_set(x_78, 0, x_74); +return x_78; +} +else +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_dec(x_78); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_74); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_78, 1); +lean_inc(x_85); +lean_dec_ref(x_78); +x_86 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_77, x_1, x_4, x_5, x_6, x_7, x_85); +return x_86; +} +} +else +{ +uint8_t x_87; +lean_dec_ref(x_77); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_87 = !lean_is_exclusive(x_78); +if (x_87 == 0) +{ +return x_78; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_78, 0); +x_89 = lean_ctor_get(x_78, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_78); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +else +{ +uint8_t x_91; +lean_dec_ref(x_71); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_91 = !lean_is_exclusive(x_74); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_74, 0); +x_93 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_94 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_95 = l_Lean_mkApp3(x_93, x_94, x_92, x_77); +lean_ctor_set(x_74, 0, x_95); +return x_72; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_96 = lean_ctor_get(x_74, 0); +lean_inc(x_96); +lean_dec(x_74); +x_97 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_98 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_99 = l_Lean_mkApp3(x_97, x_98, x_96, x_77); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_72, 0, x_100); +return x_72; +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_72, 0); +x_102 = lean_ctor_get(x_72, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_72); +x_103 = lean_unsigned_to_nat(5u); +x_104 = lean_array_fget(x_60, x_103); +lean_dec(x_60); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_105; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_105 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_71, x_4, x_5, x_6, x_7, x_102); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; uint8_t x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_unbox(x_106); +lean_dec(x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec_ref(x_104); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_109 = x_105; +} else { + lean_dec_ref(x_105); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_101); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_105, 1); +lean_inc(x_111); +lean_dec_ref(x_105); +x_112 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_104, x_1, x_4, x_5, x_6, x_7, x_111); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec_ref(x_104); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_113 = lean_ctor_get(x_105, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_105, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_115 = x_105; +} else { + lean_dec_ref(x_105); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec_ref(x_71); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_117 = lean_ctor_get(x_101, 0); +lean_inc(x_117); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + x_118 = x_101; +} else { + lean_dec_ref(x_101); + x_118 = lean_box(0); +} +x_119 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_120 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_121 = l_Lean_mkApp3(x_119, x_120, x_117, x_104); +if (lean_is_scalar(x_118)) { + x_122 = lean_alloc_ctor(1, 1, 0); +} else { + x_122 = x_118; +} +lean_ctor_set(x_122, 0, x_121); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_102); +return x_123; +} +} +} +else +{ +lean_dec_ref(x_71); +lean_dec(x_60); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_72; +} +} +} +} +} +case 1: +{ +lean_object* x_124; +lean_inc_ref(x_59); +x_124 = lean_ctor_get(x_59, 0); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_125 = lean_ctor_get(x_56, 1); +lean_inc(x_125); +lean_dec_ref(x_56); +x_126 = lean_ctor_get(x_57, 1); +lean_inc_ref(x_126); +lean_dec_ref(x_57); +x_127 = lean_ctor_get(x_58, 1); +lean_inc_ref(x_127); +lean_dec_ref(x_58); +x_128 = lean_ctor_get(x_59, 1); +lean_inc_ref(x_128); +lean_dec_ref(x_59); +x_129 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_130 = lean_string_dec_eq(x_128, x_129); +lean_dec_ref(x_128); +if (x_130 == 0) +{ +lean_dec_ref(x_127); +lean_dec_ref(x_126); +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_131; uint8_t x_132; +x_131 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_132 = lean_string_dec_eq(x_127, x_131); +if (x_132 == 0) +{ +lean_object* x_133; uint8_t x_134; +x_133 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_134 = lean_string_dec_eq(x_127, x_133); +lean_dec_ref(x_127); +if (x_134 == 0) +{ +lean_dec_ref(x_126); +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_135; uint8_t x_136; +x_135 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_136 = lean_string_dec_eq(x_126, x_135); +if (x_136 == 0) +{ +lean_object* x_137; uint8_t x_138; +x_137 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_138 = lean_string_dec_eq(x_126, x_137); +if (x_138 == 0) +{ +lean_object* x_139; uint8_t x_140; +x_139 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4; +x_140 = lean_string_dec_eq(x_126, x_139); +if (x_140 == 0) +{ +lean_object* x_141; uint8_t x_142; +x_141 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5; +x_142 = lean_string_dec_eq(x_126, x_141); +if (x_142 == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8; +x_144 = lean_string_dec_eq(x_126, x_143); +lean_dec_ref(x_126); +if (x_144 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_145 = lean_array_get_size(x_125); +x_146 = lean_unsigned_to_nat(2u); +x_147 = lean_nat_dec_eq(x_145, x_146); +lean_dec(x_145); +if (x_147 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec_ref(x_2); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_array_fget(x_125, x_148); +lean_dec(x_125); +x_150 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_149, x_1, x_4, x_5, x_6, x_7, x_8); +return x_150; +} +} +} +else +{ +lean_object* x_151; lean_object* x_152; uint8_t x_153; +lean_dec_ref(x_126); +x_151 = lean_array_get_size(x_125); +x_152 = lean_unsigned_to_nat(3u); +x_153 = lean_nat_dec_eq(x_151, x_152); +lean_dec(x_151); +if (x_153 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_dec_ref(x_2); +x_154 = lean_unsigned_to_nat(2u); +x_155 = lean_array_fget(x_125, x_154); +lean_dec(x_125); +x_156 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_155, x_1, x_4, x_5, x_6, x_7, x_8); +return x_156; +} +} +} +else +{ +lean_object* x_157; lean_object* x_158; uint8_t x_159; +lean_dec_ref(x_126); +x_157 = lean_array_get_size(x_125); +x_158 = lean_unsigned_to_nat(2u); +x_159 = lean_nat_dec_eq(x_157, x_158); +lean_dec(x_157); +if (x_159 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec_ref(x_2); +x_160 = lean_unsigned_to_nat(1u); +x_161 = lean_array_fget(x_125, x_160); +lean_dec(x_125); +x_162 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_161, x_1, x_4, x_5, x_6, x_7, x_8); +return x_162; +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; uint8_t x_165; +lean_dec_ref(x_126); +x_163 = lean_array_get_size(x_125); +x_164 = lean_unsigned_to_nat(2u); +x_165 = lean_nat_dec_eq(x_163, x_164); +lean_dec(x_163); +if (x_165 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_166; lean_object* x_167; +x_166 = lean_unsigned_to_nat(0u); +x_167 = lean_array_fget(x_125, x_166); +lean_dec(x_125); +if (lean_obj_tag(x_167) == 9) +{ +lean_object* x_168; +x_168 = lean_ctor_get(x_167, 0); +lean_inc_ref(x_168); +lean_dec_ref(x_167); +if (lean_obj_tag(x_168) == 0) +{ +lean_dec_ref(x_168); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_169; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_169 = lean_ctor_get(x_168, 0); +lean_inc_ref(x_169); +lean_dec_ref(x_168); +x_26 = x_169; +x_27 = x_8; +goto block_38; +} +} +else +{ +lean_dec_ref(x_167); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_170; lean_object* x_171; uint8_t x_172; +lean_dec_ref(x_126); +x_170 = lean_array_get_size(x_125); +x_171 = lean_unsigned_to_nat(1u); +x_172 = lean_nat_dec_eq(x_170, x_171); +lean_dec(x_170); +if (x_172 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_173 = lean_unsigned_to_nat(0u); +x_174 = lean_array_fget(x_125, x_173); +lean_dec(x_125); +if (lean_obj_tag(x_174) == 9) +{ +lean_object* x_175; +x_175 = lean_ctor_get(x_174, 0); +lean_inc_ref(x_175); +lean_dec_ref(x_174); +if (lean_obj_tag(x_175) == 0) +{ +lean_dec_ref(x_175); +x_52 = x_8; +goto block_55; +} +else +{ +lean_object* x_176; +x_176 = lean_ctor_get(x_175, 0); +lean_inc_ref(x_176); +lean_dec_ref(x_175); +x_39 = x_176; +x_40 = x_8; +goto block_51; +} +} +else +{ +lean_dec_ref(x_174); +x_52 = x_8; +goto block_55; +} +} +} +} +} +else +{ +lean_object* x_177; uint8_t x_178; +lean_dec_ref(x_127); +x_177 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9; +x_178 = lean_string_dec_eq(x_126, x_177); +if (x_178 == 0) +{ +lean_object* x_179; uint8_t x_180; +x_179 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10; +x_180 = lean_string_dec_eq(x_126, x_179); +if (x_180 == 0) +{ +lean_object* x_181; uint8_t x_182; +x_181 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11; +x_182 = lean_string_dec_eq(x_126, x_181); +if (x_182 == 0) +{ +lean_object* x_183; uint8_t x_184; +x_183 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +x_184 = lean_string_dec_eq(x_126, x_183); +if (x_184 == 0) +{ +lean_object* x_185; uint8_t x_186; +x_185 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7; +x_186 = lean_string_dec_eq(x_126, x_185); +if (x_186 == 0) +{ +lean_object* x_187; uint8_t x_188; +x_187 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12; +x_188 = lean_string_dec_eq(x_126, x_187); +lean_dec_ref(x_126); +if (x_188 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_189; lean_object* x_190; uint8_t x_191; +x_189 = lean_array_get_size(x_125); +x_190 = lean_unsigned_to_nat(3u); +x_191 = lean_nat_dec_eq(x_189, x_190); +lean_dec(x_189); +if (x_191 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_192; lean_object* x_193; +x_192 = lean_unsigned_to_nat(0u); +x_193 = lean_array_fget_borrowed(x_125, x_192); +if (lean_obj_tag(x_193) == 5) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_193, 1); +if (lean_obj_tag(x_194) == 9) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_194, 0); +if (lean_obj_tag(x_195) == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_196 = lean_ctor_get(x_195, 0); +x_197 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_198 = lean_string_dec_eq(x_196, x_197); +if (x_198 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec_ref(x_2); +x_199 = lean_unsigned_to_nat(1u); +x_200 = lean_array_fget(x_125, x_199); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc_ref(x_200); +x_201 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_200, x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_201) == 0) +{ +uint8_t x_202; +x_202 = !lean_is_exclusive(x_201); +if (x_202 == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_203 = lean_ctor_get(x_201, 0); +x_204 = lean_ctor_get(x_201, 1); +x_205 = lean_unsigned_to_nat(2u); +x_206 = lean_array_fget(x_125, x_205); +lean_dec(x_125); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_207; +lean_free_object(x_201); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_207 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_200, x_4, x_5, x_6, x_7, x_204); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; uint8_t x_209; +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_unbox(x_208); +lean_dec(x_208); +if (x_209 == 0) +{ +uint8_t x_210; +lean_dec_ref(x_206); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_210 = !lean_is_exclusive(x_207); +if (x_210 == 0) +{ +lean_object* x_211; +x_211 = lean_ctor_get(x_207, 0); +lean_dec(x_211); +lean_ctor_set(x_207, 0, x_203); +return x_207; +} +else +{ +lean_object* x_212; lean_object* x_213; +x_212 = lean_ctor_get(x_207, 1); +lean_inc(x_212); +lean_dec(x_207); +x_213 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_213, 0, x_203); +lean_ctor_set(x_213, 1, x_212); +return x_213; +} +} +else +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_207, 1); +lean_inc(x_214); +lean_dec_ref(x_207); +x_215 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_206, x_1, x_4, x_5, x_6, x_7, x_214); +return x_215; +} +} +else +{ +uint8_t x_216; +lean_dec_ref(x_206); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_216 = !lean_is_exclusive(x_207); +if (x_216 == 0) +{ +return x_207; +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = lean_ctor_get(x_207, 0); +x_218 = lean_ctor_get(x_207, 1); +lean_inc(x_218); +lean_inc(x_217); +lean_dec(x_207); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +return x_219; +} +} +} +else +{ +uint8_t x_220; +lean_dec_ref(x_200); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_220 = !lean_is_exclusive(x_203); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_221 = lean_ctor_get(x_203, 0); +x_222 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_223 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_224 = l_Lean_mkApp3(x_222, x_223, x_221, x_206); +lean_ctor_set(x_203, 0, x_224); +return x_201; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_225 = lean_ctor_get(x_203, 0); +lean_inc(x_225); +lean_dec(x_203); +x_226 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_227 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_228 = l_Lean_mkApp3(x_226, x_227, x_225, x_206); +x_229 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_201, 0, x_229); +return x_201; +} +} +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_230 = lean_ctor_get(x_201, 0); +x_231 = lean_ctor_get(x_201, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_201); +x_232 = lean_unsigned_to_nat(2u); +x_233 = lean_array_fget(x_125, x_232); +lean_dec(x_125); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_234; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_234 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon(x_200, x_4, x_5, x_6, x_7, x_231); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; uint8_t x_236; +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_unbox(x_235); +lean_dec(x_235); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec_ref(x_233); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_237 = lean_ctor_get(x_234, 1); +lean_inc(x_237); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_238 = x_234; +} else { + lean_dec_ref(x_234); + x_238 = lean_box(0); +} +if (lean_is_scalar(x_238)) { + x_239 = lean_alloc_ctor(0, 2, 0); +} else { + x_239 = x_238; +} +lean_ctor_set(x_239, 0, x_230); +lean_ctor_set(x_239, 1, x_237); +return x_239; +} +else +{ +lean_object* x_240; lean_object* x_241; +x_240 = lean_ctor_get(x_234, 1); +lean_inc(x_240); +lean_dec_ref(x_234); +x_241 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_233, x_1, x_4, x_5, x_6, x_7, x_240); +return x_241; +} +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec_ref(x_233); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_242 = lean_ctor_get(x_234, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_234, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_244 = x_234; +} else { + lean_dec_ref(x_234); + x_244 = lean_box(0); +} +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); +} else { + x_245 = x_244; +} +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; +} +} +else +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec_ref(x_200); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_246 = lean_ctor_get(x_230, 0); +lean_inc(x_246); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + x_247 = x_230; +} else { + lean_dec_ref(x_230); + x_247 = lean_box(0); +} +x_248 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; +x_249 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11; +x_250 = l_Lean_mkApp3(x_248, x_249, x_246, x_233); +if (lean_is_scalar(x_247)) { + x_251 = lean_alloc_ctor(1, 1, 0); +} else { + x_251 = x_247; +} +lean_ctor_set(x_251, 0, x_250); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_231); +return x_252; +} +} +} +else +{ +lean_dec_ref(x_200); +lean_dec(x_125); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_201; +} +} +} +} +else +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_253; lean_object* x_254; uint8_t x_255; +lean_dec_ref(x_126); +x_253 = lean_array_get_size(x_125); +x_254 = lean_unsigned_to_nat(1u); +x_255 = lean_nat_dec_eq(x_253, x_254); +lean_dec(x_253); +if (x_255 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_unsigned_to_nat(0u); +x_257 = lean_array_fget(x_125, x_256); +lean_dec(x_125); +if (lean_obj_tag(x_257) == 9) +{ +lean_object* x_258; +x_258 = lean_ctor_get(x_257, 0); +lean_inc_ref(x_258); +lean_dec_ref(x_257); +if (lean_obj_tag(x_258) == 0) +{ +lean_dec_ref(x_258); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_259; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_259 = lean_ctor_get(x_258, 0); +lean_inc_ref(x_259); +lean_dec_ref(x_258); +x_39 = x_259; +x_40 = x_8; +goto block_51; +} +} +else +{ +lean_dec_ref(x_257); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_260; lean_object* x_261; uint8_t x_262; +lean_dec_ref(x_126); +x_260 = lean_array_get_size(x_125); +x_261 = lean_unsigned_to_nat(2u); +x_262 = lean_nat_dec_eq(x_260, x_261); +lean_dec(x_260); +if (x_262 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_263; lean_object* x_264; +x_263 = lean_unsigned_to_nat(0u); +x_264 = lean_array_fget(x_125, x_263); +lean_dec(x_125); +if (lean_obj_tag(x_264) == 9) +{ +lean_object* x_265; +x_265 = lean_ctor_get(x_264, 0); +lean_inc_ref(x_265); +lean_dec_ref(x_264); +if (lean_obj_tag(x_265) == 0) +{ +lean_dec_ref(x_265); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_266; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_266 = lean_ctor_get(x_265, 0); +lean_inc_ref(x_266); +lean_dec_ref(x_265); +x_26 = x_266; +x_27 = x_8; +goto block_38; +} +} +else +{ +lean_dec_ref(x_264); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_267; lean_object* x_268; uint8_t x_269; +lean_dec_ref(x_126); +x_267 = lean_array_get_size(x_125); +x_268 = lean_unsigned_to_nat(2u); +x_269 = lean_nat_dec_eq(x_267, x_268); +lean_dec(x_267); +if (x_269 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_270; lean_object* x_271; +x_270 = lean_unsigned_to_nat(0u); +x_271 = lean_array_fget_borrowed(x_125, x_270); +if (lean_obj_tag(x_271) == 5) +{ +lean_object* x_272; +x_272 = lean_ctor_get(x_271, 1); +if (lean_obj_tag(x_272) == 9) +{ +lean_object* x_273; +x_273 = lean_ctor_get(x_272, 0); +if (lean_obj_tag(x_273) == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_dec_ref(x_2); +x_274 = lean_unsigned_to_nat(1u); +x_275 = lean_array_fget(x_125, x_274); +lean_dec(x_125); +x_276 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_275, x_1, x_4, x_5, x_6, x_7, x_8); +return x_276; +} +} +else +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +} +else +{ +lean_object* x_277; lean_object* x_278; uint8_t x_279; +lean_dec_ref(x_126); +x_277 = lean_array_get_size(x_125); +x_278 = lean_unsigned_to_nat(4u); +x_279 = lean_nat_dec_eq(x_277, x_278); +lean_dec(x_277); +if (x_279 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_280; lean_object* x_281; lean_object* x_282; +lean_dec_ref(x_2); +x_280 = lean_unsigned_to_nat(3u); +x_281 = lean_array_fget(x_125, x_280); +lean_dec(x_125); +x_282 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_281, x_1, x_4, x_5, x_6, x_7, x_8); +return x_282; +} +} +} +else +{ +lean_object* x_283; lean_object* x_284; uint8_t x_285; +lean_dec_ref(x_126); +x_283 = lean_array_get_size(x_125); +x_284 = lean_unsigned_to_nat(3u); +x_285 = lean_nat_dec_eq(x_283, x_284); +lean_dec(x_283); +if (x_285 == 0) +{ +lean_dec(x_125); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec_ref(x_2); +x_286 = lean_unsigned_to_nat(2u); +x_287 = lean_array_fget(x_125, x_286); +lean_dec(x_125); +x_288 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_287, x_1, x_4, x_5, x_6, x_7, x_8); +return x_288; +} +} +} +} +} +else +{ +lean_dec_ref(x_59); +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +default: +{ +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +} +else +{ +lean_dec(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +} +else +{ +lean_dec(x_57); +lean_dec_ref(x_56); +x_9 = x_4; +x_10 = x_5; +x_11 = x_6; +x_12 = x_7; +x_13 = x_8; +goto block_25; +} +block_25: +{ +if (x_3 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_2); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_16 = lean_whnf(x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = 0; +x_2 = x_17; +x_3 = x_19; +x_4 = x_9; +x_5 = x_10; +x_6 = x_11; +x_7 = x_12; +x_8 = x_18; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +block_38: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_unsigned_to_nat(0u); +x_29 = lean_string_utf8_byte_size(x_26); +x_30 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_26, x_29, x_28); +x_31 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_26, x_30, x_29); +x_32 = lean_string_utf8_extract(x_26, x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +lean_dec_ref(x_26); +x_33 = lean_string_dec_eq(x_32, x_1); +lean_dec_ref(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_27); +return x_37; +} +} +block_51: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_string_utf8_byte_size(x_39); +x_43 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_39, x_42, x_41); +x_44 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_39, x_43, x_42); +x_45 = lean_string_utf8_extract(x_39, x_43, x_44); +lean_dec(x_44); +lean_dec(x_43); +lean_dec_ref(x_39); +x_46 = lean_string_dec_eq(x_45, x_1); +lean_dec_ref(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_40); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_40); +return x_50; +} +} +block_55: +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_box(0); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt(x_2, x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_12 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f(x_1, x_10, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec_ref(x_13); +x_1 = x_15; +x_2 = x_11; +x_7 = x_14; +goto _start; +} +} +else +{ +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_apply_1(x_2, x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_apply_1(x_2, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_2; +x_2 = 0; +return x_2; +} +else +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_8 = 1; +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_13 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(x_1, x_11, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = 0; +x_18 = lean_box(x_17); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = 0; +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec_ref(x_13); +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +lean_dec_ref(x_14); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0___boxed), 1, 0); +lean_inc(x_12); +lean_inc(x_24); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtoms_x3f___boxed), 7, 2); +lean_closure_set(x_26, 0, x_24); +lean_closure_set(x_26, 1, x_12); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_27 = l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0___redArg(x_26, x_25, x_3, x_4, x_5, x_6, x_23); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec_ref(x_27); +x_1 = x_24; +x_7 = x_30; +goto _start; +} +else +{ +lean_dec(x_24); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_27; +} +} +else +{ +lean_dec(x_24); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_27; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_32 = !lean_is_exclusive(x_13); +if (x_32 == 0) +{ +return x_13; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_13, 0); +x_34 = lean_ctor_get(x_13, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_13); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_get_size(x_1); +x_6 = lean_nat_dec_lt(x_3, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget_borrowed(x_1, x_3); +x_9 = lean_name_eq(x_4, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_3, x_10); +lean_dec(x_3); +x_3 = x_11; +goto _start; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_fget_borrowed(x_2, x_3); +lean_dec(x_3); +lean_inc(x_13); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_5, x_6); +return x_7; +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__0() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 5; +x_2 = 1; +x_3 = lean_usize_shift_left(x_2, x_1); +return x_3; +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__0; +x_3 = lean_usize_sub(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_box(2); +x_7 = 5; +x_8 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1; +x_9 = lean_usize_land(x_2, x_8); +x_10 = lean_usize_to_nat(x_9); +x_11 = lean_array_get(x_6, x_5, x_10); +lean_dec(x_10); +lean_dec_ref(x_5); +switch (lean_obj_tag(x_11)) { +case 0: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = lean_name_eq(x_3, x_12); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_13); +lean_free_object(x_1); +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 0, x_13); +return x_1; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +lean_free_object(x_1); +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec_ref(x_11); +x_17 = lean_usize_shift_right(x_2, x_7); +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +lean_free_object(x_1); +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_box(2); +x_22 = 5; +x_23 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1; +x_24 = lean_usize_land(x_2, x_23); +x_25 = lean_usize_to_nat(x_24); +x_26 = lean_array_get(x_21, x_20, x_25); +lean_dec(x_25); +lean_dec_ref(x_20); +switch (lean_obj_tag(x_26)) { +case 0: +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_name_eq(x_3, x_27); +lean_dec(x_27); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_28); +x_30 = lean_box(0); +return x_30; +} +else +{ +lean_object* x_31; +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_28); +return x_31; +} +} +case 1: +{ +lean_object* x_32; size_t x_33; +x_32 = lean_ctor_get(x_26, 0); +lean_inc(x_32); +lean_dec_ref(x_26); +x_33 = lean_usize_shift_right(x_2, x_22); +x_1 = x_32; +x_2 = x_33; +goto _start; +} +default: +{ +lean_object* x_35; +x_35 = lean_box(0); +return x_35; +} +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_36); +x_37 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_37); +lean_dec_ref(x_1); +x_38 = lean_unsigned_to_nat(0u); +x_39 = l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_36, x_37, x_38, x_3); +lean_dec_ref(x_37); +lean_dec_ref(x_36); +return x_39; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint64_t x_3; size_t x_4; lean_object* x_5; +x_3 = l_Lean_Name_hash___override(x_2); +x_4 = lean_uint64_to_usize(x_3); +x_5 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(x_1, x_4, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_22; uint8_t x_27; +x_27 = lean_usize_dec_eq(x_3, x_4); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_array_uget(x_2, x_3); +switch (lean_obj_tag(x_28)) { +case 0: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec_ref(x_28); +lean_inc_ref(x_1); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_31 = lean_apply_13(x_1, x_5, x_29, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_22 = x_31; +goto block_26; +} +case 1: +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_28, 0); +lean_inc(x_32); +lean_dec_ref(x_28); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_1); +x_33 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(x_1, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_22 = x_33; +goto block_26; +} +default: +{ +x_16 = x_5; +x_17 = x_15; +goto block_21; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_5); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_15); +return x_35; +} +block_21: +{ +size_t x_18; size_t x_19; +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_3 = x_19; +x_5 = x_16; +x_15 = x_17; +goto _start; +} +block_26: +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +if (lean_obj_tag(x_23) == 0) +{ +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_inc_ref(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec_ref(x_23); +x_16 = x_25; +x_17 = x_24; +goto block_21; +} +} +else +{ +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_array_get_size(x_2); +x_17 = lean_nat_dec_lt(x_4, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_5); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_15); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_array_fget_borrowed(x_2, x_4); +x_21 = lean_array_fget_borrowed(x_3, x_4); +lean_inc_ref(x_1); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_21); +lean_inc(x_20); +x_22 = lean_apply_13(x_1, x_5, x_20, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_dec_ref(x_23); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_4, x_26); +lean_dec(x_4); +x_4 = x_27; +x_5 = x_25; +x_15 = x_24; +goto _start; +} +} +else +{ +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +_start: +{ +lean_object* x_21; +x_21 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(x_5, x_6, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_2); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_2, 0); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_get_size(x_15); +x_18 = lean_nat_dec_lt(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_17); +lean_dec_ref(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 0, x_3); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = lean_nat_dec_le(x_17, x_17); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_17); +lean_dec_ref(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 0, x_3); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_2); +lean_ctor_set(x_21, 1, x_13); +return x_21; +} +else +{ +size_t x_22; size_t x_23; lean_object* x_24; +lean_free_object(x_2); +x_22 = 0; +x_23 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_24 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_15, x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_15); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +lean_dec(x_2); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_array_get_size(x_25); +x_28 = lean_nat_dec_lt(x_26, x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_27); +lean_dec_ref(x_25); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_3); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_13); +return x_30; +} +else +{ +uint8_t x_31; +x_31 = lean_nat_dec_le(x_27, x_27); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec_ref(x_25); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_3); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_13); +return x_33; +} +else +{ +size_t x_34; size_t x_35; lean_object* x_36; +x_34 = 0; +x_35 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_36 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_25, x_34, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_25); +return x_36; +} +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_37); +x_38 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_38); +lean_dec_ref(x_2); +x_39 = lean_unsigned_to_nat(0u); +x_40 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(x_1, x_37, x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_38); +lean_dec_ref(x_37); +return x_40; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +x_18 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(x_5, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_4); +x_16 = lean_apply_12(x_1, x_15, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_ctor_get(x_17, 0); +lean_inc(x_24); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_25 = x_17; +} else { + lean_dec_ref(x_17); + x_25 = lean_box(0); +} +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 1, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_17, 0); +lean_inc(x_31); +lean_dec(x_17); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_16, 0, x_32); +return x_16; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_dec(x_16); +x_34 = lean_ctor_get(x_17, 0); +lean_inc(x_34); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_35 = x_17; +} else { + lean_dec_ref(x_17); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(1, 1, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_34); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_33); +return x_37; +} +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) +{ +return x_16; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_16); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg___lam__0), 14, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(x_14, x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_11); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(x_1, x_2, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +lean_dec_ref(x_3); +x_19 = 0; +lean_inc(x_18); +x_20 = l_Lean_Environment_find_x3f(x_1, x_18, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec(x_18); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +goto block_17; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = l_Lean_ConstantInfo_value_x3f(x_21, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_dec(x_18); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +goto block_17; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1___boxed), 9, 2); +lean_closure_set(x_25, 0, x_24); +lean_closure_set(x_25, 1, x_2); +x_26 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_18); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_22, 0, x_4); +lean_ctor_set(x_26, 0, x_22); +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +lean_ctor_set(x_22, 0, x_4); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_22); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_4, x_18); +lean_ctor_set(x_22, 0, x_35); +lean_ctor_set(x_26, 0, x_22); +return x_26; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_4, x_18); +lean_ctor_set(x_22, 0, x_37); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_22); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_free_object(x_22); +lean_dec(x_18); +lean_dec_ref(x_4); +x_39 = !lean_is_exclusive(x_26); +if (x_39 == 0) +{ +return x_26; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_26, 0); +x_41 = lean_ctor_get(x_26, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_26); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_22, 0); +lean_inc(x_43); +lean_dec(x_22); +x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1___boxed), 9, 2); +lean_closure_set(x_44, 0, x_43); +lean_closure_set(x_44, 1, x_2); +x_45 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_18); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_49 = x_45; +} else { + lean_dec_ref(x_45); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_4); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_45, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_53 = x_45; +} else { + lean_dec_ref(x_45); + x_53 = lean_box(0); +} +x_54 = lean_array_push(x_4, x_18); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +if (lean_is_scalar(x_53)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_53; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_52); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_18); +lean_dec_ref(x_4); +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_45, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_59 = x_45; +} else { + lean_dec_ref(x_45); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +block_17: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_4); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_parserExtension; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_ParserExtension_instInhabitedState_default; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0___boxed), 7, 0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_19 = lean_ctor_get(x_18, 1); +lean_inc_ref(x_19); +x_20 = lean_ctor_get(x_19, 0); +lean_inc_ref(x_20); +lean_dec_ref(x_19); +x_21 = lean_ctor_get(x_20, 2); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +lean_inc(x_16); +x_23 = l_Lean_ScopedEnvExtension_getState___redArg(x_22, x_18, x_16, x_21); +lean_dec(x_21); +x_24 = lean_ctor_get(x_23, 2); +lean_inc_ref(x_24); +lean_dec_ref(x_23); +x_25 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_24, x_1); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; +lean_dec(x_16); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_26 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +lean_ctor_set(x_14, 0, x_26); +return x_14; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_free_object(x_14); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec_ref(x_25); +x_28 = lean_ctor_get(x_27, 1); +lean_inc_ref(x_28); +lean_dec(x_27); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2___boxed), 14, 2); +lean_closure_set(x_29, 0, x_16); +lean_closure_set(x_29, 1, x_2); +x_30 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_31 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg(x_28, x_30, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = lean_ctor_get(x_14, 0); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_14); +x_34 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_35 = lean_ctor_get(x_34, 1); +lean_inc_ref(x_35); +x_36 = lean_ctor_get(x_35, 0); +lean_inc_ref(x_36); +lean_dec_ref(x_35); +x_37 = lean_ctor_get(x_36, 2); +lean_inc(x_37); +lean_dec_ref(x_36); +x_38 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +lean_inc(x_32); +x_39 = l_Lean_ScopedEnvExtension_getState___redArg(x_38, x_34, x_32, x_37); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 2); +lean_inc_ref(x_40); +lean_dec_ref(x_39); +x_41 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_40, x_1); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_32); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_42 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_33); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +lean_dec_ref(x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc_ref(x_45); +lean_dec(x_44); +x_46 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2___boxed), 14, 2); +lean_closure_set(x_46, 0, x_32); +lean_closure_set(x_46, 1, x_2); +x_47 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_48 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3___redArg(x_45, x_47, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_49 = !lean_is_exclusive(x_14); +if (x_49 == 0) +{ +return x_14; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_14, 0); +x_51 = lean_ctor_get(x_14, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_14); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; lean_object* x_6; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0(x_1, x_2, x_5, x_4); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec_ref(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec_ref(x_6); +return x_22; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +lean_object* x_21; +x_21 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; lean_object* x_4; lean_object* x_5; +lean_dec(x_1); +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_6 = 0; +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_2); +return x_8; +} +else +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +switch (lean_obj_tag(x_9)) { +case 0: +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec_ref(x_1); +x_1 = x_10; +goto _start; +} +case 1: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec_ref(x_1); +x_13 = lean_ctor_get(x_9, 2); +lean_inc_ref(x_13); +lean_dec_ref(x_9); +x_14 = lean_array_to_list(x_13); +x_15 = l_List_appendTR___redArg(x_14, x_12); +x_1 = x_15; +goto _start; +} +case 2: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_2, 0); +x_18 = lean_ctor_get(x_2, 1); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +lean_dec_ref(x_1); +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_21 = lean_ctor_get(x_9, 1); +x_22 = lean_ctor_get(x_9, 0); +lean_dec(x_22); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_string_utf8_byte_size(x_17); +x_25 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_17, x_24, x_23); +x_26 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_17, x_25, x_24); +x_27 = lean_string_utf8_extract(x_17, x_25, x_26); +lean_dec(x_26); +lean_dec(x_25); +x_28 = lean_string_utf8_byte_size(x_21); +x_29 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_21, x_28, x_23); +x_30 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_21, x_29, x_28); +x_31 = lean_string_utf8_extract(x_21, x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +lean_dec_ref(x_21); +x_32 = lean_string_dec_eq(x_27, x_31); +lean_dec_ref(x_31); +lean_dec_ref(x_27); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_19); +x_33 = lean_box(x_32); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 1, x_2); +lean_ctor_set(x_9, 0, x_33); +return x_9; +} +else +{ +lean_free_object(x_9); +lean_inc(x_18); +lean_dec_ref(x_2); +x_1 = x_19; +x_2 = x_18; +goto _start; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_35 = lean_ctor_get(x_9, 1); +lean_inc(x_35); +lean_dec(x_9); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_string_utf8_byte_size(x_17); +x_38 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_17, x_37, x_36); +x_39 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_17, x_38, x_37); +x_40 = lean_string_utf8_extract(x_17, x_38, x_39); +lean_dec(x_39); +lean_dec(x_38); +x_41 = lean_string_utf8_byte_size(x_35); +x_42 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_35, x_41, x_36); +x_43 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_35, x_42, x_41); +x_44 = lean_string_utf8_extract(x_35, x_42, x_43); +lean_dec(x_43); +lean_dec(x_42); +lean_dec_ref(x_35); +x_45 = lean_string_dec_eq(x_40, x_44); +lean_dec_ref(x_44); +lean_dec_ref(x_40); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_19); +x_46 = lean_box(x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_2); +return x_47; +} +else +{ +lean_inc(x_18); +lean_dec_ref(x_2); +x_1 = x_19; +x_2 = x_18; +goto _start; +} +} +} +default: +{ +uint8_t x_49; +lean_dec_ref(x_9); +x_49 = !lean_is_exclusive(x_1); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_1, 1); +lean_dec(x_50); +x_51 = lean_ctor_get(x_1, 0); +lean_dec(x_51); +x_52 = 0; +x_53 = lean_box(x_52); +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_53); +return x_1; +} +else +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_1); +x_54 = 0; +x_55 = lean_box(x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_2); +return x_56; +} +} +} +} +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +x_5 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms_go(x_4, x_1); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec_ref(x_5); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_8, 0); +lean_inc_ref(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_3, 2); +x_11 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_11); +lean_dec_ref(x_2); +x_12 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0; +lean_inc(x_1); +x_13 = l_String_intercalate(x_12, x_1); +x_14 = l_Lean_Parser_mkParserState(x_13); +x_15 = lean_box(0); +x_16 = l_Lean_Parser_ParserState_pushSyntax(x_14, x_15); +x_17 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +lean_inc_ref(x_13); +x_18 = l_Lean_FileMap_ofString(x_13); +x_19 = lean_string_utf8_byte_size(x_13); +x_20 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_17); +lean_ctor_set(x_20, 2, x_18); +lean_ctor_set(x_20, 3, x_19); +x_21 = lean_box(0); +x_22 = lean_box(0); +lean_inc(x_10); +lean_inc_ref(x_9); +x_23 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_23, 0, x_9); +lean_ctor_set(x_23, 1, x_10); +lean_ctor_set(x_23, 2, x_21); +lean_ctor_set(x_23, 3, x_22); +x_24 = l_Lean_Parser_getTokenTable(x_9); +x_25 = l_Lean_Parser_ParserFn_run(x_11, x_20, x_23, x_24, x_16); +x_26 = lean_ctor_get(x_25, 0); +lean_inc_ref(x_26); +lean_dec_ref(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = l_Lean_Parser_SyntaxStack_size(x_26); +x_29 = l_Lean_Parser_SyntaxStack_extract(x_26, x_27, x_28); +lean_dec(x_28); +lean_dec_ref(x_26); +x_30 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3; +x_31 = lean_box(2); +x_32 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_29); +x_33 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms(x_1, x_32); +x_34 = lean_box(x_33); +lean_ctor_set(x_6, 0, x_34); +return x_6; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; +x_35 = lean_ctor_get(x_6, 0); +x_36 = lean_ctor_get(x_6, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_6); +x_37 = lean_ctor_get(x_35, 0); +lean_inc_ref(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_3, 2); +x_39 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_39); +lean_dec_ref(x_2); +x_40 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0; +lean_inc(x_1); +x_41 = l_String_intercalate(x_40, x_1); +x_42 = l_Lean_Parser_mkParserState(x_41); +x_43 = lean_box(0); +x_44 = l_Lean_Parser_ParserState_pushSyntax(x_42, x_43); +x_45 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +lean_inc_ref(x_41); +x_46 = l_Lean_FileMap_ofString(x_41); +x_47 = lean_string_utf8_byte_size(x_41); +x_48 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_45); +lean_ctor_set(x_48, 2, x_46); +lean_ctor_set(x_48, 3, x_47); +x_49 = lean_box(0); +x_50 = lean_box(0); +lean_inc(x_38); +lean_inc_ref(x_37); +x_51 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_51, 0, x_37); +lean_ctor_set(x_51, 1, x_38); +lean_ctor_set(x_51, 2, x_49); +lean_ctor_set(x_51, 3, x_50); +x_52 = l_Lean_Parser_getTokenTable(x_37); +x_53 = l_Lean_Parser_ParserFn_run(x_39, x_48, x_51, x_52, x_44); +x_54 = lean_ctor_get(x_53, 0); +lean_inc_ref(x_54); +lean_dec_ref(x_53); +x_55 = lean_unsigned_to_nat(1u); +x_56 = l_Lean_Parser_SyntaxStack_size(x_54); +x_57 = l_Lean_Parser_SyntaxStack_extract(x_54, x_55, x_56); +lean_dec(x_56); +lean_dec_ref(x_54); +x_58 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3; +x_59 = lean_box(2); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_57); +x_61 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_isAtoms(x_1, x_60); +x_62 = lean_box(x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_36); +return x_63; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(x_1, x_2, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_3, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_4, 2); +lean_inc(x_17); +lean_inc_ref(x_16); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_15); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_17); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_18); +lean_ctor_set(x_12, 0, x_7); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 0); +lean_inc_ref(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_2, 2); +x_23 = lean_ctor_get(x_4, 2); +lean_inc(x_23); +lean_inc_ref(x_22); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_21); +lean_ctor_set(x_24, 2, x_22); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_24); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_7); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +x_28 = lean_ctor_get(x_26, 0); +lean_inc_ref(x_28); +lean_dec(x_26); +x_29 = lean_st_ref_get(x_3, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_ctor_get(x_30, 0); +lean_inc_ref(x_33); +lean_dec(x_30); +x_34 = lean_ctor_get(x_2, 2); +x_35 = lean_ctor_get(x_4, 2); +lean_inc(x_35); +lean_inc_ref(x_34); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_35); +x_37 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_1); +if (lean_is_scalar(x_32)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_32; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_31); +return x_38; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec_ref(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec_ref(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); +return x_9; +} +} +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("while expanding", 15, 15); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_dec(x_9); +lean_inc_ref(x_1); +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 0, x_2); +x_10 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_10); +x_11 = l_Lean_MessageData_ofSyntax(x_8); +x_12 = l_Lean_indentD(x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +lean_inc_ref(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +x_18 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_18); +lean_ctor_set(x_3, 0, x_17); +x_19 = l_Lean_MessageData_ofSyntax(x_16); +x_20 = l_Lean_indentD(x_19); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +x_2 = x_21; +x_3 = x_15; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +lean_inc_ref(x_1); +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(7, 2, 0); +} else { + x_27 = x_26; + lean_ctor_set_tag(x_27, 7); +} +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_1); +x_28 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofSyntax(x_25); +x_31 = l_Lean_indentD(x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_2 = x_32; +x_3 = x_24; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_pp_macroStack; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0; +x_7 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_14); +lean_ctor_set(x_10, 0, x_1); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_MessageData_ofSyntax(x_12); +x_18 = l_Lean_indentD(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(x_14, x_19, x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_4); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_MessageData_ofSyntax(x_22); +x_28 = l_Lean_indentD(x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(x_23, x_29, x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_4); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec_ref(x_2); +lean_inc(x_14); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_12, x_14, x_6, x_13); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_10); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_19); +lean_ctor_set(x_10, 0, x_21); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +lean_dec_ref(x_2); +lean_inc(x_25); +x_26 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_23, x_25, x_6, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_30 = l_Lean_Elab_getBetterRef(x_9, x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +if (lean_is_scalar(x_29)) { + x_32 = lean_alloc_ctor(1, 2, 0); +} else { + x_32 = x_29; + lean_ctor_set_tag(x_32, 1); +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +x_10 = l_Lean_stringToMessageData(x_9); +x_11 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec_ref(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 2); +x_15 = l_Lean_Environment_evalConstCheck___redArg(x_13, x_14, x_1, x_2); +x_16 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec_ref(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_mkStr3(x_2, x_1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_22; lean_object* x_23; +x_22 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0; +x_23 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(x_1, x_24, x_7, x_8, x_25); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_inc(x_28); +x_16 = x_23; +x_17 = x_28; +x_18 = x_29; +goto block_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +lean_inc(x_31); +lean_inc(x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +x_17 = x_30; +x_18 = x_31; +goto block_21; +} +} +block_15: +{ +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec_ref(x_11); +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +else +{ +return x_11; +} +} +block_21: +{ +uint8_t x_19; +x_19 = l_Lean_Exception_isInterrupt(x_17); +if (x_19 == 0) +{ +uint8_t x_20; +x_20 = l_Lean_Exception_isRuntime(x_17); +lean_dec_ref(x_17); +x_10 = x_18; +x_11 = x_16; +x_12 = x_20; +goto block_15; +} +else +{ +lean_dec_ref(x_17); +x_10 = x_18; +x_11 = x_16; +x_12 = x_19; +goto block_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ppSpace", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ppLine", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ppHardSpace", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("optional", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("many", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("orelse", 6, 6); +return x_1; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 0); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_4, 1); +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_10 = lean_string_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +return x_10; +} +else +{ +lean_object* x_11; uint8_t x_12; +x_11 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_12 = lean_string_dec_eq(x_7, x_11); +if (x_12 == 0) +{ +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; +x_13 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3; +x_14 = lean_string_dec_eq(x_6, x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0; +x_16 = lean_string_dec_eq(x_6, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1; +x_18 = lean_string_dec_eq(x_6, x_17); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2; +x_20 = lean_string_dec_eq(x_6, x_19); +return x_20; +} +else +{ +return x_18; +} +} +else +{ +return x_16; +} +} +else +{ +return x_14; +} +} +} +} +else +{ +uint8_t x_21; +x_21 = 0; +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = 0; +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = 0; +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = 0; +return x_24; +} +} +case 1: +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_1, 0); +if (lean_obj_tag(x_25) == 1) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_25, 0); +if (lean_obj_tag(x_26) == 1) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 0); +if (lean_obj_tag(x_27) == 1) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_27, 0); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_29 = lean_ctor_get(x_25, 1); +x_30 = lean_ctor_get(x_26, 1); +x_31 = lean_ctor_get(x_27, 1); +x_32 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_33 = lean_string_dec_eq(x_31, x_32); +if (x_33 == 0) +{ +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; +x_34 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_35 = lean_string_dec_eq(x_30, x_34); +if (x_35 == 0) +{ +return x_35; +} +else +{ +lean_object* x_36; uint8_t x_37; +x_36 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3; +x_37 = lean_string_dec_eq(x_29, x_36); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4; +x_39 = lean_string_dec_eq(x_29, x_38); +return x_39; +} +else +{ +return x_37; +} +} +} +} +else +{ +uint8_t x_40; +x_40 = 0; +return x_40; +} +} +else +{ +uint8_t x_41; +x_41 = 0; +return x_41; +} +} +else +{ +uint8_t x_42; +x_42 = 0; +return x_42; +} +} +else +{ +uint8_t x_43; +x_43 = 0; +return x_43; +} +} +case 2: +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_1, 0); +if (lean_obj_tag(x_44) == 1) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_44, 0); +if (lean_obj_tag(x_45) == 1) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +if (lean_obj_tag(x_46) == 1) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 0); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_48 = lean_ctor_get(x_1, 1); +x_49 = lean_ctor_get(x_1, 2); +x_50 = lean_ctor_get(x_44, 1); +x_51 = lean_ctor_get(x_45, 1); +x_52 = lean_ctor_get(x_46, 1); +x_53 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_54 = lean_string_dec_eq(x_52, x_53); +if (x_54 == 0) +{ +return x_54; +} +else +{ +lean_object* x_55; uint8_t x_56; +x_55 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_56 = lean_string_dec_eq(x_51, x_55); +if (x_56 == 0) +{ +return x_56; +} +else +{ +lean_object* x_57; uint8_t x_58; +x_57 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_58 = lean_string_dec_eq(x_50, x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_60 = lean_string_dec_eq(x_50, x_59); +if (x_60 == 0) +{ +return x_60; +} +else +{ +uint8_t x_61; +x_61 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(x_48); +if (x_61 == 0) +{ +x_1 = x_49; +goto _start; +} +else +{ +return x_61; +} +} +} +else +{ +uint8_t x_63; +x_63 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(x_48); +if (x_63 == 0) +{ +return x_63; +} +else +{ +x_1 = x_49; +goto _start; +} +} +} +} +} +else +{ +uint8_t x_65; +x_65 = 0; +return x_65; +} +} +else +{ +uint8_t x_66; +x_66 = 0; +return x_66; +} +} +else +{ +uint8_t x_67; +x_67 = 0; +return x_67; +} +} +else +{ +uint8_t x_68; +x_68 = 0; +return x_68; +} +} +case 3: +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_1, 2); +x_1 = x_69; +goto _start; +} +case 4: +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_1, 3); +x_1 = x_71; +goto _start; +} +default: +{ +uint8_t x_73; +x_73 = 0; +return x_73; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(x_1); +lean_dec_ref(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_8); +lean_dec_ref(x_2); +x_2 = x_8; +goto _start; +} +case 2: +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 1) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 1) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 1) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_2); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_2, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_18); +lean_dec_ref(x_10); +x_19 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_19); +lean_dec_ref(x_11); +x_20 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_20); +lean_dec_ref(x_12); +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_22 = lean_string_dec_eq(x_20, x_21); +lean_dec_ref(x_20); +if (x_22 == 0) +{ +lean_dec_ref(x_19); +lean_dec_ref(x_18); +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_24 = lean_string_dec_eq(x_19, x_23); +lean_dec_ref(x_19); +if (x_24 == 0) +{ +lean_dec_ref(x_18); +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_26 = lean_string_dec_eq(x_18, x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_28 = lean_string_dec_eq(x_18, x_27); +lean_dec_ref(x_18); +if (x_28 == 0) +{ +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_15, x_3); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec_ref(x_29); +x_32 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_16, x_31); +if (lean_obj_tag(x_30) == 0) +{ +lean_free_object(x_2); +return x_32; +} +else +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_free_object(x_2); +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_32, 0); +lean_dec(x_35); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_30); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_32, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +lean_dec_ref(x_30); +x_41 = !lean_is_exclusive(x_33); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_33, 0); +x_43 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_42); +lean_ctor_set(x_2, 1, x_40); +lean_ctor_set(x_2, 0, x_43); +lean_ctor_set(x_33, 0, x_2); +return x_32; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +lean_inc(x_44); +lean_dec(x_33); +x_45 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_44); +lean_ctor_set(x_2, 1, x_40); +lean_ctor_set(x_2, 0, x_45); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_2); +lean_ctor_set(x_32, 0, x_46); +return x_32; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_dec(x_32); +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +lean_dec_ref(x_30); +x_49 = lean_ctor_get(x_33, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + x_50 = x_33; +} else { + lean_dec_ref(x_33); + x_50 = lean_box(0); +} +x_51 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_49); +lean_ctor_set(x_2, 1, x_48); +lean_ctor_set(x_2, 0, x_51); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_50; +} +lean_ctor_set(x_52, 0, x_2); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_47); +return x_53; +} +} +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; +lean_dec_ref(x_18); +x_54 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_15, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; +lean_free_object(x_2); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec_ref(x_54); +x_2 = x_16; +x_3 = x_56; +goto _start; +} +else +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_54); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_54, 0); +lean_dec(x_59); +x_60 = !lean_is_exclusive(x_55); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_55, 0); +x_62 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_61); +lean_ctor_set(x_2, 0, x_62); +lean_ctor_set(x_55, 0, x_2); +return x_54; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_55, 0); +lean_inc(x_63); +lean_dec(x_55); +x_64 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_63); +lean_ctor_set(x_2, 0, x_64); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_2); +lean_ctor_set(x_54, 0, x_65); +return x_54; +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_54, 1); +lean_inc(x_66); +lean_dec(x_54); +x_67 = lean_ctor_get(x_55, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + x_68 = x_55; +} else { + lean_dec_ref(x_55); + x_68 = lean_box(0); +} +x_69 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_67); +lean_ctor_set(x_2, 0, x_69); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(1, 1, 0); +} else { + x_70 = x_68; +} +lean_ctor_set(x_70, 0, x_2); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_66); +return x_71; +} +} +} +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_72 = lean_ctor_get(x_2, 1); +x_73 = lean_ctor_get(x_2, 2); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_2); +x_74 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_74); +lean_dec_ref(x_10); +x_75 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_75); +lean_dec_ref(x_11); +x_76 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_76); +lean_dec_ref(x_12); +x_77 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_78 = lean_string_dec_eq(x_76, x_77); +lean_dec_ref(x_76); +if (x_78 == 0) +{ +lean_dec_ref(x_75); +lean_dec_ref(x_74); +lean_dec_ref(x_73); +lean_dec_ref(x_72); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_79; uint8_t x_80; +x_79 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_80 = lean_string_dec_eq(x_75, x_79); +lean_dec_ref(x_75); +if (x_80 == 0) +{ +lean_dec_ref(x_74); +lean_dec_ref(x_73); +lean_dec_ref(x_72); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_81; uint8_t x_82; +x_81 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_82 = lean_string_dec_eq(x_74, x_81); +if (x_82 == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_84 = lean_string_dec_eq(x_74, x_83); +lean_dec_ref(x_74); +if (x_84 == 0) +{ +lean_dec_ref(x_73); +lean_dec_ref(x_72); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_72, x_3); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec_ref(x_85); +x_88 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_73, x_87); +if (lean_obj_tag(x_86) == 0) +{ +return x_88; +} +else +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_91 = x_88; +} else { + lean_dec_ref(x_88); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_94 = x_88; +} else { + lean_dec_ref(x_88); + x_94 = lean_box(0); +} +x_95 = lean_ctor_get(x_86, 0); +lean_inc(x_95); +lean_dec_ref(x_86); +x_96 = lean_ctor_get(x_89, 0); +lean_inc(x_96); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + x_97 = x_89; +} else { + lean_dec_ref(x_89); + x_97 = lean_box(0); +} +x_98 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +x_99 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_95); +lean_ctor_set(x_99, 2, x_96); +if (lean_is_scalar(x_97)) { + x_100 = lean_alloc_ctor(1, 1, 0); +} else { + x_100 = x_97; +} +lean_ctor_set(x_100, 0, x_99); +if (lean_is_scalar(x_94)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_94; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_93); +return x_101; +} +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; +lean_dec_ref(x_74); +x_102 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_72, x_3); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec_ref(x_102); +x_2 = x_73; +x_3 = x_104; +goto _start; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_106 = lean_ctor_get(x_102, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_107 = x_102; +} else { + lean_dec_ref(x_102); + x_107 = lean_box(0); +} +x_108 = lean_ctor_get(x_103, 0); +lean_inc(x_108); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + x_109 = x_103; +} else { + lean_dec_ref(x_103); + x_109 = lean_box(0); +} +x_110 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +x_111 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_108); +lean_ctor_set(x_111, 2, x_73); +if (lean_is_scalar(x_109)) { + x_112 = lean_alloc_ctor(1, 1, 0); +} else { + x_112 = x_109; +} +lean_ctor_set(x_112, 0, x_111); +if (lean_is_scalar(x_107)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_107; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_106); +return x_113; +} +} +} +} +} +} +else +{ +lean_dec_ref(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +case 3: +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_114); +lean_dec_ref(x_2); +x_2 = x_114; +goto _start; +} +case 4: +{ +lean_object* x_116; +x_116 = lean_ctor_get(x_2, 3); +lean_inc_ref(x_116); +lean_dec_ref(x_2); +x_2 = x_116; +goto _start; +} +case 5: +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_118 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_118); +lean_dec_ref(x_2); +x_119 = lean_unsigned_to_nat(0u); +x_120 = lean_string_utf8_byte_size(x_118); +x_121 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_118, x_120, x_119); +x_122 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_118, x_121, x_120); +x_123 = lean_string_utf8_extract(x_118, x_121, x_122); +lean_dec(x_122); +lean_dec(x_121); +lean_dec_ref(x_118); +x_124 = lean_string_dec_eq(x_123, x_1); +lean_dec_ref(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_3); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2; +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_3); +return x_128; +} +} +case 6: +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_129 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_129); +lean_dec_ref(x_2); +x_130 = lean_unsigned_to_nat(0u); +x_131 = lean_string_utf8_byte_size(x_129); +x_132 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_129, x_131, x_130); +x_133 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_129, x_132, x_131); +x_134 = lean_string_utf8_extract(x_129, x_132, x_133); +lean_dec(x_133); +lean_dec(x_132); +lean_dec_ref(x_129); +x_135 = lean_string_dec_eq(x_134, x_1); +lean_dec_ref(x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_box(0); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_3); +return x_137; +} +else +{ +lean_object* x_138; lean_object* x_139; +x_138 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2; +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_3); +return x_139; +} +} +default: +{ +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +block_7: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_2, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_8); +lean_dec_ref(x_2); +x_2 = x_8; +goto _start; +} +case 2: +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 1) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 1) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 1) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_2); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_2, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_18); +lean_dec_ref(x_10); +x_19 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_19); +lean_dec_ref(x_11); +x_20 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_20); +lean_dec_ref(x_12); +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_22 = lean_string_dec_eq(x_20, x_21); +lean_dec_ref(x_20); +if (x_22 == 0) +{ +lean_dec_ref(x_19); +lean_dec_ref(x_18); +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_24 = lean_string_dec_eq(x_19, x_23); +lean_dec_ref(x_19); +if (x_24 == 0) +{ +lean_dec_ref(x_18); +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_26 = lean_string_dec_eq(x_18, x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_28 = lean_string_dec_eq(x_18, x_27); +lean_dec_ref(x_18); +if (x_28 == 0) +{ +lean_free_object(x_2); +lean_dec_ref(x_16); +lean_dec_ref(x_15); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_15, x_3); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec_ref(x_29); +x_32 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_16, x_31); +if (lean_obj_tag(x_30) == 0) +{ +lean_free_object(x_2); +return x_32; +} +else +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_free_object(x_2); +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_32, 0); +lean_dec(x_35); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_30); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_32, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +lean_dec_ref(x_30); +x_41 = !lean_is_exclusive(x_33); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_33, 0); +x_43 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_42); +lean_ctor_set(x_2, 1, x_40); +lean_ctor_set(x_2, 0, x_43); +lean_ctor_set(x_33, 0, x_2); +return x_32; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +lean_inc(x_44); +lean_dec(x_33); +x_45 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_44); +lean_ctor_set(x_2, 1, x_40); +lean_ctor_set(x_2, 0, x_45); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_2); +lean_ctor_set(x_32, 0, x_46); +return x_32; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_dec(x_32); +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +lean_dec_ref(x_30); +x_49 = lean_ctor_get(x_33, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + x_50 = x_33; +} else { + lean_dec_ref(x_33); + x_50 = lean_box(0); +} +x_51 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +lean_ctor_set(x_2, 2, x_49); +lean_ctor_set(x_2, 1, x_48); +lean_ctor_set(x_2, 0, x_51); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_50; +} +lean_ctor_set(x_52, 0, x_2); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_47); +return x_53; +} +} +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; +lean_dec_ref(x_18); +lean_inc_ref(x_15); +x_54 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(x_1, x_15, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; uint8_t x_57; +lean_free_object(x_2); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +x_57 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(x_15); +lean_dec_ref(x_15); +if (x_57 == 0) +{ +lean_dec(x_56); +lean_dec_ref(x_16); +return x_54; +} +else +{ +lean_dec_ref(x_54); +x_2 = x_16; +x_3 = x_56; +goto _start; +} +} +else +{ +uint8_t x_59; +lean_dec_ref(x_15); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; uint8_t x_61; +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +x_61 = !lean_is_exclusive(x_55); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_55, 0); +x_63 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_62); +lean_ctor_set(x_2, 0, x_63); +lean_ctor_set(x_55, 0, x_2); +return x_54; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_55, 0); +lean_inc(x_64); +lean_dec(x_55); +x_65 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_64); +lean_ctor_set(x_2, 0, x_65); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_2); +lean_ctor_set(x_54, 0, x_66); +return x_54; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_67 = lean_ctor_get(x_54, 1); +lean_inc(x_67); +lean_dec(x_54); +x_68 = lean_ctor_get(x_55, 0); +lean_inc(x_68); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + x_69 = x_55; +} else { + lean_dec_ref(x_55); + x_69 = lean_box(0); +} +x_70 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +lean_ctor_set(x_2, 1, x_68); +lean_ctor_set(x_2, 0, x_70); +if (lean_is_scalar(x_69)) { + x_71 = lean_alloc_ctor(1, 1, 0); +} else { + x_71 = x_69; +} +lean_ctor_set(x_71, 0, x_2); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_67); +return x_72; +} +} +} +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_73 = lean_ctor_get(x_2, 1); +x_74 = lean_ctor_get(x_2, 2); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_2); +x_75 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_75); +lean_dec_ref(x_10); +x_76 = lean_ctor_get(x_11, 1); +lean_inc_ref(x_76); +lean_dec_ref(x_11); +x_77 = lean_ctor_get(x_12, 1); +lean_inc_ref(x_77); +lean_dec_ref(x_12); +x_78 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_79 = lean_string_dec_eq(x_77, x_78); +lean_dec_ref(x_77); +if (x_79 == 0) +{ +lean_dec_ref(x_76); +lean_dec_ref(x_75); +lean_dec_ref(x_74); +lean_dec_ref(x_73); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_80; uint8_t x_81; +x_80 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3; +x_81 = lean_string_dec_eq(x_76, x_80); +lean_dec_ref(x_76); +if (x_81 == 0) +{ +lean_dec_ref(x_75); +lean_dec_ref(x_74); +lean_dec_ref(x_73); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_82; uint8_t x_83; +x_82 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13; +x_83 = lean_string_dec_eq(x_75, x_82); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5; +x_85 = lean_string_dec_eq(x_75, x_84); +lean_dec_ref(x_75); +if (x_85 == 0) +{ +lean_dec_ref(x_74); +lean_dec_ref(x_73); +x_4 = x_3; +goto block_7; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_73, x_3); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_1, x_74, x_88); +if (lean_obj_tag(x_87) == 0) +{ +return x_89; +} +else +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_92 = x_89; +} else { + lean_dec_ref(x_89); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_87); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_95 = x_89; +} else { + lean_dec_ref(x_89); + x_95 = lean_box(0); +} +x_96 = lean_ctor_get(x_87, 0); +lean_inc(x_96); +lean_dec_ref(x_87); +x_97 = lean_ctor_get(x_90, 0); +lean_inc(x_97); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_98 = x_90; +} else { + lean_dec_ref(x_90); + x_98 = lean_box(0); +} +x_99 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; +x_100 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_96); +lean_ctor_set(x_100, 2, x_97); +if (lean_is_scalar(x_98)) { + x_101 = lean_alloc_ctor(1, 1, 0); +} else { + x_101 = x_98; +} +lean_ctor_set(x_101, 0, x_100); +if (lean_is_scalar(x_95)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_95; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_94); +return x_102; +} +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec_ref(x_75); +lean_inc_ref(x_73); +x_103 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(x_1, x_73, x_3); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +x_106 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps(x_73); +lean_dec_ref(x_73); +if (x_106 == 0) +{ +lean_dec(x_105); +lean_dec_ref(x_74); +return x_103; +} +else +{ +lean_dec_ref(x_103); +x_2 = x_74; +x_3 = x_105; +goto _start; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec_ref(x_73); +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_109 = x_103; +} else { + lean_dec_ref(x_103); + x_109 = lean_box(0); +} +x_110 = lean_ctor_get(x_104, 0); +lean_inc(x_110); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + x_111 = x_104; +} else { + lean_dec_ref(x_104); + x_111 = lean_box(0); +} +x_112 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; +x_113 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_110); +lean_ctor_set(x_113, 2, x_74); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(1, 1, 0); +} else { + x_114 = x_111; +} +lean_ctor_set(x_114, 0, x_113); +if (lean_is_scalar(x_109)) { + x_115 = lean_alloc_ctor(0, 2, 0); +} else { + x_115 = x_109; +} +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_108); +return x_115; +} +} +} +} +} +} +else +{ +lean_dec_ref(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +else +{ +lean_dec(x_10); +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +case 3: +{ +lean_object* x_116; +x_116 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_116); +lean_dec_ref(x_2); +x_2 = x_116; +goto _start; +} +case 4: +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_2, 3); +lean_inc_ref(x_118); +lean_dec_ref(x_2); +x_2 = x_118; +goto _start; +} +case 5: +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_120 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_120); +lean_dec_ref(x_2); +x_121 = lean_unsigned_to_nat(0u); +x_122 = lean_string_utf8_byte_size(x_120); +x_123 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_120, x_122, x_121); +x_124 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_120, x_123, x_122); +x_125 = lean_string_utf8_extract(x_120, x_123, x_124); +lean_dec(x_124); +lean_dec(x_123); +lean_dec_ref(x_120); +x_126 = lean_string_dec_eq(x_125, x_1); +lean_dec_ref(x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_box(0); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_3); +return x_128; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2; +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_3); +return x_130; +} +} +case 6: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_131 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_131); +lean_dec_ref(x_2); +x_132 = lean_unsigned_to_nat(0u); +x_133 = lean_string_utf8_byte_size(x_131); +x_134 = l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(x_131, x_133, x_132); +x_135 = l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1(x_131, x_134, x_133); +x_136 = lean_string_utf8_extract(x_131, x_134, x_135); +lean_dec(x_135); +lean_dec(x_134); +lean_dec_ref(x_131); +x_137 = lean_string_dec_eq(x_136, x_1); +lean_dec_ref(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; +x_138 = lean_box(0); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_3); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; +x_140 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2; +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_3); +return x_141; +} +} +default: +{ +lean_dec_ref(x_2); +x_4 = x_3; +goto block_7; +} +} +block_7: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(x_1, x_2, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_4; lean_object* x_5; lean_object* x_6; +lean_dec_ref(x_2); +x_4 = 1; +x_5 = lean_box(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(x_7, x_2, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = 0; +x_14 = lean_box(x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = 0; +x_17 = lean_box(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_dec_ref(x_9); +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); +lean_dec_ref(x_10); +x_1 = x_8; +x_2 = x_20; +x_3 = x_19; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg(x_1, x_2, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_4; lean_object* x_5; lean_object* x_6; +lean_dec_ref(x_2); +x_4 = 1; +x_5 = lean_box(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg(x_7, x_2, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = 0; +x_14 = lean_box(x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = 0; +x_17 = lean_box(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_dec_ref(x_9); +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); +lean_dec_ref(x_10); +lean_inc(x_20); +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtoms___redArg(x_8, x_20, x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec_ref(x_21); +x_2 = x_20; +x_3 = x_24; +goto _start; +} +else +{ +lean_dec(x_20); +return x_21; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(x_1, x_2, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_22; lean_object* x_23; +x_22 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0; +x_23 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(x_1, x_24, x_25); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_inc(x_28); +x_16 = x_23; +x_17 = x_28; +x_18 = x_29; +goto block_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +lean_inc(x_31); +lean_inc(x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +x_17 = x_30; +x_18 = x_31; +goto block_21; +} +} +block_15: +{ +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec_ref(x_10); +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +return x_10; +} +} +block_21: +{ +uint8_t x_19; +x_19 = l_Lean_Exception_isInterrupt(x_17); +if (x_19 == 0) +{ +uint8_t x_20; +x_20 = l_Lean_Exception_isRuntime(x_17); +lean_dec_ref(x_17); +x_10 = x_16; +x_11 = x_18; +x_12 = x_20; +goto block_15; +} +else +{ +lean_dec_ref(x_17); +x_10 = x_16; +x_11 = x_18; +x_12 = x_19; +goto block_15; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_15 = lean_st_ref_get(x_8, x_9); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc_ref(x_18); +lean_dec(x_16); +x_19 = 0; +lean_inc(x_1); +x_20 = l_Lean_Environment_find_x3f(x_18, x_1, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_10 = x_17; +goto block_14; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec_ref(x_20); +lean_inc(x_21); +x_22 = l_Lean_ConstantInfo_value_x3f(x_21, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; +x_23 = l_Lean_ConstantInfo_type(x_21); +lean_dec(x_21); +x_24 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0; +x_25 = lean_expr_eqv(x_23, x_24); +x_26 = 1; +if (x_25 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1; +x_28 = lean_expr_eqv(x_23, x_27); +lean_dec_ref(x_23); +if (x_28 == 0) +{ +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_10 = x_17; +goto block_14; +} +else +{ +lean_object* x_29; +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_2); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec_ref(x_29); +x_10 = x_32; +goto block_14; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_29, 0); +lean_dec(x_34); +x_35 = lean_box(x_26); +lean_ctor_set(x_29, 0, x_35); +return x_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +lean_dec(x_29); +x_37 = lean_box(x_26); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +else +{ +return x_29; +} +} +} +else +{ +lean_object* x_39; +lean_dec_ref(x_23); +x_39 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_unbox(x_40); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec_ref(x_39); +x_10 = x_42; +goto block_14; +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_39, 0); +lean_dec(x_44); +x_45 = lean_box(x_26); +lean_ctor_set(x_39, 0, x_45); +return x_39; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_dec(x_39); +x_47 = lean_box(x_26); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +} +else +{ +return x_39; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_21); +lean_dec_ref(x_3); +lean_dec(x_1); +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec_ref(x_22); +x_50 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms(x_49, x_2, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec_ref(x_50); +x_10 = x_53; +goto block_14; +} +else +{ +return x_50; +} +} +else +{ +return x_50; +} +} +} +block_14: +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_11 = 0; +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_19; uint8_t x_24; +x_24 = lean_usize_dec_eq(x_3, x_4); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_array_uget(x_2, x_3); +switch (lean_obj_tag(x_25)) { +case 0: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec_ref(x_25); +lean_inc_ref(x_1); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_28 = lean_apply_10(x_1, x_5, x_26, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_19 = x_28; +goto block_23; +} +case 1: +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec_ref(x_25); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_1); +x_30 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(x_1, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_19 = x_30; +goto block_23; +} +default: +{ +x_13 = x_5; +x_14 = x_12; +goto block_18; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_5); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_12); +return x_32; +} +block_18: +{ +size_t x_15; size_t x_16; +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_3 = x_16; +x_5 = x_13; +x_12 = x_14; +goto _start; +} +block_23: +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_inc_ref(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec_ref(x_20); +x_13 = x_22; +x_14 = x_21; +goto block_18; +} +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_array_get_size(x_2); +x_14 = lean_nat_dec_lt(x_4, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_5); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_array_fget_borrowed(x_2, x_4); +x_18 = lean_array_fget_borrowed(x_3, x_4); +lean_inc_ref(x_1); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_18); +lean_inc(x_17); +x_19 = lean_apply_10(x_1, x_5, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec_ref(x_20); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_4, x_23); +lean_dec(x_4); +x_4 = x_24; +x_5 = x_22; +x_12 = x_21; +goto _start; +} +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +x_18 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(x_5, x_6, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get_size(x_12); +x_15 = lean_nat_dec_lt(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_14); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 0, x_3); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = lean_nat_dec_le(x_14, x_14); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_14); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 0, x_3); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +size_t x_19; size_t x_20; lean_object* x_21; +lean_free_object(x_2); +x_19 = 0; +x_20 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_12, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_12); +return x_21; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +lean_dec(x_2); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_array_get_size(x_22); +x_25 = lean_nat_dec_lt(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_24); +lean_dec_ref(x_22); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_3); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_10); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = lean_nat_dec_le(x_24, x_24); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_24); +lean_dec_ref(x_22); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_3); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_10); +return x_30; +} +else +{ +size_t x_31; size_t x_32; lean_object* x_33; +x_31 = 0; +x_32 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_33 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_22, x_31, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_22); +return x_33; +} +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_34); +x_35 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_35); +lean_dec_ref(x_2); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_34, x_35, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_35); +lean_dec_ref(x_34); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(x_5, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_4); +x_13 = lean_apply_9(x_1, x_12, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_ctor_get(x_14, 0); +lean_inc(x_21); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_22 = x_14; +} else { + lean_dec_ref(x_14); + x_22 = lean_box(0); +} +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 1, 0); +} else { + x_23 = x_22; +} +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_20); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_13); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_13, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) +{ +return x_13; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_14, 0); +lean_inc(x_28); +lean_dec(x_14); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_13, 0, x_29); +return x_13; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_dec(x_13); +x_31 = lean_ctor_get(x_14, 0); +lean_inc(x_31); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_32 = x_14; +} else { + lean_dec_ref(x_14); + x_32 = lean_box(0); +} +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(1, 1, 0); +} else { + x_33 = x_32; +} +lean_ctor_set(x_33, 0, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +return x_34; +} +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_13); +if (x_35 == 0) +{ +return x_13; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_13, 0); +x_37 = lean_ctor_get(x_13, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_13); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg___lam__0), 11, 1); +lean_closure_set(x_11, 0, x_3); +x_12 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(x_11, x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +lean_dec_ref(x_2); +lean_inc(x_11); +x_12 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_11, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_11); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 0); +lean_dec(x_16); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_3); +lean_ctor_set(x_12, 0, x_17); +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_3); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); +lean_dec(x_22); +x_23 = lean_array_push(x_3, x_11); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_12, 0, x_24); +return x_12; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_12, 1); +lean_inc(x_25); +lean_dec(x_12); +x_26 = lean_array_push(x_3, x_11); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_dec(x_11); +lean_dec_ref(x_3); +x_29 = !lean_is_exclusive(x_12); +if (x_29 == 0) +{ +return x_12; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_12, 0); +x_31 = lean_ctor_get(x_12, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_12); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_16 = lean_ctor_get(x_15, 1); +lean_inc_ref(x_16); +x_17 = lean_ctor_get(x_16, 0); +lean_inc_ref(x_17); +lean_dec_ref(x_16); +x_18 = lean_ctor_get(x_17, 2); +lean_inc(x_18); +lean_dec_ref(x_17); +x_19 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_20 = l_Lean_ScopedEnvExtension_getState___redArg(x_19, x_15, x_14, x_18); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 2); +lean_inc_ref(x_21); +lean_dec_ref(x_20); +x_22 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_21, x_1); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_23 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +lean_ctor_set(x_10, 0, x_23); +return x_10; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_free_object(x_10); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_24, 1); +lean_inc_ref(x_25); +lean_dec(x_24); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0___boxed), 10, 1); +lean_closure_set(x_26, 0, x_2); +x_27 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_28 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(x_25, x_27, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_10, 0); +x_30 = lean_ctor_get(x_10, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_10); +x_31 = lean_ctor_get(x_29, 0); +lean_inc_ref(x_31); +lean_dec(x_29); +x_32 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_33 = lean_ctor_get(x_32, 1); +lean_inc_ref(x_33); +x_34 = lean_ctor_get(x_33, 0); +lean_inc_ref(x_34); +lean_dec_ref(x_33); +x_35 = lean_ctor_get(x_34, 2); +lean_inc(x_35); +lean_dec_ref(x_34); +x_36 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_37 = l_Lean_ScopedEnvExtension_getState___redArg(x_36, x_32, x_31, x_35); +lean_dec(x_35); +x_38 = lean_ctor_get(x_37, 2); +lean_inc_ref(x_38); +lean_dec_ref(x_37); +x_39 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_38, x_1); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_40 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_30); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +lean_dec_ref(x_39); +x_43 = lean_ctor_get(x_42, 1); +lean_inc_ref(x_43); +lean_dec(x_42); +x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0___boxed), 10, 1); +lean_closure_set(x_44, 0, x_2); +x_45 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_46 = l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(x_43, x_45, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +return x_46; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec_ref(x_6); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(1u); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_7; +x_7 = lean_unsigned_to_nat(0u); +x_3 = x_7; +goto block_6; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_1, 0); +x_3 = x_8; +goto block_6; +} +block_6: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_nat_add(x_2, x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_ctor_get(x_2, 3); +x_8 = lean_ctor_get(x_2, 4); +x_9 = l_Lean_Name_quickCmp(x_1, x_5); +switch (x_9) { +case 0: +{ +lean_object* x_10; lean_object* x_11; +lean_free_object(x_2); +lean_dec(x_4); +x_10 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_7); +x_11 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_10, x_8); +return x_11; +} +case 1: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_6); +x_13 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_12); +lean_dec_ref(x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +lean_ctor_set(x_2, 2, x_14); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +default: +{ +lean_object* x_15; lean_object* x_16; +lean_free_object(x_2); +lean_dec(x_4); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_8); +x_16 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_7, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_2, 0); +x_18 = lean_ctor_get(x_2, 1); +x_19 = lean_ctor_get(x_2, 2); +x_20 = lean_ctor_get(x_2, 3); +x_21 = lean_ctor_get(x_2, 4); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_2); +x_22 = l_Lean_Name_quickCmp(x_1, x_18); +switch (x_22) { +case 0: +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_17); +x_23 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_20); +x_24 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_23, x_21); +return x_24; +} +case 1: +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_19); +x_26 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_25); +lean_dec_ref(x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_1); +lean_ctor_set(x_28, 2, x_27); +lean_ctor_set(x_28, 3, x_20); +lean_ctor_set(x_28, 4, x_21); +return x_28; +} +default: +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_17); +x_29 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_21); +x_30 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_20, x_29); +return x_30; +} +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_box(0); +x_32 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_1); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_2); +lean_ctor_set(x_35, 4, x_2); +return x_35; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_1, x_2); +return x_4; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" (cat := ", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0; +x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_6, x_1); +x_11 = lean_string_append(x_9, x_10); +lean_dec_ref(x_10); +x_12 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +x_13 = lean_string_append(x_11, x_12); +x_14 = 1; +x_15 = lean_usize_add(x_3, x_14); +x_16 = lean_array_uset(x_8, x_3, x_13); +x_3 = x_15; +x_4 = x_16; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_6 = lean_array_uget(x_1, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec_ref(x_6); +x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_7, x_4); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +x_4 = x_8; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_6 = lean_array_uget(x_1, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec_ref(x_6); +x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg(x_7, x_4); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(x_1, x_2, x_10, x_8); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_2, 1); +x_4 = lean_ctor_get(x_2, 3); +x_5 = lean_ctor_get(x_2, 4); +x_6 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_1, x_5); +lean_inc(x_3); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_6); +x_1 = x_7; +x_2 = x_4; +goto _start; +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l_Lean_Name_toString(x_2, x_1); +x_5 = l_Lean_Name_toString(x_3, x_1); +x_6 = lean_string_dec_lt(x_4, x_5); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_dec(x_3); +return x_2; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed), 3, 1); +lean_closure_set(x_7, 0, x_6); +lean_inc(x_3); +x_8 = l_Array_qpartition___redArg(x_2, x_7, x_3, x_4); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec_ref(x_8); +x_11 = lean_nat_dec_le(x_4, x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_1, x_10, x_3, x_9); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_9, x_13); +lean_dec(x_9); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +else +{ +lean_dec(x_9); +lean_dec(x_3); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_1, x_3, x_4, x_5); +return x_9; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_dec_eq(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Name_isAnonymous(x_1); +if (x_3 == 0) +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed), 2, 0); +x_11 = lean_box(1); +x_12 = lean_array_size(x_2); +x_13 = 0; +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(x_2, x_12, x_13, x_11); +x_15 = l_Std_DTreeMap_Internal_Impl_filter___at___Lean_NameMap_filter_spec__0___redArg(x_10, x_14); +x_16 = lean_box(0); +x_17 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_16, x_15); +lean_dec(x_15); +x_18 = lean_array_mk(x_17); +x_23 = lean_array_get_size(x_18); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_nat_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_31; +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_sub(x_23, x_26); +lean_dec(x_23); +x_31 = lean_nat_dec_le(x_24, x_27); +if (x_31 == 0) +{ +lean_inc(x_27); +x_28 = x_27; +goto block_30; +} +else +{ +x_28 = x_24; +goto block_30; +} +block_30: +{ +uint8_t x_29; +x_29 = lean_nat_dec_le(x_28, x_27); +if (x_29 == 0) +{ +lean_dec(x_27); +lean_inc(x_28); +x_19 = x_28; +x_20 = x_28; +goto block_22; +} +else +{ +x_19 = x_28; +x_20 = x_27; +goto block_22; +} +} +} +else +{ +lean_dec(x_23); +x_4 = x_18; +goto block_8; +} +block_22: +{ +lean_object* x_21; +x_21 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_3, x_18, x_19, x_20); +lean_dec(x_20); +x_4 = x_21; +goto block_8; +} +} +block_8: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_array_size(x_4); +x_6 = 0; +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(x_3, x_5, x_6, x_4); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_5 = lean_unbox(x_1); +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(x_5, x_6, x_7, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2_spec__2(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__2(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +x_5 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(x_4, x_2, x_3); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +x_6 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_5, x_2, x_3, x_4); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_ctor_get(x_1, 2); +x_5 = lean_ctor_get(x_1, 3); +x_6 = lean_ctor_get(x_1, 4); +x_7 = l_Lean_Name_quickCmp(x_2, x_3); +switch (x_7) { +case 0: +{ +x_1 = x_5; +goto _start; +} +case 1: +{ +lean_object* x_9; +lean_inc(x_4); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_4); +return x_9; +} +default: +{ +x_1 = x_6; +goto _start; +} +} +} +else +{ +lean_object* x_11; +x_11 = lean_box(0); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l_Lean_LocalDecl_userName(x_1); +x_4 = lean_name_eq(x_3, x_2); +lean_dec(x_3); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec_ref(x_1); +x_5 = lean_box(0); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_1); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +if (x_9 == 1) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec(x_4); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_7, x_11); +lean_dec(x_7); +x_16 = lean_array_fget_borrowed(x_6, x_12); +if (lean_obj_tag(x_16) == 0) +{ +x_13 = x_16; +goto block_15; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_16, 0); +x_18 = l_Lean_LocalDecl_isAuxDecl(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_inc(x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(x_17, x_1); +x_13 = x_19; +goto block_15; +} +else +{ +if (x_2 == 0) +{ +if (x_18 == 0) +{ +x_7 = x_12; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = l_Lean_LocalDecl_fvarId(x_17); +x_22 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg(x_3, x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_inc(x_17); +x_23 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(x_17, x_1); +x_13 = x_23; +goto block_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_52; lean_object* x_53; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = l_Lean_extractMacroScopes(x_24); +x_52 = lean_ctor_get(x_25, 0); +lean_inc(x_52); +lean_inc(x_52); +x_53 = lean_private_to_user_name(x_52); +if (lean_obj_tag(x_53) == 0) +{ +x_26 = x_52; +goto block_51; +} +else +{ +lean_object* x_54; +lean_dec(x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec_ref(x_53); +x_26 = x_54; +goto block_51; +} +block_51: +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_25, 0); +lean_dec(x_28); +lean_ctor_set(x_25, 0, x_26); +lean_inc_ref(x_25); +x_29 = l_Lean_MacroScopesView_review(x_25); +x_30 = l_Lean_Name_isPrefixOf(x_4, x_29); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec_ref(x_25); +lean_inc(x_4); +lean_inc_ref(x_5); +lean_inc(x_17); +x_31 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(x_17, x_5, x_29, x_4); +lean_dec(x_29); +x_13 = x_31; +goto block_15; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_32 = l_Lean_LocalDecl_userName(x_17); +x_33 = l_Lean_extractMacroScopes(x_32); +x_34 = l_Lean_MacroScopesView_isSuffixOf(x_33, x_5); +lean_dec_ref(x_33); +if (x_34 == 0) +{ +lean_dec_ref(x_25); +x_7 = x_12; +goto _start; +} +else +{ +uint8_t x_36; +x_36 = l_Lean_MacroScopesView_isSuffixOf(x_5, x_25); +lean_dec_ref(x_25); +if (x_36 == 0) +{ +x_7 = x_12; +goto _start; +} +else +{ +lean_inc_ref(x_16); +x_13 = x_16; +goto block_15; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_25, 1); +x_39 = lean_ctor_get(x_25, 2); +x_40 = lean_ctor_get(x_25, 3); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_25); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_26); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +lean_ctor_set(x_41, 3, x_40); +lean_inc_ref(x_41); +x_42 = l_Lean_MacroScopesView_review(x_41); +x_43 = l_Lean_Name_isPrefixOf(x_4, x_42); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec_ref(x_41); +lean_inc(x_4); +lean_inc_ref(x_5); +lean_inc(x_17); +x_44 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(x_17, x_5, x_42, x_4); +lean_dec(x_42); +x_13 = x_44; +goto block_15; +} +else +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_dec(x_42); +x_45 = l_Lean_LocalDecl_userName(x_17); +x_46 = l_Lean_extractMacroScopes(x_45); +x_47 = l_Lean_MacroScopesView_isSuffixOf(x_46, x_5); +lean_dec_ref(x_46); +if (x_47 == 0) +{ +lean_dec_ref(x_41); +x_7 = x_12; +goto _start; +} +else +{ +uint8_t x_49; +x_49 = l_Lean_MacroScopesView_isSuffixOf(x_5, x_41); +lean_dec_ref(x_41); +if (x_49 == 0) +{ +x_7 = x_12; +goto _start; +} +else +{ +lean_inc_ref(x_16); +x_13 = x_16; +goto block_15; +} +} +} +} +} +} +} +} +else +{ +x_7 = x_12; +goto _start; +} +} +} +block_15: +{ +if (lean_obj_tag(x_13) == 0) +{ +x_7 = x_12; +goto _start; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_13; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +if (x_9 == 1) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec(x_4); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_7, x_11); +lean_dec(x_7); +x_13 = lean_array_fget_borrowed(x_6, x_12); +lean_inc_ref(x_5); +lean_inc(x_4); +x_14 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_13); +if (lean_obj_tag(x_14) == 0) +{ +x_7 = x_12; +goto _start; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +x_8 = lean_array_get_size(x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_7, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_array_get_size(x_10); +x_12 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_10, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_6, 0); +x_8 = lean_ctor_get(x_6, 1); +x_9 = lean_array_get_size(x_8); +lean_inc_ref(x_5); +lean_inc(x_4); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_7); +return x_11; +} +else +{ +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_4, x_5); +if (x_6 == 1) +{ +lean_object* x_7; +lean_dec(x_4); +lean_dec(x_1); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_4, x_8); +lean_dec(x_4); +x_13 = lean_array_fget_borrowed(x_3, x_9); +if (lean_obj_tag(x_13) == 0) +{ +x_10 = x_13; +goto block_12; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_13, 0); +x_15 = l_Lean_LocalDecl_isAuxDecl(x_14); +if (x_15 == 0) +{ +lean_inc(x_1); +x_10 = x_1; +goto block_12; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Lean_LocalDecl_userName(x_14); +x_17 = lean_name_eq(x_16, x_2); +lean_dec(x_16); +if (x_17 == 0) +{ +x_4 = x_9; +goto _start; +} +else +{ +lean_inc_ref(x_13); +x_10 = x_13; +goto block_12; +} +} +} +block_12: +{ +if (lean_obj_tag(x_10) == 0) +{ +x_4 = x_9; +goto _start; +} +else +{ +lean_dec(x_9); +lean_dec(x_1); +return x_10; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_4, x_5); +if (x_6 == 1) +{ +lean_object* x_7; +lean_dec(x_4); +lean_dec(x_1); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_4, x_8); +lean_dec(x_4); +x_10 = lean_array_fget_borrowed(x_3, x_9); +lean_inc(x_1); +x_11 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(x_1, x_2, x_10); +if (lean_obj_tag(x_11) == 0) +{ +x_4 = x_9; +goto _start; +} +else +{ +lean_dec(x_9); +lean_dec(x_1); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_array_get_size(x_4); +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_array_get_size(x_7); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_7, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_ctor_get(x_3, 1); +x_6 = lean_array_get_size(x_5); +lean_inc(x_1); +x_7 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(x_1, x_2, x_4); +return x_8; +} +else +{ +lean_dec(x_1); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_7, 0); +lean_inc_ref(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_2, 6); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 7); +lean_inc(x_10); +lean_dec_ref(x_2); +x_11 = l_Lean_ResolveName_resolveGlobalName(x_8, x_9, x_10, x_1); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_5); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 6); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 7); +lean_inc(x_16); +lean_dec_ref(x_2); +x_17 = l_Lean_ResolveName_resolveGlobalName(x_14, x_15, x_16, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(x_1, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__10(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___redArg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_5, 1); +x_8 = l_List_isEmpty___redArg(x_7); +if (x_8 == 0) +{ +lean_free_object(x_1); +lean_dec(x_5); +x_1 = x_6; +goto _start; +} +else +{ +lean_ctor_set(x_1, 1, x_2); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_1); +x_13 = lean_ctor_get(x_11, 1); +x_14 = l_List_isEmpty___redArg(x_13); +if (x_14 == 0) +{ +lean_dec(x_11); +x_1 = x_12; +goto _start; +} +else +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_2); +x_1 = x_12; +x_2 = x_16; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_2); +x_16 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9(x_3, x_4, x_5, x_15, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_1, 1); +x_14 = lean_ctor_get(x_1, 2); +x_15 = lean_ctor_get(x_1, 3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_3); +x_16 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_16, 0, x_3); +lean_ctor_set(x_16, 1, x_13); +lean_ctor_set(x_16, 2, x_14); +lean_ctor_set(x_16, 3, x_15); +if (x_5 == 0) +{ +x_17 = x_5; +goto block_50; +} +else +{ +uint8_t x_51; +x_51 = l_List_isEmpty___redArg(x_4); +if (x_51 == 0) +{ +x_17 = x_5; +goto block_50; +} +else +{ +uint8_t x_52; +x_52 = 0; +x_17 = x_52; +goto block_50; +} +} +block_50: +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(x_17); +lean_inc_ref(x_2); +lean_inc_ref(x_16); +x_19 = lean_apply_2(x_2, x_16, x_18); +if (lean_obj_tag(x_19) == 0) +{ +if (lean_obj_tag(x_3) == 1) +{ +if (x_5 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_20 = lean_ctor_get(x_3, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_21); +lean_dec_ref(x_3); +x_22 = l_Lean_MacroScopesView_review(x_16); +lean_inc_ref(x_10); +x_23 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(x_22, x_10, x_11, x_12); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = lean_box(0); +x_27 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__10(x_24, x_26); +x_28 = l_List_isEmpty___redArg(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; lean_object* x_30; lean_object* x_31; +x_29 = 1; +x_30 = lean_box(0); +x_31 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(x_21, x_4, x_1, x_2, x_20, x_29, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_box(0); +x_33 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(x_21, x_4, x_1, x_2, x_20, x_5, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec_ref(x_16); +x_34 = lean_ctor_get(x_3, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_35); +lean_dec_ref(x_3); +x_36 = lean_box(0); +x_37 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(x_35, x_4, x_1, x_2, x_34, x_5, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec_ref(x_16); +lean_dec_ref(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_12); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec_ref(x_16); +lean_dec_ref(x_10); +lean_dec(x_3); +lean_dec_ref(x_2); +x_40 = !lean_is_exclusive(x_19); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_19, 0); +x_42 = l_Lean_LocalDecl_toExpr(x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_4); +lean_ctor_set(x_19, 0, x_43); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_19); +lean_ctor_set(x_44, 1, x_12); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_19, 0); +lean_inc(x_45); +lean_dec(x_19); +x_46 = l_Lean_LocalDecl_toExpr(x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_4); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_12); +return x_49; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +lean_inc_ref(x_4); +x_6 = l_Lean_MacroScopesView_review(x_4); +x_7 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(x_6, x_5, x_1, x_2, x_4, x_3); +if (lean_obj_tag(x_7) == 0) +{ +if (x_5 == 0) +{ +lean_object* x_8; +x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(x_7, x_6, x_3); +lean_dec(x_6); +return x_8; +} +else +{ +lean_dec(x_6); +return x_7; +} +} +else +{ +lean_dec(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_9 = lean_ctor_get(x_4, 2); +x_10 = lean_ctor_get(x_9, 1); +x_11 = lean_ctor_get(x_9, 2); +x_12 = lean_ctor_get(x_6, 6); +x_13 = l_Lean_extractMacroScopes(x_1); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_inc_ref(x_10); +lean_inc(x_12); +lean_inc(x_11); +x_15 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0___boxed), 5, 3); +lean_closure_set(x_15, 0, x_11); +lean_closure_set(x_15, 1, x_12); +lean_closure_set(x_15, 2, x_10); +x_16 = lean_box(0); +x_17 = 0; +x_18 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9(x_13, x_15, x_14, x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_4); +lean_dec_ref(x_13); +return x_18; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_13; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_17 = x_5; +} else { + lean_dec_ref(x_5); + x_17 = lean_box(0); +} +x_18 = l_Lean_Name_appendCore(x_14, x_16); +lean_inc_ref(x_10); +lean_inc(x_18); +x_19 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(x_18, x_10, x_11, x_12); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +if (lean_obj_tag(x_20) == 0) +{ +goto block_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec_ref(x_20); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +lean_dec(x_17); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_dec(x_29); +x_30 = lean_name_eq(x_28, x_2); +lean_dec(x_28); +if (x_30 == 0) +{ +lean_inc(x_1); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 0, x_1); +x_4 = x_15; +x_5 = x_25; +x_12 = x_21; +goto _start; +} +else +{ +lean_object* x_32; +lean_inc_ref(x_3); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_18); +x_32 = lean_apply_8(x_3, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec_ref(x_32); +lean_inc(x_1); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 0, x_1); +x_4 = x_15; +x_5 = x_25; +x_12 = x_35; +goto _start; +} +else +{ +uint8_t x_37; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_32, 0); +lean_dec(x_38); +lean_inc(x_18); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_18); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 0, x_40); +lean_ctor_set(x_32, 0, x_25); +return x_32; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_32, 1); +lean_inc(x_41); +lean_dec(x_32); +lean_inc(x_18); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_18); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 0, x_43); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_25); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_free_object(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_32); +if (x_45 == 0) +{ +return x_32; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_32, 0); +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_32); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +else +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_25, 0); +lean_inc(x_49); +lean_dec(x_25); +x_50 = lean_name_eq(x_49, x_2); +lean_dec(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +lean_inc(x_1); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_18); +x_4 = x_15; +x_5 = x_51; +x_12 = x_21; +goto _start; +} +else +{ +lean_object* x_53; +lean_inc_ref(x_3); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_18); +x_53 = lean_apply_8(x_3, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec_ref(x_53); +lean_inc(x_1); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_1); +lean_ctor_set(x_57, 1, x_18); +x_4 = x_15; +x_5 = x_57; +x_12 = x_56; +goto _start; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_60 = x_53; +} else { + lean_dec_ref(x_53); + x_60 = lean_box(0); +} +lean_inc(x_18); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_18); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_18); +if (lean_is_scalar(x_60)) { + x_64 = lean_alloc_ctor(0, 2, 0); +} else { + x_64 = x_60; +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +return x_64; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_65 = lean_ctor_get(x_53, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_53, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_67 = x_53; +} else { + lean_dec_ref(x_53); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +} +} +else +{ +lean_dec_ref(x_26); +lean_dec(x_25); +goto block_24; +} +} +block_24: +{ +lean_object* x_22; +lean_inc(x_1); +if (lean_is_scalar(x_17)) { + x_22 = lean_alloc_ctor(0, 2, 0); +} else { + x_22 = x_17; +} +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_18); +x_4 = x_15; +x_5 = x_22; +x_12 = x_21; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg(x_1, x_2, x_3, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +static lean_object* _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = l_Lean_Name_hasMacroScopes(x_3); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_Lean_privateToUserName(x_3); +x_13 = l_Lean_Name_componentsRev(x_12); +x_14 = lean_box(0); +x_15 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0; +x_16 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg(x_14, x_1, x_2, x_13, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_13); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_18, 0); +lean_inc(x_25); +lean_dec_ref(x_18); +lean_ctor_set(x_16, 0, x_25); +return x_16; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_ctor_get(x_18, 0); +lean_inc(x_27); +lean_dec_ref(x_18); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_10); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_7, x_6); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_8); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec_ref(x_8); +x_18 = lean_array_uget(x_5, x_7); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_2); +x_19 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13(x_1, x_2, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; size_t x_22; size_t x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = 1; +x_23 = lean_usize_add(x_7, x_22); +lean_inc_ref(x_3); +{ +size_t _tmp_6 = x_23; +lean_object* _tmp_7 = x_3; +lean_object* _tmp_14 = x_21; +x_7 = _tmp_6; +x_8 = _tmp_7; +x_15 = _tmp_14; +} +goto _start; +} +else +{ +uint8_t x_25; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_4); +lean_ctor_set(x_19, 0, x_27); +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_dec(x_19); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 1, x_4); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_array_uget(x_2, x_3); +x_13 = l_Lean_Name_getPrefix(x_12); +x_14 = l_Lean_Name_getPrefix(x_1); +x_15 = l_Lean_Name_isPrefixOf(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_dec(x_12); +x_6 = x_5; +goto block_10; +} +else +{ +lean_object* x_16; +x_16 = lean_array_push(x_5, x_12); +x_6 = x_16; +goto block_10; +} +} +else +{ +return x_5; +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +x_5 = x_6; +goto _start; +} +} +} +static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_12 = lean_box(0); +x_13 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0; +x_14 = lean_array_size(x_3); +x_15 = 0; +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15(x_1, x_2, x_13, x_12, x_3, x_14, x_15, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_1); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_18, 0); +lean_inc(x_25); +lean_dec_ref(x_18); +lean_ctor_set(x_16, 0, x_25); +return x_16; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_ctor_get(x_18, 0); +lean_inc(x_27); +lean_dec_ref(x_18); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = lean_apply_9(x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec_ref(x_1); +x_15 = lean_array_push(x_3, x_14); +x_16 = lean_box(0); +x_17 = lean_apply_9(x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_11; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +} +static lean_object* _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_rootNamespace; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_20; lean_object* x_21; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_31; +x_31 = l_Lean_Name_hasMacroScopes(x_1); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_73; +x_32 = lean_st_ref_get(x_10, x_11); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec_ref(x_32); +x_35 = lean_ctor_get(x_33, 0); +lean_inc_ref(x_35); +lean_dec(x_33); +lean_inc_ref(x_4); +lean_inc(x_1); +x_36 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___boxed), 11, 2); +lean_closure_set(x_36, 0, x_1); +lean_closure_set(x_36, 1, x_4); +lean_inc(x_1); +x_73 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec_ref(x_35); +x_74 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_1); +x_75 = l_Lean_Name_append(x_74, x_1); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +lean_inc(x_1); +x_37 = x_1; +x_38 = x_76; +goto block_72; +} +else +{ +uint8_t x_77; +x_77 = !lean_is_exclusive(x_73); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_73, 0); +lean_inc(x_78); +x_79 = l_Lean_mkPrivateName(x_35, x_78); +lean_dec_ref(x_35); +x_80 = lean_name_eq(x_1, x_79); +lean_dec(x_79); +if (x_80 == 0) +{ +lean_object* x_81; +lean_free_object(x_73); +x_81 = lean_box(0); +x_37 = x_78; +x_38 = x_81; +goto block_72; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_78); +x_83 = l_Lean_Name_append(x_82, x_78); +lean_ctor_set(x_73, 0, x_83); +x_37 = x_78; +x_38 = x_73; +goto block_72; +} +} +else +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = lean_ctor_get(x_73, 0); +lean_inc(x_84); +lean_dec(x_73); +lean_inc(x_84); +x_85 = l_Lean_mkPrivateName(x_35, x_84); +lean_dec_ref(x_35); +x_86 = lean_name_eq(x_1, x_85); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; +x_87 = lean_box(0); +x_37 = x_84; +x_38 = x_87; +goto block_72; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_84); +x_89 = l_Lean_Name_append(x_88, x_84); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_37 = x_84; +x_38 = x_90; +goto block_72; +} +} +} +block_72: +{ +if (x_2 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec_ref(x_4); +x_39 = lean_st_ref_get(x_10, x_34); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc_ref(x_42); +lean_dec(x_40); +lean_inc_ref(x_36); +lean_inc(x_38); +x_43 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__1), 11, 2); +lean_closure_set(x_43, 0, x_38); +lean_closure_set(x_43, 1, x_36); +x_44 = l_Lean_getRevAliases(x_42, x_1); +x_45 = lean_array_mk(x_44); +if (x_3 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_38); +lean_dec_ref(x_36); +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_array_get_size(x_45); +x_48 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_49 = lean_nat_dec_lt(x_46, x_47); +if (x_49 == 0) +{ +lean_dec(x_47); +lean_dec_ref(x_45); +lean_dec(x_37); +x_25 = x_41; +x_26 = x_43; +x_27 = x_48; +goto block_30; +} +else +{ +uint8_t x_50; +x_50 = lean_nat_dec_le(x_47, x_47); +if (x_50 == 0) +{ +lean_dec(x_47); +lean_dec_ref(x_45); +lean_dec(x_37); +x_25 = x_41; +x_26 = x_43; +x_27 = x_48; +goto block_30; +} +else +{ +size_t x_51; size_t x_52; lean_object* x_53; +x_51 = 0; +x_52 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_53 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(x_37, x_45, x_51, x_52, x_48); +lean_dec_ref(x_45); +lean_dec(x_37); +x_25 = x_41; +x_26 = x_43; +x_27 = x_53; +goto block_30; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; +lean_dec_ref(x_43); +lean_dec(x_37); +x_54 = lean_box(0); +x_55 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__1(x_38, x_36, x_45, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec_ref(x_36); +lean_inc_ref(x_9); +lean_inc(x_37); +x_56 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(x_37, x_9, x_10, x_34); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +lean_inc(x_1); +x_59 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2___boxed), 10, 2); +lean_closure_set(x_59, 0, x_38); +lean_closure_set(x_59, 1, x_1); +if (lean_obj_tag(x_57) == 0) +{ +lean_dec(x_37); +lean_dec_ref(x_4); +lean_dec(x_1); +x_20 = x_59; +x_21 = x_58; +goto block_24; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec_ref(x_57); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_60, 0); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_name_eq(x_62, x_1); +lean_dec(x_1); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_dec_ref(x_4); +x_12 = x_59; +x_13 = x_37; +x_14 = x_63; +x_15 = x_58; +goto block_19; +} +else +{ +lean_object* x_64; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_37); +x_64 = lean_apply_8(x_4, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec_ref(x_64); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_12 = x_59; +x_13 = x_37; +x_14 = x_67; +x_15 = x_66; +goto block_19; +} +else +{ +uint8_t x_68; +lean_dec_ref(x_59); +lean_dec(x_37); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_68 = !lean_is_exclusive(x_64); +if (x_68 == 0) +{ +return x_64; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +} +else +{ +lean_dec_ref(x_61); +lean_dec(x_60); +lean_dec(x_37); +lean_dec_ref(x_4); +lean_dec(x_1); +x_20 = x_59; +x_21 = x_58; +goto block_24; +} +} +} +} +} +else +{ +lean_object* x_91; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_1); +lean_ctor_set(x_91, 1, x_11); +return x_91; +} +block_19: +{ +if (x_14 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +x_16 = lean_box(0); +x_17 = lean_apply_8(x_12, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec_ref(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_13); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +block_24: +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = lean_apply_8(x_20, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_23; +} +block_30: +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = lean_apply_9(x_26, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +return x_29; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = 1; +x_15 = lean_box(x_14); +lean_ctor_set(x_10, 0, x_15); +return x_10; +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_dec(x_10); +x_17 = 1; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec_ref(x_11); +x_20 = !lean_is_exclusive(x_10); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_10, 0); +lean_dec(x_21); +x_22 = lean_box(x_1); +lean_ctor_set(x_10, 0, x_22); +return x_10; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_box(x_1); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = 0; +x_11 = lean_box(x_10); +x_12 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed), 9, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13(x_1, x_2, x_10, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" (of := ", 8, 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_array_uget(x_4, x_3); +x_15 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_16 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_4, x_3, x_19); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0; +x_22 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_17, x_1); +x_23 = lean_string_append(x_21, x_22); +lean_dec_ref(x_22); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +x_25 = lean_string_append(x_23, x_24); +x_26 = 1; +x_27 = lean_usize_add(x_3, x_26); +x_28 = lean_array_uset(x_20, x_3, x_25); +x_3 = x_27; +x_4 = x_28; +x_11 = x_18; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_array_uget(x_4, x_3); +x_15 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_16 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_4, x_3, x_19); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0; +x_22 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_17, x_1); +x_23 = lean_string_append(x_21, x_22); +lean_dec_ref(x_22); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +x_25 = lean_string_append(x_23, x_24); +x_26 = 1; +x_27 = lean_usize_add(x_3, x_26); +x_28 = lean_array_uset(x_20, x_3, x_25); +x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19(x_1, x_2, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_8, x_2, x_6); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = l_Lean_Name_isAnonymous(x_1); +if (x_10 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_16 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_18 = lean_array_size(x_2); +x_19 = 0; +x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21(x_18, x_19, x_2); +x_25 = lean_array_get_size(x_20); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_nat_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_33; +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_sub(x_25, x_28); +lean_dec(x_25); +x_33 = lean_nat_dec_le(x_26, x_29); +if (x_33 == 0) +{ +lean_inc(x_29); +x_30 = x_29; +goto block_32; +} +else +{ +x_30 = x_26; +goto block_32; +} +block_32: +{ +uint8_t x_31; +x_31 = lean_nat_dec_le(x_30, x_29); +if (x_31 == 0) +{ +lean_dec(x_29); +lean_inc(x_30); +x_21 = x_30; +x_22 = x_30; +goto block_24; +} +else +{ +x_21 = x_30; +x_22 = x_29; +goto block_24; +} +} +} +else +{ +lean_dec(x_25); +x_11 = x_20; +goto block_15; +} +block_24: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg(x_10, x_20, x_21, x_22); +lean_dec(x_22); +x_11 = x_23; +goto block_15; +} +} +block_15: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_array_size(x_11); +x_13 = 0; +x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19(x_10, x_12, x_13, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___lam__0(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +x_10 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +x_8 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_6); +x_16 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___lam__0(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_5); +x_7 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0(x_1, x_2, x_3, x_4, x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(x_1, x_2, x_6, x_7, x_5); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_2); +x_13 = lean_unbox(x_3); +x_14 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +x_11 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +x_11 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_12 = lean_unbox(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19(x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_12 = lean_unbox(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19(x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__21(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec_ref(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc_ref(x_1); +x_9 = lean_string_append(x_1, x_6); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_11); +lean_ctor_set(x_12, 3, x_11); +lean_ctor_set(x_12, 4, x_11); +lean_ctor_set(x_12, 5, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_11); +lean_ctor_set(x_14, 2, x_11); +lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_17 = lean_array_uset(x_8, x_3, x_14); +x_3 = x_16; +x_4 = x_17; +goto _start; +} +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("role", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("kw\?", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("kw", 2, 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_3, 5); +x_11 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; +lean_inc(x_10); +x_12 = l_Lean_Syntax_isOfKind(x_10, x_11); +if (x_12 == 0) +{ +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +goto block_8; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_unsigned_to_nat(5u); +x_15 = l_Lean_Syntax_getArg(x_10, x_14); +x_16 = l_Lean_Syntax_matchesNull(x_15, x_13); +if (x_16 == 0) +{ +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +goto block_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_17 = l_Lean_Syntax_getArg(x_10, x_13); +x_18 = lean_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_10, x_18); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2; +x_22 = lean_array_push(x_21, x_17); +x_23 = l_Array_append___redArg(x_22, x_20); +lean_dec_ref(x_20); +x_24 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3; +x_25 = lean_box(2); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_23); +x_27 = 0; +x_28 = l_Lean_Syntax_getRange_x3f(x_26, x_27); +lean_dec_ref(x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +goto block_8; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_30 = x_28; +} else { + lean_dec_ref(x_28); + x_30 = lean_box(0); +} +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_54 = lean_ctor_get(x_9, 0); +x_55 = lean_string_utf8_extract(x_54, x_31, x_32); +x_56 = lean_unsigned_to_nat(0u); +x_57 = lean_string_utf8_byte_size(x_55); +lean_inc(x_57); +lean_inc_ref(x_55); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_57); +x_59 = lean_unsigned_to_nat(3u); +x_60 = l_Substring_nextn(x_58, x_59, x_56); +lean_dec_ref(x_58); +lean_inc(x_60); +lean_inc_ref(x_55); +x_61 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_61, 0, x_55); +lean_ctor_set(x_61, 1, x_56); +lean_ctor_set(x_61, 2, x_60); +x_62 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; +x_63 = l_Substring_beq(x_61, x_62); +if (x_63 == 0) +{ +lean_dec(x_60); +lean_dec(x_57); +x_33 = x_55; +goto block_53; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +x_65 = lean_string_utf8_extract(x_55, x_60, x_57); +lean_dec(x_57); +lean_dec(x_60); +lean_dec_ref(x_55); +x_66 = lean_string_append(x_64, x_65); +lean_dec_ref(x_65); +x_33 = x_66; +goto block_53; +} +block_53: +{ +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_34 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*2, x_16); +lean_inc_ref(x_33); +x_35 = l_Lean_Syntax_mkStrLit(x_33, x_34); +x_36 = lean_array_size(x_2); +x_37 = 0; +x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0(x_33, x_36, x_37, x_2); +if (lean_is_scalar(x_30)) { + x_39 = lean_alloc_ctor(1, 1, 0); +} else { + x_39 = x_30; +} +lean_ctor_set(x_39, 0, x_35); +x_40 = lean_box(0); +x_41 = l_Lean_MessageData_hint(x_1, x_38, x_39, x_40, x_27, x_3, x_4, x_5); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_41, 0); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_41, 0, x_44); +return x_41; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_41, 0); +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_41); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_45); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_41); +if (x_49 == 0) +{ +return x_41; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_41, 0); +x_51 = lean_ctor_get(x_41, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_41); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +} +} +block_8: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(x_1, x_2, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_10; uint8_t x_14; +x_14 = lean_string_utf8_at_end(x_1, x_3); +if (x_14 == 0) +{ +uint32_t x_15; uint8_t x_16; uint32_t x_22; uint8_t x_23; +x_15 = lean_string_utf8_get(x_1, x_3); +x_22 = 32; +x_23 = lean_uint32_dec_eq(x_15, x_22); +if (x_23 == 0) +{ +uint32_t x_24; uint8_t x_25; +x_24 = 9; +x_25 = lean_uint32_dec_eq(x_15, x_24); +x_16 = x_25; +goto block_21; +} +else +{ +x_16 = x_23; +goto block_21; +} +block_21: +{ +if (x_16 == 0) +{ +uint32_t x_17; uint8_t x_18; +x_17 = 13; +x_18 = lean_uint32_dec_eq(x_15, x_17); +if (x_18 == 0) +{ +uint32_t x_19; uint8_t x_20; +x_19 = 10; +x_20 = lean_uint32_dec_eq(x_15, x_19); +x_10 = x_20; +goto block_13; +} +else +{ +x_10 = x_18; +goto block_13; +} +} +else +{ +goto block_9; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_string_utf8_extract(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_4); +x_28 = l_List_reverse___redArg(x_27); +return x_28; +} +block_9: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_string_utf8_next(x_1, x_3); +x_6 = lean_string_utf8_extract(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +lean_inc(x_5); +x_2 = x_5; +x_3 = x_5; +x_4 = x_7; +goto _start; +} +block_13: +{ +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = lean_string_utf8_next(x_1, x_3); +lean_dec(x_3); +x_3 = x_11; +goto _start; +} +else +{ +goto block_9; +} +} +} +} +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_box(0); +x_4 = l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0(x_1, x_2, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_fget_borrowed(x_1, x_2); +x_7 = lean_name_eq(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_2, x_8); +lean_dec(x_2); +x_2 = x_9; +goto _start; +} +else +{ +lean_dec(x_2); +return x_7; +} +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(x_2, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_4); +lean_dec_ref(x_1); +x_5 = lean_box(2); +x_6 = 5; +x_7 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1; +x_8 = lean_usize_land(x_2, x_7); +x_9 = lean_usize_to_nat(x_8); +x_10 = lean_array_get(x_5, x_4, x_9); +lean_dec(x_9); +lean_dec_ref(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_name_eq(x_3, x_11); +lean_dec(x_11); +return x_12; +} +case 1: +{ +lean_object* x_13; size_t x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec_ref(x_10); +x_14 = lean_usize_shift_right(x_2, x_6); +x_1 = x_13; +x_2 = x_14; +goto _start; +} +default: +{ +uint8_t x_16; +x_16 = 0; +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_17); +lean_dec_ref(x_1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(x_17, x_18, x_3); +lean_dec_ref(x_17); +return x_19; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint64_t x_3; size_t x_4; uint8_t x_5; +x_3 = l_Lean_Name_hash___override(x_2); +x_4 = lean_uint64_to_usize(x_3); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg(x_1, x_4, x_2); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_6); +x_10 = 1; +x_11 = lean_usize_add(x_3, x_10); +x_12 = lean_array_uset(x_8, x_3, x_9); +x_3 = x_11; +x_4 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_20; +x_20 = lean_usize_dec_lt(x_5, x_4); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_13); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_array_uget(x_3, x_5); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = l_Lean_Name_isAnonymous(x_1); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_25, 1); +lean_inc_ref(x_27); +lean_dec(x_25); +x_28 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_27, x_1); +if (x_28 == 0) +{ +lean_free_object(x_22); +lean_dec(x_24); +x_14 = x_6; +x_15 = x_13; +goto block_19; +} +else +{ +lean_object* x_29; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_free_object(x_22); +lean_dec(x_24); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec_ref(x_29); +x_14 = x_6; +x_15 = x_32; +goto block_19; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec_ref(x_29); +lean_inc(x_1); +lean_ctor_set(x_22, 1, x_1); +x_34 = lean_array_push(x_6, x_22); +x_14 = x_34; +x_15 = x_33; +goto block_19; +} +} +else +{ +uint8_t x_35; +lean_free_object(x_22); +lean_dec(x_24); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) +{ +return x_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_29, 0); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_29); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +else +{ +lean_object* x_39; +lean_free_object(x_22); +lean_dec(x_25); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_2); +x_39 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(x_24, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_array_size(x_40); +x_43 = 0; +x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_24, x_42, x_43, x_40); +x_45 = l_Array_append___redArg(x_6, x_44); +lean_dec_ref(x_44); +x_14 = x_45; +x_15 = x_41; +goto block_19; +} +else +{ +uint8_t x_46; +lean_dec(x_24); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_39); +if (x_46 == 0) +{ +return x_39; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_39, 0); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_39); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_22, 0); +x_51 = lean_ctor_get(x_22, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_22); +x_52 = l_Lean_Name_isAnonymous(x_1); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_53); +lean_dec(x_51); +x_54 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_53, x_1); +if (x_54 == 0) +{ +lean_dec(x_50); +x_14 = x_6; +x_15 = x_13; +goto block_19; +} +else +{ +lean_object* x_55; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_55 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_50); +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec_ref(x_55); +x_14 = x_6; +x_15 = x_58; +goto block_19; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec_ref(x_55); +lean_inc(x_1); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_50); +lean_ctor_set(x_60, 1, x_1); +x_61 = lean_array_push(x_6, x_60); +x_14 = x_61; +x_15 = x_59; +goto block_19; +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_50); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_55, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_64 = x_55; +} else { + lean_dec_ref(x_55); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_51); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_2); +x_66 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(x_50, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec_ref(x_66); +x_69 = lean_array_size(x_67); +x_70 = 0; +x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_50, x_69, x_70, x_67); +x_72 = l_Array_append___redArg(x_6, x_71); +lean_dec_ref(x_71); +x_14 = x_72; +x_15 = x_68; +goto block_19; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_50); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_73 = lean_ctor_get(x_66, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_66, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_75 = x_66; +} else { + lean_dec_ref(x_66); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +} +} +block_19: +{ +size_t x_16; size_t x_17; +x_16 = 1; +x_17 = lean_usize_add(x_5, x_16); +x_5 = x_17; +x_6 = x_14; +x_13 = x_15; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_20; +x_20 = lean_usize_dec_lt(x_5, x_4); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_13); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_array_uget(x_3, x_5); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = l_Lean_Name_isAnonymous(x_1); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_25, 1); +lean_inc_ref(x_27); +lean_dec(x_25); +x_28 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_27, x_1); +if (x_28 == 0) +{ +lean_free_object(x_22); +lean_dec(x_24); +x_14 = x_6; +x_15 = x_13; +goto block_19; +} +else +{ +lean_object* x_29; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_free_object(x_22); +lean_dec(x_24); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec_ref(x_29); +x_14 = x_6; +x_15 = x_32; +goto block_19; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec_ref(x_29); +lean_inc(x_1); +lean_ctor_set(x_22, 1, x_1); +x_34 = lean_array_push(x_6, x_22); +x_14 = x_34; +x_15 = x_33; +goto block_19; +} +} +else +{ +uint8_t x_35; +lean_free_object(x_22); +lean_dec(x_24); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) +{ +return x_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_29, 0); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_29); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +else +{ +lean_object* x_39; +lean_free_object(x_22); +lean_dec(x_25); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_2); +x_39 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(x_24, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = lean_array_size(x_40); +x_43 = 0; +x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_24, x_42, x_43, x_40); +x_45 = l_Array_append___redArg(x_6, x_44); +lean_dec_ref(x_44); +x_14 = x_45; +x_15 = x_41; +goto block_19; +} +else +{ +uint8_t x_46; +lean_dec(x_24); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_39); +if (x_46 == 0) +{ +return x_39; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_39, 0); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_39); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_22, 0); +x_51 = lean_ctor_get(x_22, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_22); +x_52 = l_Lean_Name_isAnonymous(x_1); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_51, 1); +lean_inc_ref(x_53); +lean_dec(x_51); +x_54 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_53, x_1); +if (x_54 == 0) +{ +lean_dec(x_50); +x_14 = x_6; +x_15 = x_13; +goto block_19; +} +else +{ +lean_object* x_55; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_55 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_50); +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec_ref(x_55); +x_14 = x_6; +x_15 = x_58; +goto block_19; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec_ref(x_55); +lean_inc(x_1); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_50); +lean_ctor_set(x_60, 1, x_1); +x_61 = lean_array_push(x_6, x_60); +x_14 = x_61; +x_15 = x_59; +goto block_19; +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_50); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_55, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_64 = x_55; +} else { + lean_dec_ref(x_55); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_51); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_2); +x_66 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(x_50, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec_ref(x_66); +x_69 = lean_array_size(x_67); +x_70 = 0; +x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_50, x_69, x_70, x_67); +x_72 = l_Array_append___redArg(x_6, x_71); +lean_dec_ref(x_71); +x_14 = x_72; +x_15 = x_68; +goto block_19; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_50); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_73 = lean_ctor_get(x_66, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_66, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_75 = x_66; +} else { + lean_dec_ref(x_66); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +} +} +block_19: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 1; +x_17 = lean_usize_add(x_5, x_16); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6(x_1, x_2, x_3, x_4, x_17, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_15); +return x_18; +} +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_unknownIdentifierMessageTag; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0; +x_11 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_1); +lean_ctor_set(x_3, 5, x_1); +lean_ctor_set(x_3, 6, x_1); +lean_ctor_set(x_3, 7, x_1); +lean_ctor_set(x_3, 8, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3; +x_4 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(1); +x_2 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5; +x_3 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`.", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from `", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_22; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_22 = l_Lean_Name_isAnonymous(x_2); +if (x_22 == 0) +{ +uint8_t x_23; +x_23 = lean_ctor_get_uint8(x_14, sizeof(void*)*8); +if (x_23 == 0) +{ +lean_dec_ref(x_14); +lean_free_object(x_10); +lean_dec(x_2); +goto block_21; +} +else +{ +lean_object* x_24; uint8_t x_25; +lean_inc_ref(x_14); +x_24 = l_Lean_Environment_setExporting(x_14, x_22); +lean_inc(x_2); +lean_inc_ref(x_24); +x_25 = l_Lean_Environment_contains(x_24, x_2, x_23); +if (x_25 == 0) +{ +lean_dec_ref(x_24); +lean_dec_ref(x_14); +lean_free_object(x_10); +lean_dec(x_2); +goto block_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2; +x_27 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6; +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_29, 2, x_27); +lean_ctor_set(x_29, 3, x_28); +lean_inc(x_2); +x_30 = l_Lean_MessageData_ofConstName(x_2, x_22); +lean_ctor_set_tag(x_10, 3); +lean_ctor_set(x_10, 1, x_30); +lean_ctor_set(x_10, 0, x_29); +x_31 = l_Lean_Environment_getModuleIdxFor_x3f(x_14, x_2); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec_ref(x_14); +lean_dec(x_2); +x_32 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8; +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_10); +x_34 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_MessageData_note(x_35); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_1); +lean_ctor_set(x_37, 1, x_36); +x_15 = x_37; +goto block_18; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_31, 0); +lean_inc(x_38); +lean_dec_ref(x_31); +x_39 = lean_box(0); +x_40 = l_Lean_Environment_header(x_14); +lean_dec_ref(x_14); +x_41 = l_Lean_EnvironmentHeader_moduleNames(x_40); +x_42 = lean_array_get(x_39, x_41, x_38); +lean_dec(x_38); +lean_dec_ref(x_41); +x_43 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_44 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12; +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_10); +x_46 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_MessageData_ofName(x_42); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_MessageData_note(x_51); +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_1); +lean_ctor_set(x_53, 1, x_52); +x_15 = x_53; +goto block_18; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_54 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_10); +x_56 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_MessageData_ofName(x_42); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20; +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_MessageData_note(x_61); +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_1); +lean_ctor_set(x_63, 1, x_62); +x_15 = x_63; +goto block_18; +} +} +} +} +} +else +{ +lean_dec_ref(x_14); +lean_free_object(x_10); +lean_dec(x_2); +goto block_21; +} +block_18: +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(x_15, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_17; +} +block_21: +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_20; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_74; +x_64 = lean_ctor_get(x_10, 0); +x_65 = lean_ctor_get(x_10, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_10); +x_66 = lean_ctor_get(x_64, 0); +lean_inc_ref(x_66); +lean_dec(x_64); +x_74 = l_Lean_Name_isAnonymous(x_2); +if (x_74 == 0) +{ +uint8_t x_75; +x_75 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); +if (x_75 == 0) +{ +lean_dec_ref(x_66); +lean_dec(x_2); +goto block_73; +} +else +{ +lean_object* x_76; uint8_t x_77; +lean_inc_ref(x_66); +x_76 = l_Lean_Environment_setExporting(x_66, x_74); +lean_inc(x_2); +lean_inc_ref(x_76); +x_77 = l_Lean_Environment_contains(x_76, x_2, x_75); +if (x_77 == 0) +{ +lean_dec_ref(x_76); +lean_dec_ref(x_66); +lean_dec(x_2); +goto block_73; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_78 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2; +x_79 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6; +x_80 = lean_box(0); +x_81 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_81, 0, x_76); +lean_ctor_set(x_81, 1, x_78); +lean_ctor_set(x_81, 2, x_79); +lean_ctor_set(x_81, 3, x_80); +lean_inc(x_2); +x_82 = l_Lean_MessageData_ofConstName(x_2, x_74); +x_83 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = l_Lean_Environment_getModuleIdxFor_x3f(x_66, x_2); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec_ref(x_66); +lean_dec(x_2); +x_85 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8; +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +x_87 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_MessageData_note(x_88); +x_90 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_90, 0, x_1); +lean_ctor_set(x_90, 1, x_89); +x_67 = x_90; +goto block_70; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_91 = lean_ctor_get(x_84, 0); +lean_inc(x_91); +lean_dec_ref(x_84); +x_92 = lean_box(0); +x_93 = l_Lean_Environment_header(x_66); +lean_dec_ref(x_66); +x_94 = l_Lean_EnvironmentHeader_moduleNames(x_93); +x_95 = lean_array_get(x_92, x_94, x_91); +lean_dec(x_91); +lean_dec_ref(x_94); +x_96 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_97 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12; +x_98 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_83); +x_99 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14; +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_MessageData_ofName(x_95); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16; +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_MessageData_note(x_104); +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_1); +lean_ctor_set(x_106, 1, x_105); +x_67 = x_106; +goto block_70; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_107 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_83); +x_109 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18; +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_MessageData_ofName(x_95); +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20; +x_114 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_MessageData_note(x_114); +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_1); +lean_ctor_set(x_116, 1, x_115); +x_67 = x_116; +goto block_70; +} +} +} +} +} +else +{ +lean_dec_ref(x_66); +lean_dec(x_2); +goto block_73; +} +block_70: +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_box(0); +x_69 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(x_67, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +return x_69; +} +block_73: +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_box(0); +x_72 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(x_1, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +return x_72; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 5); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 5, x_12); +x_13 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +x_22 = lean_ctor_get(x_7, 8); +x_23 = lean_ctor_get(x_7, 9); +x_24 = lean_ctor_get(x_7, 10); +x_25 = lean_ctor_get(x_7, 11); +x_26 = lean_ctor_get_uint8(x_7, sizeof(void*)*14); +x_27 = lean_ctor_get(x_7, 12); +x_28 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_29 = lean_ctor_get(x_7, 13); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_30 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_31 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_15); +lean_ctor_set(x_31, 2, x_16); +lean_ctor_set(x_31, 3, x_17); +lean_ctor_set(x_31, 4, x_18); +lean_ctor_set(x_31, 5, x_30); +lean_ctor_set(x_31, 6, x_20); +lean_ctor_set(x_31, 7, x_21); +lean_ctor_set(x_31, 8, x_22); +lean_ctor_set(x_31, 9, x_23); +lean_ctor_set(x_31, 10, x_24); +lean_ctor_set(x_31, 11, x_25); +lean_ctor_set(x_31, 12, x_27); +lean_ctor_set(x_31, 13, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*14, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*14 + 1, x_28); +x_32 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_31, x_8, x_9); +lean_dec_ref(x_31); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1; +x_11 = 0; +lean_inc(x_2); +x_12 = l_Lean_MessageData_ofConstName(x_2, x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 5); +lean_inc(x_9); +x_10 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = 0; +lean_inc(x_1); +x_15 = l_Lean_Environment_findConstVal_x3f(x_13, x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +lean_free_object(x_9); +x_16 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec_ref(x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec_ref(x_15); +lean_ctor_set(x_9, 0, x_17); +return x_9; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_ctor_get(x_18, 0); +lean_inc_ref(x_20); +lean_dec(x_18); +x_21 = 0; +lean_inc(x_1); +x_22 = l_Lean_Environment_findConstVal_x3f(x_20, x_1, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_19); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec_ref(x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_19); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__14(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___redArg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_mkLevelParam(x_5); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_7); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Lean_mkLevelParam(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_2); +x_1 = x_10; +x_2 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_box(0); +x_14 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__14(x_12, x_13); +x_15 = l_Lean_mkConst(x_1, x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_box(0); +x_20 = l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__14(x_18, x_19); +x_21 = l_Lean_mkConst(x_1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_9); +if (x_23 == 0) +{ +return x_9; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_9, 0); +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_9); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_st_ref_get(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 7); +lean_inc_ref(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*3); +lean_dec_ref(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec_ref(x_1); +x_8 = !lean_is_exclusive(x_4); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 0); +lean_dec(x_9); +x_10 = lean_box(0); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec_ref(x_4); +x_15 = lean_st_ref_take(x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 7); +lean_inc_ref(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec_ref(x_15); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_16, 7); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_17, 2); +x_23 = l_Lean_PersistentArray_push___redArg(x_22, x_1); +lean_ctor_set(x_17, 2, x_23); +x_24 = lean_st_ref_set(x_2, x_16, x_18); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +x_27 = lean_box(0); +lean_ctor_set(x_24, 0, x_27); +return x_24; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +x_32 = lean_ctor_get(x_17, 0); +x_33 = lean_ctor_get(x_17, 1); +x_34 = lean_ctor_get(x_17, 2); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_17); +x_35 = l_Lean_PersistentArray_push___redArg(x_34, x_1); +x_36 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_35); +lean_ctor_set_uint8(x_36, sizeof(void*)*3, x_31); +lean_ctor_set(x_16, 7, x_36); +x_37 = lean_st_ref_set(x_2, x_16, x_18); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_42 = lean_ctor_get(x_16, 0); +x_43 = lean_ctor_get(x_16, 1); +x_44 = lean_ctor_get(x_16, 2); +x_45 = lean_ctor_get(x_16, 3); +x_46 = lean_ctor_get(x_16, 4); +x_47 = lean_ctor_get(x_16, 5); +x_48 = lean_ctor_get(x_16, 6); +x_49 = lean_ctor_get(x_16, 8); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_16); +x_50 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +x_51 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_51); +x_52 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_52); +x_53 = lean_ctor_get(x_17, 2); +lean_inc_ref(x_53); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + x_54 = x_17; +} else { + lean_dec_ref(x_17); + x_54 = lean_box(0); +} +x_55 = l_Lean_PersistentArray_push___redArg(x_53, x_1); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 3, 1); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_52); +lean_ctor_set(x_56, 2, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*3, x_50); +x_57 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_57, 0, x_42); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_57, 2, x_44); +lean_ctor_set(x_57, 3, x_45); +lean_ctor_set(x_57, 4, x_46); +lean_ctor_set(x_57, 5, x_47); +lean_ctor_set(x_57, 6, x_48); +lean_ctor_set(x_57, 7, x_56); +lean_ctor_set(x_57, 8, x_49); +x_58 = lean_st_ref_set(x_2, x_57, x_18); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; +} else { + lean_dec_ref(x_58); + x_60 = lean_box(0); +} +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg(x_1, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0; +x_4 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 7); +lean_inc_ref(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); +lean_dec_ref(x_11); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec_ref(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_9, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_dec_ref(x_9); +x_20 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg(x_21, x_7, x_19); +return x_22; +} +} +} +static lean_object* _init_l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_empty; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc_ref(x_8); +lean_inc_ref(x_4); +x_11 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_1); +x_16 = l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0; +x_17 = 0; +x_18 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_3); +lean_ctor_set(x_18, 3, x_12); +lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec_ref(x_8); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_11); +if (x_21 == 0) +{ +return x_11; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_ctor_get(x_11, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_11); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trace", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 1); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0; +x_7 = lean_string_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 0); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_4, 1); +x_11 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_12 = lean_string_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1; +x_14 = lean_string_dec_eq(x_10, x_13); +if (x_14 == 0) +{ +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2; +x_16 = lean_string_dec_eq(x_9, x_15); +if (x_16 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3; +x_18 = lean_string_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +return x_1; +} +} +default: +{ +return x_1; +} +} +} +else +{ +return x_1; +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_warningAsError; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; uint8_t x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; +x_133 = 2; +x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); +if (x_158 == 0) +{ +x_142 = x_158; +goto block_157; +} +else +{ +uint8_t x_159; +lean_inc_ref(x_2); +x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_142 = x_159; +goto block_157; +} +block_80: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_st_ref_take(x_18, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_17, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 7); +lean_inc(x_25); +lean_dec_ref(x_17); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_22, 6); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_11); +x_29 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_29, 0, x_16); +lean_ctor_set(x_29, 1, x_10); +lean_ctor_set(x_29, 2, x_12); +lean_ctor_set(x_29, 3, x_14); +lean_ctor_set(x_29, 4, x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_13); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); +x_30 = l_Lean_MessageLog_add(x_29, x_27); +lean_ctor_set(x_22, 6, x_30); +x_31 = lean_st_ref_set(x_18, x_22, x_23); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +x_40 = lean_ctor_get(x_22, 2); +x_41 = lean_ctor_get(x_22, 3); +x_42 = lean_ctor_get(x_22, 4); +x_43 = lean_ctor_get(x_22, 5); +x_44 = lean_ctor_get(x_22, 6); +x_45 = lean_ctor_get(x_22, 7); +x_46 = lean_ctor_get(x_22, 8); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_11); +x_48 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_48, 0, x_16); +lean_ctor_set(x_48, 1, x_10); +lean_ctor_set(x_48, 2, x_12); +lean_ctor_set(x_48, 3, x_14); +lean_ctor_set(x_48, 4, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_13); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); +x_49 = l_Lean_MessageLog_add(x_48, x_44); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_43); +lean_ctor_set(x_50, 6, x_49); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set(x_50, 8, x_46); +x_51 = lean_st_ref_set(x_18, x_50, x_23); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_ctor_get(x_17, 6); +lean_inc(x_58); +x_59 = lean_ctor_get(x_17, 7); +lean_inc(x_59); +lean_dec_ref(x_17); +x_60 = lean_ctor_get(x_56, 0); +lean_inc_ref(x_60); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_56, 2); +lean_inc_ref(x_62); +x_63 = lean_ctor_get(x_56, 3); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_56, 4); +lean_inc_ref(x_64); +x_65 = lean_ctor_get(x_56, 5); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_56, 6); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_56, 7); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_56, 8); +lean_inc_ref(x_68); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + lean_ctor_release(x_56, 2); + lean_ctor_release(x_56, 3); + lean_ctor_release(x_56, 4); + lean_ctor_release(x_56, 5); + lean_ctor_release(x_56, 6); + lean_ctor_release(x_56, 7); + lean_ctor_release(x_56, 8); + x_69 = x_56; +} else { + lean_dec_ref(x_56); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_58); +lean_ctor_set(x_70, 1, x_59); +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_11); +x_72 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_72, 0, x_16); +lean_ctor_set(x_72, 1, x_10); +lean_ctor_set(x_72, 2, x_12); +lean_ctor_set(x_72, 3, x_14); +lean_ctor_set(x_72, 4, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_13); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); +x_73 = l_Lean_MessageLog_add(x_72, x_66); +if (lean_is_scalar(x_69)) { + x_74 = lean_alloc_ctor(0, 9, 0); +} else { + x_74 = x_69; +} +lean_ctor_set(x_74, 0, x_60); +lean_ctor_set(x_74, 1, x_61); +lean_ctor_set(x_74, 2, x_62); +lean_ctor_set(x_74, 3, x_63); +lean_ctor_set(x_74, 4, x_64); +lean_ctor_set(x_74, 5, x_65); +lean_ctor_set(x_74, 6, x_73); +lean_ctor_set(x_74, 7, x_67); +lean_ctor_set(x_74, 8, x_68); +x_75 = lean_st_ref_set(x_18, x_74, x_57); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +x_78 = lean_box(0); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +} +block_109: +{ +lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_89 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_90 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(x_89, x_5, x_6, x_7, x_8, x_9); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc_ref(x_82); +x_94 = l_Lean_FileMap_toPosition(x_82, x_85); +lean_dec(x_85); +x_95 = l_Lean_FileMap_toPosition(x_82, x_88); +lean_dec(x_88); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +if (x_83 == 0) +{ +lean_free_object(x_90); +lean_dec_ref(x_81); +x_10 = x_94; +x_11 = x_92; +x_12 = x_96; +x_13 = x_84; +x_14 = x_97; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +else +{ +uint8_t x_98; +lean_inc(x_92); +x_98 = l_Lean_MessageData_hasTag(x_81, x_92); +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec_ref(x_96); +lean_dec_ref(x_94); +lean_dec(x_92); +lean_dec_ref(x_86); +lean_dec_ref(x_7); +x_99 = lean_box(0); +lean_ctor_set(x_90, 0, x_99); +return x_90; +} +else +{ +lean_free_object(x_90); +x_10 = x_94; +x_11 = x_92; +x_12 = x_96; +x_13 = x_84; +x_14 = x_97; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_100 = lean_ctor_get(x_90, 0); +x_101 = lean_ctor_get(x_90, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_90); +lean_inc_ref(x_82); +x_102 = l_Lean_FileMap_toPosition(x_82, x_85); +lean_dec(x_85); +x_103 = l_Lean_FileMap_toPosition(x_82, x_88); +lean_dec(x_88); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +if (x_83 == 0) +{ +lean_dec_ref(x_81); +x_10 = x_102; +x_11 = x_100; +x_12 = x_104; +x_13 = x_84; +x_14 = x_105; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +else +{ +uint8_t x_106; +lean_inc(x_100); +x_106 = l_Lean_MessageData_hasTag(x_81, x_100); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_104); +lean_dec_ref(x_102); +lean_dec(x_100); +lean_dec_ref(x_86); +lean_dec_ref(x_7); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +x_10 = x_102; +x_11 = x_100; +x_12 = x_104; +x_13 = x_84; +x_14 = x_105; +x_15 = x_87; +x_16 = x_86; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +} +} +} +block_120: +{ +lean_object* x_118; +x_118 = l_Lean_Syntax_getTailPos_x3f(x_113, x_115); +lean_dec(x_113); +if (lean_obj_tag(x_118) == 0) +{ +lean_inc(x_117); +x_81 = x_110; +x_82 = x_111; +x_83 = x_112; +x_84 = x_114; +x_85 = x_117; +x_86 = x_116; +x_87 = x_115; +x_88 = x_117; +goto block_109; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec_ref(x_118); +x_81 = x_110; +x_82 = x_111; +x_83 = x_112; +x_84 = x_114; +x_85 = x_117; +x_86 = x_116; +x_87 = x_115; +x_88 = x_119; +goto block_109; +} +} +block_132: +{ +lean_object* x_128; lean_object* x_129; +x_128 = l_Lean_replaceRef(x_1, x_123); +lean_dec(x_123); +x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_126); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; +x_130 = lean_unsigned_to_nat(0u); +x_110 = x_121; +x_111 = x_122; +x_112 = x_124; +x_113 = x_128; +x_114 = x_127; +x_115 = x_126; +x_116 = x_125; +x_117 = x_130; +goto block_120; +} +else +{ +lean_object* x_131; +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec_ref(x_129); +x_110 = x_121; +x_111 = x_122; +x_112 = x_124; +x_113 = x_128; +x_114 = x_127; +x_115 = x_126; +x_116 = x_125; +x_117 = x_131; +goto block_120; +} +} +block_141: +{ +if (x_140 == 0) +{ +x_121 = x_134; +x_122 = x_136; +x_123 = x_135; +x_124 = x_137; +x_125 = x_138; +x_126 = x_139; +x_127 = x_3; +goto block_132; +} +else +{ +x_121 = x_134; +x_122 = x_136; +x_123 = x_135; +x_124 = x_137; +x_125 = x_138; +x_126 = x_139; +x_127 = x_133; +goto block_132; +} +} +block_157: +{ +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; +x_143 = lean_ctor_get(x_7, 0); +x_144 = lean_ctor_get(x_7, 1); +x_145 = lean_ctor_get(x_7, 2); +x_146 = lean_ctor_get(x_7, 5); +x_147 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_148 = lean_box(x_142); +x_149 = lean_box(x_147); +x_150 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_150, 0, x_148); +lean_closure_set(x_150, 1, x_149); +x_151 = 1; +x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); +if (x_152 == 0) +{ +lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); +x_134 = x_150; +x_135 = x_146; +x_136 = x_144; +x_137 = x_147; +x_138 = x_143; +x_139 = x_142; +x_140 = x_152; +goto block_141; +} +else +{ +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0; +x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_145, x_153); +lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); +x_134 = x_150; +x_135 = x_146; +x_136 = x_144; +x_137 = x_147; +x_138 = x_143; +x_139 = x_142; +x_140 = x_154; +goto block_141; +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_9); +return x_156; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 0; +x_10 = 0; +x_11 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" : ", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_uget(x_3, x_2); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 0; +x_12 = l_Lean_MessageData_ofConstName(x_8, x_11); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1; +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_13); +lean_ctor_set(x_5, 0, x_12); +x_14 = l_Lean_MessageData_ofName(x_7); +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_14); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = lean_array_uset(x_10, x_2, x_15); +x_2 = x_17; +x_3 = x_18; +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; +x_20 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_5, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_5); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_3, x_2, x_22); +x_24 = 0; +x_25 = l_Lean_MessageData_ofConstName(x_21, x_24); +x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_MessageData_ofName(x_20); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = 1; +x_31 = lean_usize_add(x_2, x_30); +x_32 = lean_array_uset(x_23, x_2, x_29); +x_2 = x_31; +x_3 = x_32; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = 2; +x_11 = 0; +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_eq(x_3, x_4); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_3); +switch (lean_obj_tag(x_12)) { +case 0: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +lean_inc(x_1); +x_15 = lean_apply_3(x_1, x_5, x_13, x_14); +x_6 = x_15; +goto block_10; +} +case 1: +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec_ref(x_12); +lean_inc(x_1); +x_17 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_1, x_16, x_5); +lean_dec(x_16); +x_6 = x_17; +goto block_10; +} +default: +{ +x_6 = x_5; +goto block_10; +} +} +} +else +{ +lean_dec(x_1); +return x_5; +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +x_5 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_2); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_array_fget_borrowed(x_2, x_4); +x_9 = lean_array_fget_borrowed(x_3, x_4); +lean_inc(x_1); +lean_inc(x_9); +lean_inc(x_8); +x_10 = lean_apply_3(x_1, x_5, x_8, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_4 = x_12; +x_5 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg(x_4, x_5, x_6, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_array_get_size(x_4); +x_7 = lean_nat_dec_lt(x_5, x_6); +if (x_7 == 0) +{ +lean_dec(x_6); +lean_dec(x_1); +return x_3; +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_le(x_6, x_6); +if (x_8 == 0) +{ +lean_dec(x_6); +lean_dec(x_1); +return x_3; +} +else +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = 0; +x_10 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(x_1, x_4, x_9, x_10, x_3); +return x_11; +} +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg(x_1, x_12, x_13, x_14, x_3); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_2, x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_4, x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_apply_3(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg___lam__0), 4, 1); +lean_closure_set(x_4, 0, x_2); +x_5 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_4, x_1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_array_push(x_1, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___lam__0), 3, 0); +x_3 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0; +x_4 = l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Specify the syntax kind:", 24, 24); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Multiple syntax entries found with atoms `", 42, 42); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`: ", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Specify the category or syntax kind:", 36, 36); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Specify the category:", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("No syntax found with atoms `", 28, 28); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Syntax category `", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` not found", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_237; uint8_t x_238; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; +} else { + lean_dec_ref(x_12); + x_15 = lean_box(0); +} +x_16 = lean_ctor_get(x_13, 0); +lean_inc_ref(x_16); +lean_dec(x_13); +x_17 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_18 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc_ref(x_19); +lean_dec_ref(x_18); +x_20 = lean_ctor_get(x_19, 2); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_22 = l_Lean_TSyntax_getString(x_4); +x_106 = l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(x_22); +x_137 = l_Lean_ScopedEnvExtension_getState___redArg(x_21, x_17, x_16, x_20); +lean_dec(x_20); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_138 = x_17; +} else { + lean_dec_ref(x_17); + x_138 = lean_box(0); +} +x_139 = l_Lean_TSyntax_getId(x_1); +x_237 = l_Lean_TSyntax_getId(x_2); +x_238 = l_Lean_Name_isAnonymous(x_237); +if (x_238 == 0) +{ +lean_object* x_239; lean_object* x_240; +lean_dec(x_237); +x_239 = lean_box(0); +lean_inc(x_10); +lean_inc_ref(x_9); +x_240 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_2, x_239, x_9, x_10, x_14); +if (lean_obj_tag(x_240) == 0) +{ +lean_object* x_241; lean_object* x_242; +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 1); +lean_inc(x_242); +lean_dec_ref(x_240); +x_209 = x_241; +x_210 = x_5; +x_211 = x_6; +x_212 = x_7; +x_213 = x_8; +x_214 = x_9; +x_215 = x_10; +x_216 = x_242; +goto block_236; +} +else +{ +uint8_t x_243; +lean_dec(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec(x_106); +lean_dec_ref(x_22); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_243 = !lean_is_exclusive(x_240); +if (x_243 == 0) +{ +return x_240; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_240, 0); +x_245 = lean_ctor_get(x_240, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_240); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; +} +} +} +else +{ +lean_dec(x_2); +x_209 = x_237; +x_210 = x_5; +x_211 = x_6; +x_212 = x_7; +x_213 = x_8; +x_214 = x_9; +x_215 = x_10; +x_216 = x_14; +goto block_236; +} +block_47: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_28 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_30 = l_Lean_Name_num___override(x_29, x_26); +x_31 = l_Lean_Name_str___override(x_30, x_28); +x_32 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_33 = l_Lean_Name_str___override(x_31, x_32); +x_34 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_35 = l_Lean_Name_str___override(x_33, x_34); +x_36 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_37 = l_Lean_Name_str___override(x_35, x_36); +x_38 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_25); +lean_ctor_set(x_39, 1, x_24); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_42, 0, x_22); +x_43 = lean_mk_empty_array_with_capacity(x_23); +x_44 = lean_array_push(x_43, x_42); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_41); +lean_ctor_set(x_45, 1, x_44); +if (lean_is_scalar(x_15)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_15; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_27); +return x_46; +} +block_87: +{ +if (x_60 == 0) +{ +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec(x_48); +x_23 = x_49; +x_24 = x_54; +x_25 = x_53; +x_26 = x_58; +x_27 = x_59; +goto block_47; +} +else +{ +lean_object* x_61; +lean_inc(x_55); +lean_inc_ref(x_52); +lean_inc(x_56); +lean_inc_ref(x_51); +lean_inc(x_48); +lean_inc_ref(x_57); +lean_inc(x_53); +x_61 = l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(x_53, x_50, x_57, x_48, x_51, x_56, x_52, x_55, x_59); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1; +x_65 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0; +x_66 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_62, x_60); +x_67 = lean_string_append(x_65, x_66); +lean_dec_ref(x_66); +x_68 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +x_69 = lean_string_append(x_67, x_68); +x_70 = lean_mk_empty_array_with_capacity(x_49); +x_71 = lean_array_push(x_70, x_69); +lean_inc(x_55); +lean_inc_ref(x_52); +x_72 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(x_64, x_71, x_52, x_55, x_63); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec(x_48); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec_ref(x_72); +x_23 = x_49; +x_24 = x_54; +x_25 = x_53; +x_26 = x_58; +x_27 = x_74; +goto block_47; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec_ref(x_72); +x_76 = lean_ctor_get(x_73, 0); +lean_inc(x_76); +lean_dec_ref(x_73); +x_77 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19(x_76, x_57, x_48, x_51, x_56, x_52, x_55, x_75); +lean_dec(x_55); +lean_dec(x_56); +lean_dec_ref(x_51); +lean_dec(x_48); +lean_dec_ref(x_57); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec_ref(x_77); +x_23 = x_49; +x_24 = x_54; +x_25 = x_53; +x_26 = x_58; +x_27 = x_78; +goto block_47; +} +} +else +{ +uint8_t x_79; +lean_dec(x_58); +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_53); +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec(x_48); +lean_dec_ref(x_22); +lean_dec(x_15); +x_79 = !lean_is_exclusive(x_72); +if (x_79 == 0) +{ +return x_72; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_72, 0); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_72); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_58); +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_53); +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec(x_48); +lean_dec_ref(x_22); +lean_dec(x_15); +x_83 = !lean_is_exclusive(x_61); +if (x_83 == 0) +{ +return x_61; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_61, 0); +x_85 = lean_ctor_get(x_61, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_61); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +block_105: +{ +lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_97 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_97, 0, x_90); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23(x_4, x_97, x_94, x_88, x_89, x_93, x_91, x_92, x_95); +lean_dec(x_92); +lean_dec(x_93); +lean_dec_ref(x_89); +lean_dec(x_88); +lean_dec_ref(x_94); +lean_dec(x_4); +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_98, 0); +lean_dec(x_100); +x_101 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_101, 0, x_22); +lean_ctor_set(x_98, 0, x_101); +return x_98; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); +lean_dec(x_98); +x_103 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_103, 0, x_22); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +block_136: +{ +lean_object* x_118; lean_object* x_119; +x_118 = l_Array_append___redArg(x_116, x_109); +lean_dec_ref(x_109); +lean_inc(x_113); +lean_inc_ref(x_111); +x_119 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(x_117, x_118, x_111, x_113, x_115); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec_ref(x_119); +x_122 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3; +x_123 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0; +x_124 = l_String_intercalate(x_123, x_106); +x_125 = l_Lean_stringToMessageData(x_124); +lean_dec_ref(x_124); +x_126 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_126, 0, x_122); +lean_ctor_set(x_126, 1, x_125); +x_127 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5; +x_128 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_110); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_130; +x_130 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6; +x_88 = x_107; +x_89 = x_108; +x_90 = x_129; +x_91 = x_111; +x_92 = x_113; +x_93 = x_112; +x_94 = x_114; +x_95 = x_121; +x_96 = x_130; +goto block_105; +} +else +{ +lean_object* x_131; +x_131 = lean_ctor_get(x_120, 0); +lean_inc(x_131); +lean_dec_ref(x_120); +x_88 = x_107; +x_89 = x_108; +x_90 = x_129; +x_91 = x_111; +x_92 = x_113; +x_93 = x_112; +x_94 = x_114; +x_95 = x_121; +x_96 = x_131; +goto block_105; +} +} +else +{ +uint8_t x_132; +lean_dec_ref(x_114); +lean_dec(x_113); +lean_dec(x_112); +lean_dec_ref(x_111); +lean_dec_ref(x_110); +lean_dec_ref(x_108); +lean_dec(x_107); +lean_dec(x_106); +lean_dec_ref(x_22); +lean_dec(x_4); +x_132 = !lean_is_exclusive(x_119); +if (x_132 == 0) +{ +return x_119; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_119, 0); +x_134 = lean_ctor_get(x_119, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_119); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; +} +} +} +block_208: +{ +lean_object* x_149; lean_object* x_150; size_t x_151; size_t x_152; lean_object* x_153; +x_149 = lean_unsigned_to_nat(0u); +x_150 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7; +x_151 = lean_array_size(x_141); +x_152 = 0; +lean_inc(x_147); +lean_inc_ref(x_146); +lean_inc(x_145); +lean_inc_ref(x_144); +lean_inc(x_143); +lean_inc_ref(x_142); +lean_inc(x_106); +lean_inc(x_140); +x_153 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6(x_140, x_106, x_141, x_151, x_152, x_150, x_142, x_143, x_144, x_145, x_146, x_147, x_148); +lean_dec_ref(x_141); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec_ref(x_153); +x_156 = lean_array_get_size(x_154); +x_157 = lean_nat_dec_eq(x_156, x_149); +if (x_157 == 0) +{ +lean_object* x_158; uint8_t x_159; +lean_dec(x_138); +x_158 = lean_unsigned_to_nat(1u); +x_159 = lean_nat_dec_lt(x_158, x_156); +lean_dec(x_156); +if (x_159 == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_139); +lean_dec(x_106); +x_160 = lean_array_fget(x_154, x_149); +lean_dec(x_154); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec_ref(x_160); +x_163 = lean_box(0); +lean_inc_ref(x_146); +lean_inc_ref(x_142); +lean_inc(x_162); +x_164 = l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8(x_4, x_162, x_163, x_142, x_143, x_144, x_145, x_146, x_147, x_155); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; uint8_t x_166; +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec_ref(x_164); +x_166 = l_Lean_Name_isAnonymous(x_140); +lean_dec(x_140); +if (x_166 == 0) +{ +x_48 = x_143; +x_49 = x_158; +x_50 = x_159; +x_51 = x_144; +x_52 = x_146; +x_53 = x_162; +x_54 = x_161; +x_55 = x_147; +x_56 = x_145; +x_57 = x_142; +x_58 = x_149; +x_59 = x_165; +x_60 = x_166; +goto block_87; +} +else +{ +x_48 = x_143; +x_49 = x_158; +x_50 = x_159; +x_51 = x_144; +x_52 = x_146; +x_53 = x_162; +x_54 = x_161; +x_55 = x_147; +x_56 = x_145; +x_57 = x_142; +x_58 = x_149; +x_59 = x_165; +x_60 = x_3; +goto block_87; +} +} +else +{ +uint8_t x_167; +lean_dec(x_162); +lean_dec(x_161); +lean_dec(x_147); +lean_dec_ref(x_146); +lean_dec(x_145); +lean_dec_ref(x_144); +lean_dec(x_143); +lean_dec_ref(x_142); +lean_dec(x_140); +lean_dec_ref(x_22); +lean_dec(x_15); +x_167 = !lean_is_exclusive(x_164); +if (x_167 == 0) +{ +return x_164; +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_164, 0); +x_169 = lean_ctor_get(x_164, 1); +lean_inc(x_169); +lean_inc(x_168); +lean_dec(x_164); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +return x_170; +} +} +} +else +{ +lean_object* x_171; +lean_dec(x_15); +lean_inc(x_147); +lean_inc_ref(x_146); +lean_inc(x_145); +lean_inc_ref(x_144); +lean_inc(x_143); +lean_inc_ref(x_142); +lean_inc(x_154); +x_171 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions(x_140, x_154, x_142, x_143, x_144, x_145, x_146, x_147, x_155); +lean_dec(x_140); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; size_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec_ref(x_171); +x_174 = lean_array_size(x_154); +lean_inc(x_154); +x_175 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22(x_174, x_152, x_154); +x_176 = lean_array_to_list(x_175); +x_177 = l_Lean_MessageData_andList(x_176); +x_178 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions(x_139, x_154); +lean_dec(x_154); +lean_dec(x_139); +x_179 = l_Array_isEmpty___redArg(x_178); +if (x_179 == 0) +{ +uint8_t x_180; +x_180 = l_Array_isEmpty___redArg(x_172); +if (x_180 == 0) +{ +lean_object* x_181; +x_181 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9; +x_107 = x_143; +x_108 = x_144; +x_109 = x_178; +x_110 = x_177; +x_111 = x_146; +x_112 = x_145; +x_113 = x_147; +x_114 = x_142; +x_115 = x_173; +x_116 = x_172; +x_117 = x_181; +goto block_136; +} +else +{ +lean_object* x_182; +x_182 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11; +x_107 = x_143; +x_108 = x_144; +x_109 = x_178; +x_110 = x_177; +x_111 = x_146; +x_112 = x_145; +x_113 = x_147; +x_114 = x_142; +x_115 = x_173; +x_116 = x_172; +x_117 = x_182; +goto block_136; +} +} +else +{ +uint8_t x_183; +x_183 = l_Array_isEmpty___redArg(x_172); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1; +x_107 = x_143; +x_108 = x_144; +x_109 = x_178; +x_110 = x_177; +x_111 = x_146; +x_112 = x_145; +x_113 = x_147; +x_114 = x_142; +x_115 = x_173; +x_116 = x_172; +x_117 = x_184; +goto block_136; +} +else +{ +lean_object* x_185; +x_185 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6; +x_107 = x_143; +x_108 = x_144; +x_109 = x_178; +x_110 = x_177; +x_111 = x_146; +x_112 = x_145; +x_113 = x_147; +x_114 = x_142; +x_115 = x_173; +x_116 = x_172; +x_117 = x_185; +goto block_136; +} +} +} +else +{ +uint8_t x_186; +lean_dec(x_154); +lean_dec(x_147); +lean_dec_ref(x_146); +lean_dec(x_145); +lean_dec_ref(x_144); +lean_dec(x_143); +lean_dec_ref(x_142); +lean_dec(x_139); +lean_dec(x_106); +lean_dec_ref(x_22); +lean_dec(x_4); +x_186 = !lean_is_exclusive(x_171); +if (x_186 == 0) +{ +return x_171; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_171, 0); +x_188 = lean_ctor_get(x_171, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_171); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +return x_189; +} +} +} +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +lean_dec(x_156); +lean_dec(x_154); +lean_dec(x_140); +lean_dec(x_139); +lean_dec_ref(x_22); +lean_dec(x_15); +x_190 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13; +x_191 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0; +x_192 = l_String_intercalate(x_191, x_106); +x_193 = l_Lean_stringToMessageData(x_192); +if (lean_is_scalar(x_138)) { + x_194 = lean_alloc_ctor(7, 2, 0); +} else { + x_194 = x_138; + lean_ctor_set_tag(x_194, 7); +} +lean_ctor_set(x_194, 0, x_190); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_196 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +x_197 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23(x_4, x_196, x_142, x_143, x_144, x_145, x_146, x_147, x_155); +lean_dec(x_147); +lean_dec(x_145); +lean_dec_ref(x_144); +lean_dec(x_143); +lean_dec_ref(x_142); +lean_dec(x_4); +x_198 = !lean_is_exclusive(x_197); +if (x_198 == 0) +{ +lean_object* x_199; lean_object* x_200; +x_199 = lean_ctor_get(x_197, 0); +lean_dec(x_199); +x_200 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_200, 0, x_192); +lean_ctor_set(x_197, 0, x_200); +return x_197; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_197, 1); +lean_inc(x_201); +lean_dec(x_197); +x_202 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_202, 0, x_192); +x_203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +return x_203; +} +} +} +else +{ +uint8_t x_204; +lean_dec(x_147); +lean_dec_ref(x_146); +lean_dec(x_145); +lean_dec_ref(x_144); +lean_dec(x_143); +lean_dec_ref(x_142); +lean_dec(x_140); +lean_dec(x_139); +lean_dec(x_138); +lean_dec(x_106); +lean_dec_ref(x_22); +lean_dec(x_15); +lean_dec(x_4); +x_204 = !lean_is_exclusive(x_153); +if (x_204 == 0) +{ +return x_153; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_153, 0); +x_206 = lean_ctor_get(x_153, 1); +lean_inc(x_206); +lean_inc(x_205); +lean_dec(x_153); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +return x_207; +} +} +} +block_236: +{ +uint8_t x_217; +x_217 = l_Lean_Name_isAnonymous(x_139); +if (x_217 == 0) +{ +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_137, 2); +lean_inc_ref(x_218); +lean_dec_ref(x_137); +x_219 = l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0___redArg(x_218, x_139); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +lean_dec(x_209); +lean_dec(x_138); +lean_dec(x_106); +lean_dec_ref(x_22); +lean_dec(x_15); +lean_dec(x_4); +x_220 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15; +x_221 = l_Lean_MessageData_ofName(x_139); +x_222 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +x_223 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17; +x_224 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +x_225 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_224, x_210, x_211, x_212, x_213, x_214, x_215, x_216); +lean_dec(x_215); +lean_dec_ref(x_214); +lean_dec(x_213); +lean_dec_ref(x_212); +lean_dec(x_211); +x_226 = !lean_is_exclusive(x_225); +if (x_226 == 0) +{ +return x_225; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_227 = lean_ctor_get(x_225, 0); +x_228 = lean_ctor_get(x_225, 1); +lean_inc(x_228); +lean_inc(x_227); +lean_dec(x_225); +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_227); +lean_ctor_set(x_229, 1, x_228); +return x_229; +} +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_230 = lean_ctor_get(x_219, 0); +lean_inc(x_230); +lean_dec_ref(x_219); +lean_inc(x_139); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_139); +lean_ctor_set(x_231, 1, x_230); +x_232 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18; +x_233 = lean_array_push(x_232, x_231); +x_140 = x_209; +x_141 = x_233; +x_142 = x_210; +x_143 = x_211; +x_144 = x_212; +x_145 = x_213; +x_146 = x_214; +x_147 = x_215; +x_148 = x_216; +goto block_208; +} +} +else +{ +lean_object* x_234; lean_object* x_235; +x_234 = lean_ctor_get(x_137, 2); +lean_inc_ref(x_234); +lean_dec_ref(x_137); +x_235 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(x_234); +lean_dec_ref(x_234); +x_140 = x_209; +x_141 = x_235; +x_142 = x_210; +x_143 = x_211; +x_144 = x_212; +x_145 = x_213; +x_146 = x_214; +x_147 = x_215; +x_148 = x_216; +goto block_208; +} +} +} +} +LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0(x_1, x_2, x_3, x_4); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___redArg(x_1, x_4, x_3); +lean_dec(x_3); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2(x_1, x_2, x_5, x_4); +lean_dec(x_4); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_1, x_2); +lean_dec(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2(x_1, x_2, x_3); +lean_dec(x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_3); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_3); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_2); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0(x_4, x_5, x_3); +lean_dec(x_3); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_3); +x_11 = lean_unbox(x_4); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_3); +x_13 = lean_unbox(x_4); +x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_2); +x_12 = lean_unbox(x_3); +x_13 = l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(x_1, x_2, x_6, x_7, x_5); +lean_dec_ref(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +lean_dec_ref(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(x_1, x_2, x_3); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec_ref(x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24(x_1, x_2); +lean_dec_ref(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +x_13 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_7, 5); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_10); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 5); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_10, 5, x_15); +x_16 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +x_19 = lean_ctor_get(x_10, 2); +x_20 = lean_ctor_get(x_10, 3); +x_21 = lean_ctor_get(x_10, 4); +x_22 = lean_ctor_get(x_10, 5); +x_23 = lean_ctor_get(x_10, 6); +x_24 = lean_ctor_get(x_10, 7); +x_25 = lean_ctor_get(x_10, 8); +x_26 = lean_ctor_get(x_10, 9); +x_27 = lean_ctor_get(x_10, 10); +x_28 = lean_ctor_get(x_10, 11); +x_29 = lean_ctor_get_uint8(x_10, sizeof(void*)*14); +x_30 = lean_ctor_get(x_10, 12); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_32 = lean_ctor_get(x_10, 13); +lean_inc(x_32); +lean_inc(x_30); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_10); +x_33 = l_Lean_replaceRef(x_1, x_22); +lean_dec(x_22); +x_34 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_19); +lean_ctor_set(x_34, 3, x_20); +lean_ctor_set(x_34, 4, x_21); +lean_ctor_set(x_34, 5, x_33); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_24); +lean_ctor_set(x_34, 8, x_25); +lean_ctor_set(x_34, 9, x_26); +lean_ctor_set(x_34, 10, x_27); +lean_ctor_set(x_34, 11, x_28); +lean_ctor_set(x_34, 12, x_30); +lean_ctor_set(x_34, 13, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_29); +lean_ctor_set_uint8(x_34, sizeof(void*)*14 + 1, x_31); +x_35 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(x_2, x_5, x_6, x_7, x_8, x_9, x_34, x_11, x_12); +return x_35; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1; +x_16 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget_borrowed(x_1, x_17); +x_19 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4; +lean_inc(x_18); +x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6; +x_22 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg(x_18, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_23 = l_Lean_Syntax_getArg(x_18, x_13); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_11); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___boxed), 11, 4); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_2); +lean_closure_set(x_19, 2, x_18); +lean_closure_set(x_19, 3, x_15); +x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_kw(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = 1; +x_18 = lean_box(x_17); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___boxed), 11, 4); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_2); +lean_closure_set(x_19, 2, x_18); +lean_closure_set(x_19, 3, x_15); +x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_kw_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedKind", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instTypeNamePostponedKind() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected a `", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkKindExists___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +x_3 = l_Lean_MessageData_ofConstName(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_checkKindExists___redArg___closed__2; +x_2 = l_Lean_Doc_checkKindExists___redArg___closed__1; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` but got a `", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkKindExists___redArg___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_checkKindExists___redArg___closed__5; +x_2 = l_Lean_Doc_checkKindExists___redArg___closed__3; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Not a syntax kind: `", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkKindExists___redArg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkKindExists___redArg___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +x_10 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_1, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = 0; +x_12 = l_Lean_Doc_checkKindExists___redArg___closed__6; +x_13 = l___private_Init_Dynamic_0__Dynamic_typeNameImpl(x_1); +x_14 = l_Lean_MessageData_ofConstName(x_13, x_11); +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +lean_inc(x_19); +lean_dec_ref(x_10); +x_20 = lean_mk_syntax_ident(x_19); +lean_inc(x_7); +lean_inc_ref(x_6); +x_21 = l_Lean_realizeGlobalConstNoOverload(x_20, x_6, x_7, x_8); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_st_ref_get(x_7, x_23); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = lean_ctor_get(x_26, 0); +lean_inc_ref(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_30 = lean_ctor_get(x_29, 1); +lean_inc_ref(x_30); +x_31 = lean_ctor_get(x_30, 0); +lean_inc_ref(x_31); +lean_dec_ref(x_30); +x_32 = lean_ctor_get(x_31, 2); +lean_inc(x_32); +lean_dec_ref(x_31); +x_33 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_34 = l_Lean_ScopedEnvExtension_getState___redArg(x_33, x_29, x_28, x_32); +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_29, 1); +lean_dec(x_36); +x_37 = lean_ctor_get(x_29, 0); +lean_dec(x_37); +x_38 = lean_ctor_get(x_34, 1); +lean_inc_ref(x_38); +lean_dec_ref(x_34); +x_39 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_38, x_22); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_free_object(x_24); +x_40 = l_Lean_Doc_checkKindExists___redArg___closed__8; +x_41 = l_Lean_MessageData_ofConstName(x_22, x_39); +lean_ctor_set_tag(x_29, 7); +lean_ctor_set(x_29, 1, x_41); +lean_ctor_set(x_29, 0, x_40); +x_42 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_29); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_44; +} +else +{ +lean_object* x_45; +lean_free_object(x_29); +lean_dec(x_22); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_45 = lean_box(0); +lean_ctor_set(x_24, 0, x_45); +return x_24; +} +} +else +{ +lean_object* x_46; uint8_t x_47; +lean_dec(x_29); +x_46 = lean_ctor_get(x_34, 1); +lean_inc_ref(x_46); +lean_dec_ref(x_34); +x_47 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_46, x_22); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_free_object(x_24); +x_48 = l_Lean_Doc_checkKindExists___redArg___closed__8; +x_49 = l_Lean_MessageData_ofConstName(x_22, x_47); +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_53; +} +else +{ +lean_object* x_54; +lean_dec(x_22); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_54 = lean_box(0); +lean_ctor_set(x_24, 0, x_54); +return x_24; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_55 = lean_ctor_get(x_24, 0); +x_56 = lean_ctor_get(x_24, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_24); +x_57 = lean_ctor_get(x_55, 0); +lean_inc_ref(x_57); +lean_dec(x_55); +x_58 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_59 = lean_ctor_get(x_58, 1); +lean_inc_ref(x_59); +x_60 = lean_ctor_get(x_59, 0); +lean_inc_ref(x_60); +lean_dec_ref(x_59); +x_61 = lean_ctor_get(x_60, 2); +lean_inc(x_61); +lean_dec_ref(x_60); +x_62 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_63 = l_Lean_ScopedEnvExtension_getState___redArg(x_62, x_58, x_57, x_61); +lean_dec(x_61); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_64 = x_58; +} else { + lean_dec_ref(x_58); + x_64 = lean_box(0); +} +x_65 = lean_ctor_get(x_63, 1); +lean_inc_ref(x_65); +lean_dec_ref(x_63); +x_66 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_65, x_22); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_67 = l_Lean_Doc_checkKindExists___redArg___closed__8; +x_68 = l_Lean_MessageData_ofConstName(x_22, x_66); +if (lean_is_scalar(x_64)) { + x_69 = lean_alloc_ctor(7, 2, 0); +} else { + x_69 = x_64; + lean_ctor_set_tag(x_69, 7); +} +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_71 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_56); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_72; +} +else +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_64); +lean_dec(x_22); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_73 = lean_box(0); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_56); +return x_74; +} +} +} +else +{ +uint8_t x_75; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_75 = !lean_is_exclusive(x_21); +if (x_75 == 0) +{ +return x_21; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_21, 0); +x_77 = lean_ctor_get(x_21, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_21); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_checkKindExists___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_checkKindExists___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_checkKindExists(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_inc_ref(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 1); +lean_inc_ref(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 5); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 2); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_83; +x_83 = lean_ctor_get_uint8(x_13, sizeof(void*)*14 + 1); +if (x_83 == 0) +{ +x_16 = x_13; +x_17 = x_14; +x_18 = x_15; +goto block_82; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_84 = lean_box(x_5); +x_85 = lean_box(x_83); +x_86 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_86, 0, x_84); +lean_closure_set(x_86, 1, x_85); +lean_inc_ref(x_1); +x_87 = l_Lean_MessageData_hasTag(x_86, x_1); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +lean_dec_ref(x_8); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_15); +return x_89; +} +else +{ +x_16 = x_13; +x_17 = x_14; +x_18 = x_15; +goto block_82; +} +} +block_82: +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_st_ref_take(x_17, x_18); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_23 = lean_ctor_get(x_19, 1); +x_24 = lean_ctor_get(x_16, 6); +x_25 = lean_ctor_get(x_16, 7); +x_26 = lean_ctor_get(x_21, 6); +lean_inc(x_25); +lean_inc(x_24); +lean_ctor_set(x_19, 1, x_25); +lean_ctor_set(x_19, 0, x_24); +x_27 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_1); +x_28 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_28, 0, x_2); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_4); +lean_ctor_set(x_28, 3, x_8); +lean_ctor_set(x_28, 4, x_27); +lean_ctor_set_uint8(x_28, sizeof(void*)*5, x_5); +lean_ctor_set_uint8(x_28, sizeof(void*)*5 + 1, x_6); +lean_ctor_set_uint8(x_28, sizeof(void*)*5 + 2, x_7); +x_29 = l_Lean_MessageLog_add(x_28, x_26); +lean_ctor_set(x_21, 6, x_29); +x_30 = lean_st_ref_set(x_17, x_21, x_23); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +x_33 = lean_box(0); +lean_ctor_set(x_30, 0, x_33); +return x_30; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_37 = lean_ctor_get(x_19, 1); +x_38 = lean_ctor_get(x_16, 6); +x_39 = lean_ctor_get(x_16, 7); +x_40 = lean_ctor_get(x_21, 0); +x_41 = lean_ctor_get(x_21, 1); +x_42 = lean_ctor_get(x_21, 2); +x_43 = lean_ctor_get(x_21, 3); +x_44 = lean_ctor_get(x_21, 4); +x_45 = lean_ctor_get(x_21, 5); +x_46 = lean_ctor_get(x_21, 6); +x_47 = lean_ctor_get(x_21, 7); +x_48 = lean_ctor_get(x_21, 8); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_21); +lean_inc(x_39); +lean_inc(x_38); +lean_ctor_set(x_19, 1, x_39); +lean_ctor_set(x_19, 0, x_38); +x_49 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_49, 0, x_19); +lean_ctor_set(x_49, 1, x_1); +x_50 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_50, 0, x_2); +lean_ctor_set(x_50, 1, x_3); +lean_ctor_set(x_50, 2, x_4); +lean_ctor_set(x_50, 3, x_8); +lean_ctor_set(x_50, 4, x_49); +lean_ctor_set_uint8(x_50, sizeof(void*)*5, x_5); +lean_ctor_set_uint8(x_50, sizeof(void*)*5 + 1, x_6); +lean_ctor_set_uint8(x_50, sizeof(void*)*5 + 2, x_7); +x_51 = l_Lean_MessageLog_add(x_50, x_46); +x_52 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_52, 0, x_40); +lean_ctor_set(x_52, 1, x_41); +lean_ctor_set(x_52, 2, x_42); +lean_ctor_set(x_52, 3, x_43); +lean_ctor_set(x_52, 4, x_44); +lean_ctor_set(x_52, 5, x_45); +lean_ctor_set(x_52, 6, x_51); +lean_ctor_set(x_52, 7, x_47); +lean_ctor_set(x_52, 8, x_48); +x_53 = lean_st_ref_set(x_17, x_52, x_37); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_55 = x_53; +} else { + lean_dec_ref(x_53); + x_55 = lean_box(0); +} +x_56 = lean_box(0); +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_55; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_58 = lean_ctor_get(x_19, 0); +x_59 = lean_ctor_get(x_19, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_19); +x_60 = lean_ctor_get(x_16, 6); +x_61 = lean_ctor_get(x_16, 7); +x_62 = lean_ctor_get(x_58, 0); +lean_inc_ref(x_62); +x_63 = lean_ctor_get(x_58, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_58, 2); +lean_inc_ref(x_64); +x_65 = lean_ctor_get(x_58, 3); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_58, 4); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_58, 5); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_58, 6); +lean_inc_ref(x_68); +x_69 = lean_ctor_get(x_58, 7); +lean_inc_ref(x_69); +x_70 = lean_ctor_get(x_58, 8); +lean_inc_ref(x_70); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + lean_ctor_release(x_58, 2); + lean_ctor_release(x_58, 3); + lean_ctor_release(x_58, 4); + lean_ctor_release(x_58, 5); + lean_ctor_release(x_58, 6); + lean_ctor_release(x_58, 7); + lean_ctor_release(x_58, 8); + x_71 = x_58; +} else { + lean_dec_ref(x_58); + x_71 = lean_box(0); +} +lean_inc(x_61); +lean_inc(x_60); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_60); +lean_ctor_set(x_72, 1, x_61); +x_73 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_1); +x_74 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_74, 0, x_2); +lean_ctor_set(x_74, 1, x_3); +lean_ctor_set(x_74, 2, x_4); +lean_ctor_set(x_74, 3, x_8); +lean_ctor_set(x_74, 4, x_73); +lean_ctor_set_uint8(x_74, sizeof(void*)*5, x_5); +lean_ctor_set_uint8(x_74, sizeof(void*)*5 + 1, x_6); +lean_ctor_set_uint8(x_74, sizeof(void*)*5 + 2, x_7); +x_75 = l_Lean_MessageLog_add(x_74, x_68); +if (lean_is_scalar(x_71)) { + x_76 = lean_alloc_ctor(0, 9, 0); +} else { + x_76 = x_71; +} +lean_ctor_set(x_76, 0, x_62); +lean_ctor_set(x_76, 1, x_63); +lean_ctor_set(x_76, 2, x_64); +lean_ctor_set(x_76, 3, x_65); +lean_ctor_set(x_76, 4, x_66); +lean_ctor_set(x_76, 5, x_67); +lean_ctor_set(x_76, 6, x_75); +lean_ctor_set(x_76, 7, x_69); +lean_ctor_set(x_76, 8, x_70); +x_77 = lean_st_ref_set(x_17, x_76, x_59); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = lean_box(0); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; +x_13 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0___boxed), 7, 0); +x_14 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1___boxed), 7, 0); +x_62 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); +x_79 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3___boxed), 7, 0); +x_80 = 2; +x_101 = l_Lean_instBEqMessageSeverity_beq(x_3, x_80); +if (x_101 == 0) +{ +x_86 = x_101; +goto block_100; +} +else +{ +uint8_t x_102; +lean_inc_ref(x_2); +x_102 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_86 = x_102; +goto block_100; +} +block_52: +{ +lean_object* x_20; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_24 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4___boxed), 8, 1); +lean_closure_set(x_24, 0, x_23); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec_ref(x_25); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec_ref(x_28); +lean_inc(x_21); +x_31 = l_Lean_FileMap_toPosition(x_21, x_18); +lean_dec(x_18); +x_32 = l_Lean_FileMap_toPosition(x_21, x_19); +lean_dec(x_19); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; +x_35 = lean_box(x_15); +x_36 = lean_box(x_16); +x_37 = lean_box(x_4); +x_38 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__6___boxed), 15, 8); +lean_closure_set(x_38, 0, x_26); +lean_closure_set(x_38, 1, x_29); +lean_closure_set(x_38, 2, x_31); +lean_closure_set(x_38, 3, x_33); +lean_closure_set(x_38, 4, x_35); +lean_closure_set(x_38, 5, x_36); +lean_closure_set(x_38, 6, x_37); +lean_closure_set(x_38, 7, x_34); +x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_28); +if (x_40 == 0) +{ +return x_28; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_28, 0); +x_42 = lean_ctor_get(x_28, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_28); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_18); +lean_dec_ref(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_44 = !lean_is_exclusive(x_25); +if (x_44 == 0) +{ +return x_25; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_25, 0); +x_46 = lean_ctor_get(x_25, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_25); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_19); +lean_dec(x_18); +lean_dec_ref(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_48 = !lean_is_exclusive(x_20); +if (x_48 == 0) +{ +return x_20; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_20, 0); +x_50 = lean_ctor_get(x_20, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_20); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +block_61: +{ +lean_object* x_59; +x_59 = l_Lean_Syntax_getTailPos_x3f(x_56, x_57); +lean_dec(x_56); +if (lean_obj_tag(x_59) == 0) +{ +lean_inc(x_58); +x_15 = x_53; +x_16 = x_55; +x_17 = x_54; +x_18 = x_58; +x_19 = x_58; +goto block_52; +} +else +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +lean_dec_ref(x_59); +x_15 = x_53; +x_16 = x_55; +x_17 = x_54; +x_18 = x_58; +x_19 = x_60; +goto block_52; +} +} +block_78: +{ +lean_object* x_67; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_67 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_62, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec_ref(x_67); +x_70 = l_Lean_replaceRef(x_1, x_68); +lean_dec(x_68); +x_71 = l_Lean_Syntax_getPos_x3f(x_70, x_64); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; +x_72 = lean_unsigned_to_nat(0u); +x_53 = x_63; +x_54 = x_69; +x_55 = x_66; +x_56 = x_70; +x_57 = x_64; +x_58 = x_72; +goto block_61; +} +else +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +lean_dec_ref(x_71); +x_53 = x_63; +x_54 = x_69; +x_55 = x_66; +x_56 = x_70; +x_57 = x_64; +x_58 = x_73; +goto block_61; +} +} +else +{ +uint8_t x_74; +lean_dec_ref(x_14); +lean_dec_ref(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_74 = !lean_is_exclusive(x_67); +if (x_74 == 0) +{ +return x_67; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_67, 0); +x_76 = lean_ctor_get(x_67, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_67); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +block_85: +{ +if (x_84 == 0) +{ +x_63 = x_81; +x_64 = x_83; +x_65 = x_82; +x_66 = x_3; +goto block_78; +} +else +{ +x_63 = x_81; +x_64 = x_83; +x_65 = x_82; +x_66 = x_80; +goto block_78; +} +} +block_100: +{ +if (x_86 == 0) +{ +lean_object* x_87; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_87 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; uint8_t x_91; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec_ref(x_87); +x_90 = 1; +x_91 = l_Lean_instBEqMessageSeverity_beq(x_3, x_90); +if (x_91 == 0) +{ +lean_dec(x_88); +x_81 = x_86; +x_82 = x_89; +x_83 = x_86; +x_84 = x_91; +goto block_85; +} +else +{ +lean_object* x_92; uint8_t x_93; +x_92 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0; +x_93 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_88, x_92); +lean_dec(x_88); +x_81 = x_86; +x_82 = x_89; +x_83 = x_86; +x_84 = x_93; +goto block_85; +} +} +else +{ +uint8_t x_94; +lean_dec_ref(x_62); +lean_dec_ref(x_14); +lean_dec_ref(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_94 = !lean_is_exclusive(x_87); +if (x_94 == 0) +{ +return x_87; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_87, 0); +x_96 = lean_ctor_get(x_87, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_87); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_dec_ref(x_79); +lean_dec_ref(x_62); +lean_dec_ref(x_14); +lean_dec_ref(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_98 = lean_box(0); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_12); +return x_99; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = 2; +x_14 = 0; +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 6); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 7); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__0___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_11 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1___boxed), 7, 0); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0___boxed), 7, 0); +x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = l_Lean_ResolveName_resolveGlobalName(x_12, x_16, x_21, x_1); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_19); +x_25 = l_Lean_ResolveName_resolveGlobalName(x_12, x_16, x_23, x_1); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_12); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_15); +if (x_31 == 0) +{ +return x_15; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_15, 0); +x_33 = lean_ctor_get(x_15, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_15); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_11); +if (x_35 == 0) +{ +return x_11; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_11, 0); +x_37 = lean_ctor_get(x_11, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_11); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_2); +x_19 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(x_3, x_4, x_5, x_18, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get(x_1, 2); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_3); +x_19 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_19, 0, x_3); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_17); +lean_ctor_set(x_19, 3, x_18); +if (x_5 == 0) +{ +x_20 = x_5; +goto block_57; +} +else +{ +uint8_t x_58; +x_58 = l_List_isEmpty___redArg(x_4); +if (x_58 == 0) +{ +x_20 = x_5; +goto block_57; +} +else +{ +uint8_t x_59; +x_59 = 0; +x_20 = x_59; +goto block_57; +} +} +block_57: +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(x_20); +lean_inc_ref(x_2); +lean_inc_ref(x_19); +x_22 = lean_apply_2(x_2, x_19, x_21); +if (lean_obj_tag(x_22) == 0) +{ +if (lean_obj_tag(x_3) == 1) +{ +if (x_5 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_24); +lean_dec_ref(x_3); +x_25 = l_Lean_MacroScopesView_review(x_19); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_26 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_box(0); +x_30 = l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__10(x_27, x_29); +x_31 = l_List_isEmpty___redArg(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_32 = 1; +x_33 = lean_box(0); +x_34 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(x_24, x_4, x_1, x_2, x_23, x_32, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +x_36 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(x_24, x_4, x_1, x_2, x_23, x_5, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +return x_36; +} +} +else +{ +uint8_t x_37; +lean_dec_ref(x_24); +lean_dec(x_23); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_4); +lean_dec_ref(x_2); +x_37 = !lean_is_exclusive(x_26); +if (x_37 == 0) +{ +return x_26; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_26, 0); +x_39 = lean_ctor_get(x_26, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_26); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec_ref(x_19); +x_41 = lean_ctor_get(x_3, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_42); +lean_dec_ref(x_3); +x_43 = lean_box(0); +x_44 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(x_42, x_4, x_1, x_2, x_41, x_5, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec_ref(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_15); +return x_46; +} +} +else +{ +uint8_t x_47; +lean_dec_ref(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_3); +lean_dec_ref(x_2); +x_47 = !lean_is_exclusive(x_22); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_22, 0); +x_49 = l_Lean_LocalDecl_toExpr(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_4); +lean_ctor_set(x_22, 0, x_50); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_22); +lean_ctor_set(x_51, 1, x_15); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_22, 0); +lean_inc(x_52); +lean_dec(x_22); +x_53 = l_Lean_LocalDecl_toExpr(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_4); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_15); +return x_56; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 2); +lean_inc_ref(x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_4); +x_7 = l_Lean_MacroScopesView_review(x_4); +x_8 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(x_7, x_5, x_2, x_3, x_4, x_6); +if (lean_obj_tag(x_8) == 0) +{ +if (x_5 == 0) +{ +lean_object* x_9; +x_9 = l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(x_8, x_7, x_6); +lean_dec(x_7); +return x_9; +} +else +{ +lean_dec(x_7); +return x_8; +} +} +else +{ +lean_dec(x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_12); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_16 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec_ref(x_16); +x_19 = lean_ctor_get(x_17, 2); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_closure((void*)(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1___boxed), 7, 0); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = l_Lean_extractMacroScopes(x_1); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_alloc_closure((void*)(l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2___boxed), 5, 3); +lean_closure_set(x_26, 0, x_14); +lean_closure_set(x_26, 1, x_19); +lean_closure_set(x_26, 2, x_22); +x_27 = lean_box(0); +x_28 = 0; +x_29 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(x_24, x_26, x_25, x_27, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +lean_dec_ref(x_24); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_21); +if (x_30 == 0) +{ +return x_21; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_21, 0); +x_32 = lean_ctor_get(x_21, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_21); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) +{ +return x_16; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec_ref(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_13); +if (x_38 == 0) +{ +return x_13; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_13, 0); +x_40 = lean_ctor_get(x_13, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_13); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_16; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_20 = x_5; +} else { + lean_dec_ref(x_5); + x_20 = lean_box(0); +} +x_21 = l_Lean_Name_appendCore(x_17, x_19); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_21); +x_22 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +if (lean_obj_tag(x_23) == 0) +{ +goto block_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_23, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec_ref(x_23); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +lean_dec(x_20); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_28, 0); +x_32 = lean_ctor_get(x_28, 1); +lean_dec(x_32); +x_33 = lean_name_eq(x_31, x_2); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_inc(x_1); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_1); +x_4 = x_18; +x_5 = x_28; +x_15 = x_24; +goto _start; +} +else +{ +lean_object* x_35; +lean_inc_ref(x_3); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_21); +x_35 = lean_apply_11(x_3, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec_ref(x_35); +lean_inc(x_1); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_1); +x_4 = x_18; +x_5 = x_28; +x_15 = x_38; +goto _start; +} +else +{ +uint8_t x_40; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +lean_dec(x_41); +lean_inc(x_21); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_21); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_43); +lean_ctor_set(x_35, 0, x_28); +return x_35; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_dec(x_35); +lean_inc(x_21); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_21); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 0, x_46); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_28); +lean_ctor_set(x_47, 1, x_44); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_free_object(x_28); +lean_dec(x_21); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) +{ +return x_35; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +else +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_28, 0); +lean_inc(x_52); +lean_dec(x_28); +x_53 = lean_name_eq(x_52, x_2); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; +lean_inc(x_1); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_1); +lean_ctor_set(x_54, 1, x_21); +x_4 = x_18; +x_5 = x_54; +x_15 = x_24; +goto _start; +} +else +{ +lean_object* x_56; +lean_inc_ref(x_3); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_21); +x_56 = lean_apply_11(x_3, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; uint8_t x_58; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_unbox(x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec_ref(x_56); +lean_inc(x_1); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_21); +x_4 = x_18; +x_5 = x_60; +x_15 = x_59; +goto _start; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_62 = lean_ctor_get(x_56, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_63 = x_56; +} else { + lean_dec_ref(x_56); + x_63 = lean_box(0); +} +lean_inc(x_21); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_21); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_21); +if (lean_is_scalar(x_63)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_63; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_62); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_21); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_68 = lean_ctor_get(x_56, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_56, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_70 = x_56; +} else { + lean_dec_ref(x_56); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +} +} +else +{ +lean_dec_ref(x_29); +lean_dec(x_28); +goto block_27; +} +} +block_27: +{ +lean_object* x_25; +lean_inc(x_1); +if (lean_is_scalar(x_20)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_20; +} +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_21); +x_4 = x_18; +x_5 = x_25; +x_15 = x_24; +goto _start; +} +} +else +{ +uint8_t x_72; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_22); +if (x_72 == 0) +{ +return x_22; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_22, 0); +x_74 = lean_ctor_get(x_22, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_22); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(x_1, x_2, x_3, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = l_Lean_Name_hasMacroScopes(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_privateToUserName(x_3); +x_16 = l_Lean_Name_componentsRev(x_15); +x_17 = lean_box(0); +x_18 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0; +x_19 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(x_17, x_1, x_2, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec_ref(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec_ref(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_13); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_7, x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec_ref(x_8); +x_21 = lean_array_uget(x_5, x_7); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc_ref(x_2); +x_22 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5(x_1, x_2, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; size_t x_25; size_t x_26; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = 1; +x_26 = lean_usize_add(x_7, x_25); +lean_inc_ref(x_3); +{ +size_t _tmp_6 = x_26; +lean_object* _tmp_7 = x_3; +lean_object* _tmp_17 = x_24; +x_7 = _tmp_6; +x_8 = _tmp_7; +x_18 = _tmp_17; +} +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 0); +lean_dec(x_29); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_4); +lean_ctor_set(x_22, 0, x_30); +return x_22; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_dec(x_22); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_4); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_34 = !lean_is_exclusive(x_22); +if (x_34 == 0) +{ +return x_22; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_22, 0); +x_36 = lean_ctor_get(x_22, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_22); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_box(0); +x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0; +x_17 = lean_array_size(x_3); +x_18 = 0; +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7(x_1, x_2, x_16, x_15, x_3, x_17, x_18, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_1); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec_ref(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec_ref(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = lean_apply_12(x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec_ref(x_1); +x_18 = lean_array_push(x_3, x_17); +x_19 = lean_box(0); +x_20 = lean_apply_12(x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_34; +x_34 = l_Lean_Name_hasMacroScopes(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_36 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_83; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec_ref(x_36); +lean_inc_ref(x_4); +lean_inc(x_1); +x_39 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__1___boxed), 14, 2); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_4); +lean_inc(x_1); +x_83 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_37); +x_84 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_1); +x_85 = l_Lean_Name_append(x_84, x_1); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +lean_inc(x_1); +x_40 = x_1; +x_41 = x_86; +goto block_82; +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_83); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_83, 0); +lean_inc(x_88); +x_89 = l_Lean_mkPrivateName(x_37, x_88); +lean_dec(x_37); +x_90 = lean_name_eq(x_1, x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +lean_object* x_91; +lean_free_object(x_83); +x_91 = lean_box(0); +x_40 = x_88; +x_41 = x_91; +goto block_82; +} +else +{ +lean_object* x_92; lean_object* x_93; +x_92 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_88); +x_93 = l_Lean_Name_append(x_92, x_88); +lean_ctor_set(x_83, 0, x_93); +x_40 = x_88; +x_41 = x_83; +goto block_82; +} +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_83, 0); +lean_inc(x_94); +lean_dec(x_83); +lean_inc(x_94); +x_95 = l_Lean_mkPrivateName(x_37, x_94); +lean_dec(x_37); +x_96 = lean_name_eq(x_1, x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +lean_object* x_97; +x_97 = lean_box(0); +x_40 = x_94; +x_41 = x_97; +goto block_82; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0; +lean_inc(x_94); +x_99 = l_Lean_Name_append(x_98, x_94); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_40 = x_94; +x_41 = x_100; +goto block_82; +} +} +} +block_82: +{ +if (x_2 == 0) +{ +lean_object* x_42; +lean_dec_ref(x_4); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +lean_inc_ref(x_39); +lean_inc(x_41); +x_45 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__0), 14, 2); +lean_closure_set(x_45, 0, x_41); +lean_closure_set(x_45, 1, x_39); +x_46 = l_Lean_getRevAliases(x_43, x_1); +x_47 = lean_array_mk(x_46); +if (x_3 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_dec(x_41); +lean_dec_ref(x_39); +x_48 = lean_unsigned_to_nat(0u); +x_49 = lean_array_get_size(x_47); +x_50 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2; +x_51 = lean_nat_dec_lt(x_48, x_49); +if (x_51 == 0) +{ +lean_dec(x_49); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_45; +x_29 = x_44; +x_30 = x_50; +goto block_33; +} +else +{ +uint8_t x_52; +x_52 = lean_nat_dec_le(x_49, x_49); +if (x_52 == 0) +{ +lean_dec(x_49); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_45; +x_29 = x_44; +x_30 = x_50; +goto block_33; +} +else +{ +size_t x_53; size_t x_54; lean_object* x_55; +x_53 = 0; +x_54 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(x_40, x_47, x_53, x_54, x_50); +lean_dec_ref(x_47); +lean_dec(x_40); +x_28 = x_45; +x_29 = x_44; +x_30 = x_55; +goto block_33; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec_ref(x_45); +lean_dec(x_40); +x_56 = lean_box(0); +x_57 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__0(x_41, x_39, x_47, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_44); +return x_57; +} +} +else +{ +uint8_t x_58; +lean_dec(x_41); +lean_dec(x_40); +lean_dec_ref(x_39); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_42); +if (x_58 == 0) +{ +return x_42; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_42, 0); +x_60 = lean_ctor_get(x_42, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_42); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; +lean_dec_ref(x_39); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_40); +x_62 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_38); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec_ref(x_62); +lean_inc(x_1); +x_65 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__2___boxed), 13, 2); +lean_closure_set(x_65, 0, x_41); +lean_closure_set(x_65, 1, x_1); +if (lean_obj_tag(x_63) == 0) +{ +lean_dec(x_40); +lean_dec_ref(x_4); +lean_dec(x_1); +x_23 = x_64; +x_24 = x_65; +goto block_27; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec_ref(x_63); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_name_eq(x_68, x_1); +lean_dec(x_1); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_dec_ref(x_4); +x_15 = x_40; +x_16 = x_65; +x_17 = x_69; +x_18 = x_64; +goto block_22; +} +else +{ +lean_object* x_70; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_40); +x_70 = lean_apply_11(x_4, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_64); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec_ref(x_70); +x_73 = lean_unbox(x_71); +lean_dec(x_71); +x_15 = x_40; +x_16 = x_65; +x_17 = x_73; +x_18 = x_72; +goto block_22; +} +else +{ +uint8_t x_74; +lean_dec_ref(x_65); +lean_dec(x_40); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_74 = !lean_is_exclusive(x_70); +if (x_74 == 0) +{ +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_70, 0); +x_76 = lean_ctor_get(x_70, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_70); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +} +else +{ +lean_dec_ref(x_67); +lean_dec(x_66); +lean_dec(x_40); +lean_dec_ref(x_4); +lean_dec(x_1); +x_23 = x_64; +x_24 = x_65; +goto block_27; +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_62); +if (x_78 == 0) +{ +return x_62; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_62, 0); +x_80 = lean_ctor_get(x_62, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_62); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_36); +if (x_101 == 0) +{ +return x_36; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_36, 0); +x_103 = lean_ctor_get(x_36, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_36); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +lean_object* x_105; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_1); +lean_ctor_set(x_105, 1, x_14); +return x_105; +} +block_22: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +x_19 = lean_box(0); +x_20 = lean_apply_11(x_16, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec_ref(x_16); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +block_27: +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = lean_apply_11(x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +return x_26; +} +block_33: +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = lean_apply_12(x_28, x_30, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_29); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = 1; +x_18 = lean_box(x_17); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = 1; +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec_ref(x_14); +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_13, 0); +lean_dec(x_24); +x_25 = lean_box(x_1); +lean_ctor_set(x_13, 0, x_25); +return x_13; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +lean_dec(x_13); +x_27 = lean_box(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_13); +if (x_29 == 0) +{ +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_13); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_closure((void*)(l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0___boxed), 12, 1); +lean_closure_set(x_15, 0, x_14); +x_16 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5(x_1, x_2, x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_10 = lean_array_uset(x_7, x_2, x_5); +x_2 = x_9; +x_3 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_MessageData_hint(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_1, x_2, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("No syntax kind specified. The named argument `of` is required for `", 67, 67); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("kw!", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_kw_x21___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Doc_kw_x21___closed__3; +x_3 = l_Lean_MessageData_ofConstName(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_kw_x21___closed__4; +x_2 = l_Lean_Doc_kw_x21___closed__1; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16; +x_2 = l_Lean_Doc_kw_x21___closed__5; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("for automatic resolution", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21___closed__9; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("for automatic resolution with suggestions", 41, 41); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21___closed__11; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Use one of the other keyword roles.", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("checkKindExists", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_kw_x21___closed__17; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedCheck", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_kw_x21___closed__19; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_14 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_dec(x_17); +lean_dec(x_2); +x_50 = lean_ctor_get(x_11, 5); +x_51 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1; +lean_inc(x_50); +x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6; +x_23 = x_53; +x_24 = x_4; +x_25 = x_5; +x_26 = x_6; +x_27 = x_7; +x_28 = x_8; +x_29 = x_9; +x_30 = x_10; +x_31 = x_11; +x_32 = x_12; +x_33 = x_16; +goto block_49; +} +else +{ +lean_object* x_54; uint8_t x_55; lean_object* x_56; +x_54 = l_Lean_Doc_kw_x21___closed__7; +x_55 = 0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_56 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2(x_54, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec_ref(x_56); +x_59 = l_Lean_Doc_kw_x21___closed__8; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_60 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2(x_59, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec_ref(x_60); +x_63 = lean_unsigned_to_nat(1u); +x_64 = l_Lean_Syntax_getArg(x_50, x_63); +x_65 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_57, x_52); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_box(0); +x_68 = l_Lean_Doc_kw_x21___closed__10; +x_69 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +lean_ctor_set(x_69, 2, x_68); +lean_ctor_set(x_69, 3, x_67); +lean_ctor_set(x_69, 4, x_67); +lean_ctor_set(x_69, 5, x_67); +x_70 = 0; +x_71 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_67); +lean_ctor_set(x_71, 2, x_67); +lean_ctor_set_uint8(x_71, sizeof(void*)*3, x_70); +x_72 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_61, x_52); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = l_Lean_Doc_kw_x21___closed__12; +x_75 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_67); +lean_ctor_set(x_75, 2, x_74); +lean_ctor_set(x_75, 3, x_67); +lean_ctor_set(x_75, 4, x_67); +lean_ctor_set(x_75, 5, x_67); +x_76 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_67); +lean_ctor_set(x_76, 2, x_67); +lean_ctor_set_uint8(x_76, sizeof(void*)*3, x_70); +x_77 = l_Lean_Doc_kw_x21___closed__13; +x_78 = lean_array_push(x_77, x_71); +x_79 = lean_array_push(x_78, x_76); +x_80 = l_Lean_Doc_kw_x21___closed__15; +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_64); +x_82 = lean_box(x_55); +x_83 = lean_alloc_closure((void*)(l_Lean_Doc_kw_x21___lam__0___boxed), 12, 5); +lean_closure_set(x_83, 0, x_80); +lean_closure_set(x_83, 1, x_79); +lean_closure_set(x_83, 2, x_81); +lean_closure_set(x_83, 3, x_67); +lean_closure_set(x_83, 4, x_82); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec_ref(x_84); +x_23 = x_85; +x_24 = x_4; +x_25 = x_5; +x_26 = x_6; +x_27 = x_7; +x_28 = x_8; +x_29 = x_9; +x_30 = x_10; +x_31 = x_11; +x_32 = x_12; +x_33 = x_86; +goto block_49; +} +else +{ +uint8_t x_87; +lean_dec(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +return x_84; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_84, 0); +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_84); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +else +{ +uint8_t x_91; +lean_dec(x_57); +lean_dec(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_91 = !lean_is_exclusive(x_60); +if (x_91 == 0) +{ +return x_60; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_60, 0); +x_93 = lean_ctor_get(x_60, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_60); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} +} +else +{ +uint8_t x_95; +lean_dec(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_95 = !lean_is_exclusive(x_56); +if (x_95 == 0) +{ +return x_56; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_56, 0); +x_97 = lean_ctor_get(x_56, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_56); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_ctor_get(x_1, 0); +lean_inc(x_99); +lean_dec_ref(x_1); +x_100 = lean_box(0); +x_101 = lean_alloc_closure((void*)(l_Lean_Doc_kw_x21___lam__1___boxed), 9, 2); +lean_closure_set(x_101, 0, x_99); +lean_closure_set(x_101, 1, x_100); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_102 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_101, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec_ref(x_102); +x_105 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_106 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_105, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec_ref(x_106); +x_109 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_110 = lean_ctor_get(x_109, 1); +lean_inc_ref(x_110); +x_111 = lean_ctor_get(x_110, 0); +lean_inc_ref(x_111); +lean_dec_ref(x_110); +x_112 = lean_ctor_get(x_111, 2); +lean_inc(x_112); +lean_dec_ref(x_111); +x_113 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_114 = l_Lean_ScopedEnvExtension_getState___redArg(x_113, x_109, x_107, x_112); +lean_dec(x_112); +x_115 = !lean_is_exclusive(x_109); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_116 = lean_ctor_get(x_109, 1); +lean_dec(x_116); +x_117 = lean_ctor_get(x_109, 0); +lean_dec(x_117); +x_118 = lean_ctor_get(x_114, 1); +lean_inc_ref(x_118); +lean_dec_ref(x_114); +x_119 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_118, x_103); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_120 = l_Lean_Doc_checkKindExists___redArg___closed__8; +x_121 = l_Lean_MessageData_ofConstName(x_103, x_119); +lean_ctor_set_tag(x_109, 7); +lean_ctor_set(x_109, 1, x_121); +lean_ctor_set(x_109, 0, x_120); +x_122 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_123 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_123, 0, x_109); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(x_15, x_123, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec_ref(x_124); +x_18 = x_125; +goto block_22; +} +else +{ +uint8_t x_126; +lean_dec(x_17); +lean_dec(x_15); +x_126 = !lean_is_exclusive(x_124); +if (x_126 == 0) +{ +return x_124; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_124, 0); +x_128 = lean_ctor_get(x_124, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_124); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +else +{ +lean_free_object(x_109); +lean_dec(x_103); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_18 = x_108; +goto block_22; +} +} +else +{ +lean_object* x_130; uint8_t x_131; +lean_dec(x_109); +x_130 = lean_ctor_get(x_114, 1); +lean_inc_ref(x_130); +lean_dec_ref(x_114); +x_131 = l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(x_130, x_103); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_132 = l_Lean_Doc_checkKindExists___redArg___closed__8; +x_133 = l_Lean_MessageData_ofConstName(x_103, x_131); +x_134 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; +x_136 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(x_15, x_136, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec_ref(x_137); +x_18 = x_138; +goto block_22; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_17); +lean_dec(x_15); +x_139 = lean_ctor_get(x_137, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_137, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_141 = x_137; +} else { + lean_dec_ref(x_137); + x_141 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_139); +lean_ctor_set(x_142, 1, x_140); +return x_142; +} +} +else +{ +lean_dec(x_103); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_18 = x_108; +goto block_22; +} +} +} +else +{ +uint8_t x_143; +lean_dec(x_103); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_143 = !lean_is_exclusive(x_106); +if (x_143 == 0) +{ +return x_106; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_106, 0); +x_145 = lean_ctor_get(x_106, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_106); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +} +else +{ +uint8_t x_147; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_147 = !lean_is_exclusive(x_102); +if (x_147 == 0) +{ +return x_102; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_102, 0); +x_149 = lean_ctor_get(x_102, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_102); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +return x_150; +} +} +} +else +{ +lean_object* x_151; uint8_t x_152; +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +x_151 = lean_ctor_get(x_1, 0); +lean_inc(x_151); +lean_dec_ref(x_1); +x_152 = !lean_is_exclusive(x_2); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_153 = lean_ctor_get(x_2, 0); +x_154 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +x_155 = l_Lean_Doc_kw_x21___closed__16; +x_156 = l_Lean_Doc_kw_x21___closed__18; +x_157 = lean_array_size(x_153); +x_158 = 0; +x_159 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(x_157, x_158, x_153); +x_160 = l_Lean_TSyntax_getId(x_151); +lean_dec(x_151); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_154); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_162, 0, x_156); +lean_ctor_set(x_162, 1, x_159); +lean_ctor_set(x_162, 2, x_161); +x_163 = l_Lean_Doc_kw_x21___closed__20; +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_155); +lean_ctor_set(x_164, 1, x_162); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +lean_ctor_set_tag(x_2, 3); +lean_ctor_set(x_2, 0, x_166); +x_167 = l_Lean_Doc_kw_x21___closed__21; +x_168 = lean_array_push(x_167, x_2); +x_169 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_169, 0, x_165); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_16); +return x_170; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; size_t x_175; size_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_171 = lean_ctor_get(x_2, 0); +lean_inc(x_171); +lean_dec(x_2); +x_172 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; +x_173 = l_Lean_Doc_kw_x21___closed__16; +x_174 = l_Lean_Doc_kw_x21___closed__18; +x_175 = lean_array_size(x_171); +x_176 = 0; +x_177 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(x_175, x_176, x_171); +x_178 = l_Lean_TSyntax_getId(x_151); +lean_dec(x_151); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_172); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_180, 0, x_174); +lean_ctor_set(x_180, 1, x_177); +lean_ctor_set(x_180, 2, x_179); +x_181 = l_Lean_Doc_kw_x21___closed__20; +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_173); +lean_ctor_set(x_182, 1, x_180); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +x_184 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +x_185 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_185, 0, x_184); +x_186 = l_Lean_Doc_kw_x21___closed__21; +x_187 = lean_array_push(x_186, x_185); +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_16); +return x_189; +} +} +} +block_22: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_19); +if (lean_is_scalar(x_17)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_17; +} +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +block_49: +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = l_Lean_Doc_kw_x21___closed__6; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_23); +x_36 = l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(x_15, x_35, x_24, x_25, x_26, x_27, x_28, x_29, x_30, x_31, x_32, x_33); +lean_dec(x_26); +lean_dec(x_25); +lean_dec_ref(x_24); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +x_39 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +x_40 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 1); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l_Lean_TSyntax_getString(x_15); +lean_dec(x_15); +x_43 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +} +else +{ +uint8_t x_45; +lean_dec(x_15); +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +return x_36; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_ctor_get(x_36, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_36); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +else +{ +uint8_t x_190; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_190 = !lean_is_exclusive(x_14); +if (x_190 == 0) +{ +return x_14; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_14, 0); +x_192 = lean_ctor_get(x_14, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_14); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_5); +x_17 = lean_unbox(x_6); +x_18 = lean_unbox(x_7); +x_19 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__6(x_1, x_2, x_3, x_4, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_3); +x_14 = lean_unbox(x_4); +x_15 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +x_16 = lean_unbox(x_4); +x_17 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_6); +x_19 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_5); +x_17 = l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_5); +x_7 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2(x_1, x_2, x_3, x_4, x_6); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +lean_dec(x_2); +return x_16; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__7(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_2); +x_16 = lean_unbox(x_3); +x_17 = l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +x_14 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +x_14 = l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +x_14 = l_Lean_Doc_kw_x21___lam__0(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_kw_x21___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_kw_x21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_4, x_3); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_array_uget(x_2, x_4); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec_ref(x_16); +lean_inc(x_1); +lean_inc(x_17); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___boxed), 9, 2); +lean_closure_set(x_18, 0, x_17); +lean_closure_set(x_18, 1, x_1); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_array_size(x_20); +x_23 = 0; +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_17, x_22, x_23, x_20); +x_25 = l_Array_append___redArg(x_5, x_24); +lean_dec_ref(x_24); +x_26 = 1; +x_27 = lean_usize_add(x_4, x_26); +x_4 = x_27; +x_5 = x_25; +x_13 = x_21; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_5); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_2, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +lean_inc(x_1); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___boxed), 9, 2); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_1); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_array_size(x_22); +x_25 = 0; +x_26 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(x_19, x_24, x_25, x_22); +x_27 = l_Array_append___redArg(x_5, x_26); +lean_dec_ref(x_26); +x_28 = 1; +x_29 = lean_usize_add(x_4, x_28); +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(x_1, x_2, x_3, x_29, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_19); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_21); +if (x_31 == 0) +{ +return x_21; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 0); +x_33 = lean_ctor_get(x_21, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_21); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(of := ", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(in `", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`)", 2, 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_2, x_1); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_7 = lean_array_uget(x_3, x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = l_Lean_Doc_kw_x21___closed__7; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0; +x_14 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_9, x_5); +x_15 = lean_string_append(x_13, x_14); +lean_dec_ref(x_14); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1; +x_17 = lean_string_append(x_15, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1; +x_20 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_8, x_5); +x_21 = lean_string_append(x_19, x_20); +lean_dec_ref(x_20); +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 2, x_24); +x_26 = 1; +x_27 = lean_usize_add(x_2, x_26); +x_28 = lean_array_uset(x_11, x_2, x_25); +x_2 = x_27; +x_3 = x_28; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_1, x_2, x_3, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0; +x_17 = lean_ctor_get(x_16, 1); +lean_inc_ref(x_17); +x_18 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_18); +lean_dec_ref(x_17); +x_19 = lean_ctor_get(x_18, 2); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1; +x_21 = l_Lean_ScopedEnvExtension_getState___redArg(x_20, x_16, x_14, x_19); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 2); +lean_inc_ref(x_22); +lean_dec_ref(x_21); +x_23 = l_Lean_TSyntax_getString(x_1); +x_24 = l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(x_23); +lean_dec_ref(x_23); +x_25 = l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg(x_22); +lean_dec_ref(x_22); +x_26 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7; +x_27 = lean_array_size(x_25); +x_28 = 0; +x_29 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(x_24, x_25, x_27, x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +lean_dec_ref(x_25); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec_ref(x_29); +x_32 = lean_array_size(x_30); +x_33 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_32, x_28, x_30, x_31); +return x_33; +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +return x_29; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_29); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_38 = !lean_is_exclusive(x_13); +if (x_38 == 0) +{ +return x_13; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_13, 0); +x_40 = lean_ctor_get(x_13, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_13); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec_ref(x_2); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_suggestKw(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_12; +} +} +lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Scopes(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Postponed(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_DocString_Links(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_DocString_Syntax(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_InfoTree(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Open(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Parser(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Hint(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Reduce(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Doc(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_EditDistance(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_DocString_Builtin_Keywords(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_DocString(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Scopes(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Postponed(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_DocString_Links(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_DocString_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_InfoTree(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term_TermElabM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Open(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Hint(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Reduce(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_Doc(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_EditDistance(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__6____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__7____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__8____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__10____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__16____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__17____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__18____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__19____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instTypeNameAtom = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instTypeNameAtom(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instTypeNameAtom); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__7); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__8); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__9); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__10); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__11); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__12); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__13); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__8); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__11); +l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__0(); +l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1(); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__3); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kindHasAtoms___closed__1); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___closed__0); +l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0 = _init_l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0(); +lean_mark_persistent(l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0); +l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0(); +lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___closed__0); +l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0 = _init_l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0(); +lean_mark_persistent(l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___lam__0___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__0); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__1); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__2); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__3); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__5); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__7); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__8); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__10); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__12); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__13); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__17); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__19); +l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20 = _init_l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__20); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__1); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__2); +l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3 = _init_l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__0); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__1); +l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2); +l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0 = _init_l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0(); +lean_mark_persistent(l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___closed__1); +l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0 = _init_l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0(); +lean_mark_persistent(l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__3); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__6); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__8); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__9); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__11); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__12); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__15); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instTypeNamePostponedKind = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instTypeNamePostponedKind(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instTypeNamePostponedKind); +l_Lean_Doc_checkKindExists___redArg___closed__0 = _init_l_Lean_Doc_checkKindExists___redArg___closed__0(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__0); +l_Lean_Doc_checkKindExists___redArg___closed__1 = _init_l_Lean_Doc_checkKindExists___redArg___closed__1(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__1); +l_Lean_Doc_checkKindExists___redArg___closed__2 = _init_l_Lean_Doc_checkKindExists___redArg___closed__2(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__2); +l_Lean_Doc_checkKindExists___redArg___closed__3 = _init_l_Lean_Doc_checkKindExists___redArg___closed__3(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__3); +l_Lean_Doc_checkKindExists___redArg___closed__4 = _init_l_Lean_Doc_checkKindExists___redArg___closed__4(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__4); +l_Lean_Doc_checkKindExists___redArg___closed__5 = _init_l_Lean_Doc_checkKindExists___redArg___closed__5(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__5); +l_Lean_Doc_checkKindExists___redArg___closed__6 = _init_l_Lean_Doc_checkKindExists___redArg___closed__6(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__6); +l_Lean_Doc_checkKindExists___redArg___closed__7 = _init_l_Lean_Doc_checkKindExists___redArg___closed__7(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__7); +l_Lean_Doc_checkKindExists___redArg___closed__8 = _init_l_Lean_Doc_checkKindExists___redArg___closed__8(); +lean_mark_persistent(l_Lean_Doc_checkKindExists___redArg___closed__8); +l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0 = _init_l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0(); +lean_mark_persistent(l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___closed__0); +l_Lean_Doc_kw_x21___closed__0 = _init_l_Lean_Doc_kw_x21___closed__0(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__0); +l_Lean_Doc_kw_x21___closed__1 = _init_l_Lean_Doc_kw_x21___closed__1(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__1); +l_Lean_Doc_kw_x21___closed__2 = _init_l_Lean_Doc_kw_x21___closed__2(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__2); +l_Lean_Doc_kw_x21___closed__3 = _init_l_Lean_Doc_kw_x21___closed__3(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__3); +l_Lean_Doc_kw_x21___closed__4 = _init_l_Lean_Doc_kw_x21___closed__4(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__4); +l_Lean_Doc_kw_x21___closed__5 = _init_l_Lean_Doc_kw_x21___closed__5(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__5); +l_Lean_Doc_kw_x21___closed__6 = _init_l_Lean_Doc_kw_x21___closed__6(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__6); +l_Lean_Doc_kw_x21___closed__7 = _init_l_Lean_Doc_kw_x21___closed__7(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__7); +l_Lean_Doc_kw_x21___closed__8 = _init_l_Lean_Doc_kw_x21___closed__8(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__8); +l_Lean_Doc_kw_x21___closed__9 = _init_l_Lean_Doc_kw_x21___closed__9(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__9); +l_Lean_Doc_kw_x21___closed__10 = _init_l_Lean_Doc_kw_x21___closed__10(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__10); +l_Lean_Doc_kw_x21___closed__11 = _init_l_Lean_Doc_kw_x21___closed__11(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__11); +l_Lean_Doc_kw_x21___closed__12 = _init_l_Lean_Doc_kw_x21___closed__12(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__12); +l_Lean_Doc_kw_x21___closed__13 = _init_l_Lean_Doc_kw_x21___closed__13(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__13); +l_Lean_Doc_kw_x21___closed__14 = _init_l_Lean_Doc_kw_x21___closed__14(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__14); +l_Lean_Doc_kw_x21___closed__15 = _init_l_Lean_Doc_kw_x21___closed__15(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__15); +l_Lean_Doc_kw_x21___closed__16 = _init_l_Lean_Doc_kw_x21___closed__16(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__16); +l_Lean_Doc_kw_x21___closed__17 = _init_l_Lean_Doc_kw_x21___closed__17(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__17); +l_Lean_Doc_kw_x21___closed__18 = _init_l_Lean_Doc_kw_x21___closed__18(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__18); +l_Lean_Doc_kw_x21___closed__19 = _init_l_Lean_Doc_kw_x21___closed__19(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__19); +l_Lean_Doc_kw_x21___closed__20 = _init_l_Lean_Doc_kw_x21___closed__20(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__20); +l_Lean_Doc_kw_x21___closed__21 = _init_l_Lean_Doc_kw_x21___closed__21(); +lean_mark_persistent(l_Lean_Doc_kw_x21___closed__21); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin/Parsing.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Parsing.c new file mode 100644 index 0000000000..cd18c1dcb1 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Parsing.c @@ -0,0 +1,2204 @@ +// Lean compiler output +// Module: Lean.Elab.DocString.Builtin.Parsing +// Imports: Lean.Elab.DocString Lean.Parser.Extension Lean.Parser.Types +#include +#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 +uint32_t lean_string_utf8_get(lean_object*, lean_object*); +lean_object* l_Lean_logError___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEmpty___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_TSyntax_getString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Array_map__unattach_match__1_splitter___redArg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__12(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_Doc_parseQuotedStrLit___redArg___lam__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panic___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__1(lean_object*, uint8_t); +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___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_Doc_parseQuotedStrLit___redArg___lam__9(lean_object*, lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkInputContext___redArg(lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Parser_getTokenTable(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___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_Doc_parseStrLit_x27___redArg___lam__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit(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_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_next(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Parser_InputContext_atEnd(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit(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_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_Lean_Parser_mkParserState(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_prev(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__8(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8; +lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0; +lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7; +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__13(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_Doc_parseQuotedStrLit___redArg___lam__7(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___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*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__0(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2; +lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___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_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4; +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___boxed(lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Array_map__unattach_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__3(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_Doc_parseStrLit_x27___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__4(lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1; +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Init.Data.Option.BasicAux", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Option.get!", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("value is none", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2; +x_2 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(23u); +x_4 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0; +x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_23; +x_15 = lean_unsigned_to_nat(0u); +x_16 = 1; +x_23 = l_Lean_Syntax_getPos_x3f(x_2, x_16); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3; +x_25 = l_panic___redArg(x_15, x_24); +x_17 = x_25; +goto block_22; +} +else +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec_ref(x_23); +x_17 = x_26; +goto block_22; +} +block_14: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +lean_dec(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec_ref(x_6); +lean_ctor_set(x_1, 1, x_4); +lean_ctor_set(x_1, 0, x_3); +x_9 = lean_apply_2(x_8, lean_box(0), x_1); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_4); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +block_22: +{ +lean_object* x_18; +x_18 = l_Lean_Syntax_getTailPos_x3f(x_2, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3; +x_20 = l_panic___redArg(x_15, x_19); +x_3 = x_17; +x_4 = x_20; +goto block_14; +} +else +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec_ref(x_18); +x_3 = x_17; +x_4 = x_21; +goto block_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("end of input", 12, 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_box(0); +x_10 = lean_box(0); +lean_inc_ref(x_1); +x_11 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_8); +lean_ctor_set(x_11, 2, x_9); +lean_ctor_set(x_11, 3, x_10); +x_12 = l_Lean_Parser_getTokenTable(x_1); +lean_inc_ref(x_3); +x_13 = l_Lean_Parser_ParserFn_run(x_2, x_3, x_11, x_12, x_4); +lean_inc_ref(x_13); +x_14 = l_Lean_Parser_ParserState_allErrors(x_13); +x_15 = l_Array_isEmpty___redArg(x_14); +lean_dec_ref(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec_ref(x_7); +x_16 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_13); +x_17 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l_Lean_MessageData_ofFormat(x_17); +x_19 = l_Lean_throwError___redArg(x_5, x_6, x_18); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_13, 0); +lean_inc_ref(x_20); +x_21 = lean_ctor_get(x_13, 2); +lean_inc(x_21); +x_22 = l_Lean_Parser_InputContext_atEnd(x_3, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec_ref(x_20); +lean_dec_ref(x_7); +x_23 = l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0; +x_24 = l_Lean_Parser_ParserState_mkError(x_13, x_23); +x_25 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_24); +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_MessageData_ofFormat(x_26); +x_28 = l_Lean_throwError___redArg(x_5, x_6, x_27); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec_ref(x_13); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +x_29 = lean_ctor_get(x_7, 1); +lean_inc(x_29); +lean_dec_ref(x_7); +x_30 = l_Lean_Parser_SyntaxStack_back(x_20); +lean_dec_ref(x_20); +x_31 = lean_apply_2(x_29, lean_box(0), x_30); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = 1; +lean_inc_ref(x_1); +x_13 = l_Lean_Parser_mkInputContext___redArg(x_1, x_11, x_12, x_2); +x_14 = l_Lean_Parser_mkParserState(x_1); +lean_dec_ref(x_1); +x_15 = l_Lean_Parser_ParserState_setPos(x_14, x_3); +x_16 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit___redArg___lam__0), 8, 7); +lean_closure_set(x_16, 0, x_4); +lean_closure_set(x_16, 1, x_5); +lean_closure_set(x_16, 2, x_13); +lean_closure_set(x_16, 3, x_15); +lean_closure_set(x_16, 4, x_6); +lean_closure_set(x_16, 5, x_7); +lean_closure_set(x_16, 6, x_8); +x_17 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_13); +lean_dec_ref(x_1); +x_19 = lean_string_utf8_byte_size(x_13); +x_20 = lean_nat_dec_le(x_12, x_19); +if (x_20 == 0) +{ +lean_dec(x_12); +x_14 = x_19; +goto block_18; +} +else +{ +lean_dec(x_19); +x_14 = x_12; +goto block_18; +} +block_18: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +lean_dec_ref(x_2); +lean_inc(x_8); +x_16 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit___redArg___lam__1), 11, 10); +lean_closure_set(x_16, 0, x_13); +lean_closure_set(x_16, 1, x_14); +lean_closure_set(x_16, 2, x_11); +lean_closure_set(x_16, 3, x_3); +lean_closure_set(x_16, 4, x_4); +lean_closure_set(x_16, 5, x_5); +lean_closure_set(x_16, 6, x_6); +lean_closure_set(x_16, 7, x_7); +lean_closure_set(x_16, 8, x_8); +lean_closure_set(x_16, 9, x_9); +x_17 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_15, x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_inc(x_7); +lean_inc_ref(x_4); +x_11 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit___redArg___lam__2), 10, 9); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_10); +lean_closure_set(x_11, 3, x_3); +lean_closure_set(x_11, 4, x_4); +lean_closure_set(x_11, 5, x_5); +lean_closure_set(x_11, 6, x_6); +lean_closure_set(x_11, 7, x_7); +lean_closure_set(x_11, 8, x_8); +x_12 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(x_4, x_9); +x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_12, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec_ref(x_1); +lean_inc(x_7); +x_12 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit___redArg___lam__3___boxed), 10, 9); +lean_closure_set(x_12, 0, x_10); +lean_closure_set(x_12, 1, x_2); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_4); +lean_closure_set(x_12, 4, x_5); +lean_closure_set(x_12, 5, x_6); +lean_closure_set(x_12, 6, x_7); +lean_closure_set(x_12, 7, x_8); +lean_closure_set(x_12, 8, x_9); +x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit___redArg___lam__4), 10, 9); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_5); +lean_closure_set(x_11, 2, x_7); +lean_closure_set(x_11, 3, x_1); +lean_closure_set(x_11, 4, x_4); +lean_closure_set(x_11, 5, x_9); +lean_closure_set(x_11, 6, x_10); +lean_closure_set(x_11, 7, x_6); +lean_closure_set(x_11, 8, x_8); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_2, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_parseStrLit___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Doc_parseStrLit___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_lt(x_6, x_5); +if (x_7 == 0) +{ +return x_2; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_string_utf8_prev(x_1, x_5); +lean_dec(x_5); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_dec(x_4); +lean_ctor_set(x_2, 1, x_8); +lean_ctor_set(x_2, 0, x_10); +goto _start; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_lt(x_14, x_13); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_string_utf8_prev(x_1, x_13); +lean_dec(x_13); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_12, x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +x_2 = x_20; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0(x_1, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec_ref(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex_spec__0(x_1, x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex(x_1, x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_3, x_5); +if (x_6 == 1) +{ +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_sub(x_3, x_7); +lean_dec(x_3); +x_9 = lean_string_utf8_next(x_1, x_2); +x_3 = x_8; +x_4 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(x_1, x_2, x_4, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_3); +x_4 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(x_1, x_3, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_posIndex(x_3, x_4); +lean_inc(x_2); +x_7 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_nextn_spec__0___redArg(x_5, x_2, x_6, x_2); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 3); +lean_inc(x_6); +lean_dec_ref(x_4); +lean_inc(x_2); +x_7 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_5); +x_8 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_6); +x_9 = 1; +x_10 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_10, 0, x_7); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*2, x_9); +return x_10; +} +case 1: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_ctor_get(x_4, 1); +lean_inc(x_2); +x_14 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_12); +x_15 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_13); +lean_ctor_set(x_4, 1, x_15); +lean_ctor_set(x_4, 0, x_14); +return x_4; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_4, 0); +x_17 = lean_ctor_get(x_4, 1); +x_18 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_4); +lean_inc(x_2); +x_19 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_16); +x_20 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_17); +x_21 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*2, x_18); +return x_21; +} +} +default: +{ +lean_dec(x_2); +return x_4; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) +{ +lean_dec(x_2); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_8 = lean_array_uget(x_6, x_5); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_6, x_5, x_9); +lean_inc(x_2); +x_11 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_1, x_2, x_3, x_8); +x_12 = 1; +x_13 = lean_usize_add(x_5, x_12); +x_14 = lean_array_uset(x_10, x_5, x_11); +x_5 = x_13; +x_6 = x_14; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_dec(x_2); +return x_4; +} +case 1: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 2); +lean_inc(x_2); +x_8 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_6); +x_9 = lean_array_size(x_7); +x_10 = 0; +x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0(x_1, x_2, x_3, x_9, x_10, x_7); +lean_ctor_set(x_4, 2, x_11); +lean_ctor_set(x_4, 0, x_8); +return x_4; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_ctor_get(x_4, 1); +x_14 = lean_ctor_get(x_4, 2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_4); +lean_inc(x_2); +x_15 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_12); +x_16 = lean_array_size(x_14); +x_17 = 0; +x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0(x_1, x_2, x_3, x_16, x_17, x_14); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_13); +lean_ctor_set(x_19, 2, x_18); +return x_19; +} +} +case 2: +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_4); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_4, 0); +x_22 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_21); +lean_ctor_set(x_4, 0, x_22); +return x_4; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_4, 0); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_4); +x_25 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_23); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +default: +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_4); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_4, 0); +x_29 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_28); +lean_ctor_set(x_4, 0, x_29); +return x_4; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_ctor_get(x_4, 0); +x_31 = lean_ctor_get(x_4, 1); +x_32 = lean_ctor_get(x_4, 2); +x_33 = lean_ctor_get(x_4, 3); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_4); +x_34 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionInfo(x_1, x_2, x_3, x_30); +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_33); +return x_35; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_spec__0(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_inc(x_5); +return x_5; +} +case 1: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc_ref(x_8); +lean_dec_ref(x_1); +x_9 = lean_apply_3(x_2, x_6, x_7, x_8); +return x_9; +} +case 2: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_11); +lean_dec_ref(x_1); +x_12 = lean_apply_2(x_4, x_10, x_11); +return x_12; +} +default: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +lean_dec(x_2); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_14); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 3); +lean_inc(x_16); +lean_dec_ref(x_1); +x_17 = lean_apply_4(x_3, x_13, x_14, x_15, x_16); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg(x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___redArg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax_match__1_splitter(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Array_map__unattach_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_2(x_2, x_1, lean_box(0)); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Array_map__unattach_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_2(x_5, x_4, lean_box(0)); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_6); +lean_ctor_set(x_4, 0, x_7); +return x_4; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1; +x_2 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5; +x_2 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4; +x_3 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3; +x_4 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2; +x_5 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6; +x_2 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = lean_box(0); +x_14 = lean_box(0); +lean_inc_ref(x_1); +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_12); +lean_ctor_set(x_15, 2, x_13); +lean_ctor_set(x_15, 3, x_14); +x_16 = l_Lean_Parser_getTokenTable(x_1); +lean_inc_ref(x_3); +x_17 = l_Lean_Parser_ParserFn_run(x_2, x_3, x_15, x_16, x_4); +lean_inc_ref(x_17); +x_18 = l_Lean_Parser_ParserState_allErrors(x_17); +x_19 = l_Array_isEmpty___redArg(x_18); +lean_dec_ref(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec_ref(x_11); +x_20 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_20); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_17, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_17, 3); +lean_inc_ref(x_23); +x_24 = lean_ctor_get(x_17, 4); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 5); +lean_inc_ref(x_25); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + lean_ctor_release(x_17, 3); + lean_ctor_release(x_17, 4); + lean_ctor_release(x_17, 5); + x_26 = x_17; +} else { + lean_dec_ref(x_17); + x_26 = lean_box(0); +} +lean_inc(x_6); +x_27 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_24) == 0) +{ +lean_dec(x_6); +x_28 = x_24; +goto block_38; +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_24, 0); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_40, 0); +x_43 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_5, x_6, x_7, x_42); +lean_ctor_set(x_40, 0, x_43); +x_28 = x_24; +goto block_38; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_40, 0); +x_45 = lean_ctor_get(x_40, 1); +x_46 = lean_ctor_get(x_40, 2); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_40); +x_47 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_5, x_6, x_7, x_44); +x_48 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +lean_ctor_set(x_48, 2, x_46); +lean_ctor_set(x_24, 0, x_48); +x_28 = x_24; +goto block_38; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_49 = lean_ctor_get(x_24, 0); +lean_inc(x_49); +lean_dec(x_24); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc_ref(x_51); +x_52 = lean_ctor_get(x_49, 2); +lean_inc(x_52); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + x_53 = x_49; +} else { + lean_dec_ref(x_49); + x_53 = lean_box(0); +} +x_54 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_5, x_6, x_7, x_50); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 3, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_51); +lean_ctor_set(x_55, 2, x_52); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_28 = x_56; +goto block_38; +} +} +block_38: +{ +lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9; +x_30 = lean_array_size(x_25); +x_31 = 0; +x_32 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_29, x_8, x_30, x_31, x_25); +if (lean_is_scalar(x_26)) { + x_33 = lean_alloc_ctor(0, 6, 0); +} else { + x_33 = x_26; +} +lean_ctor_set(x_33, 0, x_20); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_27); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set(x_33, 4, x_28); +lean_ctor_set(x_33, 5, x_32); +x_34 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_33); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_MessageData_ofFormat(x_35); +x_37 = l_Lean_throwError___redArg(x_9, x_10, x_36); +return x_37; +} +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec_ref(x_8); +x_57 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_57); +x_58 = lean_ctor_get(x_17, 2); +lean_inc(x_58); +x_59 = l_Lean_Parser_InputContext_atEnd(x_3, x_58); +lean_dec(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec_ref(x_57); +lean_dec_ref(x_11); +lean_dec(x_6); +x_60 = l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0; +x_61 = l_Lean_Parser_ParserState_mkError(x_17, x_60); +x_62 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_61); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = l_Lean_throwError___redArg(x_9, x_10, x_64); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec_ref(x_17); +lean_dec_ref(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_3); +x_66 = lean_ctor_get(x_11, 1); +lean_inc(x_66); +lean_dec_ref(x_11); +x_67 = l_Lean_Parser_SyntaxStack_back(x_57); +lean_dec_ref(x_57); +x_68 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_5, x_6, x_7, x_67); +x_69 = lean_apply_2(x_66, lean_box(0), x_68); +return x_69; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = 1; +x_14 = lean_string_utf8_byte_size(x_1); +lean_inc_ref(x_1); +x_15 = l_Lean_Parser_mkInputContext___redArg(x_1, x_12, x_13, x_14); +x_16 = l_Lean_Parser_mkParserState(x_1); +x_17 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___boxed), 12, 11); +lean_closure_set(x_17, 0, x_2); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_15); +lean_closure_set(x_17, 3, x_16); +lean_closure_set(x_17, 4, x_4); +lean_closure_set(x_17, 5, x_5); +lean_closure_set(x_17, 6, x_1); +lean_closure_set(x_17, 7, x_6); +lean_closure_set(x_17, 8, x_7); +lean_closure_set(x_17, 9, x_8); +lean_closure_set(x_17, 10, x_9); +x_18 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_12); +lean_dec_ref(x_1); +x_13 = l_Lean_TSyntax_getString(x_2); +lean_inc_ref(x_13); +lean_inc(x_11); +lean_inc_ref(x_3); +x_14 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__0___boxed), 4, 3); +lean_closure_set(x_14, 0, x_3); +lean_closure_set(x_14, 1, x_11); +lean_closure_set(x_14, 2, x_13); +lean_inc(x_9); +x_15 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__2), 12, 11); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_4); +lean_closure_set(x_15, 2, x_5); +lean_closure_set(x_15, 3, x_3); +lean_closure_set(x_15, 4, x_11); +lean_closure_set(x_15, 5, x_14); +lean_closure_set(x_15, 6, x_6); +lean_closure_set(x_15, 7, x_7); +lean_closure_set(x_15, 8, x_8); +lean_closure_set(x_15, 9, x_9); +lean_closure_set(x_15, 10, x_10); +x_16 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Not a quoted string literal", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint32_t x_12; uint32_t x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_string_utf8_get(x_11, x_9); +x_13 = 34; +x_14 = lean_uint32_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_8); +lean_dec_ref(x_7); +x_15 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1; +x_16 = l_Lean_throwErrorAt___redArg(x_2, x_3, x_4, x_15); +x_17 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_16, x_6); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +lean_dec_ref(x_7); +x_19 = lean_string_utf8_next(x_11, x_9); +x_20 = lean_apply_2(x_18, lean_box(0), x_19); +x_21 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_8); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec_ref(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__5), 3, 2); +lean_closure_set(x_6, 0, x_2); +lean_closure_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_apply_2(x_5, lean_box(0), x_7); +x_9 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_8, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_1); +x_5 = lean_apply_2(x_2, lean_box(0), x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint32_t x_6; uint32_t x_7; uint8_t x_8; +x_6 = lean_string_utf8_get(x_1, x_5); +x_7 = 35; +x_8 = lean_uint32_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_dec_ref(x_2); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_5); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec_ref(x_2); +x_13 = lean_string_utf8_next(x_1, x_5); +lean_dec(x_5); +lean_inc(x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__9), 3, 2); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_12); +x_15 = lean_box(0); +x_16 = lean_apply_2(x_12, lean_box(0), x_15); +x_17 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_16, x_14); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint32_t x_10; uint32_t x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec_ref(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_9); +lean_dec_ref(x_1); +x_10 = lean_string_utf8_get(x_9, x_8); +x_11 = 114; +x_12 = lean_uint32_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec_ref(x_9); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_dec_ref(x_2); +x_14 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__8), 3, 2); +lean_closure_set(x_14, 0, x_3); +lean_closure_set(x_14, 1, x_8); +x_15 = lean_box(0); +x_16 = lean_apply_2(x_13, lean_box(0), x_15); +x_17 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_14); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_3); +lean_inc(x_4); +lean_inc_ref(x_9); +x_18 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__10___boxed), 5, 3); +lean_closure_set(x_18, 0, x_9); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_4); +x_19 = lean_string_utf8_next(x_9, x_8); +lean_dec(x_8); +lean_dec_ref(x_9); +x_20 = l___private_Init_While_0__Lean_Loop_forIn_loop(lean_box(0), lean_box(0), x_5, x_18, x_19); +x_21 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_20, x_6); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_3); +lean_inc(x_2); +x_11 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__3___boxed), 11, 10); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_10); +lean_closure_set(x_11, 4, x_4); +lean_closure_set(x_11, 5, x_5); +lean_closure_set(x_11, 6, x_6); +lean_closure_set(x_11, 7, x_7); +lean_closure_set(x_11, 8, x_8); +lean_closure_set(x_11, 9, x_9); +x_12 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__4), 2, 1); +lean_closure_set(x_12, 0, x_11); +lean_inc_ref(x_7); +lean_inc_ref(x_12); +lean_inc(x_8); +lean_inc(x_2); +lean_inc_ref(x_5); +lean_inc_ref(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___boxed), 10, 8); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_5); +lean_closure_set(x_13, 2, x_6); +lean_closure_set(x_13, 3, x_2); +lean_closure_set(x_13, 4, x_8); +lean_closure_set(x_13, 5, x_12); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_12); +lean_inc(x_8); +lean_inc_ref(x_13); +lean_inc_ref(x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__7), 4, 3); +lean_closure_set(x_14, 0, x_7); +lean_closure_set(x_14, 1, x_13); +lean_closure_set(x_14, 2, x_8); +lean_inc_ref(x_5); +lean_inc(x_8); +x_15 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__11), 7, 6); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_7); +lean_closure_set(x_15, 2, x_13); +lean_closure_set(x_15, 3, x_8); +lean_closure_set(x_15, 4, x_5); +lean_closure_set(x_15, 5, x_14); +x_16 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg(x_5, x_2); +lean_dec(x_2); +x_17 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_16, x_15); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec_ref(x_1); +lean_inc(x_8); +x_12 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__12), 10, 9); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_3); +lean_closure_set(x_12, 2, x_10); +lean_closure_set(x_12, 3, x_4); +lean_closure_set(x_12, 4, x_5); +lean_closure_set(x_12, 5, x_6); +lean_closure_set(x_12, 6, x_7); +lean_closure_set(x_12, 7, x_8); +lean_closure_set(x_12, 8, x_9); +x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___redArg___lam__13), 10, 9); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_5); +lean_closure_set(x_11, 2, x_8); +lean_closure_set(x_11, 3, x_7); +lean_closure_set(x_11, 4, x_1); +lean_closure_set(x_11, 5, x_4); +lean_closure_set(x_11, 6, x_9); +lean_closure_set(x_11, 7, x_10); +lean_closure_set(x_11, 8, x_6); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_2, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_parseQuotedStrLit___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__0(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_7); +lean_dec_ref(x_5); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___redArg___lam__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Doc_parseQuotedStrLit___redArg___lam__10(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__0(lean_object* x_1, lean_object* x_2, uint8_t x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = l_Lean_Parser_SyntaxStack_back(x_4); +x_6 = lean_box(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__1(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(x_2); +x_4 = lean_apply_1(x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_box(x_2); +x_7 = lean_apply_2(x_1, lean_box(0), x_6); +x_8 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_7, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_13 = lean_box(0); +x_14 = lean_box(0); +lean_inc_ref(x_1); +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_12); +lean_ctor_set(x_15, 2, x_13); +lean_ctor_set(x_15, 3, x_14); +x_16 = l_Lean_Parser_getTokenTable(x_1); +lean_inc_ref(x_3); +x_17 = l_Lean_Parser_ParserFn_run(x_2, x_3, x_15, x_16, x_4); +lean_inc(x_5); +lean_inc_ref(x_17); +x_18 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_18, 0, x_17); +lean_closure_set(x_18, 1, x_5); +lean_inc_ref(x_17); +x_19 = l_Lean_Parser_ParserState_allErrors(x_17); +x_20 = l_Array_isEmpty___redArg(x_19); +lean_dec_ref(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_18); +x_22 = lean_box(x_6); +lean_inc(x_7); +x_23 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__2___boxed), 5, 4); +lean_closure_set(x_23, 0, x_5); +lean_closure_set(x_23, 1, x_22); +lean_closure_set(x_23, 2, x_7); +lean_closure_set(x_23, 3, x_21); +x_24 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_17); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +x_27 = l_Lean_logError___redArg(x_8, x_9, x_10, x_11, x_26); +x_28 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_27, x_23); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_17, 2); +lean_inc(x_29); +x_30 = l_Lean_Parser_InputContext_atEnd(x_3, x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_31 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__1___boxed), 2, 1); +lean_closure_set(x_31, 0, x_18); +x_32 = lean_box(x_6); +lean_inc(x_7); +x_33 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__2___boxed), 5, 4); +lean_closure_set(x_33, 0, x_5); +lean_closure_set(x_33, 1, x_32); +lean_closure_set(x_33, 2, x_7); +lean_closure_set(x_33, 3, x_31); +x_34 = l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0; +x_35 = l_Lean_Parser_ParserState_mkError(x_17, x_34); +x_36 = l_Lean_Parser_ParserState_toErrorMsg(x_3, x_35); +x_37 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Lean_MessageData_ofFormat(x_37); +x_39 = l_Lean_logError___redArg(x_8, x_9, x_10, x_11, x_38); +x_40 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_39, x_33); +return x_40; +} +else +{ +lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec_ref(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__1___boxed), 2, 1); +lean_closure_set(x_41, 0, x_18); +x_42 = 0; +x_43 = lean_box(x_42); +x_44 = lean_apply_2(x_5, lean_box(0), x_43); +x_45 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_44, x_41); +return x_45; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_23; +lean_inc_ref(x_1); +x_15 = l_Lean_Parser_mkInputContext___redArg(x_1, x_14, x_2, x_3); +x_16 = l_Lean_Parser_mkParserState(x_1); +lean_dec_ref(x_1); +x_23 = l_Lean_Syntax_getPos_x3f(x_12, x_2); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3; +x_25 = l_panic___redArg(x_13, x_24); +x_17 = x_25; +goto block_22; +} +else +{ +lean_object* x_26; +lean_dec(x_13); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec_ref(x_23); +x_17 = x_26; +goto block_22; +} +block_22: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = l_Lean_Parser_ParserState_setPos(x_16, x_17); +x_19 = lean_box(x_2); +lean_inc(x_11); +lean_inc(x_7); +x_20 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__6___boxed), 12, 11); +lean_closure_set(x_20, 0, x_4); +lean_closure_set(x_20, 1, x_5); +lean_closure_set(x_20, 2, x_15); +lean_closure_set(x_20, 3, x_18); +lean_closure_set(x_20, 4, x_6); +lean_closure_set(x_20, 5, x_19); +lean_closure_set(x_20, 6, x_7); +lean_closure_set(x_20, 7, x_8); +lean_closure_set(x_20, 8, x_9); +lean_closure_set(x_20, 9, x_10); +lean_closure_set(x_20, 10, x_11); +x_21 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_20; lean_object* x_25; +x_12 = 1; +x_25 = l_Lean_Syntax_getTailPos_x3f(x_9, x_12); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3; +lean_inc(x_10); +x_27 = l_panic___redArg(x_10, x_26); +x_20 = x_27; +goto block_24; +} +else +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +lean_dec_ref(x_25); +x_20 = x_28; +goto block_24; +} +block_19: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_box(x_12); +lean_inc(x_5); +x_17 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__3___boxed), 14, 13); +lean_closure_set(x_17, 0, x_13); +lean_closure_set(x_17, 1, x_16); +lean_closure_set(x_17, 2, x_14); +lean_closure_set(x_17, 3, x_11); +lean_closure_set(x_17, 4, x_3); +lean_closure_set(x_17, 5, x_4); +lean_closure_set(x_17, 6, x_5); +lean_closure_set(x_17, 7, x_6); +lean_closure_set(x_17, 8, x_2); +lean_closure_set(x_17, 9, x_7); +lean_closure_set(x_17, 10, x_8); +lean_closure_set(x_17, 11, x_9); +lean_closure_set(x_17, 12, x_10); +x_18 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_15, x_17); +return x_18; +} +block_24: +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_21); +lean_dec_ref(x_1); +x_22 = lean_string_utf8_byte_size(x_21); +x_23 = lean_nat_dec_le(x_20, x_22); +if (x_23 == 0) +{ +lean_dec(x_20); +x_13 = x_21; +x_14 = x_22; +goto block_19; +} +else +{ +lean_dec(x_22); +x_13 = x_21; +x_14 = x_20; +goto block_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec_ref(x_1); +lean_inc(x_5); +x_13 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__4), 11, 10); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_8); +lean_closure_set(x_13, 8, x_9); +lean_closure_set(x_13, 9, x_10); +x_14 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +x_12 = lean_unsigned_to_nat(0u); +lean_inc(x_10); +x_13 = lean_alloc_closure((void*)(l_Lean_Doc_parseStrLit_x27___redArg___lam__5), 11, 10); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_5); +lean_closure_set(x_13, 2, x_7); +lean_closure_set(x_13, 3, x_11); +lean_closure_set(x_13, 4, x_10); +lean_closure_set(x_13, 5, x_1); +lean_closure_set(x_13, 6, x_4); +lean_closure_set(x_13, 7, x_6); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_12); +x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_2, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Doc_parseStrLit_x27___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_3); +x_5 = l_Lean_Doc_parseStrLit_x27___redArg___lam__0(x_1, x_2, x_4); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +x_4 = l_Lean_Doc_parseStrLit_x27___redArg___lam__1(x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); +x_7 = l_Lean_Doc_parseStrLit_x27___redArg___lam__2(x_1, x_6, x_3, x_4, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_6); +x_14 = l_Lean_Doc_parseStrLit_x27___redArg___lam__6(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_2); +x_16 = l_Lean_Doc_parseStrLit_x27___redArg___lam__3(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_12); +return x_16; +} +} +lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Parser_Extension(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Parser_Types(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_DocString_Builtin_Parsing(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_DocString(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Extension(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Types(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___redArg___closed__3); +l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0 = _init_l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseStrLit___redArg___lam__0___closed__0); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__0); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__1); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__2); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__3); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__4); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__5); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__6); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__7); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__8); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__1___closed__9); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__0); +l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1 = _init_l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___redArg___lam__6___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin/Postponed.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Postponed.c new file mode 100644 index 0000000000..361491fee8 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Postponed.c @@ -0,0 +1,7237 @@ +// Lean compiler output +// Module: Lean.Elab.DocString.Builtin.Postponed +// Imports: Init.System.IO Lean.Environment Lean.ToExpr Lean.CoreM Lean.Elab.Term.TermElabM Lean.Elab.DocString +#include +#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_Expr_const___override(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__8; +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3(double, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_getBuiltinVersoDocStrings(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__0; +static lean_object* l_Lean_Doc_checkPostponed___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_header(lean_object*); +lean_object* l_Lean_indentD(lean_object*); +uint8_t l_Lean_Exception_isInterrupt(lean_object*); +uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5(lean_object*, 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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___boxed(lean_object**); +lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12; +LEAN_EXPORT lean_object* l_Lean_Doc_instOrdPostponedImport___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2; +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1(lean_object*, lean_object*, size_t, size_t); +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0(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_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__5; +lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5; +uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4; +static lean_object* l_Lean_Doc_checkPostponed___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1; +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7; +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total___boxed(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* lean_string_length(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Exception_toMessageData(lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__9; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_instReprPostponedImport_repr_spec__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedCheck; +lean_object* l_Nat_reprFast(lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instToExprPostponedImport___closed__1; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___redArg(lean_object*); +lean_object* lean_nat_to_int(lean_object*); +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instBEqPostponedImport_beq___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_evalConstCheck___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instHashablePostponedImport; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_checkPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__13; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0; +double lean_float_of_nat(lean_object*); +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0(uint8_t, uint8_t, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedCheck_ctorIdx(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3; +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2; +static lean_object* l_Lean_Doc_checkPostponed___closed__7; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3; +lean_object* l_Array_Array_repr___redArg(lean_object*, lean_object*); +uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__10; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2; +lean_object* l_Lean_instToExprName___private__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedImport_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport___closed__0; +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr(lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instBEqPostponedImport___closed__0; +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_warningAsError; +extern lean_object* l_Lean_Elab_pp_macroStack; +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedImport_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed(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_Doc_instBEqPostponedImport; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0; +lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_instHashablePostponedImport_hash___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3; +static lean_object* l_Lean_Doc_instToExprPostponedImport___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport; +static lean_object* l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedCheck_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__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_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg(lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4; +static lean_object* l_Lean_Doc_checkPostponed___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_ctorIdx___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Doc_instOrdPostponedImport___lam__0(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instHashablePostponedImport___closed__0; +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +extern lean_object* l_Lean_versoDocStringExt; +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Doc_instBEqPostponedImport_beq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__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_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t l_Lean_Name_hash___override(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(double, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11; +LEAN_EXPORT lean_object* l_Lean_Doc_instTypeNamePostponedCheck; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2; +lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_instToExprPostponedImport; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1; +static lean_object* l_Lean_Doc_checkPostponed___closed__11; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1; +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8; +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1; +LEAN_EXPORT uint64_t l_Lean_Doc_instHashablePostponedImport_hash(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_checkPostponed___closed__1; +static lean_object* l_Lean_Doc_checkPostponed___closed__14; +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8(size_t, size_t, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_error_to_string(lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5; +lean_object* l_Lean_Name_mkStr1(lean_object*); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10; +static lean_object* l_Lean_Doc_checkPostponed___closed__12; +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6; +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0(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_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed___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_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +LEAN_EXPORT uint8_t l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Exception_isRuntime(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofName(lean_object*); +static double l_Lean_Doc_checkPostponed___closed__6; +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instOrdPostponedImport; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedImport_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedImport_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_PostponedImport_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Lean_Doc_instBEqPostponedImport_beq(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_name_eq(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instBEqPostponedImport_beq___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Doc_instBEqPostponedImport_beq(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instBEqPostponedImport___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instBEqPostponedImport_beq___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instBEqPostponedImport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instBEqPostponedImport___closed__0; +return x_1; +} +} +LEAN_EXPORT uint64_t l_Lean_Doc_instHashablePostponedImport_hash(lean_object* x_1) { +_start: +{ +uint64_t x_2; uint64_t x_3; uint64_t x_4; +x_2 = 0; +x_3 = l_Lean_Name_hash___override(x_1); +x_4 = lean_uint64_mix_hash(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instHashablePostponedImport_hash___boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = l_Lean_Doc_instHashablePostponedImport_hash(x_1); +lean_dec(x_1); +x_3 = lean_box_uint64(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instHashablePostponedImport___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instHashablePostponedImport_hash___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instHashablePostponedImport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instHashablePostponedImport___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Doc_instReprPostponedImport_repr_spec__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("{ ", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("name", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" := ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5; +x_2 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" }", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_2 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6; +x_3 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Name_reprPrec(x_1, x_4); +x_6 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_5); +x_7 = 0; +x_8 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_7); +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_2); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10; +x_11 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11; +x_12 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +x_13 = l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12; +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_7); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Doc_instReprPostponedImport_repr___redArg(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedImport_repr___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Doc_instReprPostponedImport_repr(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instReprPostponedImport_repr___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedImport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instReprPostponedImport___closed__0; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Doc", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedImport", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("mk", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3; +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2; +x_3 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1; +x_4 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instToExprPostponedImport___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5; +x_3 = l_Lean_instToExprName___private__1(x_1); +x_4 = l_Lean_Expr_app___override(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2; +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1; +x_3 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Doc_instToExprPostponedImport___closed__0; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instToExprPostponedImport() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instToExprPostponedImport___lam__0), 1, 0); +x_2 = l_Lean_Doc_instToExprPostponedImport___closed__1; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Doc_instOrdPostponedImport___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_Lean_Name_quickCmp(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Doc_instOrdPostponedImport() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instOrdPostponedImport___lam__0___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instOrdPostponedImport___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Doc_instOrdPostponedImport___lam__0(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedCheck_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_PostponedCheck_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_PostponedCheck_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedCheck", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1; +x_3 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instTypeNamePostponedCheck() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("{ handler := ", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", imports := ", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("}", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_5); +lean_dec_ref(x_2); +x_6 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1; +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Lean_Name_reprPrec(x_4, x_7); +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l_Array_Array_repr___redArg(x_1, x_5); +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5; +x_15 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +static lean_object* _init_l_Lean_Doc_instReprPostponedCheck() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instReprPostponedImport___closed__0; +x_2 = lean_alloc_closure((void*)(l_Lean_Doc_instReprPostponedCheck___lam__0___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instReprPostponedCheck___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Doc_instReprPostponedCheck___lam__0(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_3, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_4, 2); +lean_inc(x_17); +lean_inc_ref(x_16); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_15); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_17); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_18); +lean_ctor_set(x_12, 0, x_7); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 0); +lean_inc_ref(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_2, 2); +x_23 = lean_ctor_get(x_4, 2); +lean_inc(x_23); +lean_inc_ref(x_22); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_21); +lean_ctor_set(x_24, 2, x_22); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_24); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_7); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +x_28 = lean_ctor_get(x_26, 0); +lean_inc_ref(x_28); +lean_dec(x_26); +x_29 = lean_st_ref_get(x_3, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_ctor_get(x_30, 0); +lean_inc_ref(x_33); +lean_dec(x_30); +x_34 = lean_ctor_get(x_2, 2); +x_35 = lean_ctor_get(x_4, 2); +lean_inc(x_35); +lean_inc_ref(x_34); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_35); +x_37 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_1); +if (lean_is_scalar(x_32)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_32; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_31); +return x_38; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec_ref(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec_ref(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); +return x_9; +} +} +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("while expanding", 15, 15); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_dec(x_9); +lean_inc_ref(x_1); +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 0, x_2); +x_10 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_10); +x_11 = l_Lean_MessageData_ofSyntax(x_8); +x_12 = l_Lean_indentD(x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +lean_inc_ref(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +x_18 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_18); +lean_ctor_set(x_3, 0, x_17); +x_19 = l_Lean_MessageData_ofSyntax(x_16); +x_20 = l_Lean_indentD(x_19); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +x_2 = x_21; +x_3 = x_15; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +lean_inc_ref(x_1); +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(7, 2, 0); +} else { + x_27 = x_26; + lean_ctor_set_tag(x_27, 7); +} +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_1); +x_28 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofSyntax(x_25); +x_31 = l_Lean_indentD(x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_2 = x_32; +x_3 = x_24; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_pp_macroStack; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0; +x_7 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_14); +lean_ctor_set(x_10, 0, x_1); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_MessageData_ofSyntax(x_12); +x_18 = l_Lean_indentD(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(x_14, x_19, x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_4); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_MessageData_ofSyntax(x_22); +x_28 = l_Lean_indentD(x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2(x_23, x_29, x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_4); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec_ref(x_2); +lean_inc(x_14); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_12, x_14, x_6, x_13); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_10); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_19); +lean_ctor_set(x_10, 0, x_21); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +lean_dec_ref(x_2); +lean_inc(x_25); +x_26 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_23, x_25, x_6, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_30 = l_Lean_Elab_getBetterRef(x_9, x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +if (lean_is_scalar(x_29)) { + x_32 = lean_alloc_ctor(1, 2, 0); +} else { + x_32 = x_29; + lean_ctor_set_tag(x_32, 1); +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +x_10 = l_Lean_stringToMessageData(x_9); +x_11 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec_ref(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec_ref(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 2); +x_15 = l_Lean_Environment_evalConstCheck___redArg(x_13, x_14, x_1, x_2); +x_16 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec_ref(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedCheckHandler", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0; +x_2 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1; +x_3 = l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1; +x_10 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_nat_add(x_2, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_st_ref_take(x_2, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec_ref(x_12); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_16, x_17); +lean_dec(x_16); +lean_ctor_set(x_13, 0, x_18); +x_19 = lean_st_ref_set(x_2, x_13, x_14); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_26 = lean_ctor_get(x_13, 0); +x_27 = lean_ctor_get(x_13, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_13); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_26, x_28); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +x_31 = lean_st_ref_set(x_2, x_30, x_14); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_33 = x_31; +} else { + lean_dec_ref(x_31); + x_33 = lean_box(0); +} +x_34 = lean_box(0); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else +{ +if (lean_obj_tag(x_10) == 0) +{ +return x_10; +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_62; +x_36 = lean_ctor_get(x_10, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_10, 1); +lean_inc(x_37); +x_62 = l_Lean_Exception_isInterrupt(x_36); +if (x_62 == 0) +{ +uint8_t x_63; +x_63 = l_Lean_Exception_isRuntime(x_36); +x_38 = x_63; +goto block_61; +} +else +{ +x_38 = x_62; +goto block_61; +} +block_61: +{ +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_dec_ref(x_10); +x_39 = lean_st_ref_take(x_2, x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_40, 1); +x_44 = lean_array_push(x_43, x_36); +lean_ctor_set(x_40, 1, x_44); +x_45 = lean_st_ref_set(x_2, x_40, x_41); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = lean_box(0); +lean_ctor_set(x_45, 0, x_48); +return x_45; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_52 = lean_ctor_get(x_40, 0); +x_53 = lean_ctor_get(x_40, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_40); +x_54 = lean_array_push(x_53, x_36); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_st_ref_set(x_2, x_55, x_41); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_58 = x_56; +} else { + lean_dec_ref(x_56); + x_58 = lean_box(0); +} +x_59 = lean_box(0); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +} +else +{ +lean_dec(x_37); +lean_dec(x_36); +return x_10; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_uget(x_3, x_5); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_18 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed(x_1, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_5, x_20); +{ +size_t _tmp_4 = x_21; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_13 = x_19; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_18; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_name_eq(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +return x_7; +} +} +else +{ +uint8_t x_11; +x_11 = 0; +return x_11; +} +} +} +LEAN_EXPORT uint8_t l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_dec(x_4); +return x_5; +} +else +{ +if (x_5 == 0) +{ +lean_dec(x_4); +return x_5; +} +else +{ +size_t x_6; size_t x_7; uint8_t x_8; +x_6 = 0; +x_7 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_8 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1(x_2, x_1, x_6, x_7); +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_2, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Check in `", 10, 10); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` requires that `", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` is imported, but it is not.", 29, 29); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_21; +x_21 = lean_usize_dec_lt(x_5, x_4); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_14); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_st_ref_get(x_13, x_14); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_25, 0); +lean_inc_ref(x_27); +lean_dec(x_25); +x_28 = lean_array_uget(x_3, x_5); +x_29 = l_Lean_Environment_header(x_27); +lean_dec_ref(x_27); +x_30 = l_Lean_EnvironmentHeader_moduleNames(x_29); +x_31 = l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(x_30, x_28); +lean_dec_ref(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_32 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1; +x_33 = l_Lean_MessageData_ofConstName(x_1, x_31); +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_33); +lean_ctor_set(x_23, 0, x_32); +x_34 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_MessageData_ofName(x_28); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_39, x_10, x_11, x_12, x_13, x_26); +return x_40; +} +else +{ +lean_dec(x_28); +lean_free_object(x_23); +x_15 = x_2; +x_16 = x_26; +goto block_20; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_23); +x_43 = lean_ctor_get(x_41, 0); +lean_inc_ref(x_43); +lean_dec(x_41); +x_44 = lean_array_uget(x_3, x_5); +x_45 = l_Lean_Environment_header(x_43); +lean_dec_ref(x_43); +x_46 = l_Lean_EnvironmentHeader_moduleNames(x_45); +x_47 = l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(x_46, x_44); +lean_dec_ref(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1; +x_49 = l_Lean_MessageData_ofConstName(x_1, x_47); +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_MessageData_ofName(x_44); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_56, x_10, x_11, x_12, x_13, x_42); +return x_57; +} +else +{ +lean_dec(x_44); +x_15 = x_2; +x_16 = x_42; +goto block_20; +} +} +} +block_20: +{ +size_t x_17; size_t x_18; +x_17 = 1; +x_18 = lean_usize_add(x_5, x_17); +x_5 = x_18; +x_6 = x_15; +x_14 = x_16; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_21; +x_21 = lean_usize_dec_lt(x_5, x_4); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_14); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_st_ref_get(x_13, x_14); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_25, 0); +lean_inc_ref(x_27); +lean_dec(x_25); +x_28 = lean_array_uget(x_3, x_5); +x_29 = l_Lean_Environment_header(x_27); +lean_dec_ref(x_27); +x_30 = l_Lean_EnvironmentHeader_moduleNames(x_29); +x_31 = l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(x_30, x_28); +lean_dec_ref(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_32 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1; +x_33 = l_Lean_MessageData_ofConstName(x_1, x_31); +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_33); +lean_ctor_set(x_23, 0, x_32); +x_34 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_MessageData_ofName(x_28); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_39, x_10, x_11, x_12, x_13, x_26); +return x_40; +} +else +{ +lean_dec(x_28); +lean_free_object(x_23); +x_15 = x_2; +x_16 = x_26; +goto block_20; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_23); +x_43 = lean_ctor_get(x_41, 0); +lean_inc_ref(x_43); +lean_dec(x_41); +x_44 = lean_array_uget(x_3, x_5); +x_45 = l_Lean_Environment_header(x_43); +lean_dec_ref(x_43); +x_46 = l_Lean_EnvironmentHeader_moduleNames(x_45); +x_47 = l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(x_46, x_44); +lean_dec_ref(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1; +x_49 = l_Lean_MessageData_ofConstName(x_1, x_47); +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_MessageData_ofName(x_44); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_56, x_10, x_11, x_12, x_13, x_42); +return x_57; +} +else +{ +lean_dec(x_44); +x_15 = x_2; +x_16 = x_42; +goto block_20; +} +} +} +block_20: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = 1; +x_18 = lean_usize_add(x_5, x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4(x_1, x_2, x_3, x_4, x_18, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_16); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_11 = x_10; +goto block_14; +} +case 1: +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_2, 0); +x_15 = x_33; +x_16 = x_3; +x_17 = x_4; +x_18 = x_5; +x_19 = x_6; +x_20 = x_7; +x_21 = x_8; +x_22 = x_9; +x_23 = x_10; +goto block_32; +} +case 2: +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_2, 0); +x_15 = x_34; +x_16 = x_3; +x_17 = x_4; +x_18 = x_5; +x_19 = x_6; +x_20 = x_7; +x_21 = x_8; +x_22 = x_9; +x_23 = x_10; +goto block_32; +} +case 3: +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_11 = x_10; +goto block_14; +} +case 5: +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_11 = x_10; +goto block_14; +} +case 6: +{ +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_2, 0); +x_36 = lean_box(0); +x_37 = lean_array_size(x_35); +x_38 = 0; +x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_36, x_35, x_37, x_38, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +lean_ctor_set(x_39, 0, x_36); +return x_39; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_36); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +return x_39; +} +} +case 7: +{ +lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_2, 1); +x_45 = lean_box(0); +x_46 = lean_array_size(x_44); +x_47 = 0; +x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_45, x_44, x_46, x_47, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_45); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +return x_48; +} +} +case 9: +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_2, 0); +x_15 = x_53; +x_16 = x_3; +x_17 = x_4; +x_18 = x_5; +x_19 = x_6; +x_20 = x_7; +x_21 = x_8; +x_22 = x_9; +x_23 = x_10; +goto block_32; +} +case 10: +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_54 = lean_ctor_get(x_2, 0); +x_55 = lean_ctor_get(x_2, 1); +x_73 = lean_ctor_get(x_54, 1); +x_74 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +x_75 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_73, x_74); +if (lean_obj_tag(x_75) == 0) +{ +x_56 = x_3; +x_57 = x_4; +x_58 = x_5; +x_59 = x_6; +x_60 = x_7; +x_61 = x_8; +x_62 = x_9; +x_63 = x_10; +goto block_72; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +lean_dec_ref(x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc_ref(x_78); +x_79 = lean_ctor_get(x_76, 2); +lean_inc(x_79); +lean_dec(x_76); +x_80 = lean_box(0); +x_81 = lean_array_size(x_78); +x_82 = 0; +lean_inc(x_1); +x_83 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(x_1, x_80, x_78, x_81, x_82, x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_78); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec_ref(x_83); +lean_inc_ref(x_4); +x_85 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe(x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec_ref(x_85); +lean_inc(x_1); +x_88 = lean_apply_2(x_86, x_1, x_79); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_89 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck(x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_87); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec_ref(x_89); +x_56 = x_3; +x_57 = x_4; +x_58 = x_5; +x_59 = x_6; +x_60 = x_7; +x_61 = x_8; +x_62 = x_9; +x_63 = x_90; +goto block_72; +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_89; +} +} +else +{ +uint8_t x_91; +lean_dec(x_79); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_91 = !lean_is_exclusive(x_85); +if (x_91 == 0) +{ +return x_85; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_85, 0); +x_93 = lean_ctor_get(x_85, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_85); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} +} +else +{ +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_83; +} +} +block_72: +{ +lean_object* x_64; size_t x_65; size_t x_66; lean_object* x_67; +x_64 = lean_box(0); +x_65 = lean_array_size(x_55); +x_66 = 0; +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_64, x_55, x_65, x_66, x_64, x_56, x_57, x_58, x_59, x_60, x_61, x_62, x_63); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +lean_ctor_set(x_67, 0, x_64); +return x_67; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +else +{ +return x_67; +} +} +} +default: +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_95 = lean_box(0); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_10); +return x_96; +} +} +block_14: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +block_32: +{ +lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_24 = lean_box(0); +x_25 = lean_array_size(x_15); +x_26 = 0; +x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_24, x_15, x_25, x_26, x_24, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_24); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1_spec__1(x_1, x_2, x_5, x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Array_contains___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_uget(x_3, x_5); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_18 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed(x_1, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_5, x_20); +{ +size_t _tmp_4 = x_21; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_13 = x_19; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_17 = lean_array_uget(x_3, x_5); +x_18 = lean_array_size(x_17); +x_19 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_2, x_17, x_18, x_19, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; size_t x_22; size_t x_23; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = 1; +x_23 = lean_usize_add(x_5, x_22); +{ +size_t _tmp_4 = x_23; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_13 = x_21; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_17 = lean_array_uget(x_3, x_5); +x_18 = lean_ctor_get(x_17, 0); +lean_inc_ref(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_19); +lean_dec_ref(x_17); +x_20 = lean_array_size(x_18); +x_21 = 0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_22 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_2, x_18, x_20, x_21, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; size_t x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec_ref(x_22); +x_24 = lean_array_size(x_19); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_2, x_19, x_24, x_21, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +lean_dec_ref(x_19); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; size_t x_27; size_t x_28; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec_ref(x_25); +x_27 = 1; +x_28 = lean_usize_add(x_5, x_27); +{ +size_t _tmp_4 = x_28; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_13 = x_26; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_25; +} +} +else +{ +lean_dec_ref(x_19); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_2, 0); +x_30 = lean_box(0); +x_31 = lean_array_size(x_29); +x_32 = 0; +x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__0(x_1, x_30, x_29, x_31, x_32, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_30); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_30); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +return x_33; +} +} +case 1: +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_10); +return x_39; +} +case 2: +{ +lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_2, 0); +x_41 = lean_box(0); +x_42 = lean_array_size(x_40); +x_43 = 0; +x_44 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1(x_1, x_41, x_40, x_42, x_43, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set(x_44, 0, x_41); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +else +{ +return x_44; +} +} +case 3: +{ +lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_2, 1); +x_50 = lean_box(0); +x_51 = lean_array_size(x_49); +x_52 = 0; +x_53 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1(x_1, x_50, x_49, x_51, x_52, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +lean_ctor_set(x_53, 0, x_50); +return x_53; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec(x_53); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_50); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +return x_53; +} +} +case 4: +{ +lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; +x_58 = lean_ctor_get(x_2, 0); +x_59 = lean_box(0); +x_60 = lean_array_size(x_58); +x_61 = 0; +x_62 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2(x_1, x_59, x_58, x_60, x_61, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +lean_ctor_set(x_62, 0, x_59); +return x_62; +} +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_dec(x_62); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_59); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +else +{ +return x_62; +} +} +case 7: +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_67 = lean_ctor_get(x_2, 0); +x_68 = lean_ctor_get(x_2, 1); +x_86 = lean_ctor_get(x_67, 1); +x_87 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_; +x_88 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(x_86, x_87); +if (lean_obj_tag(x_88) == 0) +{ +x_69 = x_3; +x_70 = x_4; +x_71 = x_5; +x_72 = x_6; +x_73 = x_7; +x_74 = x_8; +x_75 = x_9; +x_76 = x_10; +goto block_85; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; size_t x_95; lean_object* x_96; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +lean_dec_ref(x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc_ref(x_91); +x_92 = lean_ctor_get(x_89, 2); +lean_inc(x_92); +lean_dec(x_89); +x_93 = lean_box(0); +x_94 = lean_array_size(x_91); +x_95 = 0; +lean_inc(x_1); +x_96 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4___redArg(x_1, x_93, x_91, x_94, x_95, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_91); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec_ref(x_96); +lean_inc_ref(x_4); +x_98 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe(x_90, x_4, x_5, x_6, x_7, x_8, x_9, x_97); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec_ref(x_98); +lean_inc(x_1); +x_101 = lean_apply_2(x_99, x_1, x_92); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_102 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_runCheck(x_101, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_100); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec_ref(x_102); +x_69 = x_3; +x_70 = x_4; +x_71 = x_5; +x_72 = x_6; +x_73 = x_7; +x_74 = x_8; +x_75 = x_9; +x_76 = x_103; +goto block_85; +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_102; +} +} +else +{ +uint8_t x_104; +lean_dec(x_92); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +x_104 = !lean_is_exclusive(x_98); +if (x_104 == 0) +{ +return x_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_98, 0); +x_106 = lean_ctor_get(x_98, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_98); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +} +else +{ +lean_dec(x_92); +lean_dec(x_90); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_96; +} +} +block_85: +{ +lean_object* x_77; size_t x_78; size_t x_79; lean_object* x_80; +x_77 = lean_box(0); +x_78 = lean_array_size(x_68); +x_79 = 0; +x_80 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_77, x_68, x_78, x_79, x_77, x_69, x_70, x_71, x_72, x_73, x_74, x_75, x_76); +if (lean_obj_tag(x_80) == 0) +{ +uint8_t x_81; +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_80, 0); +lean_dec(x_82); +lean_ctor_set(x_80, 0, x_77); +return x_80; +} +else +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_77); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +else +{ +return x_80; +} +} +} +default: +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_2, 0); +x_11 = x_108; +x_12 = x_3; +x_13 = x_4; +x_14 = x_5; +x_15 = x_6; +x_16 = x_7; +x_17 = x_8; +x_18 = x_9; +x_19 = x_10; +goto block_28; +} +} +block_28: +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_box(0); +x_21 = lean_array_size(x_11); +x_22 = 0; +x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_20, x_11, x_21, x_22, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_20); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__1(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__2(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_5, x_4); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_uget(x_3, x_5); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_1); +x_18 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed(x_1, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_5, x_20); +{ +size_t _tmp_4 = x_21; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_13 = x_19; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_1); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_2, 3); +x_12 = lean_ctor_get(x_2, 4); +x_13 = lean_box(0); +x_14 = lean_array_size(x_11); +x_15 = 0; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_1); +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_13, x_11, x_14, x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; size_t x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec_ref(x_16); +x_18 = lean_array_size(x_12); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0(x_1, x_13, x_12, x_18, x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_13); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_13); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +return x_19; +} +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_box(0); +x_14 = lean_array_size(x_11); +x_15 = 0; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_1); +x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkBlockPostponed_spec__0(x_1, x_13, x_11, x_14, x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; size_t x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec_ref(x_16); +x_18 = lean_array_size(x_12); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkPartPostponed_spec__0(x_1, x_13, x_12, x_18, x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_13); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_13); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +return x_19; +} +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_11; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_uget(x_1, x_3); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_20 = lean_st_mk_ref(x_19, x_11); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_16); +x_23 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_16, x_17, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +lean_dec(x_17); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_33; uint8_t x_34; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = lean_st_ref_get(x_21, x_24); +lean_dec(x_21); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec_ref(x_25); +x_33 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_26); +x_34 = lean_nat_dec_lt(x_18, x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_dec(x_26); +lean_free_object(x_14); +lean_dec(x_16); +x_28 = x_4; +goto block_32; +} +else +{ +lean_object* x_35; +lean_ctor_set(x_14, 1, x_26); +x_35 = lean_array_push(x_4, x_14); +x_28 = x_35; +goto block_32; +} +block_32: +{ +size_t x_29; size_t x_30; +x_29 = 1; +x_30 = lean_usize_add(x_3, x_29); +x_3 = x_30; +x_4 = x_28; +x_11 = x_27; +goto _start; +} +} +else +{ +uint8_t x_36; +lean_dec(x_21); +lean_free_object(x_14); +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) +{ +return x_23; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_23); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_40 = lean_ctor_get(x_14, 0); +x_41 = lean_ctor_get(x_14, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_14); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_44 = lean_st_mk_ref(x_43, x_11); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec_ref(x_44); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_40); +x_47 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_40, x_41, x_45, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +lean_dec(x_41); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_57; uint8_t x_58; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec_ref(x_47); +x_49 = lean_st_ref_get(x_45, x_48); +lean_dec(x_45); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec_ref(x_49); +x_57 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_50); +x_58 = lean_nat_dec_lt(x_42, x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_dec(x_50); +lean_dec(x_40); +x_52 = x_4; +goto block_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_40); +lean_ctor_set(x_59, 1, x_50); +x_60 = lean_array_push(x_4, x_59); +x_52 = x_60; +goto block_56; +} +block_56: +{ +size_t x_53; size_t x_54; +x_53 = 1; +x_54 = lean_usize_add(x_3, x_53); +x_3 = x_54; +x_4 = x_52; +x_11 = x_51; +goto _start; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_45); +lean_dec(x_40); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_61 = lean_ctor_get(x_47, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_47, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_63 = x_47; +} else { + lean_dec_ref(x_47); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_uget(x_1, x_3); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_20 = lean_st_mk_ref(x_19, x_11); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_16); +x_23 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_16, x_17, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +lean_dec(x_17); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_33; uint8_t x_34; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = lean_st_ref_get(x_21, x_24); +lean_dec(x_21); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec_ref(x_25); +x_33 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_26); +x_34 = lean_nat_dec_lt(x_18, x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_dec(x_26); +lean_free_object(x_14); +lean_dec(x_16); +x_28 = x_4; +goto block_32; +} +else +{ +lean_object* x_35; +lean_ctor_set(x_14, 1, x_26); +x_35 = lean_array_push(x_4, x_14); +x_28 = x_35; +goto block_32; +} +block_32: +{ +size_t x_29; size_t x_30; lean_object* x_31; +x_29 = 1; +x_30 = lean_usize_add(x_3, x_29); +x_31 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0(x_1, x_2, x_30, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_31; +} +} +else +{ +uint8_t x_36; +lean_dec(x_21); +lean_free_object(x_14); +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) +{ +return x_23; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_23); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_40 = lean_ctor_get(x_14, 0); +x_41 = lean_ctor_get(x_14, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_14); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_44 = lean_st_mk_ref(x_43, x_11); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec_ref(x_44); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_40); +x_47 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_40, x_41, x_45, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +lean_dec(x_41); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_57; uint8_t x_58; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec_ref(x_47); +x_49 = lean_st_ref_get(x_45, x_48); +lean_dec(x_45); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec_ref(x_49); +x_57 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_50); +x_58 = lean_nat_dec_lt(x_42, x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_dec(x_50); +lean_dec(x_40); +x_52 = x_4; +goto block_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_40); +lean_ctor_set(x_59, 1, x_50); +x_60 = lean_array_push(x_4, x_59); +x_52 = x_60; +goto block_56; +} +block_56: +{ +size_t x_53; size_t x_54; lean_object* x_55; +x_53 = 1; +x_54 = lean_usize_add(x_3, x_53); +x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0(x_1, x_2, x_54, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_51); +return x_55; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_45); +lean_dec(x_40); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_61 = lean_ctor_get(x_47, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_47, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_63 = x_47; +} else { + lean_dec_ref(x_47); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = l_Lean_Exception_toMessageData(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("check", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`: ", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(double x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_7, x_6); +if (x_9 == 0) +{ +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_8; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_uget(x_8, x_7); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 1); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_uset(x_8, x_7, x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_20 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +lean_ctor_set_float(x_20, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_2); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_22 = 0; +x_23 = l_Lean_MessageData_ofConstName(x_14, x_22); +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_23); +lean_ctor_set(x_12, 0, x_21); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_24); +lean_ctor_set(x_10, 0, x_12); +x_25 = l_Nat_reprFast(x_15); +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_MessageData_ofFormat(x_26); +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_10); +lean_ctor_set(x_28, 1, x_27); +lean_inc_ref(x_4); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_4); +x_30 = lean_array_get_size(x_16); +x_31 = l_Nat_reprFast(x_30); +x_32 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_MessageData_ofFormat(x_32); +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +lean_inc_ref(x_5); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_5); +x_36 = lean_array_size(x_16); +x_37 = 0; +x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_36, x_37, x_16); +x_39 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_39, 0, x_20); +lean_ctor_set(x_39, 1, x_35); +lean_ctor_set(x_39, 2, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_7, x_40); +x_42 = lean_array_uset(x_18, x_7, x_39); +x_7 = x_41; +x_8 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; lean_object* x_73; +x_44 = lean_ctor_get(x_10, 0); +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_array_uset(x_8, x_7, x_47); +x_49 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_50 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_3); +lean_ctor_set_float(x_50, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_50, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_50, sizeof(void*)*2 + 16, x_2); +x_51 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_52 = 0; +x_53 = l_Lean_MessageData_ofConstName(x_44, x_52); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_55); +lean_ctor_set(x_10, 0, x_54); +x_56 = l_Nat_reprFast(x_45); +x_57 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = l_Lean_MessageData_ofFormat(x_57); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_10); +lean_ctor_set(x_59, 1, x_58); +lean_inc_ref(x_4); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_4); +x_61 = lean_array_get_size(x_46); +x_62 = l_Nat_reprFast(x_61); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +lean_inc_ref(x_5); +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_5); +x_67 = lean_array_size(x_46); +x_68 = 0; +x_69 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_67, x_68, x_46); +x_70 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_70, 0, x_50); +lean_ctor_set(x_70, 1, x_66); +lean_ctor_set(x_70, 2, x_69); +x_71 = 1; +x_72 = lean_usize_add(x_7, x_71); +x_73 = lean_array_uset(x_48, x_7, x_70); +x_7 = x_72; +x_8 = x_73; +goto _start; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; lean_object* x_104; size_t x_105; size_t x_106; lean_object* x_107; +x_75 = lean_ctor_get(x_10, 1); +x_76 = lean_ctor_get(x_10, 0); +lean_inc(x_75); +lean_inc(x_76); +lean_dec(x_10); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_75, 1); +lean_inc_ref(x_78); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_79 = x_75; +} else { + lean_dec_ref(x_75); + x_79 = lean_box(0); +} +x_80 = lean_unsigned_to_nat(0u); +x_81 = lean_array_uset(x_8, x_7, x_80); +x_82 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_83 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_3); +lean_ctor_set_float(x_83, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_83, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_83, sizeof(void*)*2 + 16, x_2); +x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_85 = 0; +x_86 = l_Lean_MessageData_ofConstName(x_76, x_85); +if (lean_is_scalar(x_79)) { + x_87 = lean_alloc_ctor(7, 2, 0); +} else { + x_87 = x_79; + lean_ctor_set_tag(x_87, 7); +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Nat_reprFast(x_77); +x_91 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = l_Lean_MessageData_ofFormat(x_91); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_89); +lean_ctor_set(x_93, 1, x_92); +lean_inc_ref(x_4); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_4); +x_95 = lean_array_get_size(x_78); +x_96 = l_Nat_reprFast(x_95); +x_97 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = l_Lean_MessageData_ofFormat(x_97); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_98); +lean_inc_ref(x_5); +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_5); +x_101 = lean_array_size(x_78); +x_102 = 0; +x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_101, x_102, x_78); +x_104 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_104, 0, x_83); +lean_ctor_set(x_104, 1, x_100); +lean_ctor_set(x_104, 2, x_103); +x_105 = 1; +x_106 = lean_usize_add(x_7, x_105); +x_107 = lean_array_uset(x_81, x_7, x_104); +x_7 = x_106; +x_8 = x_107; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3(double x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_7, x_6); +if (x_9 == 0) +{ +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_8; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_uget(x_8, x_7); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 1); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_uset(x_8, x_7, x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_20 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +lean_ctor_set_float(x_20, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_2); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_22 = 0; +x_23 = l_Lean_MessageData_ofConstName(x_14, x_22); +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_23); +lean_ctor_set(x_12, 0, x_21); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_24); +lean_ctor_set(x_10, 0, x_12); +x_25 = l_Nat_reprFast(x_15); +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_MessageData_ofFormat(x_26); +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_10); +lean_ctor_set(x_28, 1, x_27); +lean_inc_ref(x_4); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_4); +x_30 = lean_array_get_size(x_16); +x_31 = l_Nat_reprFast(x_30); +x_32 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_MessageData_ofFormat(x_32); +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +lean_inc_ref(x_5); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_5); +x_36 = lean_array_size(x_16); +x_37 = 0; +x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_36, x_37, x_16); +x_39 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_39, 0, x_20); +lean_ctor_set(x_39, 1, x_35); +lean_ctor_set(x_39, 2, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_7, x_40); +x_42 = lean_array_uset(x_18, x_7, x_39); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_42); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; lean_object* x_73; lean_object* x_74; +x_44 = lean_ctor_get(x_10, 0); +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_array_uset(x_8, x_7, x_47); +x_49 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_50 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_3); +lean_ctor_set_float(x_50, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_50, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_50, sizeof(void*)*2 + 16, x_2); +x_51 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_52 = 0; +x_53 = l_Lean_MessageData_ofConstName(x_44, x_52); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_55); +lean_ctor_set(x_10, 0, x_54); +x_56 = l_Nat_reprFast(x_45); +x_57 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = l_Lean_MessageData_ofFormat(x_57); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_10); +lean_ctor_set(x_59, 1, x_58); +lean_inc_ref(x_4); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_4); +x_61 = lean_array_get_size(x_46); +x_62 = l_Nat_reprFast(x_61); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +lean_inc_ref(x_5); +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_5); +x_67 = lean_array_size(x_46); +x_68 = 0; +x_69 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_67, x_68, x_46); +x_70 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_70, 0, x_50); +lean_ctor_set(x_70, 1, x_66); +lean_ctor_set(x_70, 2, x_69); +x_71 = 1; +x_72 = lean_usize_add(x_7, x_71); +x_73 = lean_array_uset(x_48, x_7, x_70); +x_74 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_72, x_73); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; lean_object* x_104; size_t x_105; size_t x_106; lean_object* x_107; lean_object* x_108; +x_75 = lean_ctor_get(x_10, 1); +x_76 = lean_ctor_get(x_10, 0); +lean_inc(x_75); +lean_inc(x_76); +lean_dec(x_10); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_75, 1); +lean_inc_ref(x_78); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_79 = x_75; +} else { + lean_dec_ref(x_75); + x_79 = lean_box(0); +} +x_80 = lean_unsigned_to_nat(0u); +x_81 = lean_array_uset(x_8, x_7, x_80); +x_82 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1; +lean_inc_ref(x_3); +x_83 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_3); +lean_ctor_set_float(x_83, sizeof(void*)*2, x_1); +lean_ctor_set_float(x_83, sizeof(void*)*2 + 8, x_1); +lean_ctor_set_uint8(x_83, sizeof(void*)*2 + 16, x_2); +x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3; +x_85 = 0; +x_86 = l_Lean_MessageData_ofConstName(x_76, x_85); +if (lean_is_scalar(x_79)) { + x_87 = lean_alloc_ctor(7, 2, 0); +} else { + x_87 = x_79; + lean_ctor_set_tag(x_87, 7); +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Nat_reprFast(x_77); +x_91 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = l_Lean_MessageData_ofFormat(x_91); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_89); +lean_ctor_set(x_93, 1, x_92); +lean_inc_ref(x_4); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_4); +x_95 = lean_array_get_size(x_78); +x_96 = l_Nat_reprFast(x_95); +x_97 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = l_Lean_MessageData_ofFormat(x_97); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_98); +lean_inc_ref(x_5); +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_5); +x_101 = lean_array_size(x_78); +x_102 = 0; +x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_101, x_102, x_78); +x_104 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_104, 0, x_83); +lean_ctor_set(x_104, 1, x_100); +lean_ctor_set(x_104, 2, x_103); +x_105 = 1; +x_106 = lean_usize_add(x_7, x_105); +x_107 = lean_array_uset(x_81, x_7, x_104); +x_108 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_106, x_107); +return x_108; +} +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trace", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 1); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0; +x_7 = lean_string_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 0); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_4, 1); +x_11 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1; +x_12 = lean_string_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2; +x_14 = lean_string_dec_eq(x_10, x_13); +if (x_14 == 0) +{ +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3; +x_16 = lean_string_dec_eq(x_9, x_15); +if (x_16 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4; +x_18 = lean_string_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +return x_1; +} +} +default: +{ +return x_1; +} +} +} +else +{ +return x_1; +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_warningAsError; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; lean_object* x_88; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; uint8_t x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; +x_133 = 2; +x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); +if (x_158 == 0) +{ +x_142 = x_158; +goto block_157; +} +else +{ +uint8_t x_159; +lean_inc_ref(x_2); +x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_142 = x_159; +goto block_157; +} +block_80: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_st_ref_take(x_18, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_17, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 7); +lean_inc(x_25); +lean_dec_ref(x_17); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_22, 6); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_13); +x_29 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 1, x_10); +lean_ctor_set(x_29, 2, x_14); +lean_ctor_set(x_29, 3, x_11); +lean_ctor_set(x_29, 4, x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_16); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); +x_30 = l_Lean_MessageLog_add(x_29, x_27); +lean_ctor_set(x_22, 6, x_30); +x_31 = lean_st_ref_set(x_18, x_22, x_23); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +x_40 = lean_ctor_get(x_22, 2); +x_41 = lean_ctor_get(x_22, 3); +x_42 = lean_ctor_get(x_22, 4); +x_43 = lean_ctor_get(x_22, 5); +x_44 = lean_ctor_get(x_22, 6); +x_45 = lean_ctor_get(x_22, 7); +x_46 = lean_ctor_get(x_22, 8); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_13); +x_48 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_48, 0, x_12); +lean_ctor_set(x_48, 1, x_10); +lean_ctor_set(x_48, 2, x_14); +lean_ctor_set(x_48, 3, x_11); +lean_ctor_set(x_48, 4, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_16); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); +x_49 = l_Lean_MessageLog_add(x_48, x_44); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_43); +lean_ctor_set(x_50, 6, x_49); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set(x_50, 8, x_46); +x_51 = lean_st_ref_set(x_18, x_50, x_23); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_ctor_get(x_17, 6); +lean_inc(x_58); +x_59 = lean_ctor_get(x_17, 7); +lean_inc(x_59); +lean_dec_ref(x_17); +x_60 = lean_ctor_get(x_56, 0); +lean_inc_ref(x_60); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_56, 2); +lean_inc_ref(x_62); +x_63 = lean_ctor_get(x_56, 3); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_56, 4); +lean_inc_ref(x_64); +x_65 = lean_ctor_get(x_56, 5); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_56, 6); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_56, 7); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_56, 8); +lean_inc_ref(x_68); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + lean_ctor_release(x_56, 2); + lean_ctor_release(x_56, 3); + lean_ctor_release(x_56, 4); + lean_ctor_release(x_56, 5); + lean_ctor_release(x_56, 6); + lean_ctor_release(x_56, 7); + lean_ctor_release(x_56, 8); + x_69 = x_56; +} else { + lean_dec_ref(x_56); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_58); +lean_ctor_set(x_70, 1, x_59); +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_13); +x_72 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_72, 0, x_12); +lean_ctor_set(x_72, 1, x_10); +lean_ctor_set(x_72, 2, x_14); +lean_ctor_set(x_72, 3, x_11); +lean_ctor_set(x_72, 4, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_16); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); +x_73 = l_Lean_MessageLog_add(x_72, x_66); +if (lean_is_scalar(x_69)) { + x_74 = lean_alloc_ctor(0, 9, 0); +} else { + x_74 = x_69; +} +lean_ctor_set(x_74, 0, x_60); +lean_ctor_set(x_74, 1, x_61); +lean_ctor_set(x_74, 2, x_62); +lean_ctor_set(x_74, 3, x_63); +lean_ctor_set(x_74, 4, x_64); +lean_ctor_set(x_74, 5, x_65); +lean_ctor_set(x_74, 6, x_73); +lean_ctor_set(x_74, 7, x_67); +lean_ctor_set(x_74, 8, x_68); +x_75 = lean_st_ref_set(x_18, x_74, x_57); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +x_78 = lean_box(0); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +} +block_109: +{ +lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_89 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_90 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__0(x_89, x_5, x_6, x_7, x_8, x_9); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc_ref(x_83); +x_94 = l_Lean_FileMap_toPosition(x_83, x_82); +lean_dec(x_82); +x_95 = l_Lean_FileMap_toPosition(x_83, x_88); +lean_dec(x_88); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0; +if (x_86 == 0) +{ +lean_free_object(x_90); +lean_dec_ref(x_81); +x_10 = x_94; +x_11 = x_97; +x_12 = x_84; +x_13 = x_92; +x_14 = x_96; +x_15 = x_85; +x_16 = x_87; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +else +{ +uint8_t x_98; +lean_inc(x_92); +x_98 = l_Lean_MessageData_hasTag(x_81, x_92); +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec_ref(x_96); +lean_dec_ref(x_94); +lean_dec(x_92); +lean_dec_ref(x_84); +lean_dec_ref(x_7); +x_99 = lean_box(0); +lean_ctor_set(x_90, 0, x_99); +return x_90; +} +else +{ +lean_free_object(x_90); +x_10 = x_94; +x_11 = x_97; +x_12 = x_84; +x_13 = x_92; +x_14 = x_96; +x_15 = x_85; +x_16 = x_87; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_100 = lean_ctor_get(x_90, 0); +x_101 = lean_ctor_get(x_90, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_90); +lean_inc_ref(x_83); +x_102 = l_Lean_FileMap_toPosition(x_83, x_82); +lean_dec(x_82); +x_103 = l_Lean_FileMap_toPosition(x_83, x_88); +lean_dec(x_88); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0; +if (x_86 == 0) +{ +lean_dec_ref(x_81); +x_10 = x_102; +x_11 = x_105; +x_12 = x_84; +x_13 = x_100; +x_14 = x_104; +x_15 = x_85; +x_16 = x_87; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +else +{ +uint8_t x_106; +lean_inc(x_100); +x_106 = l_Lean_MessageData_hasTag(x_81, x_100); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_104); +lean_dec_ref(x_102); +lean_dec(x_100); +lean_dec_ref(x_84); +lean_dec_ref(x_7); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +x_10 = x_102; +x_11 = x_105; +x_12 = x_84; +x_13 = x_100; +x_14 = x_104; +x_15 = x_85; +x_16 = x_87; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +} +} +} +block_120: +{ +lean_object* x_118; +x_118 = l_Lean_Syntax_getTailPos_x3f(x_114, x_113); +lean_dec(x_114); +if (lean_obj_tag(x_118) == 0) +{ +lean_inc(x_117); +x_81 = x_110; +x_82 = x_117; +x_83 = x_111; +x_84 = x_112; +x_85 = x_113; +x_86 = x_116; +x_87 = x_115; +x_88 = x_117; +goto block_109; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec_ref(x_118); +x_81 = x_110; +x_82 = x_117; +x_83 = x_111; +x_84 = x_112; +x_85 = x_113; +x_86 = x_116; +x_87 = x_115; +x_88 = x_119; +goto block_109; +} +} +block_132: +{ +lean_object* x_128; lean_object* x_129; +x_128 = l_Lean_replaceRef(x_1, x_122); +lean_dec(x_122); +x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_125); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; +x_130 = lean_unsigned_to_nat(0u); +x_110 = x_121; +x_111 = x_123; +x_112 = x_124; +x_113 = x_125; +x_114 = x_128; +x_115 = x_127; +x_116 = x_126; +x_117 = x_130; +goto block_120; +} +else +{ +lean_object* x_131; +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec_ref(x_129); +x_110 = x_121; +x_111 = x_123; +x_112 = x_124; +x_113 = x_125; +x_114 = x_128; +x_115 = x_127; +x_116 = x_126; +x_117 = x_131; +goto block_120; +} +} +block_141: +{ +if (x_140 == 0) +{ +x_121 = x_134; +x_122 = x_135; +x_123 = x_136; +x_124 = x_137; +x_125 = x_139; +x_126 = x_138; +x_127 = x_3; +goto block_132; +} +else +{ +x_121 = x_134; +x_122 = x_135; +x_123 = x_136; +x_124 = x_137; +x_125 = x_139; +x_126 = x_138; +x_127 = x_133; +goto block_132; +} +} +block_157: +{ +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; +x_143 = lean_ctor_get(x_7, 0); +x_144 = lean_ctor_get(x_7, 1); +x_145 = lean_ctor_get(x_7, 2); +x_146 = lean_ctor_get(x_7, 5); +x_147 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_148 = lean_box(x_142); +x_149 = lean_box(x_147); +x_150 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_150, 0, x_148); +lean_closure_set(x_150, 1, x_149); +x_151 = 1; +x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); +if (x_152 == 0) +{ +lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); +x_134 = x_150; +x_135 = x_146; +x_136 = x_144; +x_137 = x_143; +x_138 = x_147; +x_139 = x_142; +x_140 = x_152; +goto block_141; +} +else +{ +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1; +x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(x_145, x_153); +lean_inc_ref(x_143); +lean_inc_ref(x_144); +lean_inc(x_146); +x_134 = x_150; +x_135 = x_146; +x_136 = x_144; +x_137 = x_143; +x_138 = x_147; +x_139 = x_142; +x_140 = x_154; +goto block_141; +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_9); +return x_156; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 0; +x_10 = 0; +x_11 = l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_6, 1); +lean_inc_ref(x_7); +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_3, x_2, x_8); +x_10 = lean_array_get_size(x_7); +lean_dec_ref(x_7); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_9, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; +x_6 = 1; +x_7 = lean_usize_sub(x_2, x_6); +x_8 = lean_array_uget(x_1, x_7); +x_9 = lean_nat_add(x_8, x_4); +lean_dec(x_4); +lean_dec(x_8); +x_2 = x_7; +x_4 = x_9; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_3, x_2, x_8); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_12 = lean_array_uset(x_9, x_2, x_7); +x_2 = x_11; +x_3 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 3); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 4); +lean_inc(x_13); +lean_dec_ref(x_2); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_14 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec_ref(x_15); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_20 = lean_st_mk_ref(x_19, x_16); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_10); +x_23 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_10, x_11, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_11); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = lean_st_ref_get(x_21, x_24); +lean_dec(x_21); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +x_29 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_27); +x_30 = lean_nat_dec_lt(x_18, x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_free_object(x_25); +lean_dec(x_27); +lean_dec(x_10); +x_1 = x_17; +x_2 = x_13; +x_9 = x_28; +goto _start; +} +else +{ +lean_object* x_32; +lean_ctor_set(x_25, 1, x_27); +lean_ctor_set(x_25, 0, x_10); +x_32 = lean_array_push(x_17, x_25); +x_1 = x_32; +x_2 = x_13; +x_9 = x_28; +goto _start; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +x_36 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_34); +x_37 = lean_nat_dec_lt(x_18, x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_dec(x_34); +lean_dec(x_10); +x_1 = x_17; +x_2 = x_13; +x_9 = x_35; +goto _start; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_10); +lean_ctor_set(x_39, 1, x_34); +x_40 = lean_array_push(x_17, x_39); +x_1 = x_40; +x_2 = x_13; +x_9 = x_35; +goto _start; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_42 = !lean_is_exclusive(x_23); +if (x_42 == 0) +{ +return x_23; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_23, 0); +x_44 = lean_ctor_get(x_23, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_23); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +else +{ +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_1); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_9); +return x_47; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_array_uget(x_1, x_3); +x_15 = lean_array_size(x_14); +x_16 = 0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0(x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_14); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec_ref(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_3 = x_21; +x_4 = x_18; +x_11 = x_19; +goto _start; +} +else +{ +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 3); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 4); +lean_inc(x_13); +lean_dec_ref(x_2); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_14 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec_ref(x_15); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1; +x_20 = lean_st_mk_ref(x_19, x_16); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_10); +x_23 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkDocStringPostponed(x_10, x_11, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_11); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = lean_st_ref_get(x_21, x_24); +lean_dec(x_21); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +x_29 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_27); +x_30 = lean_nat_dec_lt(x_18, x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +lean_free_object(x_25); +lean_dec(x_27); +lean_dec(x_10); +x_31 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_17, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_ctor_set(x_25, 1, x_27); +lean_ctor_set(x_25, 0, x_10); +x_32 = lean_array_push(x_17, x_25); +x_33 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_32, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +x_36 = l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_Stats_total(x_34); +x_37 = lean_nat_dec_lt(x_18, x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_34); +lean_dec(x_10); +x_38 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_17, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_10); +lean_ctor_set(x_39, 1, x_34); +x_40 = lean_array_push(x_17, x_39); +x_41 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_40, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_42 = !lean_is_exclusive(x_23); +if (x_42 == 0) +{ +return x_23; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_23, 0); +x_44 = lean_ctor_get(x_23, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_23); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +else +{ +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_1); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_9); +return x_47; +} +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" failed", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkPostponed___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" passed, ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkPostponed___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("checks", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkPostponed___closed__4; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static double _init_l_Lean_Doc_checkPostponed___closed__6() { +_start: +{ +lean_object* x_1; double x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_float_of_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__7() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0; +x_2 = 1; +x_3 = l_Lean_Doc_checkPostponed___closed__6; +x_4 = l_Lean_Doc_checkPostponed___closed__5; +x_5 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set_float(x_5, sizeof(void*)*2, x_3); +lean_ctor_set_float(x_5, sizeof(void*)*2 + 8, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 16, x_2); +return x_5; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Postponed checks: ", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkPostponed___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" declarations, ", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_checkPostponed___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_versoDocStringExt; +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_checkPostponed___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_instInhabitedPersistentEnvExtensionState___redArg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_checkPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +double x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; double x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_52; lean_object* x_53; lean_object* x_75; uint8_t x_76; +x_75 = lean_st_ref_get(x_6, x_7); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); +x_79 = l_Lean_getBuiltinVersoDocStrings(x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_free_object(x_75); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec_ref(x_79); +x_82 = l_Lean_Doc_checkPostponed___closed__12; +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_83 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_82, x_80, x_1, x_2, x_3, x_4, x_5, x_6, x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_115; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec_ref(x_83); +x_86 = lean_ctor_get(x_77, 0); +lean_inc_ref(x_86); +lean_dec(x_77); +x_87 = l_Lean_Doc_checkPostponed___closed__13; +x_88 = lean_ctor_get(x_87, 0); +lean_inc_ref(x_88); +x_89 = lean_ctor_get(x_88, 2); +lean_inc(x_89); +x_90 = l_Lean_Doc_checkPostponed___closed__14; +x_91 = lean_box(0); +x_92 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(x_90, x_88, x_86, x_89, x_91); +lean_dec(x_89); +lean_dec_ref(x_88); +x_115 = lean_ctor_get(x_84, 0); +lean_inc(x_115); +lean_dec(x_84); +x_93 = x_115; +x_94 = x_85; +goto block_114; +block_114: +{ +lean_object* x_95; lean_object* x_96; size_t x_97; size_t x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_92, 0); +lean_inc_ref(x_95); +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec_ref(x_92); +x_97 = lean_array_size(x_95); +x_98 = 0; +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_99 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12(x_95, x_97, x_98, x_93, x_1, x_2, x_3, x_4, x_5, x_6, x_94); +lean_dec_ref(x_95); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec_ref(x_99); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_102 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__13(x_100, x_96, x_1, x_2, x_3, x_4, x_5, x_6, x_101); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec_ref(x_102); +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +lean_dec(x_103); +x_52 = x_105; +x_53 = x_104; +goto block_74; +} +else +{ +uint8_t x_106; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_106 = !lean_is_exclusive(x_102); +if (x_106 == 0) +{ +return x_102; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_102, 0); +x_108 = lean_ctor_get(x_102, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_102); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +else +{ +uint8_t x_110; +lean_dec(x_96); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_110 = !lean_is_exclusive(x_99); +if (x_110 == 0) +{ +return x_99; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_99, 0); +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_99); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; +} +} +} +} +else +{ +uint8_t x_116; +lean_dec(x_77); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_116 = !lean_is_exclusive(x_83); +if (x_116 == 0) +{ +return x_83; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_83, 0); +x_118 = lean_ctor_get(x_83, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_83); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_77); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_120 = !lean_is_exclusive(x_79); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_79, 0); +x_122 = lean_ctor_get(x_5, 5); +lean_inc(x_122); +lean_dec_ref(x_5); +x_123 = lean_io_error_to_string(x_121); +x_124 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_124, 0, x_123); +x_125 = l_Lean_MessageData_ofFormat(x_124); +lean_ctor_set(x_75, 1, x_125); +lean_ctor_set(x_75, 0, x_122); +lean_ctor_set(x_79, 0, x_75); +return x_79; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_126 = lean_ctor_get(x_79, 0); +x_127 = lean_ctor_get(x_79, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_79); +x_128 = lean_ctor_get(x_5, 5); +lean_inc(x_128); +lean_dec_ref(x_5); +x_129 = lean_io_error_to_string(x_126); +x_130 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = l_Lean_MessageData_ofFormat(x_130); +lean_ctor_set(x_75, 1, x_131); +lean_ctor_set(x_75, 0, x_128); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_75); +lean_ctor_set(x_132, 1, x_127); +return x_132; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_75, 0); +x_134 = lean_ctor_get(x_75, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_75); +x_135 = l_Lean_getBuiltinVersoDocStrings(x_134); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec_ref(x_135); +x_138 = l_Lean_Doc_checkPostponed___closed__12; +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_139 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__11(x_138, x_136, x_1, x_2, x_3, x_4, x_5, x_6, x_137); +if (lean_obj_tag(x_139) == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_171; +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec_ref(x_139); +x_142 = lean_ctor_get(x_133, 0); +lean_inc_ref(x_142); +lean_dec(x_133); +x_143 = l_Lean_Doc_checkPostponed___closed__13; +x_144 = lean_ctor_get(x_143, 0); +lean_inc_ref(x_144); +x_145 = lean_ctor_get(x_144, 2); +lean_inc(x_145); +x_146 = l_Lean_Doc_checkPostponed___closed__14; +x_147 = lean_box(0); +x_148 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(x_146, x_144, x_142, x_145, x_147); +lean_dec(x_145); +lean_dec_ref(x_144); +x_171 = lean_ctor_get(x_140, 0); +lean_inc(x_171); +lean_dec(x_140); +x_149 = x_171; +x_150 = x_141; +goto block_170; +block_170: +{ +lean_object* x_151; lean_object* x_152; size_t x_153; size_t x_154; lean_object* x_155; +x_151 = lean_ctor_get(x_148, 0); +lean_inc_ref(x_151); +x_152 = lean_ctor_get(x_148, 1); +lean_inc(x_152); +lean_dec_ref(x_148); +x_153 = lean_array_size(x_151); +x_154 = 0; +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_155 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12(x_151, x_153, x_154, x_149, x_1, x_2, x_3, x_4, x_5, x_6, x_150); +lean_dec_ref(x_151); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec_ref(x_155); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +lean_inc_ref(x_1); +x_158 = l_Std_DTreeMap_Internal_Impl_forInStep___at___Lean_Doc_checkPostponed_spec__13(x_156, x_152, x_1, x_2, x_3, x_4, x_5, x_6, x_157); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec_ref(x_158); +x_161 = lean_ctor_get(x_159, 0); +lean_inc(x_161); +lean_dec(x_159); +x_52 = x_161; +x_53 = x_160; +goto block_74; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_162 = lean_ctor_get(x_158, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_158, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_164 = x_158; +} else { + lean_dec_ref(x_158); + x_164 = lean_box(0); +} +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 2, 0); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_163); +return x_165; +} +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +lean_dec(x_152); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_166 = lean_ctor_get(x_155, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_155, 1); +lean_inc(x_167); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_168 = x_155; +} else { + lean_dec_ref(x_155); + x_168 = lean_box(0); +} +if (lean_is_scalar(x_168)) { + x_169 = lean_alloc_ctor(1, 2, 0); +} else { + x_169 = x_168; +} +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_167); +return x_169; +} +} +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_133); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_172 = lean_ctor_get(x_139, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_139, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_174 = x_139; +} else { + lean_dec_ref(x_139); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); +} else { + x_175 = x_174; +} +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +return x_175; +} +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_133); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +x_176 = lean_ctor_get(x_135, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_135, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_178 = x_135; +} else { + lean_dec_ref(x_135); + x_178 = lean_box(0); +} +x_179 = lean_ctor_get(x_5, 5); +lean_inc(x_179); +lean_dec_ref(x_5); +x_180 = lean_io_error_to_string(x_176); +x_181 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_181, 0, x_180); +x_182 = l_Lean_MessageData_ofFormat(x_181); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_179); +lean_ctor_set(x_183, 1, x_182); +if (lean_is_scalar(x_178)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_178; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_177); +return x_184; +} +} +block_28: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = l_Nat_reprFast(x_16); +x_18 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_MessageData_ofFormat(x_18); +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Doc_checkPostponed___closed__1; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_array_size(x_10); +x_24 = 0; +x_25 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3(x_8, x_9, x_14, x_12, x_21, x_23, x_24, x_10); +x_26 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_22); +lean_ctor_set(x_26, 2, x_25); +x_27 = l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5(x_26, x_1, x_2, x_3, x_4, x_5, x_6, x_13); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_27; +} +block_51: +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_38 = l_Nat_reprFast(x_37); +x_39 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = l_Lean_MessageData_ofFormat(x_39); +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_33); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Doc_checkPostponed___closed__3; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_array_size(x_31); +x_45 = 0; +lean_inc_ref(x_31); +x_46 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8(x_44, x_45, x_31); +x_47 = lean_array_get_size(x_46); +x_48 = lean_nat_dec_lt(x_32, x_47); +if (x_48 == 0) +{ +lean_dec(x_47); +lean_dec_ref(x_46); +x_8 = x_29; +x_9 = x_30; +x_10 = x_31; +x_11 = x_43; +x_12 = x_42; +x_13 = x_34; +x_14 = x_35; +x_15 = x_36; +x_16 = x_32; +goto block_28; +} +else +{ +size_t x_49; lean_object* x_50; +x_49 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_50 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9(x_46, x_49, x_45, x_32); +lean_dec_ref(x_46); +x_8 = x_29; +x_9 = x_30; +x_10 = x_31; +x_11 = x_43; +x_12 = x_42; +x_13 = x_34; +x_14 = x_35; +x_15 = x_36; +x_16 = x_50; +goto block_28; +} +} +block_74: +{ +lean_object* x_54; double x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_54 = lean_unsigned_to_nat(0u); +x_55 = l_Lean_Doc_checkPostponed___closed__6; +x_56 = 1; +x_57 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0; +x_58 = l_Lean_Doc_checkPostponed___closed__7; +x_59 = l_Lean_Doc_checkPostponed___closed__9; +x_60 = lean_array_get_size(x_52); +x_61 = l_Nat_reprFast(x_60); +x_62 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = l_Lean_MessageData_ofFormat(x_62); +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Doc_checkPostponed___closed__11; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_size(x_52); +x_68 = 0; +lean_inc_ref(x_52); +x_69 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10(x_67, x_68, x_52); +x_70 = lean_array_get_size(x_69); +x_71 = lean_nat_dec_lt(x_54, x_70); +if (x_71 == 0) +{ +lean_dec(x_70); +lean_dec_ref(x_69); +x_29 = x_55; +x_30 = x_56; +x_31 = x_52; +x_32 = x_54; +x_33 = x_66; +x_34 = x_53; +x_35 = x_57; +x_36 = x_58; +x_37 = x_54; +goto block_51; +} +else +{ +size_t x_72; lean_object* x_73; +x_72 = lean_usize_of_nat(x_70); +lean_dec(x_70); +x_73 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9(x_69, x_72, x_68, x_54); +lean_dec_ref(x_69); +x_29 = x_55; +x_30 = x_56; +x_31 = x_52; +x_32 = x_54; +x_33 = x_66; +x_34 = x_53; +x_35 = x_57; +x_36 = x_58; +x_37 = x_73; +goto block_51; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +double x_9; uint8_t x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_9 = lean_unbox_float(x_1); +lean_dec_ref(x_1); +x_10 = lean_unbox(x_2); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3(x_9, x_10, x_3, x_4, x_5, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +double x_9; uint8_t x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_9 = lean_unbox_float(x_1); +lean_dec_ref(x_1); +x_10 = lean_unbox(x_2); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3(x_9, x_10, x_3, x_4, x_5, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_2); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0(x_4, x_5, x_3); +lean_dec(x_3); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_3); +x_11 = lean_unbox(x_4); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_3); +x_13 = lean_unbox(x_4); +x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_2); +x_12 = lean_unbox(x_3); +x_13 = l_Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__8(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Doc_checkPostponed_spec__9(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__10(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__12(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec_ref(x_1); +return x_14; +} +} +lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Environment(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_ToExpr(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_CoreM(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_DocString_Builtin_Postponed(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_System_IO(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Environment(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_ToExpr(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_CoreM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term_TermElabM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Doc_instBEqPostponedImport___closed__0 = _init_l_Lean_Doc_instBEqPostponedImport___closed__0(); +lean_mark_persistent(l_Lean_Doc_instBEqPostponedImport___closed__0); +l_Lean_Doc_instBEqPostponedImport = _init_l_Lean_Doc_instBEqPostponedImport(); +lean_mark_persistent(l_Lean_Doc_instBEqPostponedImport); +l_Lean_Doc_instHashablePostponedImport___closed__0 = _init_l_Lean_Doc_instHashablePostponedImport___closed__0(); +lean_mark_persistent(l_Lean_Doc_instHashablePostponedImport___closed__0); +l_Lean_Doc_instHashablePostponedImport = _init_l_Lean_Doc_instHashablePostponedImport(); +lean_mark_persistent(l_Lean_Doc_instHashablePostponedImport); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__0); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__1); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__2); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__3); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__4); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__5); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__6); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__7); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__8); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__9); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__10); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__11); +l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12 = _init_l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport_repr___redArg___closed__12); +l_Lean_Doc_instReprPostponedImport___closed__0 = _init_l_Lean_Doc_instReprPostponedImport___closed__0(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport___closed__0); +l_Lean_Doc_instReprPostponedImport = _init_l_Lean_Doc_instReprPostponedImport(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedImport); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__0); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__1); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__2); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__3); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__4); +l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5 = _init_l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___lam__0___closed__5); +l_Lean_Doc_instToExprPostponedImport___closed__0 = _init_l_Lean_Doc_instToExprPostponedImport___closed__0(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___closed__0); +l_Lean_Doc_instToExprPostponedImport___closed__1 = _init_l_Lean_Doc_instToExprPostponedImport___closed__1(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport___closed__1); +l_Lean_Doc_instToExprPostponedImport = _init_l_Lean_Doc_instToExprPostponedImport(); +lean_mark_persistent(l_Lean_Doc_instToExprPostponedImport); +l_Lean_Doc_instOrdPostponedImport = _init_l_Lean_Doc_instOrdPostponedImport(); +lean_mark_persistent(l_Lean_Doc_instOrdPostponedImport); +l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_ = _init_l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_(); +lean_mark_persistent(l_Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_); +l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_ = _init_l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_(); +lean_mark_persistent(l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_); +l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_ = _init_l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_(); +lean_mark_persistent(l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_32_); +l_Lean_Doc_instTypeNamePostponedCheck = _init_l_Lean_Doc_instTypeNamePostponedCheck(); +lean_mark_persistent(l_Lean_Doc_instTypeNamePostponedCheck); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__0); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__1); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__2); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__3); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__4); +l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5 = _init_l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck___lam__0___closed__5); +l_Lean_Doc_instReprPostponedCheck = _init_l_Lean_Doc_instReprPostponedCheck(); +lean_mark_persistent(l_Lean_Doc_instReprPostponedCheck); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__0); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__1); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__3); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__0); +l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_getHandlerUnsafe___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__4); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Postponed_0__Lean_Doc_checkInlinePostponed_spec__4_spec__4___closed__5); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_checkPostponed_spec__0_spec__0___closed__1); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__1); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__2); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__3); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__4); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_checkPostponed_spec__3_spec__3___closed__5); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__1); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__2); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__3); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___lam__0___closed__4); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Doc_checkPostponed_spec__5_spec__5_spec__5___redArg___closed__1); +l_Lean_Doc_checkPostponed___closed__0 = _init_l_Lean_Doc_checkPostponed___closed__0(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__0); +l_Lean_Doc_checkPostponed___closed__1 = _init_l_Lean_Doc_checkPostponed___closed__1(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__1); +l_Lean_Doc_checkPostponed___closed__2 = _init_l_Lean_Doc_checkPostponed___closed__2(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__2); +l_Lean_Doc_checkPostponed___closed__3 = _init_l_Lean_Doc_checkPostponed___closed__3(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__3); +l_Lean_Doc_checkPostponed___closed__4 = _init_l_Lean_Doc_checkPostponed___closed__4(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__4); +l_Lean_Doc_checkPostponed___closed__5 = _init_l_Lean_Doc_checkPostponed___closed__5(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__5); +l_Lean_Doc_checkPostponed___closed__6 = _init_l_Lean_Doc_checkPostponed___closed__6(); +l_Lean_Doc_checkPostponed___closed__7 = _init_l_Lean_Doc_checkPostponed___closed__7(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__7); +l_Lean_Doc_checkPostponed___closed__8 = _init_l_Lean_Doc_checkPostponed___closed__8(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__8); +l_Lean_Doc_checkPostponed___closed__9 = _init_l_Lean_Doc_checkPostponed___closed__9(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__9); +l_Lean_Doc_checkPostponed___closed__10 = _init_l_Lean_Doc_checkPostponed___closed__10(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__10); +l_Lean_Doc_checkPostponed___closed__11 = _init_l_Lean_Doc_checkPostponed___closed__11(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__11); +l_Lean_Doc_checkPostponed___closed__12 = _init_l_Lean_Doc_checkPostponed___closed__12(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__12); +l_Lean_Doc_checkPostponed___closed__13 = _init_l_Lean_Doc_checkPostponed___closed__13(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__13); +l_Lean_Doc_checkPostponed___closed__14 = _init_l_Lean_Doc_checkPostponed___closed__14(); +lean_mark_persistent(l_Lean_Doc_checkPostponed___closed__14); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c new file mode 100644 index 0000000000..2f23f15960 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c @@ -0,0 +1,2605 @@ +// Lean compiler output +// Module: Lean.Elab.DocString.Builtin.Scopes +// Imports: Lean.Elab.DocString Lean.Elab.DocString.Builtin.Parsing Lean.Parser.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorIdx(lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0; +uint32_t lean_string_utf8_get(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9; +lean_object* l_Lean_TSyntax_getId(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2; +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_indentD(lean_object*); +uint8_t l_Array_isEmpty___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg(lean_object*, lean_object*); +lean_object* l_Lean_TSyntax_getString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1; +lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0(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_Doc_instFromDocArgDocScope___private__1___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_local_elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8; +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3; +lean_object* l_Lean_Parser_mkInputContext___redArg(lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Parser_getTokenTable(lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14; +lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19; +lean_object* lean_string_utf8_next(lean_object*, lean_object*); +uint8_t l_Lean_Parser_InputContext_atEnd(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2; +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3; +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_import_elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim___redArg(lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_local_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_TSepArray_getElems___redArg(lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_Lean_Parser_mkParserState(lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12; +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1; +lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25; +lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Parser_symbol(lean_object*); +lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24; +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21; +lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9(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_DocString_Builtin_Scopes_0__Lean_Doc_imports; +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_pp_macroStack; +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0; +lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15; +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_ident; +static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10; +static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8; +lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0; +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22; +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11; +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_import_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7_spec__7(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___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_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0(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_Doc_instFromDocArgDocScope___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_erase_macro_scopes(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10; +size_t lean_usize_add(size_t, size_t); +lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +lean_object* l_Lean_Name_mkStr1(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(size_t, size_t, lean_object*); +lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7; +static lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13; +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorIdx(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Doc_DocScope_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_3); +lean_dec_ref(x_1); +x_4 = lean_apply_1(x_2, x_3); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Doc_DocScope_ctorElim___redArg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_ctorElim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Doc_DocScope_ctorElim(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_local_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Doc_DocScope_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_local_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Doc_DocScope_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_import_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Doc_DocScope_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_DocScope_import_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Doc_DocScope_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0; +x_2 = lean_box(0); +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DocString", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Builtin", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Scopes", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11; +x_3 = l_Lean_Name_num___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Doc", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("imports", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15; +x_3 = l_Lean_Name_str___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +x_4 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_ident; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", ", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21; +x_3 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20; +x_4 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19; +x_5 = l_Lean_Parser_sepBy1(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24; +x_2 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_3, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_4, 2); +lean_inc(x_17); +lean_inc_ref(x_16); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_15); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_17); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_18); +lean_ctor_set(x_12, 0, x_7); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 0); +lean_inc_ref(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_2, 2); +x_23 = lean_ctor_get(x_4, 2); +lean_inc(x_23); +lean_inc_ref(x_22); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_21); +lean_ctor_set(x_24, 2, x_22); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set_tag(x_7, 3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 0, x_24); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_7); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +x_28 = lean_ctor_get(x_26, 0); +lean_inc_ref(x_28); +lean_dec(x_26); +x_29 = lean_st_ref_get(x_3, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_ctor_get(x_30, 0); +lean_inc_ref(x_33); +lean_dec(x_30); +x_34 = lean_ctor_get(x_2, 2); +x_35 = lean_ctor_get(x_4, 2); +lean_inc(x_35); +lean_inc_ref(x_34); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_35); +x_37 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_1); +if (lean_is_scalar(x_32)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_32; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_31); +return x_38; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec_ref(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec_ref(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); +return x_9; +} +} +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("while expanding", 15, 15); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_dec(x_9); +lean_inc_ref(x_1); +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 0, x_2); +x_10 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_10); +x_11 = l_Lean_MessageData_ofSyntax(x_8); +x_12 = l_Lean_indentD(x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +lean_inc_ref(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +x_18 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_18); +lean_ctor_set(x_3, 0, x_17); +x_19 = l_Lean_MessageData_ofSyntax(x_16); +x_20 = l_Lean_indentD(x_19); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +x_2 = x_21; +x_3 = x_15; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +lean_inc_ref(x_1); +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(7, 2, 0); +} else { + x_27 = x_26; + lean_ctor_set_tag(x_27, 7); +} +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_1); +x_28 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofSyntax(x_25); +x_31 = l_Lean_indentD(x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_2 = x_32; +x_3 = x_24; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_pp_macroStack; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0; +x_7 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_14); +lean_ctor_set(x_10, 0, x_1); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_MessageData_ofSyntax(x_12); +x_18 = l_Lean_indentD(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2(x_14, x_19, x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_4); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_MessageData_ofSyntax(x_22); +x_28 = l_Lean_indentD(x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2(x_23, x_29, x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_4); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec_ref(x_2); +lean_inc(x_14); +x_15 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(x_12, x_14, x_6, x_13); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_10); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = l_Lean_Elab_getBetterRef(x_9, x_14); +lean_ctor_set(x_10, 1, x_19); +lean_ctor_set(x_10, 0, x_21); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +lean_dec_ref(x_2); +lean_inc(x_25); +x_26 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(x_23, x_25, x_6, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_30 = l_Lean_Elab_getBetterRef(x_9, x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +if (lean_is_scalar(x_29)) { + x_32 = lean_alloc_ctor(1, 2, 0); +} else { + x_32 = x_29; + lean_ctor_set_tag(x_32, 1); +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 5); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 5, x_12); +x_13 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +x_22 = lean_ctor_get(x_7, 8); +x_23 = lean_ctor_get(x_7, 9); +x_24 = lean_ctor_get(x_7, 10); +x_25 = lean_ctor_get(x_7, 11); +x_26 = lean_ctor_get_uint8(x_7, sizeof(void*)*14); +x_27 = lean_ctor_get(x_7, 12); +x_28 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_29 = lean_ctor_get(x_7, 13); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_30 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_31 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_15); +lean_ctor_set(x_31, 2, x_16); +lean_ctor_set(x_31, 3, x_17); +lean_ctor_set(x_31, 4, x_18); +lean_ctor_set(x_31, 5, x_30); +lean_ctor_set(x_31, 6, x_20); +lean_ctor_set(x_31, 7, x_21); +lean_ctor_set(x_31, 8, x_22); +lean_ctor_set(x_31, 9, x_23); +lean_ctor_set(x_31, 10, x_24); +lean_ctor_set(x_31, 11, x_25); +lean_ctor_set(x_31, 12, x_27); +lean_ctor_set(x_31, 13, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*14, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*14 + 1, x_28); +x_32 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_31, x_8, x_9); +lean_dec_ref(x_31); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) +{ +lean_dec(x_2); +return x_6; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_uget(x_6, x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_6, x_5, x_11); +lean_inc(x_2); +x_13 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_10); +lean_ctor_set(x_8, 0, x_13); +x_14 = 1; +x_15 = lean_usize_add(x_5, x_14); +x_16 = lean_array_uset(x_12, x_5, x_8); +x_5 = x_15; +x_6 = x_16; +goto _start; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_8, 0); +x_19 = lean_ctor_get(x_8, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_6, x_5, x_20); +lean_inc(x_2); +x_22 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_1, x_2, x_3, x_18); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); +x_24 = 1; +x_25 = lean_usize_add(x_5, x_24); +x_26 = lean_array_uset(x_21, x_5, x_23); +x_5 = x_25; +x_6 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7_spec__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Init.Data.Option.BasicAux", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Option.get!", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("value is none", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2; +x_2 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(23u); +x_4 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1; +x_5 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0; +x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_8; lean_object* x_9; lean_object* x_15; +x_8 = 1; +x_15 = l_Lean_Syntax_getPos_x3f(x_1, x_8); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3; +x_17 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7_spec__7(x_16); +x_9 = x_17; +goto block_14; +} +else +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec_ref(x_15); +x_9 = x_18; +goto block_14; +} +block_7: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; +} +block_14: +{ +lean_object* x_10; +x_10 = l_Lean_Syntax_getTailPos_x3f(x_1, x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3; +x_12 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7_spec__7(x_11); +x_3 = x_9; +x_4 = x_12; +goto block_7; +} +else +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec_ref(x_10); +x_3 = x_9; +x_4 = x_13; +goto block_7; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg(x_1, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint32_t x_4; uint32_t x_5; uint8_t x_6; +x_4 = lean_string_utf8_get(x_1, x_2); +x_5 = 35; +x_6 = lean_uint32_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_string_utf8_next(x_1, x_2); +lean_dec(x_2); +x_2 = x_8; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg(x_1, x_2, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("end of input", 12, 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 2); +x_15 = l_Lean_TSyntax_getString(x_1); +x_16 = 1; +x_17 = lean_string_utf8_byte_size(x_15); +lean_inc_ref(x_13); +lean_inc_ref(x_15); +x_18 = l_Lean_Parser_mkInputContext___redArg(x_15, x_13, x_16, x_17); +x_19 = l_Lean_Parser_mkParserState(x_15); +x_20 = lean_box(0); +x_21 = lean_box(0); +lean_inc(x_14); +lean_inc_ref(x_2); +x_22 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_14); +lean_ctor_set(x_22, 2, x_20); +lean_ctor_set(x_22, 3, x_21); +x_23 = l_Lean_Parser_getTokenTable(x_2); +lean_inc_ref(x_18); +x_24 = l_Lean_Parser_ParserFn_run(x_3, x_18, x_22, x_23, x_19); +lean_inc_ref(x_24); +x_25 = l_Lean_Parser_ParserState_allErrors(x_24); +x_26 = l_Array_isEmpty___redArg(x_25); +lean_dec_ref(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_27 = lean_ctor_get(x_24, 0); +lean_inc_ref(x_27); +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_24, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_24, 3); +lean_inc_ref(x_30); +x_31 = lean_ctor_get(x_24, 4); +lean_inc(x_31); +x_32 = lean_ctor_get(x_24, 5); +lean_inc_ref(x_32); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + lean_ctor_release(x_24, 3); + lean_ctor_release(x_24, 4); + lean_ctor_release(x_24, 5); + x_33 = x_24; +} else { + lean_dec_ref(x_24); + x_33 = lean_box(0); +} +lean_inc(x_5); +x_34 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_reposition(x_4, x_5, x_15, x_29); +if (lean_obj_tag(x_31) == 0) +{ +x_35 = x_31; +goto block_44; +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_31); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_31, 0); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_5); +x_49 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_4, x_5, x_15, x_48); +lean_ctor_set(x_46, 0, x_49); +x_35 = x_31; +goto block_44; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +x_52 = lean_ctor_get(x_46, 2); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_46); +lean_inc(x_5); +x_53 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_4, x_5, x_15, x_50); +x_54 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_51); +lean_ctor_set(x_54, 2, x_52); +lean_ctor_set(x_31, 0, x_54); +x_35 = x_31; +goto block_44; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_55 = lean_ctor_get(x_31, 0); +lean_inc(x_55); +lean_dec(x_31); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc_ref(x_57); +x_58 = lean_ctor_get(x_55, 2); +lean_inc(x_58); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + lean_ctor_release(x_55, 2); + x_59 = x_55; +} else { + lean_dec_ref(x_55); + x_59 = lean_box(0); +} +lean_inc(x_5); +x_60 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_4, x_5, x_15, x_56); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 3, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_57); +lean_ctor_set(x_61, 2, x_58); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_35 = x_62; +goto block_44; +} +} +block_44: +{ +size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_36 = lean_array_size(x_32); +x_37 = 0; +x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6(x_4, x_5, x_15, x_36, x_37, x_32); +lean_dec_ref(x_15); +if (lean_is_scalar(x_33)) { + x_39 = lean_alloc_ctor(0, 6, 0); +} else { + x_39 = x_33; +} +lean_ctor_set(x_39, 0, x_27); +lean_ctor_set(x_39, 1, x_28); +lean_ctor_set(x_39, 2, x_34); +lean_ctor_set(x_39, 3, x_30); +lean_ctor_set(x_39, 4, x_35); +lean_ctor_set(x_39, 5, x_38); +x_40 = l_Lean_Parser_ParserState_toErrorMsg(x_18, x_39); +x_41 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = l_Lean_MessageData_ofFormat(x_41); +x_43 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_10); +return x_43; +} +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_24, 0); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_24, 2); +lean_inc(x_64); +x_65 = l_Lean_Parser_InputContext_atEnd(x_18, x_64); +lean_dec(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec_ref(x_63); +lean_dec_ref(x_15); +lean_dec(x_5); +x_66 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0; +x_67 = l_Lean_Parser_ParserState_mkError(x_24, x_66); +x_68 = l_Lean_Parser_ParserState_toErrorMsg(x_18, x_67); +x_69 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = l_Lean_MessageData_ofFormat(x_69); +x_71 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_10); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec_ref(x_24); +lean_dec_ref(x_18); +lean_dec_ref(x_10); +lean_dec_ref(x_6); +x_72 = l_Lean_Parser_SyntaxStack_back(x_63); +lean_dec_ref(x_63); +x_73 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(x_4, x_5, x_15, x_72); +lean_dec_ref(x_15); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_12); +return x_74; +} +} +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Not a quoted string literal", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint32_t x_13; uint32_t x_14; uint8_t x_15; +x_13 = lean_string_utf8_get(x_1, x_4); +x_14 = 34; +x_15 = lean_uint32_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec_ref(x_3); +x_16 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1; +x_17 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_2, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_string_utf8_next(x_1, x_4); +x_23 = lean_apply_8(x_3, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_21; uint32_t x_22; uint8_t x_23; +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_st_ref_get(x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec_ref(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg(x_2, x_13); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_19); +lean_inc_ref(x_10); +lean_inc(x_2); +x_20 = lean_alloc_closure((void*)(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___boxed), 12, 4); +lean_closure_set(x_20, 0, x_2); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_10); +x_21 = lean_string_utf8_get(x_19, x_18); +x_22 = 114; +x_23 = lean_uint32_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1(x_19, x_2, x_20, x_18, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_18); +lean_dec(x_2); +lean_dec_ref(x_19); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_string_utf8_next(x_19, x_18); +lean_dec(x_18); +x_27 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg(x_19, x_26, x_17); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = lean_box(0); +x_31 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1(x_19, x_2, x_20, x_28, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_28); +lean_dec(x_2); +lean_dec_ref(x_19); +return x_31; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = l_Lean_TSyntax_getId(x_5); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports; +x_4 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_4); +x_5 = lean_apply_2(x_4, x_1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Parser_andthenFn(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("local", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected identifier, expected `local` or a string of imports", 62, 62); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected number `", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_whitespace), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected comma-separated imports list, got `", 44, 44); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec_ref(x_1); +x_10 = l_Lean_TSyntax_getId(x_9); +x_11 = lean_erase_macro_scopes(x_10); +x_12 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1; +x_13 = lean_name_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3; +x_15 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_9, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_8); +return x_17; +} +} +case 1: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec_ref(x_1); +x_19 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5; +lean_inc(x_18); +x_20 = l_Lean_MessageData_ofSyntax(x_18); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_18, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_18); +return x_24; +} +default: +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_1); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_26 = lean_ctor_get(x_1, 0); +x_27 = lean_ctor_get(x_6, 0); +x_28 = lean_ctor_get(x_6, 1); +x_29 = lean_ctor_get(x_6, 2); +x_30 = lean_ctor_get(x_6, 3); +x_31 = lean_ctor_get(x_6, 4); +x_32 = lean_ctor_get(x_6, 5); +x_33 = lean_ctor_get(x_6, 6); +x_34 = lean_ctor_get(x_6, 7); +x_35 = lean_ctor_get(x_6, 8); +x_36 = lean_ctor_get(x_6, 9); +x_37 = lean_ctor_get(x_6, 10); +x_38 = lean_ctor_get(x_6, 11); +x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*14); +x_40 = lean_ctor_get(x_6, 12); +x_41 = lean_ctor_get_uint8(x_6, sizeof(void*)*14 + 1); +x_42 = lean_ctor_get(x_6, 13); +x_43 = lean_alloc_closure((void*)(l_Lean_Doc_instFromDocArgDocScope___private__1___lam__0), 2, 0); +x_44 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8; +x_45 = lean_alloc_closure((void*)(l_Lean_Doc_instFromDocArgDocScope___private__1___lam__1), 4, 2); +lean_closure_set(x_45, 0, x_44); +lean_closure_set(x_45, 1, x_43); +x_46 = l_Lean_replaceRef(x_26, x_32); +lean_inc_ref(x_42); +lean_inc(x_40); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc_ref(x_28); +lean_inc_ref(x_27); +x_47 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_47, 0, x_27); +lean_ctor_set(x_47, 1, x_28); +lean_ctor_set(x_47, 2, x_29); +lean_ctor_set(x_47, 3, x_30); +lean_ctor_set(x_47, 4, x_31); +lean_ctor_set(x_47, 5, x_46); +lean_ctor_set(x_47, 6, x_33); +lean_ctor_set(x_47, 7, x_34); +lean_ctor_set(x_47, 8, x_35); +lean_ctor_set(x_47, 9, x_36); +lean_ctor_set(x_47, 10, x_37); +lean_ctor_set(x_47, 11, x_38); +lean_ctor_set(x_47, 12, x_40); +lean_ctor_set(x_47, 13, x_42); +lean_ctor_set_uint8(x_47, sizeof(void*)*14, x_39); +lean_ctor_set_uint8(x_47, sizeof(void*)*14 + 1, x_41); +lean_inc(x_7); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_48 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6(x_45, x_26, x_2, x_3, x_4, x_5, x_47, x_7, x_8); +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_48, 0); +x_51 = lean_ctor_get(x_48, 1); +x_52 = lean_unsigned_to_nat(0u); +x_53 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +lean_inc(x_50); +x_54 = l_Lean_Syntax_isOfKind(x_50, x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_free_object(x_48); +lean_free_object(x_1); +x_55 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10; +lean_inc(x_50); +x_56 = l_Lean_MessageData_ofSyntax(x_50); +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7; +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_50, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_51); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_50); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_61 = l_Lean_Syntax_getArg(x_50, x_52); +lean_dec(x_50); +x_62 = l_Lean_Syntax_getArgs(x_61); +lean_dec(x_61); +x_63 = l_Lean_Syntax_TSepArray_getElems___redArg(x_62); +lean_dec_ref(x_62); +x_64 = lean_array_size(x_63); +x_65 = 0; +x_66 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(x_64, x_65, x_63); +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 0, x_66); +lean_ctor_set(x_48, 0, x_1); +return x_48; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_67 = lean_ctor_get(x_48, 0); +x_68 = lean_ctor_get(x_48, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_48); +x_69 = lean_unsigned_to_nat(0u); +x_70 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +lean_inc(x_67); +x_71 = l_Lean_Syntax_isOfKind(x_67, x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_free_object(x_1); +x_72 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10; +lean_inc(x_67); +x_73 = l_Lean_MessageData_ofSyntax(x_67); +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7; +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_67, x_76, x_2, x_3, x_4, x_5, x_6, x_7, x_68); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_67); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_78 = l_Lean_Syntax_getArg(x_67, x_69); +lean_dec(x_67); +x_79 = l_Lean_Syntax_getArgs(x_78); +lean_dec(x_78); +x_80 = l_Lean_Syntax_TSepArray_getElems___redArg(x_79); +lean_dec_ref(x_79); +x_81 = lean_array_size(x_80); +x_82 = 0; +x_83 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(x_81, x_82, x_80); +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 0, x_83); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_1); +lean_ctor_set(x_84, 1, x_68); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_free_object(x_1); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_85 = !lean_is_exclusive(x_48); +if (x_85 == 0) +{ +return x_48; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_48, 0); +x_87 = lean_ctor_get(x_48, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_48); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_89 = lean_ctor_get(x_1, 0); +lean_inc(x_89); +lean_dec(x_1); +x_90 = lean_ctor_get(x_6, 0); +x_91 = lean_ctor_get(x_6, 1); +x_92 = lean_ctor_get(x_6, 2); +x_93 = lean_ctor_get(x_6, 3); +x_94 = lean_ctor_get(x_6, 4); +x_95 = lean_ctor_get(x_6, 5); +x_96 = lean_ctor_get(x_6, 6); +x_97 = lean_ctor_get(x_6, 7); +x_98 = lean_ctor_get(x_6, 8); +x_99 = lean_ctor_get(x_6, 9); +x_100 = lean_ctor_get(x_6, 10); +x_101 = lean_ctor_get(x_6, 11); +x_102 = lean_ctor_get_uint8(x_6, sizeof(void*)*14); +x_103 = lean_ctor_get(x_6, 12); +x_104 = lean_ctor_get_uint8(x_6, sizeof(void*)*14 + 1); +x_105 = lean_ctor_get(x_6, 13); +x_106 = lean_alloc_closure((void*)(l_Lean_Doc_instFromDocArgDocScope___private__1___lam__0), 2, 0); +x_107 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8; +x_108 = lean_alloc_closure((void*)(l_Lean_Doc_instFromDocArgDocScope___private__1___lam__1), 4, 2); +lean_closure_set(x_108, 0, x_107); +lean_closure_set(x_108, 1, x_106); +x_109 = l_Lean_replaceRef(x_89, x_95); +lean_inc_ref(x_105); +lean_inc(x_103); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_inc_ref(x_91); +lean_inc_ref(x_90); +x_110 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_110, 0, x_90); +lean_ctor_set(x_110, 1, x_91); +lean_ctor_set(x_110, 2, x_92); +lean_ctor_set(x_110, 3, x_93); +lean_ctor_set(x_110, 4, x_94); +lean_ctor_set(x_110, 5, x_109); +lean_ctor_set(x_110, 6, x_96); +lean_ctor_set(x_110, 7, x_97); +lean_ctor_set(x_110, 8, x_98); +lean_ctor_set(x_110, 9, x_99); +lean_ctor_set(x_110, 10, x_100); +lean_ctor_set(x_110, 11, x_101); +lean_ctor_set(x_110, 12, x_103); +lean_ctor_set(x_110, 13, x_105); +lean_ctor_set_uint8(x_110, sizeof(void*)*14, x_102); +lean_ctor_set_uint8(x_110, sizeof(void*)*14 + 1, x_104); +lean_inc(x_7); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_111 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6(x_108, x_89, x_2, x_3, x_4, x_5, x_110, x_7, x_8); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_114 = x_111; +} else { + lean_dec_ref(x_111); + x_114 = lean_box(0); +} +x_115 = lean_unsigned_to_nat(0u); +x_116 = l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17; +lean_inc(x_112); +x_117 = l_Lean_Syntax_isOfKind(x_112, x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_114); +x_118 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10; +lean_inc(x_112); +x_119 = l_Lean_MessageData_ofSyntax(x_112); +x_120 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7; +x_122 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_112, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_113); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_112); +return x_123; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_124 = l_Lean_Syntax_getArg(x_112, x_115); +lean_dec(x_112); +x_125 = l_Lean_Syntax_getArgs(x_124); +lean_dec(x_124); +x_126 = l_Lean_Syntax_TSepArray_getElems___redArg(x_125); +lean_dec_ref(x_125); +x_127 = lean_array_size(x_126); +x_128 = 0; +x_129 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(x_127, x_128, x_126); +x_130 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_130, 0, x_129); +if (lean_is_scalar(x_114)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_114; +} +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_113); +return x_131; +} +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_132 = lean_ctor_get(x_111, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_111, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_134 = x_111; +} else { + lean_dec_ref(x_111); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__1(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__6(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__11(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgDocScope___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgDocScope___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Doc_instFromDocArgDocScope() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_instFromDocArgDocScope___lam__0), 8, 0); +return x_1; +} +} +lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_DocString_Builtin_Parsing(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Parser_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_DocString_Builtin_Scopes(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_DocString(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_DocString_Builtin_Parsing(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__0); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__1); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__2); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__3); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__4); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__5); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__6); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__7); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__8); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__9); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__10); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__11); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__12); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__13); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__14); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__15); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__16); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__17); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__18); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__19); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__20); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__21); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__22); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__23); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__24); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25 = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports___closed__25); +l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports = _init_l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Scopes_0__Lean_Doc_imports); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__0); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__1); +l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2(); +lean_mark_persistent(l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1_spec__2___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__0); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__1); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__2); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__3); +l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__0_spec__0_spec__1___redArg___closed__4); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__0); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__1); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__2); +l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6_spec__7___redArg___closed__3); +l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0 = _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__0___closed__0); +l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0 = _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__0); +l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1 = _init_l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1(); +lean_mark_persistent(l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_instFromDocArgDocScope___private__1_spec__6___lam__1___closed__1); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__0); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__1); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__2); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__3); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__4); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__5); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__6); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__7); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__8); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__9); +l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10 = _init_l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope___private__1___closed__10); +l_Lean_Doc_instFromDocArgDocScope = _init_l_Lean_Doc_instFromDocArgDocScope(); +lean_mark_persistent(l_Lean_Doc_instFromDocArgDocScope); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/EnvExtension.c b/stage0/stdlib/Lean/EnvExtension.c index 15dee4be41..57795a6f47 100644 --- a/stage0/stdlib/Lean/EnvExtension.c +++ b/stage0/stdlib/Lean/EnvExtension.c @@ -145,7 +145,7 @@ lean_object* l_Lean_instInhabitedEnvExtension_default(lean_object*); static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__21; static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__2; static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__25; -lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_replayOfFilter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getEntries(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1410,15 +1410,16 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_4, 2); lean_inc(x_5); x_6 = lean_alloc_closure((void*)(l_Lean_SimplePersistentEnvExtension_setState___redArg___lam__0), 2, 1); lean_closure_set(x_6, 0, x_3); -x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5); +x_7 = lean_box(0); +x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5, x_7); lean_dec(x_5); -return x_7; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -1461,15 +1462,16 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_4, 2); lean_inc(x_5); x_6 = lean_alloc_closure((void*)(l_Lean_SimplePersistentEnvExtension_modifyState___redArg___lam__0), 2, 1); lean_closure_set(x_6, 0, x_3); -x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5); +x_7 = lean_box(0); +x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5, x_7); lean_dec(x_5); -return x_7; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index ff75674689..809cf56d7c 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -162,7 +162,7 @@ static lean_object* l_Lean_initFn___closed__6____x40_Lean_Environment_1698612910 LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_finalizeImport_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ConstantKind_recursor_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Environment_0__Lean_setImportedEntries_spec__2___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_AsyncMode_mainOnly_elim___redArg(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_Environment_realizeValue___at___Lean_Environment_realizeConst_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -297,7 +297,7 @@ LEAN_EXPORT lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean static lean_object* l_Lean_readModuleData___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___Lean_SMap_find_x3f_x27___at___Lean_Kernel_Environment_find_x3f_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedAsyncConstantInfo_default___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; static lean_object* l_Lean_instReprIRPhases_repr___closed__1; static lean_object* l_Lean_Environment_ofKernelEnv___closed__1; @@ -652,7 +652,7 @@ static lean_object* l_Lean_instReprIRPhases_repr___closed__3; LEAN_EXPORT lean_object* l_Lean_Environment_evalConstCheck___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkEmptyEnvironment___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_empty(lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__7; @@ -1066,7 +1066,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_finalizeImport_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_getMaxHeight___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_throwAlreadyImported___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toList___at___Lean_Environment_dbgFormatAsyncState_spec__7_spec__7_spec__7_spec__7_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -19555,44 +19555,43 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_5); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_6); lean_dec_ref(x_1); -x_6 = lean_alloc_closure((void*)(l_Lean_PersistentEnvExtension_modifyState___redArg___lam__0), 2, 1); -lean_closure_set(x_6, 0, x_3); -x_7 = lean_box(0); -x_8 = l_Lean_EnvExtension_modifyState___redArg(x_5, x_2, x_6, x_4, x_7); +x_7 = lean_alloc_closure((void*)(l_Lean_PersistentEnvExtension_modifyState___redArg___lam__0), 2, 1); +lean_closure_set(x_7, 0, x_3); +x_8 = l_Lean_EnvExtension_modifyState___redArg(x_6, x_2, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; -x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_5, x_6, x_7); -return x_8; +lean_object* x_9; +x_9 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_5, x_6, x_7, x_8); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); -return x_5; +return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; -x_8 = l_Lean_PersistentEnvExtension_modifyState(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_9; +x_9 = l_Lean_PersistentEnvExtension_modifyState(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); -return x_8; +return x_9; } } static lean_object* _init_l_Lean_initFn___closed__0____x40_Lean_Environment_948872833____hygCtx___hyg_2_() { @@ -21584,7 +21583,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_mkModuleData(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_68; +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; lean_object* x_8; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; lean_object* x_35; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_68; x_38 = lean_alloc_closure((void*)(l_Lean_mkModuleData___lam__0___boxed), 3, 0); x_39 = lean_alloc_closure((void*)(l_Lean_mkModuleData___lam__1___boxed), 3, 0); x_40 = lean_box(0); @@ -21607,21 +21606,21 @@ goto block_67; block_17: { lean_object* x_9; uint8_t x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_9 = l_Lean_Environment_header(x_5); +x_9 = l_Lean_Environment_header(x_6); x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*5 + 4); x_11 = lean_ctor_get(x_9, 1); lean_inc_ref(x_11); lean_dec_ref(x_9); x_12 = lean_array_size(x_8); lean_inc_ref(x_8); -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_mkModuleData_spec__1(x_12, x_6, x_8); -x_14 = lean_get_ir_extra_const_names(x_5, x_2); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_mkModuleData_spec__1(x_12, x_7, x_8); +x_14 = lean_get_ir_extra_const_names(x_6, x_2); x_15 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_15, 0, x_11); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_15, 2, x_8); lean_ctor_set(x_15, 3, x_14); -lean_ctor_set(x_15, 4, x_7); +lean_ctor_set(x_15, 4, x_5); lean_ctor_set_uint8(x_15, sizeof(void*)*5, x_10); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); @@ -21631,44 +21630,44 @@ return x_16; block_27: { lean_object* x_26; -lean_dec(x_18); -x_26 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_mkModuleData_spec__4___redArg(x_20, x_24, x_25); +lean_dec(x_21); +x_26 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_mkModuleData_spec__4___redArg(x_18, x_20, x_25); lean_dec(x_25); x_4 = x_19; x_5 = x_22; -x_6 = x_21; -x_7 = x_23; +x_6 = x_23; +x_7 = x_24; x_8 = x_26; goto block_17; } block_37: { uint8_t x_36; -x_36 = lean_nat_dec_le(x_35, x_28); +x_36 = lean_nat_dec_le(x_35, x_32); if (x_36 == 0) { -lean_dec(x_28); +lean_dec(x_32); lean_inc(x_35); -x_18 = x_29; -x_19 = x_30; -x_20 = x_31; -x_21 = x_33; -x_22 = x_32; -x_23 = x_34; -x_24 = x_35; +x_18 = x_28; +x_19 = x_29; +x_20 = x_35; +x_21 = x_30; +x_22 = x_31; +x_23 = x_33; +x_24 = x_34; x_25 = x_35; goto block_27; } else { -x_18 = x_29; -x_19 = x_30; -x_20 = x_31; -x_21 = x_33; -x_22 = x_32; -x_23 = x_34; -x_24 = x_35; -x_25 = x_28; +x_18 = x_28; +x_19 = x_29; +x_20 = x_35; +x_21 = x_30; +x_22 = x_31; +x_23 = x_33; +x_24 = x_34; +x_25 = x_32; goto block_27; } } @@ -21719,25 +21718,25 @@ x_64 = lean_nat_dec_le(x_54, x_63); if (x_64 == 0) { lean_inc(x_63); -x_28 = x_63; -x_29 = x_60; -x_30 = x_46; -x_31 = x_59; -x_32 = x_47; -x_33 = x_52; -x_34 = x_53; +x_28 = x_59; +x_29 = x_46; +x_30 = x_60; +x_31 = x_53; +x_32 = x_63; +x_33 = x_47; +x_34 = x_52; x_35 = x_63; goto block_37; } else { -x_28 = x_63; -x_29 = x_60; -x_30 = x_46; -x_31 = x_59; -x_32 = x_47; -x_33 = x_52; -x_34 = x_53; +x_28 = x_59; +x_29 = x_46; +x_30 = x_60; +x_31 = x_53; +x_32 = x_63; +x_33 = x_47; +x_34 = x_52; x_35 = x_54; goto block_37; } @@ -21746,9 +21745,9 @@ else { lean_dec(x_60); x_4 = x_46; -x_5 = x_47; -x_6 = x_52; -x_7 = x_53; +x_5 = x_53; +x_6 = x_47; +x_7 = x_52; x_8 = x_59; goto block_17; } @@ -21762,9 +21761,9 @@ x_65 = l_Array_filterMapM___at___Lean_mkModuleData_spec__2___closed__0; x_66 = l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toList___at___Lean_Environment_dbgFormatAsyncState_spec__7_spec__7___redArg(x_50, x_39, x_65); lean_dec_ref(x_50); x_4 = x_46; -x_5 = x_47; -x_6 = x_52; -x_7 = x_53; +x_5 = x_53; +x_6 = x_47; +x_7 = x_52; x_8 = x_66; goto block_17; } @@ -25830,7 +25829,7 @@ return x_6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Environment_0__Lean_importModulesCore_go_spec__1___redArg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; uint8_t x_106; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; uint8_t x_117; lean_object* x_118; uint8_t x_119; lean_object* x_123; uint8_t x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; uint8_t x_134; uint8_t x_138; lean_object* x_139; uint8_t x_140; uint8_t x_141; lean_object* x_142; uint8_t x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_object* x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; lean_object* x_157; uint8_t x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; uint8_t x_172; +lean_object* x_14; lean_object* x_15; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_97; lean_object* x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_123; lean_object* x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; uint8_t x_149; lean_object* x_153; uint8_t x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; uint8_t x_159; lean_object* x_160; uint8_t x_161; uint8_t x_172; x_172 = lean_usize_dec_lt(x_10, x_9); if (x_172 == 0) { @@ -25845,7 +25844,7 @@ return x_173; } else { -lean_object* x_174; uint8_t x_175; lean_object* x_176; uint8_t x_177; uint8_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_255; uint8_t x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; lean_object* x_260; uint8_t x_261; lean_object* x_264; uint8_t x_265; uint8_t x_266; uint8_t x_267; uint8_t x_268; uint8_t x_269; lean_object* x_297; uint8_t x_298; uint8_t x_299; uint8_t x_300; uint8_t x_301; uint8_t x_304; uint8_t x_305; uint8_t x_306; uint8_t x_307; uint8_t x_317; uint8_t x_318; uint8_t x_319; uint8_t x_322; uint8_t x_328; +lean_object* x_174; uint8_t x_175; uint8_t x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_255; uint8_t x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; uint8_t x_261; uint8_t x_264; uint8_t x_265; lean_object* x_266; uint8_t x_267; uint8_t x_268; uint8_t x_269; uint8_t x_297; uint8_t x_298; lean_object* x_299; uint8_t x_300; uint8_t x_301; uint8_t x_304; uint8_t x_305; uint8_t x_306; uint8_t x_307; uint8_t x_317; uint8_t x_318; uint8_t x_319; uint8_t x_322; uint8_t x_328; x_174 = lean_array_uget(x_8, x_10); x_328 = lean_ctor_get_uint8(x_174, sizeof(void*)*1 + 1); if (x_328 == 0) @@ -25889,7 +25888,7 @@ if (x_187 == 0) { lean_object* x_188; lean_object* x_189; lean_dec(x_183); -lean_dec_ref(x_176); +lean_dec_ref(x_177); lean_dec_ref(x_174); x_188 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Environment_0__Lean_importModulesCore_go_spec__1___redArg___closed__1; x_189 = l_panic___at_____private_Lean_Environment_0__Lean_importModulesCore_go_spec__0(x_188, x_180, x_184); @@ -25919,7 +25918,7 @@ x_192 = lean_ctor_get(x_191, 0); x_193 = lean_ctor_get(x_192, 0); lean_inc(x_180); lean_inc_ref(x_193); -x_194 = lean_apply_3(x_176, x_193, x_180, x_184); +x_194 = lean_apply_3(x_177, x_193, x_180, x_184); if (lean_obj_tag(x_194) == 0) { lean_object* x_195; lean_object* x_196; uint8_t x_197; @@ -25945,8 +25944,8 @@ x_202 = lean_ctor_get(x_198, 0); x_203 = lean_ctor_get(x_198, 1); x_204 = lean_ctor_get(x_174, 0); lean_inc(x_204); -lean_ctor_set_uint8(x_174, sizeof(void*)*1, x_178); -lean_ctor_set_uint8(x_174, sizeof(void*)*1 + 1, x_177); +lean_ctor_set_uint8(x_174, sizeof(void*)*1, x_176); +lean_ctor_set_uint8(x_174, sizeof(void*)*1 + 1, x_178); x_205 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_205, 0, x_174); lean_ctor_set_uint8(x_205, sizeof(void*)*1, x_175); @@ -25979,8 +25978,8 @@ lean_dec(x_174); lean_inc(x_213); x_215 = lean_alloc_ctor(0, 1, 3); lean_ctor_set(x_215, 0, x_213); -lean_ctor_set_uint8(x_215, sizeof(void*)*1, x_178); -lean_ctor_set_uint8(x_215, sizeof(void*)*1 + 1, x_177); +lean_ctor_set_uint8(x_215, sizeof(void*)*1, x_176); +lean_ctor_set_uint8(x_215, sizeof(void*)*1 + 1, x_178); lean_ctor_set_uint8(x_215, sizeof(void*)*1 + 2, x_214); x_216 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_216, 0, x_215); @@ -26028,8 +26027,8 @@ if (lean_is_scalar(x_226)) { x_227 = x_226; } lean_ctor_set(x_227, 0, x_224); -lean_ctor_set_uint8(x_227, sizeof(void*)*1, x_178); -lean_ctor_set_uint8(x_227, sizeof(void*)*1 + 1, x_177); +lean_ctor_set_uint8(x_227, sizeof(void*)*1, x_176); +lean_ctor_set_uint8(x_227, sizeof(void*)*1 + 1, x_178); lean_ctor_set_uint8(x_227, sizeof(void*)*1 + 2, x_225); x_228 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_228, 0, x_227); @@ -26089,8 +26088,8 @@ if (lean_is_scalar(x_241)) { x_242 = x_241; } lean_ctor_set(x_242, 0, x_239); -lean_ctor_set_uint8(x_242, sizeof(void*)*1, x_178); -lean_ctor_set_uint8(x_242, sizeof(void*)*1 + 1, x_177); +lean_ctor_set_uint8(x_242, sizeof(void*)*1, x_176); +lean_ctor_set_uint8(x_242, sizeof(void*)*1 + 1, x_178); lean_ctor_set_uint8(x_242, sizeof(void*)*1 + 2, x_240); x_243 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_243, 0, x_242); @@ -26134,7 +26133,7 @@ else { uint8_t x_250; lean_dec(x_180); -lean_dec_ref(x_176); +lean_dec_ref(x_177); lean_dec_ref(x_174); lean_dec(x_12); lean_dec_ref(x_5); @@ -26162,16 +26161,16 @@ return x_253; block_263: { lean_object* x_262; -x_262 = l_Lean_ImportArtifacts_oleanParts(x_261, x_258); -lean_dec_ref(x_258); +x_262 = l_Lean_ImportArtifacts_oleanParts(x_261, x_259); +lean_dec_ref(x_259); lean_inc(x_12); x_175 = x_256; -x_176 = x_255; -x_177 = x_257; -x_178 = x_259; +x_176 = x_257; +x_177 = x_258; +x_178 = x_260; x_179 = x_262; x_180 = x_12; -x_181 = x_260; +x_181 = x_255; goto block_254; } block_296: @@ -26208,8 +26207,8 @@ lean_inc(x_279); lean_dec_ref(x_277); lean_inc(x_12); x_175 = x_269; -x_176 = x_264; -x_177 = x_265; +x_176 = x_265; +x_177 = x_266; x_178 = x_268; x_179 = x_278; x_180 = x_12; @@ -26219,7 +26218,7 @@ goto block_254; else { uint8_t x_280; -lean_dec_ref(x_264); +lean_dec_ref(x_266); lean_dec_ref(x_174); lean_dec(x_12); lean_dec_ref(x_5); @@ -26261,24 +26260,24 @@ if (x_289 == 2) { uint8_t x_290; x_290 = 0; -x_255 = x_264; +x_255 = x_272; x_256 = x_269; x_257 = x_265; -x_258 = x_284; -x_259 = x_268; -x_260 = x_272; +x_258 = x_266; +x_259 = x_284; +x_260 = x_268; x_261 = x_290; goto block_263; } else { -x_255 = x_264; +x_255 = x_272; x_256 = x_269; x_257 = x_265; -x_258 = x_284; -x_259 = x_268; -x_260 = x_272; -x_261 = x_267; +x_258 = x_266; +x_259 = x_284; +x_260 = x_268; +x_261 = x_264; goto block_263; } } @@ -26286,7 +26285,7 @@ goto block_263; else { lean_dec_ref(x_174); -if (x_268 == 0) +if (x_265 == 0) { lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; x_291 = lean_ctor_get(x_275, 0); @@ -26295,14 +26294,14 @@ lean_dec_ref(x_275); x_292 = lean_ctor_get(x_291, 0); x_293 = lean_ctor_get(x_292, 0); x_294 = lean_ctor_get_uint8(x_293, sizeof(void*)*1); -x_153 = x_264; +x_153 = x_272; x_154 = x_269; -x_155 = x_265; +x_155 = x_264; x_156 = x_266; x_157 = x_274; x_158 = x_267; -x_159 = x_291; -x_160 = x_272; +x_159 = x_268; +x_160 = x_291; x_161 = x_294; goto block_171; } @@ -26312,15 +26311,15 @@ lean_object* x_295; x_295 = lean_ctor_get(x_275, 0); lean_inc(x_295); lean_dec_ref(x_275); -x_153 = x_264; +x_153 = x_272; x_154 = x_269; -x_155 = x_265; +x_155 = x_264; x_156 = x_266; x_157 = x_274; x_158 = x_267; -x_159 = x_295; -x_160 = x_272; -x_161 = x_268; +x_159 = x_268; +x_160 = x_295; +x_161 = x_265; goto block_171; } } @@ -26363,31 +26362,31 @@ if (x_313 == 0) { uint8_t x_314; x_314 = 0; -x_264 = x_312; -x_265 = x_307; -x_266 = x_304; +x_264 = x_304; +x_265 = x_305; +x_266 = x_312; x_267 = x_306; -x_268 = x_305; +x_268 = x_307; x_269 = x_314; goto block_296; } else { -x_297 = x_312; -x_298 = x_307; -x_299 = x_304; +x_297 = x_304; +x_298 = x_305; +x_299 = x_312; x_300 = x_306; -x_301 = x_305; +x_301 = x_307; goto block_303; } } else { -x_297 = x_312; -x_298 = x_307; -x_299 = x_304; +x_297 = x_304; +x_298 = x_305; +x_299 = x_312; x_300 = x_306; -x_301 = x_305; +x_301 = x_307; goto block_303; } } @@ -26395,11 +26394,11 @@ else { uint8_t x_315; x_315 = 2; -x_264 = x_312; -x_265 = x_307; -x_266 = x_304; +x_264 = x_304; +x_265 = x_305; +x_266 = x_312; x_267 = x_306; -x_268 = x_305; +x_268 = x_307; x_269 = x_315; goto block_296; } @@ -26435,8 +26434,8 @@ if (x_325 == 0) { if (x_7 == 0) { -x_317 = x_323; -x_318 = x_322; +x_317 = x_322; +x_318 = x_323; x_319 = x_7; goto block_321; } @@ -26444,16 +26443,16 @@ else { uint8_t x_326; x_326 = lean_ctor_get_uint8(x_174, sizeof(void*)*1); -x_317 = x_323; -x_318 = x_322; +x_317 = x_322; +x_318 = x_323; x_319 = x_326; goto block_321; } } else { -x_317 = x_323; -x_318 = x_322; +x_317 = x_322; +x_318 = x_323; x_319 = x_325; goto block_321; } @@ -26472,7 +26471,7 @@ goto _start; block_96: { lean_object* x_29; uint8_t x_30; -x_29 = lean_st_ref_take(x_12, x_28); +x_29 = lean_st_ref_take(x_12, x_22); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -26482,30 +26481,30 @@ x_32 = !lean_is_exclusive(x_31); if (x_32 == 0) { uint8_t x_33; -x_33 = !lean_is_exclusive(x_22); +x_33 = !lean_is_exclusive(x_21); if (x_33 == 0) { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_34 = lean_ctor_get(x_29, 1); x_35 = lean_ctor_get(x_31, 0); -lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 1, x_26); x_36 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_36, 0, x_22); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_27); -lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_36, 0, x_21); +lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_20); +lean_ctor_set(x_29, 1, x_28); lean_ctor_set(x_29, 0, x_36); -x_37 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_35, x_23, x_29); +x_37 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_35, x_25, x_29); lean_ctor_set(x_31, 0, x_37); x_38 = lean_st_ref_set(x_12, x_31, x_34); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec_ref(x_38); -x_40 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_25); -lean_dec_ref(x_25); +x_40 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_27); +lean_dec_ref(x_27); if (lean_obj_tag(x_40) == 0) { -lean_dec_ref(x_20); +lean_dec_ref(x_24); x_14 = x_1; x_15 = x_39; goto block_19; @@ -26520,7 +26519,7 @@ x_42 = lean_ctor_get(x_41, 0); lean_inc_ref(x_42); lean_dec(x_41); lean_inc(x_12); -x_43 = lean_apply_3(x_20, x_42, x_12, x_39); +x_43 = lean_apply_3(x_24, x_42, x_12, x_39); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; @@ -26545,31 +26544,31 @@ else lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_45 = lean_ctor_get(x_29, 1); x_46 = lean_ctor_get(x_31, 0); -x_47 = lean_ctor_get(x_22, 0); -x_48 = lean_ctor_get_uint8(x_22, sizeof(void*)*1 + 2); +x_47 = lean_ctor_get(x_21, 0); +x_48 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 2); lean_inc(x_47); -lean_dec(x_22); +lean_dec(x_21); x_49 = lean_alloc_ctor(0, 1, 3); lean_ctor_set(x_49, 0, x_47); -lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_21); -lean_ctor_set_uint8(x_49, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_49, sizeof(void*)*1 + 1, x_26); lean_ctor_set_uint8(x_49, sizeof(void*)*1 + 2, x_48); x_50 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_50, 0, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_27); -lean_ctor_set(x_29, 1, x_26); +lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_20); +lean_ctor_set(x_29, 1, x_28); lean_ctor_set(x_29, 0, x_50); -x_51 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_46, x_23, x_29); +x_51 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_46, x_25, x_29); lean_ctor_set(x_31, 0, x_51); x_52 = lean_st_ref_set(x_12, x_31, x_45); x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); lean_dec_ref(x_52); -x_54 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_25); -lean_dec_ref(x_25); +x_54 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_27); +lean_dec_ref(x_27); if (lean_obj_tag(x_54) == 0) { -lean_dec_ref(x_20); +lean_dec_ref(x_24); x_14 = x_1; x_15 = x_53; goto block_19; @@ -26584,7 +26583,7 @@ x_56 = lean_ctor_get(x_55, 0); lean_inc_ref(x_56); lean_dec(x_55); lean_inc(x_12); -x_57 = lean_apply_3(x_20, x_56, x_12, x_53); +x_57 = lean_apply_3(x_24, x_56, x_12, x_53); if (lean_obj_tag(x_57) == 0) { lean_object* x_58; @@ -26614,14 +26613,14 @@ x_61 = lean_ctor_get(x_31, 1); lean_inc(x_61); lean_inc(x_60); lean_dec(x_31); -x_62 = lean_ctor_get(x_22, 0); +x_62 = lean_ctor_get(x_21, 0); lean_inc(x_62); -x_63 = lean_ctor_get_uint8(x_22, sizeof(void*)*1 + 2); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_64 = x_22; +x_63 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 2); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_64 = x_21; } else { - lean_dec_ref(x_22); + lean_dec_ref(x_21); x_64 = lean_box(0); } if (lean_is_scalar(x_64)) { @@ -26630,15 +26629,15 @@ if (lean_is_scalar(x_64)) { x_65 = x_64; } lean_ctor_set(x_65, 0, x_62); -lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_21); -lean_ctor_set_uint8(x_65, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_65, sizeof(void*)*1 + 1, x_26); lean_ctor_set_uint8(x_65, sizeof(void*)*1 + 2, x_63); x_66 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_66, 0, x_65); -lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_27); -lean_ctor_set(x_29, 1, x_26); +lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_20); +lean_ctor_set(x_29, 1, x_28); lean_ctor_set(x_29, 0, x_66); -x_67 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_60, x_23, x_29); +x_67 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_60, x_25, x_29); x_68 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_61); @@ -26646,11 +26645,11 @@ x_69 = lean_st_ref_set(x_12, x_68, x_59); x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec_ref(x_69); -x_71 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_25); -lean_dec_ref(x_25); +x_71 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_27); +lean_dec_ref(x_27); if (lean_obj_tag(x_71) == 0) { -lean_dec_ref(x_20); +lean_dec_ref(x_24); x_14 = x_1; x_15 = x_70; goto block_19; @@ -26665,7 +26664,7 @@ x_73 = lean_ctor_get(x_72, 0); lean_inc_ref(x_73); lean_dec(x_72); lean_inc(x_12); -x_74 = lean_apply_3(x_20, x_73, x_12, x_70); +x_74 = lean_apply_3(x_24, x_73, x_12, x_70); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; @@ -26706,14 +26705,14 @@ if (lean_is_exclusive(x_76)) { lean_dec_ref(x_76); x_80 = lean_box(0); } -x_81 = lean_ctor_get(x_22, 0); +x_81 = lean_ctor_get(x_21, 0); lean_inc(x_81); -x_82 = lean_ctor_get_uint8(x_22, sizeof(void*)*1 + 2); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_83 = x_22; +x_82 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 2); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_83 = x_21; } else { - lean_dec_ref(x_22); + lean_dec_ref(x_21); x_83 = lean_box(0); } if (lean_is_scalar(x_83)) { @@ -26722,16 +26721,16 @@ if (lean_is_scalar(x_83)) { x_84 = x_83; } lean_ctor_set(x_84, 0, x_81); -lean_ctor_set_uint8(x_84, sizeof(void*)*1, x_21); -lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_84, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 1, x_26); lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 2, x_82); x_85 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_85, 0, x_84); -lean_ctor_set_uint8(x_85, sizeof(void*)*1, x_27); +lean_ctor_set_uint8(x_85, sizeof(void*)*1, x_20); x_86 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_26); -x_87 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_78, x_23, x_86); +lean_ctor_set(x_86, 1, x_28); +x_87 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at_____private_Lean_Environment_0__Lean_Kernel_Environment_add_spec__0_spec__5___redArg(x_78, x_25, x_86); if (lean_is_scalar(x_80)) { x_88 = lean_alloc_ctor(0, 2, 0); } else { @@ -26743,11 +26742,11 @@ x_89 = lean_st_ref_set(x_12, x_88, x_77); x_90 = lean_ctor_get(x_89, 1); lean_inc(x_90); lean_dec_ref(x_89); -x_91 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_25); -lean_dec_ref(x_25); +x_91 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_27); +lean_dec_ref(x_27); if (lean_obj_tag(x_91) == 0) { -lean_dec_ref(x_20); +lean_dec_ref(x_24); x_14 = x_1; x_15 = x_90; goto block_19; @@ -26762,7 +26761,7 @@ x_93 = lean_ctor_get(x_92, 0); lean_inc_ref(x_93); lean_dec(x_92); lean_inc(x_12); -x_94 = lean_apply_3(x_20, x_93, x_12, x_90); +x_94 = lean_apply_3(x_24, x_93, x_12, x_90); if (lean_obj_tag(x_94) == 0) { lean_object* x_95; @@ -26786,29 +26785,29 @@ return x_94; block_108: { uint8_t x_107; -x_107 = l_Lean_instBEqIRPhases_beq(x_104, x_106); +x_107 = l_Lean_instBEqIRPhases_beq(x_99, x_101); if (x_107 == 0) { -x_20 = x_97; +x_20 = x_99; x_21 = x_98; -x_22 = x_99; +x_22 = x_97; x_23 = x_100; -x_24 = x_101; -x_25 = x_103; -x_26 = x_102; -x_27 = x_104; +x_24 = x_102; +x_25 = x_104; +x_26 = x_103; +x_27 = x_106; x_28 = x_105; goto block_96; } else { -lean_dec_ref(x_103); +lean_dec_ref(x_106); +lean_dec_ref(x_105); +lean_dec(x_104); lean_dec_ref(x_102); -lean_dec(x_100); -lean_dec_ref(x_99); -lean_dec_ref(x_97); +lean_dec_ref(x_98); x_14 = x_1; -x_15 = x_105; +x_15 = x_97; goto block_19; } } @@ -26816,20 +26815,20 @@ block_122: { if (x_119 == 0) { -if (x_113 == 0) +if (x_116 == 0) { uint8_t x_120; -x_120 = lean_ctor_get_uint8(x_111, sizeof(void*)*1 + 1); +x_120 = lean_ctor_get_uint8(x_110, sizeof(void*)*1 + 1); if (x_120 == 0) { -x_97 = x_109; +x_97 = x_111; x_98 = x_110; -x_99 = x_111; +x_99 = x_109; x_100 = x_112; x_101 = x_113; -x_102 = x_115; -x_103 = x_114; -x_104 = x_116; +x_102 = x_114; +x_103 = x_116; +x_104 = x_115; x_105 = x_118; x_106 = x_117; goto block_108; @@ -26840,10 +26839,10 @@ x_20 = x_109; x_21 = x_110; x_22 = x_111; x_23 = x_112; -x_24 = x_113; -x_25 = x_114; -x_26 = x_115; -x_27 = x_116; +x_24 = x_114; +x_25 = x_115; +x_26 = x_116; +x_27 = x_117; x_28 = x_118; goto block_96; } @@ -26851,30 +26850,30 @@ goto block_96; else { uint8_t x_121; -x_121 = lean_ctor_get_uint8(x_111, sizeof(void*)*1 + 1); +x_121 = lean_ctor_get_uint8(x_110, sizeof(void*)*1 + 1); if (x_121 == 0) { x_20 = x_109; x_21 = x_110; x_22 = x_111; x_23 = x_112; -x_24 = x_113; -x_25 = x_114; -x_26 = x_115; -x_27 = x_116; +x_24 = x_114; +x_25 = x_115; +x_26 = x_116; +x_27 = x_117; x_28 = x_118; goto block_96; } else { -x_97 = x_109; +x_97 = x_111; x_98 = x_110; -x_99 = x_111; +x_99 = x_109; x_100 = x_112; x_101 = x_113; -x_102 = x_115; -x_103 = x_114; -x_104 = x_116; +x_102 = x_114; +x_103 = x_116; +x_104 = x_115; x_105 = x_118; x_106 = x_117; goto block_108; @@ -26887,83 +26886,83 @@ x_20 = x_109; x_21 = x_110; x_22 = x_111; x_23 = x_112; -x_24 = x_113; -x_25 = x_114; -x_26 = x_115; -x_27 = x_116; +x_24 = x_114; +x_25 = x_115; +x_26 = x_116; +x_27 = x_117; x_28 = x_118; goto block_96; } } block_137: { -if (x_124 == 0) +if (x_125 == 0) { uint8_t x_135; -x_135 = lean_ctor_get_uint8(x_126, sizeof(void*)*1); +x_135 = lean_ctor_get_uint8(x_124, sizeof(void*)*1); if (x_135 == 0) { -x_109 = x_123; +x_109 = x_134; x_110 = x_124; -x_111 = x_126; -x_112 = x_127; -x_113 = x_129; -x_114 = x_131; +x_111 = x_123; +x_112 = x_125; +x_113 = x_127; +x_114 = x_128; x_115 = x_130; -x_116 = x_134; -x_117 = x_132; -x_118 = x_133; -x_119 = x_125; +x_116 = x_129; +x_117 = x_133; +x_118 = x_132; +x_119 = x_131; goto block_122; } else { -x_109 = x_123; +x_109 = x_134; x_110 = x_124; -x_111 = x_126; -x_112 = x_127; -x_113 = x_129; -x_114 = x_131; +x_111 = x_123; +x_112 = x_125; +x_113 = x_127; +x_114 = x_128; x_115 = x_130; -x_116 = x_134; -x_117 = x_132; -x_118 = x_133; -x_119 = x_128; +x_116 = x_129; +x_117 = x_133; +x_118 = x_132; +x_119 = x_126; goto block_122; } } else { uint8_t x_136; -x_136 = lean_ctor_get_uint8(x_126, sizeof(void*)*1); +x_136 = lean_ctor_get_uint8(x_124, sizeof(void*)*1); if (x_136 == 0) { -x_109 = x_123; +x_109 = x_134; x_110 = x_124; -x_111 = x_126; -x_112 = x_127; -x_113 = x_129; -x_114 = x_131; +x_111 = x_123; +x_112 = x_125; +x_113 = x_127; +x_114 = x_128; x_115 = x_130; -x_116 = x_134; -x_117 = x_132; -x_118 = x_133; -x_119 = x_128; +x_116 = x_129; +x_117 = x_133; +x_118 = x_132; +x_119 = x_126; goto block_122; } else { -x_109 = x_123; +x_109 = x_134; x_110 = x_124; -x_111 = x_126; -x_112 = x_127; -x_113 = x_129; -x_114 = x_131; +x_111 = x_123; +x_112 = x_125; +x_113 = x_127; +x_114 = x_128; x_115 = x_130; -x_116 = x_134; -x_117 = x_132; -x_118 = x_133; -x_119 = x_125; +x_116 = x_129; +x_117 = x_133; +x_118 = x_132; +x_119 = x_131; goto block_122; } } @@ -26971,89 +26970,89 @@ goto block_122; block_152: { uint8_t x_150; -x_150 = l_Lean_instBEqIRPhases_beq(x_138, x_146); +x_150 = l_Lean_instBEqIRPhases_beq(x_139, x_147); if (x_150 == 0) { uint8_t x_151; x_151 = 2; -x_123 = x_139; -x_124 = x_140; -x_125 = x_141; -x_126 = x_145; -x_127 = x_142; -x_128 = x_143; +x_123 = x_138; +x_124 = x_146; +x_125 = x_140; +x_126 = x_141; +x_127 = x_147; +x_128 = x_142; x_129 = x_149; -x_130 = x_147; +x_130 = x_143; x_131 = x_144; -x_132 = x_146; -x_133 = x_148; +x_132 = x_148; +x_133 = x_145; x_134 = x_151; goto block_137; } else { -x_123 = x_139; -x_124 = x_140; -x_125 = x_141; -x_126 = x_145; -x_127 = x_142; -x_128 = x_143; +x_123 = x_138; +x_124 = x_146; +x_125 = x_140; +x_126 = x_141; +x_127 = x_147; +x_128 = x_142; x_129 = x_149; -x_130 = x_147; +x_130 = x_143; x_131 = x_144; -x_132 = x_146; -x_133 = x_148; -x_134 = x_138; +x_132 = x_148; +x_133 = x_145; +x_134 = x_139; goto block_137; } } block_171: { -if (x_155 == 0) +if (x_159 == 0) { lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; uint8_t x_166; -x_162 = lean_ctor_get(x_159, 0); +x_162 = lean_ctor_get(x_160, 0); x_163 = lean_ctor_get(x_162, 0); lean_inc_ref(x_163); -x_164 = lean_ctor_get(x_159, 1); +x_164 = lean_ctor_get(x_160, 1); lean_inc_ref(x_164); x_165 = lean_ctor_get_uint8(x_162, sizeof(void*)*1); x_166 = lean_ctor_get_uint8(x_163, sizeof(void*)*1 + 1); -x_138 = x_154; -x_139 = x_153; +x_138 = x_153; +x_139 = x_154; x_140 = x_161; -x_141 = x_156; -x_142 = x_157; -x_143 = x_158; -x_144 = x_159; -x_145 = x_163; -x_146 = x_165; -x_147 = x_164; -x_148 = x_160; +x_141 = x_155; +x_142 = x_156; +x_143 = x_157; +x_144 = x_158; +x_145 = x_160; +x_146 = x_163; +x_147 = x_165; +x_148 = x_164; x_149 = x_166; goto block_152; } else { lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_167 = lean_ctor_get(x_159, 0); -x_168 = lean_ctor_get(x_159, 1); +x_167 = lean_ctor_get(x_160, 0); +x_168 = lean_ctor_get(x_160, 1); lean_inc_ref(x_168); x_169 = lean_ctor_get(x_167, 0); lean_inc_ref(x_169); x_170 = lean_ctor_get_uint8(x_167, sizeof(void*)*1); -x_138 = x_154; -x_139 = x_153; +x_138 = x_153; +x_139 = x_154; x_140 = x_161; -x_141 = x_156; -x_142 = x_157; -x_143 = x_158; -x_144 = x_159; -x_145 = x_169; -x_146 = x_170; -x_147 = x_168; -x_148 = x_160; -x_149 = x_155; +x_141 = x_155; +x_142 = x_156; +x_143 = x_157; +x_144 = x_158; +x_145 = x_160; +x_146 = x_169; +x_147 = x_170; +x_148 = x_168; +x_149 = x_159; goto block_152; } } @@ -30476,7 +30475,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_finalizeImport(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint32_t x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; size_t x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; size_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; uint8_t x_147; lean_object* x_157; size_t x_158; size_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; size_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; size_t x_194; lean_object* x_195; lean_object* x_196; size_t x_202; lean_object* x_203; lean_object* x_204; size_t x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; size_t x_221; size_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; size_t x_269; lean_object* x_270; size_t x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; size_t x_286; lean_object* x_287; size_t x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_303; uint8_t x_333; uint8_t x_334; +lean_object* x_10; lean_object* x_11; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; size_t x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; size_t x_75; lean_object* x_76; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; size_t x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; size_t x_146; uint8_t x_147; size_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; size_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; size_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; size_t x_195; lean_object* x_196; size_t x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; size_t x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_221; size_t x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; size_t x_232; lean_object* x_233; size_t x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; size_t x_277; lean_object* x_278; lean_object* x_279; size_t x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; size_t x_295; lean_object* x_296; uint8_t x_303; uint8_t x_333; uint8_t x_334; x_54 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg___closed__0; x_55 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg___closed__1; x_56 = l_Lean_instInhabitedModuleData_default; @@ -30643,25 +30642,25 @@ block_130: { lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_inc(x_61); -lean_inc_ref(x_66); -lean_inc_ref(x_67); -x_77 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_67, x_66, x_61, x_70); +lean_inc_ref(x_57); +lean_inc_ref(x_63); +x_77 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_63, x_57, x_61, x_73); x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); lean_dec_ref(x_77); lean_inc(x_61); -lean_inc_ref(x_67); -x_80 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_67, x_72, x_61, x_79); +lean_inc_ref(x_63); +x_80 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_63, x_74, x_61, x_79); x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); lean_dec_ref(x_80); -x_83 = lean_mk_empty_array_with_capacity(x_65); +x_83 = lean_mk_empty_array_with_capacity(x_59); lean_inc(x_61); -x_84 = l_Array_mapFinIdxM_map___at___Lean_finalizeImport_spec__9___redArg(x_7, x_56, x_66, x_60, x_65, x_61, x_83); +x_84 = l_Array_mapFinIdxM_map___at___Lean_finalizeImport_spec__9___redArg(x_7, x_56, x_57, x_69, x_59, x_61, x_83); lean_inc(x_61); lean_inc(x_78); x_85 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_78, x_84, x_61, x_82); @@ -30671,59 +30670,59 @@ if (x_86 == 0) lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; x_87 = lean_ctor_get(x_85, 0); x_88 = lean_ctor_get(x_85, 1); -x_89 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_finalizeImport_spec__10(x_58, x_71, x_60); +x_89 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_finalizeImport_spec__10(x_67, x_75, x_69); x_90 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_90, 0, x_75); -lean_ctor_set(x_90, 1, x_62); -lean_ctor_set_uint8(x_90, sizeof(void*)*2, x_74); +lean_ctor_set(x_90, 0, x_71); +lean_ctor_set(x_90, 1, x_72); +lean_ctor_set_uint8(x_90, sizeof(void*)*2, x_70); x_91 = lean_mk_empty_array_with_capacity(x_61); -lean_inc_ref(x_66); +lean_inc_ref(x_57); lean_inc_ref(x_89); lean_inc_ref(x_2); -lean_inc(x_68); +lean_inc(x_62); x_92 = lean_alloc_ctor(0, 5, 5); -lean_ctor_set(x_92, 0, x_68); +lean_ctor_set(x_92, 0, x_62); lean_ctor_set(x_92, 1, x_2); lean_ctor_set(x_92, 2, x_91); lean_ctor_set(x_92, 3, x_89); -lean_ctor_set(x_92, 4, x_66); +lean_ctor_set(x_92, 4, x_57); lean_ctor_set_uint32(x_92, sizeof(void*)*5, x_4); -lean_ctor_set_uint8(x_92, sizeof(void*)*5 + 4, x_64); -lean_inc_ref(x_67); +lean_ctor_set_uint8(x_92, sizeof(void*)*5 + 4, x_58); lean_inc_ref(x_63); -lean_inc_ref(x_57); +lean_inc_ref(x_65); +lean_inc_ref(x_68); x_93 = lean_alloc_ctor(0, 6, 1); lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_57); -lean_ctor_set(x_93, 2, x_63); -lean_ctor_set(x_93, 3, x_67); -lean_ctor_set(x_93, 4, x_67); +lean_ctor_set(x_93, 1, x_68); +lean_ctor_set(x_93, 2, x_65); +lean_ctor_set(x_93, 3, x_63); +lean_ctor_set(x_93, 4, x_63); lean_ctor_set(x_93, 5, x_92); -lean_ctor_set_uint8(x_93, sizeof(void*)*6, x_69); -x_94 = lean_array_get_size(x_59); -x_95 = l_Array_filterMapM___at___Lean_finalizeImport_spec__11(x_59, x_61, x_94); +lean_ctor_set_uint8(x_93, sizeof(void*)*6, x_66); +x_94 = lean_array_get_size(x_60); +x_95 = l_Array_filterMapM___at___Lean_finalizeImport_spec__11(x_60, x_61, x_94); lean_dec(x_94); lean_dec(x_61); -lean_dec_ref(x_59); +lean_dec_ref(x_60); x_96 = l_Array_append___redArg(x_76, x_95); lean_dec_ref(x_95); -lean_inc_ref(x_66); +lean_inc_ref(x_57); x_97 = lean_alloc_ctor(0, 5, 5); -lean_ctor_set(x_97, 0, x_68); +lean_ctor_set(x_97, 0, x_62); lean_ctor_set(x_97, 1, x_2); lean_ctor_set(x_97, 2, x_96); lean_ctor_set(x_97, 3, x_89); -lean_ctor_set(x_97, 4, x_66); +lean_ctor_set(x_97, 4, x_57); lean_ctor_set_uint32(x_97, sizeof(void*)*5, x_4); -lean_ctor_set_uint8(x_97, sizeof(void*)*5 + 4, x_64); +lean_ctor_set_uint8(x_97, sizeof(void*)*5 + 4, x_58); x_98 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_98, 0, x_73); -lean_ctor_set(x_98, 1, x_57); -lean_ctor_set(x_98, 2, x_63); +lean_ctor_set(x_98, 0, x_64); +lean_ctor_set(x_98, 1, x_68); +lean_ctor_set(x_98, 2, x_65); lean_ctor_set(x_98, 3, x_78); lean_ctor_set(x_98, 4, x_81); lean_ctor_set(x_98, 5, x_97); -lean_ctor_set_uint8(x_98, sizeof(void*)*6, x_69); +lean_ctor_set_uint8(x_98, sizeof(void*)*6, x_66); lean_ctor_set(x_85, 1, x_93); lean_ctor_set(x_85, 0, x_98); lean_inc_ref(x_85); @@ -30741,10 +30740,10 @@ lean_ctor_set(x_104, 4, x_101); lean_ctor_set(x_104, 5, x_101); lean_ctor_set(x_104, 6, x_102); lean_ctor_set(x_104, 7, x_103); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_74); +lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_70); if (x_5 == 0) { -x_42 = x_66; +x_42 = x_57; x_43 = x_104; x_44 = x_88; goto block_53; @@ -30758,7 +30757,7 @@ lean_inc(x_106); x_107 = lean_ctor_get(x_105, 1); lean_inc(x_107); lean_dec_ref(x_105); -x_42 = x_66; +x_42 = x_57; x_43 = x_106; x_44 = x_107; goto block_53; @@ -30772,59 +30771,59 @@ x_109 = lean_ctor_get(x_85, 1); lean_inc(x_109); lean_inc(x_108); lean_dec(x_85); -x_110 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_finalizeImport_spec__10(x_58, x_71, x_60); +x_110 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_finalizeImport_spec__10(x_67, x_75, x_69); x_111 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_111, 0, x_75); -lean_ctor_set(x_111, 1, x_62); -lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_74); +lean_ctor_set(x_111, 0, x_71); +lean_ctor_set(x_111, 1, x_72); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_70); x_112 = lean_mk_empty_array_with_capacity(x_61); -lean_inc_ref(x_66); +lean_inc_ref(x_57); lean_inc_ref(x_110); lean_inc_ref(x_2); -lean_inc(x_68); +lean_inc(x_62); x_113 = lean_alloc_ctor(0, 5, 5); -lean_ctor_set(x_113, 0, x_68); +lean_ctor_set(x_113, 0, x_62); lean_ctor_set(x_113, 1, x_2); lean_ctor_set(x_113, 2, x_112); lean_ctor_set(x_113, 3, x_110); -lean_ctor_set(x_113, 4, x_66); +lean_ctor_set(x_113, 4, x_57); lean_ctor_set_uint32(x_113, sizeof(void*)*5, x_4); -lean_ctor_set_uint8(x_113, sizeof(void*)*5 + 4, x_64); -lean_inc_ref(x_67); +lean_ctor_set_uint8(x_113, sizeof(void*)*5 + 4, x_58); lean_inc_ref(x_63); -lean_inc_ref(x_57); +lean_inc_ref(x_65); +lean_inc_ref(x_68); x_114 = lean_alloc_ctor(0, 6, 1); lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_57); -lean_ctor_set(x_114, 2, x_63); -lean_ctor_set(x_114, 3, x_67); -lean_ctor_set(x_114, 4, x_67); +lean_ctor_set(x_114, 1, x_68); +lean_ctor_set(x_114, 2, x_65); +lean_ctor_set(x_114, 3, x_63); +lean_ctor_set(x_114, 4, x_63); lean_ctor_set(x_114, 5, x_113); -lean_ctor_set_uint8(x_114, sizeof(void*)*6, x_69); -x_115 = lean_array_get_size(x_59); -x_116 = l_Array_filterMapM___at___Lean_finalizeImport_spec__11(x_59, x_61, x_115); +lean_ctor_set_uint8(x_114, sizeof(void*)*6, x_66); +x_115 = lean_array_get_size(x_60); +x_116 = l_Array_filterMapM___at___Lean_finalizeImport_spec__11(x_60, x_61, x_115); lean_dec(x_115); lean_dec(x_61); -lean_dec_ref(x_59); +lean_dec_ref(x_60); x_117 = l_Array_append___redArg(x_76, x_116); lean_dec_ref(x_116); -lean_inc_ref(x_66); +lean_inc_ref(x_57); x_118 = lean_alloc_ctor(0, 5, 5); -lean_ctor_set(x_118, 0, x_68); +lean_ctor_set(x_118, 0, x_62); lean_ctor_set(x_118, 1, x_2); lean_ctor_set(x_118, 2, x_117); lean_ctor_set(x_118, 3, x_110); -lean_ctor_set(x_118, 4, x_66); +lean_ctor_set(x_118, 4, x_57); lean_ctor_set_uint32(x_118, sizeof(void*)*5, x_4); -lean_ctor_set_uint8(x_118, sizeof(void*)*5 + 4, x_64); +lean_ctor_set_uint8(x_118, sizeof(void*)*5 + 4, x_58); x_119 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_119, 0, x_73); -lean_ctor_set(x_119, 1, x_57); -lean_ctor_set(x_119, 2, x_63); +lean_ctor_set(x_119, 0, x_64); +lean_ctor_set(x_119, 1, x_68); +lean_ctor_set(x_119, 2, x_65); lean_ctor_set(x_119, 3, x_78); lean_ctor_set(x_119, 4, x_81); lean_ctor_set(x_119, 5, x_118); -lean_ctor_set_uint8(x_119, sizeof(void*)*6, x_69); +lean_ctor_set_uint8(x_119, sizeof(void*)*6, x_66); x_120 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_114); @@ -30843,10 +30842,10 @@ lean_ctor_set(x_126, 4, x_123); lean_ctor_set(x_126, 5, x_123); lean_ctor_set(x_126, 6, x_124); lean_ctor_set(x_126, 7, x_125); -lean_ctor_set_uint8(x_126, sizeof(void*)*8, x_74); +lean_ctor_set_uint8(x_126, sizeof(void*)*8, x_70); if (x_5 == 0) { -x_42 = x_66; +x_42 = x_57; x_43 = x_126; x_44 = x_109; goto block_53; @@ -30860,7 +30859,7 @@ lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec_ref(x_127); -x_42 = x_66; +x_42 = x_57; x_43 = x_128; x_44 = x_129; goto block_53; @@ -30873,26 +30872,26 @@ lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; x_148 = l_Lean_Kernel_instInhabitedDiagnostics_default___closed__1; x_149 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_149, 0, x_148); -lean_ctor_set_uint8(x_149, sizeof(void*)*1, x_145); +lean_ctor_set_uint8(x_149, sizeof(void*)*1, x_140); x_150 = lean_box(0); x_151 = l_Lean_finalizeImport___closed__0; -x_152 = lean_nat_dec_lt(x_134, x_138); +x_152 = lean_nat_dec_lt(x_135, x_133); if (x_152 == 0) { -x_57 = x_149; -x_58 = x_131; -x_59 = x_132; -x_60 = x_133; -x_61 = x_134; -x_62 = x_135; +x_57 = x_131; +x_58 = x_132; +x_59 = x_133; +x_60 = x_134; +x_61 = x_135; +x_62 = x_150; x_63 = x_136; x_64 = x_137; x_65 = x_138; -x_66 = x_139; -x_67 = x_140; -x_68 = x_150; -x_69 = x_147; -x_70 = x_141; +x_66 = x_147; +x_67 = x_139; +x_68 = x_149; +x_69 = x_141; +x_70 = x_140; x_71 = x_142; x_72 = x_143; x_73 = x_144; @@ -30904,23 +30903,23 @@ goto block_130; else { uint8_t x_153; -x_153 = lean_nat_dec_le(x_138, x_138); +x_153 = lean_nat_dec_le(x_133, x_133); if (x_153 == 0) { -x_57 = x_149; -x_58 = x_131; -x_59 = x_132; -x_60 = x_133; -x_61 = x_134; -x_62 = x_135; +x_57 = x_131; +x_58 = x_132; +x_59 = x_133; +x_60 = x_134; +x_61 = x_135; +x_62 = x_150; x_63 = x_136; x_64 = x_137; x_65 = x_138; -x_66 = x_139; -x_67 = x_140; -x_68 = x_150; -x_69 = x_147; -x_70 = x_141; +x_66 = x_147; +x_67 = x_139; +x_68 = x_149; +x_69 = x_141; +x_70 = x_140; x_71 = x_142; x_72 = x_143; x_73 = x_144; @@ -30932,22 +30931,22 @@ goto block_130; else { size_t x_154; lean_object* x_155; -x_154 = lean_usize_of_nat(x_138); -x_155 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__13(x_133, x_142, x_154, x_151); -x_57 = x_149; -x_58 = x_131; -x_59 = x_132; -x_60 = x_133; -x_61 = x_134; -x_62 = x_135; +x_154 = lean_usize_of_nat(x_133); +x_155 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__13(x_141, x_146, x_154, x_151); +x_57 = x_131; +x_58 = x_132; +x_59 = x_133; +x_60 = x_134; +x_61 = x_135; +x_62 = x_150; x_63 = x_136; x_64 = x_137; x_65 = x_138; -x_66 = x_139; -x_67 = x_140; -x_68 = x_150; -x_69 = x_147; -x_70 = x_141; +x_66 = x_147; +x_67 = x_139; +x_68 = x_149; +x_69 = x_141; +x_70 = x_140; x_71 = x_142; x_72 = x_143; x_73 = x_144; @@ -30973,7 +30972,7 @@ lean_dec_ref(x_170); x_173 = 0; x_174 = l_Lean_mkEmptyEnvironment___closed__6; x_175 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_175, 0, x_157); +lean_ctor_set(x_175, 0, x_162); lean_ctor_set(x_175, 1, x_174); lean_ctor_set_uint8(x_175, sizeof(void*)*2, x_173); x_176 = l_Array_isEmpty___redArg(x_2); @@ -30981,43 +30980,43 @@ if (x_176 == 0) { uint8_t x_177; x_177 = 1; -x_131 = x_158; +x_131 = x_159; x_132 = x_161; -x_133 = x_160; -x_134 = x_162; -x_135 = x_174; -x_136 = x_165; -x_137 = x_164; -x_138 = x_166; -x_139 = x_167; -x_140 = x_171; -x_141 = x_172; -x_142 = x_159; -x_143 = x_163; -x_144 = x_175; -x_145 = x_173; -x_146 = x_168; +x_133 = x_163; +x_134 = x_164; +x_135 = x_166; +x_136 = x_171; +x_137 = x_175; +x_138 = x_158; +x_139 = x_157; +x_140 = x_173; +x_141 = x_160; +x_142 = x_168; +x_143 = x_174; +x_144 = x_172; +x_145 = x_165; +x_146 = x_167; x_147 = x_177; goto block_156; } else { -x_131 = x_158; +x_131 = x_159; x_132 = x_161; -x_133 = x_160; -x_134 = x_162; -x_135 = x_174; -x_136 = x_165; -x_137 = x_164; -x_138 = x_166; -x_139 = x_167; -x_140 = x_171; -x_141 = x_172; -x_142 = x_159; -x_143 = x_163; -x_144 = x_175; -x_145 = x_173; -x_146 = x_168; +x_133 = x_163; +x_134 = x_164; +x_135 = x_166; +x_136 = x_171; +x_137 = x_175; +x_138 = x_158; +x_139 = x_157; +x_140 = x_173; +x_141 = x_160; +x_142 = x_168; +x_143 = x_174; +x_144 = x_172; +x_145 = x_165; +x_146 = x_167; x_147 = x_173; goto block_156; } @@ -31026,14 +31025,14 @@ else { uint8_t x_178; lean_dec_ref(x_168); -lean_dec_ref(x_167); lean_dec(x_166); lean_dec_ref(x_165); -lean_dec_ref(x_163); -lean_dec(x_162); -lean_dec_ref(x_161); +lean_dec_ref(x_164); +lean_dec(x_163); +lean_dec_ref(x_162); lean_dec_ref(x_160); -lean_dec_ref(x_157); +lean_dec_ref(x_159); +lean_dec_ref(x_158); lean_dec(x_3); lean_dec_ref(x_2); x_178 = !lean_is_exclusive(x_170); @@ -31060,110 +31059,110 @@ block_201: { size_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; x_197 = lean_array_size(x_196); -x_198 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_finalizeImport_spec__15(x_54, x_55, x_196, x_197, x_194, x_187, x_191); +x_198 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_finalizeImport_spec__15(x_54, x_55, x_196, x_197, x_195, x_194, x_188); lean_dec_ref(x_196); x_199 = lean_ctor_get(x_198, 0); lean_inc(x_199); x_200 = lean_ctor_get(x_198, 1); lean_inc(x_200); lean_dec_ref(x_198); -x_157 = x_193; -x_158 = x_183; -x_159 = x_194; -x_160 = x_184; -x_161 = x_185; -x_162 = x_186; -x_163 = x_195; -x_164 = x_188; -x_165 = x_189; -x_166 = x_190; -x_167 = x_192; +x_157 = x_189; +x_158 = x_190; +x_159 = x_183; +x_160 = x_191; +x_161 = x_184; +x_162 = x_192; +x_163 = x_185; +x_164 = x_186; +x_165 = x_193; +x_166 = x_187; +x_167 = x_195; x_168 = x_199; x_169 = x_200; goto block_182; } block_220: { -if (x_209 == 0) +if (x_205 == 0) { -x_157 = x_213; -x_158 = x_202; -x_159 = x_205; +x_157 = x_202; +x_158 = x_212; +x_159 = x_203; x_160 = x_204; -x_161 = x_203; -x_162 = x_206; -x_163 = x_208; -x_164 = x_209; -x_165 = x_212; -x_166 = x_210; +x_161 = x_205; +x_162 = x_213; +x_163 = x_206; +x_164 = x_207; +x_165 = x_209; +x_166 = x_208; x_167 = x_211; -x_168 = x_207; +x_168 = x_210; x_169 = x_214; goto block_182; } else { lean_object* x_215; uint8_t x_216; -x_215 = lean_mk_empty_array_with_capacity(x_206); -x_216 = lean_nat_dec_lt(x_206, x_210); +x_215 = lean_mk_empty_array_with_capacity(x_208); +x_216 = lean_nat_dec_lt(x_208, x_206); if (x_216 == 0) { -x_183 = x_202; -x_184 = x_204; -x_185 = x_203; -x_186 = x_206; -x_187 = x_207; -x_188 = x_209; -x_189 = x_212; -x_190 = x_210; -x_191 = x_214; -x_192 = x_211; -x_193 = x_213; -x_194 = x_205; -x_195 = x_208; +x_183 = x_203; +x_184 = x_205; +x_185 = x_206; +x_186 = x_207; +x_187 = x_208; +x_188 = x_214; +x_189 = x_202; +x_190 = x_212; +x_191 = x_204; +x_192 = x_213; +x_193 = x_209; +x_194 = x_210; +x_195 = x_211; x_196 = x_215; goto block_201; } else { uint8_t x_217; -x_217 = lean_nat_dec_le(x_210, x_210); +x_217 = lean_nat_dec_le(x_206, x_206); if (x_217 == 0) { -x_183 = x_202; -x_184 = x_204; -x_185 = x_203; -x_186 = x_206; -x_187 = x_207; -x_188 = x_209; -x_189 = x_212; -x_190 = x_210; -x_191 = x_214; -x_192 = x_211; -x_193 = x_213; -x_194 = x_205; -x_195 = x_208; +x_183 = x_203; +x_184 = x_205; +x_185 = x_206; +x_186 = x_207; +x_187 = x_208; +x_188 = x_214; +x_189 = x_202; +x_190 = x_212; +x_191 = x_204; +x_192 = x_213; +x_193 = x_209; +x_194 = x_210; +x_195 = x_211; x_196 = x_215; goto block_201; } else { size_t x_218; lean_object* x_219; -x_218 = lean_usize_of_nat(x_210); -x_219 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__16(x_204, x_205, x_218, x_215); -x_183 = x_202; -x_184 = x_204; -x_185 = x_203; -x_186 = x_206; -x_187 = x_207; -x_188 = x_209; -x_189 = x_212; -x_190 = x_210; -x_191 = x_214; -x_192 = x_211; -x_193 = x_213; -x_194 = x_205; -x_195 = x_208; +x_218 = lean_usize_of_nat(x_206); +x_219 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__16(x_204, x_211, x_218, x_215); +x_183 = x_203; +x_184 = x_205; +x_185 = x_206; +x_186 = x_207; +x_187 = x_208; +x_188 = x_214; +x_189 = x_202; +x_190 = x_212; +x_191 = x_204; +x_192 = x_213; +x_193 = x_209; +x_194 = x_210; +x_195 = x_211; x_196 = x_219; goto block_201; } @@ -31174,7 +31173,7 @@ block_268: { lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; x_234 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_mkExtNameMap_spec__0___redArg___closed__0; -x_235 = lean_nat_add(x_230, x_233); +x_235 = lean_nat_add(x_221, x_233); x_236 = lean_unsigned_to_nat(4u); x_237 = lean_nat_mul(x_235, x_236); lean_dec(x_235); @@ -31185,20 +31184,20 @@ x_240 = l_Nat_nextPowerOfTwo(x_239); lean_dec(x_239); x_241 = lean_box(0); x_242 = lean_mk_array(x_240, x_241); -lean_inc(x_226); +lean_inc(x_230); x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_226); +lean_ctor_set(x_243, 0, x_230); lean_ctor_set(x_243, 1, x_242); -x_244 = lean_nat_mul(x_230, x_236); -lean_dec(x_230); +x_244 = lean_nat_mul(x_221, x_236); +lean_dec(x_221); x_245 = lean_nat_div(x_244, x_238); lean_dec(x_244); x_246 = l_Nat_nextPowerOfTwo(x_245); lean_dec(x_245); x_247 = lean_mk_array(x_246, x_241); -lean_inc(x_226); +lean_inc(x_230); x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_226); +lean_ctor_set(x_248, 0, x_230); lean_ctor_set(x_248, 1, x_247); x_249 = lean_nat_mul(x_233, x_236); lean_dec(x_233); @@ -31207,32 +31206,32 @@ lean_dec(x_249); x_251 = l_Nat_nextPowerOfTwo(x_250); lean_dec(x_250); x_252 = lean_mk_array(x_251, x_241); -lean_inc(x_226); +lean_inc(x_230); x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_226); +lean_ctor_set(x_253, 0, x_230); lean_ctor_set(x_253, 1, x_252); x_254 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_234); -lean_inc(x_226); -lean_inc(x_232); -x_255 = lean_apply_2(x_254, x_232, x_226); +lean_inc(x_230); +lean_inc(x_228); +x_255 = lean_apply_2(x_254, x_228, x_230); x_256 = lean_unbox(x_255); if (x_256 == 0) { -lean_dec(x_232); +lean_dec(x_228); lean_dec_ref(x_1); -x_202 = x_221; -x_203 = x_224; -x_204 = x_223; -x_205 = x_222; +x_202 = x_222; +x_203 = x_223; +x_204 = x_224; +x_205 = x_225; x_206 = x_226; -x_207 = x_253; -x_208 = x_227; -x_209 = x_228; -x_210 = x_229; -x_211 = x_231; +x_207 = x_227; +x_208 = x_230; +x_209 = x_229; +x_210 = x_253; +x_211 = x_232; x_212 = x_243; x_213 = x_248; -x_214 = x_225; +x_214 = x_231; goto block_220; } else @@ -31242,8 +31241,8 @@ x_257 = 0; x_258 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_258, 0, x_243); lean_ctor_set(x_258, 1, x_248); -lean_inc(x_226); -x_259 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_finalizeImport_spec__17___redArg(x_54, x_55, x_1, x_231, x_227, x_257, x_232, x_226, x_258, x_226, x_225); +lean_inc(x_230); +x_259 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_finalizeImport_spec__17___redArg(x_54, x_55, x_1, x_223, x_229, x_257, x_228, x_230, x_258, x_230, x_231); if (lean_obj_tag(x_259) == 0) { lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; @@ -31257,16 +31256,16 @@ lean_inc(x_262); x_263 = lean_ctor_get(x_260, 1); lean_inc(x_263); lean_dec(x_260); -x_202 = x_221; -x_203 = x_224; -x_204 = x_223; -x_205 = x_222; +x_202 = x_222; +x_203 = x_223; +x_204 = x_224; +x_205 = x_225; x_206 = x_226; -x_207 = x_253; -x_208 = x_227; -x_209 = x_228; -x_210 = x_229; -x_211 = x_231; +x_207 = x_227; +x_208 = x_230; +x_209 = x_229; +x_210 = x_253; +x_211 = x_232; x_212 = x_262; x_213 = x_263; x_214 = x_261; @@ -31276,8 +31275,8 @@ else { uint8_t x_264; lean_dec_ref(x_253); -lean_dec_ref(x_231); -lean_dec(x_229); +lean_dec(x_230); +lean_dec_ref(x_229); lean_dec_ref(x_227); lean_dec(x_226); lean_dec_ref(x_224); @@ -31308,24 +31307,24 @@ return x_267; block_285: { lean_object* x_280; uint8_t x_281; -x_280 = lean_array_get_size(x_272); -x_281 = lean_nat_dec_lt(x_273, x_280); +x_280 = lean_array_get_size(x_271); +x_281 = lean_nat_dec_lt(x_274, x_280); if (x_281 == 0) { -lean_inc(x_273); -x_221 = x_269; -x_222 = x_271; -x_223 = x_272; -x_224 = x_270; -x_225 = x_274; -x_226 = x_273; -x_227 = x_275; +lean_inc(x_274); +x_221 = x_279; +x_222 = x_269; +x_223 = x_270; +x_224 = x_271; +x_225 = x_272; +x_226 = x_280; +x_227 = x_273; x_228 = x_276; -x_229 = x_280; -x_230 = x_279; -x_231 = x_277; -x_232 = x_278; -x_233 = x_273; +x_229 = x_275; +x_230 = x_274; +x_231 = x_278; +x_232 = x_277; +x_233 = x_274; goto block_268; } else @@ -31334,40 +31333,40 @@ uint8_t x_282; x_282 = lean_nat_dec_le(x_280, x_280); if (x_282 == 0) { -lean_inc(x_273); -x_221 = x_269; -x_222 = x_271; -x_223 = x_272; -x_224 = x_270; -x_225 = x_274; -x_226 = x_273; -x_227 = x_275; +lean_inc(x_274); +x_221 = x_279; +x_222 = x_269; +x_223 = x_270; +x_224 = x_271; +x_225 = x_272; +x_226 = x_280; +x_227 = x_273; x_228 = x_276; -x_229 = x_280; -x_230 = x_279; -x_231 = x_277; -x_232 = x_278; -x_233 = x_273; +x_229 = x_275; +x_230 = x_274; +x_231 = x_278; +x_232 = x_277; +x_233 = x_274; goto block_268; } else { size_t x_283; lean_object* x_284; x_283 = lean_usize_of_nat(x_280); -lean_inc(x_273); -x_284 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__19(x_272, x_271, x_283, x_273); -x_221 = x_269; -x_222 = x_271; -x_223 = x_272; -x_224 = x_270; -x_225 = x_274; -x_226 = x_273; -x_227 = x_275; +lean_inc(x_274); +x_284 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__19(x_271, x_277, x_283, x_274); +x_221 = x_279; +x_222 = x_269; +x_223 = x_270; +x_224 = x_271; +x_225 = x_272; +x_226 = x_280; +x_227 = x_273; x_228 = x_276; -x_229 = x_280; -x_230 = x_279; -x_231 = x_277; -x_232 = x_278; +x_229 = x_275; +x_230 = x_274; +x_231 = x_278; +x_232 = x_277; x_233 = x_284; goto block_268; } @@ -31376,21 +31375,21 @@ goto block_268; block_302: { lean_object* x_297; uint8_t x_298; -x_297 = lean_array_get_size(x_292); -x_298 = lean_nat_dec_lt(x_291, x_297); +x_297 = lean_array_get_size(x_293); +x_298 = lean_nat_dec_lt(x_292, x_297); if (x_298 == 0) { lean_dec(x_297); x_269 = x_286; -x_270 = x_289; +x_270 = x_287; x_271 = x_288; -x_272 = x_287; -x_273 = x_291; -x_274 = x_290; -x_275 = x_292; -x_276 = x_293; -x_277 = x_294; -x_278 = x_295; +x_272 = x_289; +x_273 = x_290; +x_274 = x_292; +x_275 = x_293; +x_276 = x_291; +x_277 = x_295; +x_278 = x_294; x_279 = x_296; goto block_285; } @@ -31402,15 +31401,15 @@ if (x_299 == 0) { lean_dec(x_297); x_269 = x_286; -x_270 = x_289; +x_270 = x_287; x_271 = x_288; -x_272 = x_287; -x_273 = x_291; -x_274 = x_290; -x_275 = x_292; -x_276 = x_293; -x_277 = x_294; -x_278 = x_295; +x_272 = x_289; +x_273 = x_290; +x_274 = x_292; +x_275 = x_293; +x_276 = x_291; +x_277 = x_295; +x_278 = x_294; x_279 = x_296; goto block_285; } @@ -31419,17 +31418,17 @@ else size_t x_300; lean_object* x_301; x_300 = lean_usize_of_nat(x_297); lean_dec(x_297); -x_301 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__20(x_292, x_288, x_300, x_296); +x_301 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__20(x_293, x_295, x_300, x_296); x_269 = x_286; -x_270 = x_289; +x_270 = x_287; x_271 = x_288; -x_272 = x_287; -x_273 = x_291; -x_274 = x_290; -x_275 = x_292; -x_276 = x_293; -x_277 = x_294; -x_278 = x_295; +x_272 = x_289; +x_273 = x_290; +x_274 = x_292; +x_275 = x_293; +x_276 = x_291; +x_277 = x_295; +x_278 = x_294; x_279 = x_301; goto block_285; } @@ -31477,15 +31476,15 @@ x_320 = lean_nat_dec_lt(x_305, x_319); if (x_320 == 0) { x_286 = x_308; -x_287 = x_307; -x_288 = x_309; -x_289 = x_318; -x_290 = x_315; -x_291 = x_305; -x_292 = x_317; -x_293 = x_303; -x_294 = x_311; -x_295 = x_319; +x_287 = x_311; +x_288 = x_307; +x_289 = x_303; +x_290 = x_318; +x_291 = x_319; +x_292 = x_305; +x_293 = x_317; +x_294 = x_315; +x_295 = x_309; x_296 = x_305; goto block_302; } @@ -31496,15 +31495,15 @@ x_321 = lean_nat_dec_le(x_319, x_319); if (x_321 == 0) { x_286 = x_308; -x_287 = x_307; -x_288 = x_309; -x_289 = x_318; -x_290 = x_315; -x_291 = x_305; -x_292 = x_317; -x_293 = x_303; -x_294 = x_311; -x_295 = x_319; +x_287 = x_311; +x_288 = x_307; +x_289 = x_303; +x_290 = x_318; +x_291 = x_319; +x_292 = x_305; +x_293 = x_317; +x_294 = x_315; +x_295 = x_309; x_296 = x_305; goto block_302; } @@ -31514,15 +31513,15 @@ size_t x_322; lean_object* x_323; x_322 = lean_usize_of_nat(x_319); x_323 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_finalizeImport_spec__21(x_311, x_309, x_322, x_305); x_286 = x_308; -x_287 = x_307; -x_288 = x_309; -x_289 = x_318; -x_290 = x_315; -x_291 = x_305; -x_292 = x_317; -x_293 = x_303; -x_294 = x_311; -x_295 = x_319; +x_287 = x_311; +x_288 = x_307; +x_289 = x_303; +x_290 = x_318; +x_291 = x_319; +x_292 = x_305; +x_293 = x_317; +x_294 = x_315; +x_295 = x_309; x_296 = x_323; goto block_302; } @@ -33266,9 +33265,9 @@ block_22: { lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = l_Nat_reprFast(x_18); -x_20 = lean_string_append(x_16, x_19); +x_20 = lean_string_append(x_17, x_19); lean_dec_ref(x_19); -x_21 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_20, x_17); +x_21 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_20, x_16); x_9 = x_21; goto block_15; } @@ -33286,8 +33285,8 @@ if (x_28 == 0) lean_dec(x_27); lean_dec_ref(x_25); lean_inc(x_3); -x_16 = x_26; -x_17 = x_24; +x_16 = x_24; +x_17 = x_26; x_18 = x_3; goto block_22; } @@ -33300,8 +33299,8 @@ if (x_29 == 0) lean_dec(x_27); lean_dec_ref(x_25); lean_inc(x_3); -x_16 = x_26; -x_17 = x_24; +x_16 = x_24; +x_17 = x_26; x_18 = x_3; goto block_22; } @@ -33314,8 +33313,8 @@ lean_dec(x_27); lean_inc(x_3); x_32 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Environment_displayStats_spec__4(x_25, x_30, x_31, x_3); lean_dec_ref(x_25); -x_16 = x_26; -x_17 = x_24; +x_16 = x_24; +x_17 = x_26; x_18 = x_32; goto block_22; } @@ -33472,9 +33471,9 @@ block_22: { lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = l_Nat_reprFast(x_18); -x_20 = lean_string_append(x_17, x_19); +x_20 = lean_string_append(x_16, x_19); lean_dec_ref(x_19); -x_21 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_20, x_16); +x_21 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_20, x_17); x_9 = x_21; goto block_15; } @@ -33492,8 +33491,8 @@ if (x_28 == 0) lean_dec(x_27); lean_dec_ref(x_25); lean_inc(x_3); -x_16 = x_24; -x_17 = x_26; +x_16 = x_26; +x_17 = x_24; x_18 = x_3; goto block_22; } @@ -33506,8 +33505,8 @@ if (x_29 == 0) lean_dec(x_27); lean_dec_ref(x_25); lean_inc(x_3); -x_16 = x_24; -x_17 = x_26; +x_16 = x_26; +x_17 = x_24; x_18 = x_3; goto block_22; } @@ -33520,8 +33519,8 @@ lean_dec(x_27); lean_inc(x_3); x_32 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Environment_displayStats_spec__4(x_25, x_30, x_31, x_3); lean_dec_ref(x_25); -x_16 = x_24; -x_17 = x_26; +x_16 = x_26; +x_17 = x_24; x_18 = x_32; goto block_22; } @@ -33778,9 +33777,9 @@ block_83: lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_32 = lean_usize_to_nat(x_31); x_33 = l_Nat_reprFast(x_32); -x_34 = lean_string_append(x_29, x_33); +x_34 = lean_string_append(x_30, x_33); lean_dec_ref(x_33); -x_35 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_34, x_30); +x_35 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_34, x_29); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -33992,8 +33991,8 @@ if (x_95 == 0) { lean_dec(x_94); lean_dec_ref(x_93); -x_29 = x_90; -x_30 = x_89; +x_29 = x_89; +x_30 = x_90; x_31 = x_92; goto block_83; } @@ -34004,8 +34003,8 @@ x_96 = lean_usize_of_nat(x_94); lean_dec(x_94); x_97 = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___Lean_Environment_displayStats_spec__10(x_93, x_96, x_92, x_92); lean_dec_ref(x_93); -x_29 = x_90; -x_30 = x_89; +x_29 = x_89; +x_30 = x_90; x_31 = x_97; goto block_83; } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c index e8dee36f90..0e2c2fb5e4 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c @@ -509,7 +509,7 @@ LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Meta_Simp_initFn____ lean_object* l_Array_eraseIdx___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_addSimprocAttr___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at___Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Simproc_4225812397____hygCtx___hyg_2__spec__0(lean_object*); -lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Simproc_0__Lean_Meta_Simp_initFn___closed__25____x40_Lean_Meta_Tactic_Simp_Simproc_1616411946____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___Array_binInsertM___at_____private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___Lean_Meta_DiscrTree_insertCore___at___Lean_Meta_Simp_Simprocs_addCore_spec__0_spec__8_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Simproc_0__Lean_Meta_Simp_initFn___closed__1____x40_Lean_Meta_Tactic_Simp_Simproc_1616411946____hygCtx___hyg_2_; @@ -4548,7 +4548,7 @@ lean_dec_ref(x_17); x_20 = !lean_is_exclusive(x_18); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; x_21 = lean_ctor_get(x_18, 0); x_22 = lean_ctor_get(x_18, 5); lean_dec(x_22); @@ -4558,46 +4558,48 @@ lean_inc_ref(x_24); x_25 = lean_ctor_get(x_24, 2); lean_inc(x_25); lean_dec_ref(x_24); -x_26 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_23, x_21, x_11, x_25); +x_26 = lean_box(0); +x_27 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_23, x_21, x_11, x_25, x_26); lean_dec(x_25); -x_27 = l_Lean_Meta_Simp_registerSimproc___closed__2; -lean_ctor_set(x_18, 5, x_27); -lean_ctor_set(x_18, 0, x_26); -x_28 = lean_st_ref_set(x_4, x_18, x_19); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_28 = l_Lean_Meta_Simp_registerSimproc___closed__2; +lean_ctor_set(x_18, 5, x_28); +lean_ctor_set(x_18, 0, x_27); +x_29 = lean_st_ref_set(x_4, x_18, x_19); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -x_31 = lean_box(0); -lean_ctor_set(x_28, 0, x_31); -return x_28; +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); -lean_dec(x_28); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_35 = lean_ctor_get(x_18, 0); -x_36 = lean_ctor_get(x_18, 1); -x_37 = lean_ctor_get(x_18, 2); -x_38 = lean_ctor_get(x_18, 3); -x_39 = lean_ctor_get(x_18, 4); -x_40 = lean_ctor_get(x_18, 6); -x_41 = lean_ctor_get(x_18, 7); -x_42 = lean_ctor_get(x_18, 8); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_36 = lean_ctor_get(x_18, 0); +x_37 = lean_ctor_get(x_18, 1); +x_38 = lean_ctor_get(x_18, 2); +x_39 = lean_ctor_get(x_18, 3); +x_40 = lean_ctor_get(x_18, 4); +x_41 = lean_ctor_get(x_18, 6); +x_42 = lean_ctor_get(x_18, 7); +x_43 = lean_ctor_get(x_18, 8); +lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); @@ -4605,277 +4607,278 @@ lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); lean_dec(x_18); -x_43 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0; -x_44 = lean_ctor_get(x_43, 0); -lean_inc_ref(x_44); -x_45 = lean_ctor_get(x_44, 2); -lean_inc(x_45); -lean_dec_ref(x_44); -x_46 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_43, x_35, x_11, x_45); -lean_dec(x_45); -x_47 = l_Lean_Meta_Simp_registerSimproc___closed__2; -x_48 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_36); -lean_ctor_set(x_48, 2, x_37); -lean_ctor_set(x_48, 3, x_38); -lean_ctor_set(x_48, 4, x_39); -lean_ctor_set(x_48, 5, x_47); -lean_ctor_set(x_48, 6, x_40); -lean_ctor_set(x_48, 7, x_41); -lean_ctor_set(x_48, 8, x_42); -x_49 = lean_st_ref_set(x_4, x_48, x_19); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_51 = x_49; -} else { - lean_dec_ref(x_49); - x_51 = lean_box(0); -} -x_52 = lean_box(0); -if (lean_is_scalar(x_51)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { +x_44 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0; +x_45 = lean_ctor_get(x_44, 0); +lean_inc_ref(x_45); +x_46 = lean_ctor_get(x_45, 2); +lean_inc(x_46); +lean_dec_ref(x_45); +x_47 = lean_box(0); +x_48 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_44, x_36, x_11, x_46, x_47); +lean_dec(x_46); +x_49 = l_Lean_Meta_Simp_registerSimproc___closed__2; +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_37); +lean_ctor_set(x_50, 2, x_38); +lean_ctor_set(x_50, 3, x_39); +lean_ctor_set(x_50, 4, x_40); +lean_ctor_set(x_50, 5, x_49); +lean_ctor_set(x_50, 6, x_41); +lean_ctor_set(x_50, 7, x_42); +lean_ctor_set(x_50, 8, x_43); +x_51 = lean_st_ref_set(x_4, x_50, x_19); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); } -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_50); -return x_53; +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; } } else { -uint8_t x_54; +uint8_t x_56; lean_dec_ref(x_11); -x_54 = !lean_is_exclusive(x_13); -if (x_54 == 0) +x_56 = !lean_is_exclusive(x_13); +if (x_56 == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_55 = lean_ctor_get(x_13, 1); -x_56 = lean_ctor_get(x_13, 0); -lean_dec(x_56); -x_57 = l_Lean_Meta_Simp_registerSimproc___closed__4; -x_58 = 0; -x_59 = l_Lean_MessageData_ofConstName(x_1, x_58); +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_57 = lean_ctor_get(x_13, 1); +x_58 = lean_ctor_get(x_13, 0); +lean_dec(x_58); +x_59 = l_Lean_Meta_Simp_registerSimproc___closed__4; +x_60 = 0; +x_61 = l_Lean_MessageData_ofConstName(x_1, x_60); lean_ctor_set_tag(x_13, 7); -lean_ctor_set(x_13, 1, x_59); -lean_ctor_set(x_13, 0, x_57); -x_60 = l_Lean_Meta_Simp_registerSimproc___closed__6; +lean_ctor_set(x_13, 1, x_61); +lean_ctor_set(x_13, 0, x_59); +x_62 = l_Lean_Meta_Simp_registerSimproc___closed__6; lean_ctor_set_tag(x_6, 7); -lean_ctor_set(x_6, 1, x_60); +lean_ctor_set(x_6, 1, x_62); lean_ctor_set(x_6, 0, x_13); -x_61 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_55); -return x_61; +x_63 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_57); +return x_63; } else { -lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_62 = lean_ctor_get(x_13, 1); -lean_inc(x_62); +lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_64 = lean_ctor_get(x_13, 1); +lean_inc(x_64); lean_dec(x_13); -x_63 = l_Lean_Meta_Simp_registerSimproc___closed__4; -x_64 = 0; -x_65 = l_Lean_MessageData_ofConstName(x_1, x_64); -x_66 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_66, 0, x_63); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Meta_Simp_registerSimproc___closed__6; +x_65 = l_Lean_Meta_Simp_registerSimproc___closed__4; +x_66 = 0; +x_67 = l_Lean_MessageData_ofConstName(x_1, x_66); +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Meta_Simp_registerSimproc___closed__6; lean_ctor_set_tag(x_6, 7); -lean_ctor_set(x_6, 1, x_67); -lean_ctor_set(x_6, 0, x_66); -x_68 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_62); -return x_68; +lean_ctor_set(x_6, 1, x_69); +lean_ctor_set(x_6, 0, x_68); +x_70 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_64); +return x_70; } } } else { -uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_dec_ref(x_12); lean_dec_ref(x_11); -x_69 = 0; -x_70 = l_Lean_Meta_Simp_registerSimproc___closed__4; -x_71 = l_Lean_MessageData_ofConstName(x_1, x_69); +x_71 = 0; +x_72 = l_Lean_Meta_Simp_registerSimproc___closed__4; +x_73 = l_Lean_MessageData_ofConstName(x_1, x_71); lean_ctor_set_tag(x_6, 7); -lean_ctor_set(x_6, 1, x_71); -lean_ctor_set(x_6, 0, x_70); -x_72 = l_Lean_Meta_Simp_registerSimproc___closed__8; -x_73 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_73, 0, x_6); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_73, x_3, x_4, x_9); -return x_74; +lean_ctor_set(x_6, 1, x_73); +lean_ctor_set(x_6, 0, x_72); +x_74 = l_Lean_Meta_Simp_registerSimproc___closed__8; +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_6); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_75, x_3, x_4, x_9); +return x_76; } } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_75 = lean_ctor_get(x_6, 0); -x_76 = lean_ctor_get(x_6, 1); -lean_inc(x_76); -lean_inc(x_75); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_6, 0); +x_78 = lean_ctor_get(x_6, 1); +lean_inc(x_78); +lean_inc(x_77); lean_dec(x_6); -x_77 = lean_ctor_get(x_75, 0); -lean_inc_ref(x_77); -lean_dec(x_75); +x_79 = lean_ctor_get(x_77, 0); +lean_inc_ref(x_79); +lean_dec(x_77); lean_inc(x_1); -x_78 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_registerSimproc___lam__0), 3, 2); -lean_closure_set(x_78, 0, x_1); -lean_closure_set(x_78, 1, x_2); -x_79 = l_Lean_Environment_getModuleIdxFor_x3f(x_77, x_1); -lean_dec_ref(x_77); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; uint8_t x_82; -lean_inc(x_1); -x_80 = l_Lean_Meta_Simp_isSimproc___redArg(x_1, x_4, x_76); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_unbox(x_81); -lean_dec(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_1); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec_ref(x_80); -x_84 = lean_st_ref_take(x_4, x_83); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec_ref(x_84); -x_87 = lean_ctor_get(x_85, 0); -lean_inc_ref(x_87); -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); -x_89 = lean_ctor_get(x_85, 2); -lean_inc_ref(x_89); -x_90 = lean_ctor_get(x_85, 3); -lean_inc_ref(x_90); -x_91 = lean_ctor_get(x_85, 4); -lean_inc_ref(x_91); -x_92 = lean_ctor_get(x_85, 6); -lean_inc_ref(x_92); -x_93 = lean_ctor_get(x_85, 7); -lean_inc_ref(x_93); -x_94 = lean_ctor_get(x_85, 8); -lean_inc_ref(x_94); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - lean_ctor_release(x_85, 2); - lean_ctor_release(x_85, 3); - lean_ctor_release(x_85, 4); - lean_ctor_release(x_85, 5); - lean_ctor_release(x_85, 6); - lean_ctor_release(x_85, 7); - lean_ctor_release(x_85, 8); - x_95 = x_85; -} else { - lean_dec_ref(x_85); - x_95 = lean_box(0); -} -x_96 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0; -x_97 = lean_ctor_get(x_96, 0); -lean_inc_ref(x_97); -x_98 = lean_ctor_get(x_97, 2); -lean_inc(x_98); -lean_dec_ref(x_97); -x_99 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_96, x_87, x_78, x_98); -lean_dec(x_98); -x_100 = l_Lean_Meta_Simp_registerSimproc___closed__2; -if (lean_is_scalar(x_95)) { - x_101 = lean_alloc_ctor(0, 9, 0); -} else { - x_101 = x_95; -} -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_88); -lean_ctor_set(x_101, 2, x_89); -lean_ctor_set(x_101, 3, x_90); -lean_ctor_set(x_101, 4, x_91); -lean_ctor_set(x_101, 5, x_100); -lean_ctor_set(x_101, 6, x_92); -lean_ctor_set(x_101, 7, x_93); -lean_ctor_set(x_101, 8, x_94); -x_102 = lean_st_ref_set(x_4, x_101, x_86); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_104 = x_102; -} else { - lean_dec_ref(x_102); - x_104 = lean_box(0); -} -x_105 = lean_box(0); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -return x_106; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec_ref(x_78); -x_107 = lean_ctor_get(x_80, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_108 = x_80; -} else { - lean_dec_ref(x_80); - x_108 = lean_box(0); -} -x_109 = l_Lean_Meta_Simp_registerSimproc___closed__4; -x_110 = 0; -x_111 = l_Lean_MessageData_ofConstName(x_1, x_110); -if (lean_is_scalar(x_108)) { - x_112 = lean_alloc_ctor(7, 2, 0); -} else { - x_112 = x_108; - lean_ctor_set_tag(x_112, 7); -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Meta_Simp_registerSimproc___closed__6; -x_114 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -x_115 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_114, x_3, x_4, x_107); -return x_115; -} -} -else -{ -uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_80 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_registerSimproc___lam__0), 3, 2); +lean_closure_set(x_80, 0, x_1); +lean_closure_set(x_80, 1, x_2); +x_81 = l_Lean_Environment_getModuleIdxFor_x3f(x_79, x_1); lean_dec_ref(x_79); -lean_dec_ref(x_78); -x_116 = 0; -x_117 = l_Lean_Meta_Simp_registerSimproc___closed__4; -x_118 = l_Lean_MessageData_ofConstName(x_1, x_116); -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_Meta_Simp_registerSimproc___closed__8; -x_121 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_121, x_3, x_4, x_76); -return x_122; +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; +lean_inc(x_1); +x_82 = l_Lean_Meta_Simp_isSimproc___redArg(x_1, x_4, x_78); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_unbox(x_83); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_1); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec_ref(x_82); +x_86 = lean_st_ref_take(x_4, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec_ref(x_86); +x_89 = lean_ctor_get(x_87, 0); +lean_inc_ref(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_87, 2); +lean_inc_ref(x_91); +x_92 = lean_ctor_get(x_87, 3); +lean_inc_ref(x_92); +x_93 = lean_ctor_get(x_87, 4); +lean_inc_ref(x_93); +x_94 = lean_ctor_get(x_87, 6); +lean_inc_ref(x_94); +x_95 = lean_ctor_get(x_87, 7); +lean_inc_ref(x_95); +x_96 = lean_ctor_get(x_87, 8); +lean_inc_ref(x_96); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + lean_ctor_release(x_87, 3); + lean_ctor_release(x_87, 4); + lean_ctor_release(x_87, 5); + lean_ctor_release(x_87, 6); + lean_ctor_release(x_87, 7); + lean_ctor_release(x_87, 8); + x_97 = x_87; +} else { + lean_dec_ref(x_87); + x_97 = lean_box(0); +} +x_98 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0; +x_99 = lean_ctor_get(x_98, 0); +lean_inc_ref(x_99); +x_100 = lean_ctor_get(x_99, 2); +lean_inc(x_100); +lean_dec_ref(x_99); +x_101 = lean_box(0); +x_102 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_98, x_89, x_80, x_100, x_101); +lean_dec(x_100); +x_103 = l_Lean_Meta_Simp_registerSimproc___closed__2; +if (lean_is_scalar(x_97)) { + x_104 = lean_alloc_ctor(0, 9, 0); +} else { + x_104 = x_97; +} +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_90); +lean_ctor_set(x_104, 2, x_91); +lean_ctor_set(x_104, 3, x_92); +lean_ctor_set(x_104, 4, x_93); +lean_ctor_set(x_104, 5, x_103); +lean_ctor_set(x_104, 6, x_94); +lean_ctor_set(x_104, 7, x_95); +lean_ctor_set(x_104, 8, x_96); +x_105 = lean_st_ref_set(x_4, x_104, x_88); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +x_108 = lean_box(0); +if (lean_is_scalar(x_107)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_107; +} +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_106); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec_ref(x_80); +x_110 = lean_ctor_get(x_82, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_111 = x_82; +} else { + lean_dec_ref(x_82); + x_111 = lean_box(0); +} +x_112 = l_Lean_Meta_Simp_registerSimproc___closed__4; +x_113 = 0; +x_114 = l_Lean_MessageData_ofConstName(x_1, x_113); +if (lean_is_scalar(x_111)) { + x_115 = lean_alloc_ctor(7, 2, 0); +} else { + x_115 = x_111; + lean_ctor_set_tag(x_115, 7); +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Meta_Simp_registerSimproc___closed__6; +x_117 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_117, x_3, x_4, x_110); +return x_118; +} +} +else +{ +uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec_ref(x_81); +lean_dec_ref(x_80); +x_119 = 0; +x_120 = l_Lean_Meta_Simp_registerSimproc___closed__4; +x_121 = l_Lean_MessageData_ofConstName(x_1, x_119); +x_122 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_Meta_Simp_registerSimproc___closed__8; +x_124 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_124, x_3, x_4, x_78); +return x_125; } } } @@ -18828,8 +18831,8 @@ x_149 = lean_ctor_get(x_146, 1); lean_inc(x_149); lean_dec_ref(x_146); x_24 = x_149; -x_25 = x_143; -x_26 = x_148; +x_25 = x_148; +x_26 = x_143; x_27 = x_4; goto block_34; } @@ -18842,8 +18845,8 @@ x_151 = lean_ctor_get(x_146, 1); lean_inc(x_151); lean_dec_ref(x_146); x_24 = x_151; -x_25 = x_143; -x_26 = x_150; +x_25 = x_150; +x_26 = x_143; x_27 = x_145; goto block_34; } @@ -18940,9 +18943,9 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean x_28 = lean_box(x_3); x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_29, 1, x_25); x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_30, 0, x_26); lean_ctor_set(x_30, 1, x_29); x_31 = lean_box(x_27); x_32 = lean_alloc_ctor(0, 2, 0); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index af24c27d6b..fcb80a0827 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -103,6 +103,7 @@ static lean_object* l_Lean_Parser_Command_InternalSyntax_end__local__scope___clo static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_nonrec_parenthesizer__215___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_printEqns_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_protected___closed__1; +static lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_declSig___closed__8; static lean_object* l_Lean_Parser_Command_sectionHeader_formatter___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_open___regBuiltin_Lean_Parser_Command_openOnly_parenthesizer__51(lean_object*); @@ -326,6 +327,7 @@ static lean_object* l_Lean_Parser_Command_include_formatter___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_universe___regBuiltin_Lean_Parser_Command_universe_formatter__9(lean_object*); static lean_object* l_Lean_Parser_Command_axiom___closed__0; static lean_object* l_Lean_Parser_Command_register__tactic__tag___closed__10; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_recommended__spelling_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declModifiers___closed__13; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_universe___regBuiltin_Lean_Parser_Command_universe_declRange__5___closed__4; @@ -489,6 +491,7 @@ static lean_object* l_Lean_Parser_Command_attribute___closed__16; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_eval___regBuiltin_Lean_Parser_Command_eval_declRange__5___closed__3; lean_object* l_Lean_Parser_addBuiltinTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__0; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_exit___regBuiltin_Lean_Parser_Command_exit_declRange__3___closed__1; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_printEqns___closed__11; @@ -512,6 +515,7 @@ static lean_object* l_Lean_Parser_Command_section___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Command_ctor; static lean_object* l_Lean_Parser_Command_init__quot___closed__2; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_quot___regBuiltin_Lean_Parser_Command_quot_declRange__5___closed__0; +static lean_object* l_Lean_Parser_Command_docs__to__verso_formatter___closed__2; lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_structureTk_formatter___closed__2; static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__2; @@ -804,11 +808,11 @@ static lean_object* l_Lean_Parser_Command_declValSimple___closed__9; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_initFn___closed__26____x40_Lean_Parser_Command_3343425417____hygCtx___hyg_2_; static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_openOnly_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_docs__to__verso_formatter___closed__1; static lean_object* l_Lean_Parser_Command_noncomputable___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDefDeriving; static lean_object* l_Lean_Parser_Command_optionValue___closed__7; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_moduleDoc___regBuiltin_Lean_Parser_Command_moduleDoc_declRange__5___closed__3; -static lean_object* l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_skipUntilWs___closed__1; static lean_object* l_Lean_Parser_Term_quot___closed__15; static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed__0; @@ -966,6 +970,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_ static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__3; lean_object* l_Lean_Parser_priorityParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_deriving___closed__8; +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Tactic_open___regBuiltin_Lean_Parser_Tactic_open__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_classTk_formatter__141(lean_object*); static lean_object* l_Lean_Parser_Command_ctor___closed__13; @@ -998,6 +1003,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_ static lean_object* l_Lean_Parser_Command_include_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_attribute___closed__8; static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_printAxioms___regBuiltin_Lean_Parser_Command_printAxioms_declRange__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_structure; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Tactic_set__option___regBuiltin_Lean_Parser_Tactic_set__option_declRange__5___closed__4; @@ -1078,6 +1084,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_decla static lean_object* l_Lean_Parser_Command_eoi___closed__3; static lean_object* l_Lean_Parser_Command_exit___closed__6; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_classInductive_parenthesizer__309___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11(lean_object*); static lean_object* l_Lean_Parser_Command_namedPrio_parenthesizer___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_declValSimple_formatter__53(lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Term_quot___regBuiltin_Lean_Parser_Term_quot_declRange__5___closed__3; @@ -1104,6 +1111,7 @@ static lean_object* l_Lean_Parser_Command_declValEqns___closed__1; lean_object* l_Lean_Parser_sepByIndent_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_definition_formatter__79___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_variable___regBuiltin_Lean_Parser_Command_variable_declRange__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_docs__to__verso; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_open___regBuiltin_Lean_Parser_Command_open_formatter__35(lean_object*); static lean_object* l_Lean_Parser_Command_openRenaming___closed__11; static lean_object* l_Lean_Parser_Command_abbrev___closed__0; @@ -1112,6 +1120,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Term_open___r static lean_object* l_Lean_Parser_Term_set__option_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_ctor_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__5; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_universe___regBuiltin_Lean_Parser_Command_universe_declRange__5___closed__5; static lean_object* l_Lean_Parser_Command_structure___closed__13; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__8; @@ -1377,6 +1386,7 @@ static lean_object* l_Lean_Parser_Command_instance_formatter___closed__6; lean_object* l_Lean_Parser_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_derivingClass___closed__13; +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3(lean_object*); static lean_object* l_Lean_Parser_Command_structInstBinder___closed__6; static lean_object* l_Lean_Parser_Command_eoi___closed__1; static lean_object* l_Lean_Parser_Term_set__option___closed__3; @@ -1496,6 +1506,7 @@ static lean_object* l_Lean_Parser_Command_protected_formatter___closed__0; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_noncomputable_formatter__25___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_structInstBinder_parenthesizer__341(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_derivingClasses; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__9; static lean_object* l_Lean_Parser_Tactic_open_formatter___closed__2; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_export___regBuiltin_Lean_Parser_Command_export_declRange__5___closed__5; static lean_object* l_Lean_Parser_Command_declId___closed__7; @@ -1510,6 +1521,7 @@ static lean_object* l_Lean_Parser_Command_open_formatter___closed__4; static lean_object* l_Lean_Parser_Command_structure_formatter___closed__3; static lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_precheckedQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__1; static lean_object* l_Lean_Parser_Command_universe_formatter___closed__4; static lean_object* l_Lean_Parser_Command_register__tactic__tag_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_binderIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1698,6 +1710,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_print static lean_object* l_Lean_Parser_Command_section_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_protected_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_docs__to__verso_formatter___closed__0; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__2; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_initFn___closed__22____x40_Lean_Parser_Command_3343425417____hygCtx___hyg_2_; extern lean_object* l_Lean_Parser_Term_attrKind; @@ -1918,6 +1931,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_synth LEAN_EXPORT lean_object* l_Lean_Parser_Command_openOnly; static lean_object* l_Lean_Parser_Command_partial___closed__0; static lean_object* l_Lean_Parser_Command_evalBang___closed__5; +static lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declModifiers___regBuiltin_Lean_Parser_Command_declModifiers_docString__1(lean_object*); @@ -2034,6 +2048,7 @@ static lean_object* l_Lean_Parser_Command_computedFields___closed__5; static lean_object* l_Lean_Parser_Command_structCtor_formatter___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_register__tactic__tag___regBuiltin_Lean_Parser_Command_register__tactic__tag_declRange__5(lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_open___regBuiltin_Lean_Parser_Command_openScoped_parenthesizer__59___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namedPrio___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optNamedPrio_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_end___closed__2; @@ -2123,6 +2138,7 @@ static lean_object* l_Lean_Parser_Command_public___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_universe___regBuiltin_Lean_Parser_Command_universe_declRange__5(lean_object*); static lean_object* l_Lean_Parser_Command_universe_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_include___closed__7; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__4; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_extends___closed__10; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_instance_formatter__101___closed__0; @@ -2342,6 +2358,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_open_ static lean_object* l_Lean_Parser_Command_classTk___closed__3; static lean_object* l_Lean_Parser_Command_optDeriving___closed__5; static lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_declId_formatter___closed__3; static lean_object* l_Lean_Parser_Command_visibility_parenthesizer___closed__0; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_whereStructInst_formatter__61___closed__0; @@ -2480,6 +2497,7 @@ static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__0; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_variable___regBuiltin_Lean_Parser_Command_variable_docString__3___closed__0; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_check___regBuiltin_Lean_Parser_Command_check_declRange__3___closed__4; static lean_object* l_Lean_Parser_Command_sectionHeader_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_declId___closed__8; static lean_object* l_Lean_Parser_Command_openOnly___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_protected_formatter__17(lean_object*); @@ -2626,7 +2644,6 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_addDo static lean_object* l_Lean_Parser_Command_open___closed__6; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_classInductive_formatter__133___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structInstBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_recommended__spelling_formatter___closed__11; static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers___closed__20; static lean_object* l_Lean_Parser_Command_classInductive___closed__12; @@ -2671,6 +2688,7 @@ static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___c static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__2; +static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0; static lean_object* l_Lean_Parser_Command_unsafe_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_printTacTags___regBuiltin_Lean_Parser_Command_printTacTags_docString__3(lean_object*); static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__1; @@ -2799,6 +2817,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_attri static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_printSig___regBuiltin_Lean_Parser_Command_printSig_formatter__5(lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_import___regBuiltin_Lean_Parser_Command_import_parenthesizer__11___closed__0; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_structParent_formatter__145(lean_object*); lean_object* l_Lean_Parser_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2909,6 +2928,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_ static lean_object* l_Lean_Parser_Command_variable_formatter___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_noncomputable_formatter__25(lean_object*); static lean_object* l_Lean_Parser_Command_declSig_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__7; static lean_object* l_Lean_Parser_Command_ctor___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Command_include_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namedPrio___closed__13; @@ -3270,6 +3290,7 @@ static lean_object* l_Lean_Parser_Command_mutual_formatter___closed__3; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_init__quot___regBuiltin_Lean_Parser_Command_init__quot_declRange__3___closed__4; static lean_object* l_Lean_Parser_Command_extends___closed__7; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_docs__to__verso_formatter___closed__4; static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__22; static lean_object* l_Lean_Parser_Command_abbrev___closed__1; @@ -3322,6 +3343,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_initF static lean_object* l_Lean_Parser_Command_inductive___closed__8; LEAN_EXPORT uint8_t l___private_Lean_Parser_Command_0__Lean_Parser_Command_skipUntilWsOrDelim___lam__0(uint32_t); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Tactic_open___regBuiltin_Lean_Parser_Tactic_open_declRange__5___closed__0; +static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_parenthesizer__11(lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_import___regBuiltin_Lean_Parser_Command_import_declRange__3___closed__6; @@ -3362,6 +3384,7 @@ static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_secti static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__5; static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__1; static lean_object* l_Lean_Parser_Command_import___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_docs__to__verso_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_visibility_ofAttrKind___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_computedField_parenthesizer__293(lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_initFn___closed__5____x40_Lean_Parser_Command_3343425417____hygCtx___hyg_2_; @@ -3524,7 +3547,6 @@ static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed_ static lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__6; static lean_object* l_Lean_Parser_Command_declValEqns___closed__3; -static lean_object* l_Lean_Parser_Command_recommended__spelling___closed__16; static lean_object* l_Lean_Parser_Command_version_formatter___closed__1; static lean_object* l_Lean_Parser_Command_classInductive___closed__4; static lean_object* l_Lean_Parser_Command_noncomputable___closed__2; @@ -3677,6 +3699,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_eval_parenthesizer(lean_object*, static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_registerErrorExplanationStx_formatter___closed__4; static lean_object* l_Lean_Parser_Command_optDeclSig_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_abbrev_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_version___regBuiltin_Lean_Parser_Command_version_parenthesizer__11___closed__0; @@ -3698,6 +3721,7 @@ static lean_object* l_Lean_Parser_Command_attribute___closed__11; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_theorem_formatter__87___closed__0; static lean_object* l_Lean_Parser_Command_section_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_instance___closed__7; +static lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__7; static lean_object* l_Lean_Parser_Command_classTk___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_declaration___regBuiltin_Lean_Parser_Command_structCtor_parenthesizer__329(lean_object*); @@ -3707,6 +3731,7 @@ static lean_object* l_Lean_Parser_Command_public___closed__2; static lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_addDocString_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__11; +static lean_object* l_Lean_Parser_Command_docs__to__verso_formatter___closed__3; static lean_object* l_Lean_Parser_Command_dumpAsyncEnvState_formatter___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_printTacTags___regBuiltin_Lean_Parser_Command_printTacTags__1(lean_object*); static lean_object* l_Lean_Parser_Command_attribute___closed__14; @@ -3738,6 +3763,7 @@ lean_object* l_Lean_Parser_withoutPosition(lean_object*); static lean_object* l_Lean_Parser_Command_declValSimple___closed__13; static lean_object* l_Lean_Parser_Command_printTacTags_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__3; +static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0; static lean_object* l_Lean_Parser_Term_quot___closed__8; static lean_object* l_Lean_Parser_Command_registerErrorExplanationStx___closed__2; static lean_object* l_Lean_Parser_Command_abbrev_parenthesizer___closed__4; @@ -3898,6 +3924,7 @@ static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Tactic_open___regBuiltin_Lean_Parser_Tactic_open_declRange__5___closed__4; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems_formatter___closed__2; static lean_object* l_Lean_Parser_Command_namedPrio_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Command_docs__to__verso___closed__6; static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_private___closed__6; static lean_object* l_Lean_Parser_Command_exit___closed__2; @@ -32802,6 +32829,358 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docs_to_verso", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_2 = l_Lean_Parser_Command_quot___closed__0; +x_3 = l_Lean_Parser_Term_quot___closed__1; +x_4 = l_Lean_Parser_Term_quot___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docs_to_verso ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__3; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__5() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_Parser_Command_declId___closed__7; +x_3 = l_Lean_Parser_Command_declId___closed__6; +x_4 = l_Lean_Parser_Command_declId___closed__3; +x_5 = l_Lean_Parser_sepBy1(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__5; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__6; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__7; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__8; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__9; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_quot___closed__4; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l_Lean_Parser_Command_docs__to__verso; +x_5 = lean_unsigned_to_nat(1000u); +x_6 = l_Lean_Parser_addBuiltinLeadingParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("An internal bootstrapping command that reinterprets a Markdown docstring as Verso.\n", 83, 83); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_3 = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = 0; +x_2 = l_Lean_Parser_Command_declId_formatter___closed__3; +x_3 = l_Lean_Parser_Command_declId___closed__6; +x_4 = l_Lean_Parser_Command_declId_formatter___closed__1; +x_5 = lean_box(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_formatter___boxed), 9, 4); +lean_closure_set(x_6, 0, x_4); +lean_closure_set(x_6, 1, x_3); +lean_closure_set(x_6, 2, x_2); +lean_closure_set(x_6, 3, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__2; +x_2 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_docs__to__verso_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__0; +x_7 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__4; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Parser_Command_0__Lean_Parser_Term_quot___regBuiltin_Lean_Parser_Term_quot_formatter__9___closed__1; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_3 = l_Lean_Parser_Command_quot___closed__0; +x_4 = l_Lean_Parser_Term_quot___closed__1; +x_5 = l_Lean_Parser_Term_quot___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___private_Lean_Parser_Command_0__Lean_Parser_Term_quot___regBuiltin_Lean_Parser_Term_quot_formatter__9___closed__0; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_docs__to__verso_formatter), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_docs__to__verso___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = 0; +x_2 = l_Lean_Parser_Command_declId_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Command_declId___closed__6; +x_4 = l_Lean_Parser_Command_declId_parenthesizer___closed__1; +x_5 = lean_box(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_parenthesizer___boxed), 9, 4); +lean_closure_set(x_6, 0, x_4); +lean_closure_set(x_6, 1, x_3); +lean_closure_set(x_6, 2, x_2); +lean_closure_set(x_6, 3, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_docs__to__verso_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Parser_Command_0__Lean_Parser_Term_quot___regBuiltin_Lean_Parser_Term_quot_parenthesizer__13___closed__1; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__0; +x_3 = l_Lean_Parser_Command_quot___closed__0; +x_4 = l_Lean_Parser_Term_quot___closed__1; +x_5 = l_Lean_Parser_Term_quot___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___private_Lean_Parser_Command_0__Lean_Parser_Term_quot___regBuiltin_Lean_Parser_Term_quot_parenthesizer__13___closed__0; +x_3 = l_Lean_Parser_Command_docs__to__verso___closed__1; +x_4 = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_docs__to__verso_parenthesizer), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Command_optionValue___closed__0() { _start: { @@ -41296,21 +41675,19 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__5() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 0; -x_2 = l_Lean_Parser_Command_declId___closed__7; -x_3 = l_Lean_Parser_Command_declId___closed__6; -x_4 = l_Lean_Parser_Command_declId___closed__3; -x_5 = l_Lean_Parser_sepBy1(x_4, x_3, x_2, x_1); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_derivingClass___closed__8; +x_2 = l_Lean_Parser_Command_docs__to__verso___closed__5; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_derivingClass___closed__8; -x_2 = l_Lean_Parser_Command_recommended__spelling___closed__5; +x_1 = l_Lean_Parser_Command_recommended__spelling___closed__5; +x_2 = l_Lean_Parser_Command_structInstBinder___closed__4; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41320,7 +41697,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__6; -x_2 = l_Lean_Parser_Command_structInstBinder___closed__4; +x_2 = l_Lean_Parser_Command_in___closed__1; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41330,7 +41707,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__7; -x_2 = l_Lean_Parser_Command_in___closed__1; +x_2 = l_Lean_Parser_Command_print___closed__5; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41340,7 +41717,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__8; -x_2 = l_Lean_Parser_Command_print___closed__5; +x_2 = l_Lean_Parser_Command_deriving___closed__6; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41350,7 +41727,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__9; -x_2 = l_Lean_Parser_Command_deriving___closed__6; +x_2 = l_Lean_Parser_Command_print___closed__5; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41360,7 +41737,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__10; -x_2 = l_Lean_Parser_Command_print___closed__5; +x_2 = l_Lean_Parser_Command_recommended__spelling___closed__4; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41370,7 +41747,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__11; -x_2 = l_Lean_Parser_Command_recommended__spelling___closed__4; +x_2 = l_Lean_Parser_Command_register__tactic__tag___closed__4; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -41378,22 +41755,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__12; -x_2 = l_Lean_Parser_Command_register__tactic__tag___closed__4; -x_3 = l_Lean_Parser_andthen(x_2, x_1); -return x_3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_recommended__spelling___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__13; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_recommended__spelling___closed__1; -x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); -return x_4; +x_2 = l_Lean_Parser_Command_recommended__spelling___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__15() { @@ -41401,16 +41778,6 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling___closed__14; -x_2 = l_Lean_Parser_Command_recommended__spelling___closed__2; -x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_recommended__spelling___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_recommended__spelling___closed__15; x_2 = l_Lean_Parser_Command_recommended__spelling___closed__1; x_3 = l_Lean_Parser_withCache(x_2, x_1); return x_3; @@ -41420,7 +41787,7 @@ static lean_object* _init_l_Lean_Parser_Command_recommended__spelling() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_recommended__spelling___closed__16; +x_1 = l_Lean_Parser_Command_recommended__spelling___closed__15; return x_1; } } @@ -41485,26 +41852,21 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__2() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = 0; -x_2 = l_Lean_Parser_Command_declId_formatter___closed__3; -x_3 = l_Lean_Parser_Command_declId___closed__6; -x_4 = l_Lean_Parser_Command_declId_formatter___closed__1; -x_5 = lean_box(x_1); -x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_formatter___boxed), 9, 4); -lean_closure_set(x_6, 0, x_4); -lean_closure_set(x_6, 1, x_3); -lean_closure_set(x_6, 2, x_2); -lean_closure_set(x_6, 3, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_derivingClass_formatter___closed__3; +x_2 = l_Lean_Parser_Command_docs__to__verso_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_derivingClass_formatter___closed__3; -x_2 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__2; +x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__2; +x_2 = l_Lean_Parser_Command_structInstBinder_formatter___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41516,7 +41878,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__3; -x_2 = l_Lean_Parser_Command_structInstBinder_formatter___closed__1; +x_2 = l_Lean_Parser_Command_in_formatter___closed__0; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41528,7 +41890,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__4; -x_2 = l_Lean_Parser_Command_in_formatter___closed__0; +x_2 = l_Lean_Parser_Command_print_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41540,7 +41902,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__5; -x_2 = l_Lean_Parser_Command_print_formatter___closed__2; +x_2 = l_Lean_Parser_Command_deriving_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41552,7 +41914,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__6; -x_2 = l_Lean_Parser_Command_deriving_formatter___closed__2; +x_2 = l_Lean_Parser_Command_print_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41564,7 +41926,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__7; -x_2 = l_Lean_Parser_Command_print_formatter___closed__2; +x_2 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41576,7 +41938,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__8; -x_2 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__1; +x_2 = l_Lean_Parser_Command_register__tactic__tag_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41586,20 +41948,8 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__9; -x_2 = l_Lean_Parser_Command_register__tactic__tag_formatter___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_2); -lean_closure_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__11() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__10; +x_1 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__9; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Command_recommended__spelling___closed__1; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -41614,7 +41964,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__0; -x_7 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__11; +x_7 = l_Lean_Parser_Command_recommended__spelling_formatter___closed__10; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -41675,26 +42025,21 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__2() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = 0; -x_2 = l_Lean_Parser_Command_declId_parenthesizer___closed__3; -x_3 = l_Lean_Parser_Command_declId___closed__6; -x_4 = l_Lean_Parser_Command_declId_parenthesizer___closed__1; -x_5 = lean_box(x_1); -x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_parenthesizer___boxed), 9, 4); -lean_closure_set(x_6, 0, x_4); -lean_closure_set(x_6, 1, x_3); -lean_closure_set(x_6, 2, x_2); -lean_closure_set(x_6, 3, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_derivingClass_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_derivingClass_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41706,7 +42051,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_in_parenthesizer___closed__0; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41718,7 +42063,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_in_parenthesizer___closed__0; +x_2 = l_Lean_Parser_Command_print_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41730,7 +42075,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_print_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_deriving_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41742,7 +42087,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__6; -x_2 = l_Lean_Parser_Command_deriving_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_print_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41754,7 +42099,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__7; -x_2 = l_Lean_Parser_Command_print_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41766,7 +42111,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_register__tactic__tag_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -41776,20 +42121,8 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__9; -x_2 = l_Lean_Parser_Command_register__tactic__tag_parenthesizer___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_2); -lean_closure_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10; +x_1 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__9; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Command_recommended__spelling___closed__1; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); @@ -41804,7 +42137,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__0; -x_7 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11; +x_7 = l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10; x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -51593,6 +51926,66 @@ lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_init if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_init__quot___regBuiltin_Lean_Parser_Command_init__quot_parenthesizer__11(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Parser_Command_docs__to__verso___closed__0 = _init_l_Lean_Parser_Command_docs__to__verso___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__0); +l_Lean_Parser_Command_docs__to__verso___closed__1 = _init_l_Lean_Parser_Command_docs__to__verso___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__1); +l_Lean_Parser_Command_docs__to__verso___closed__2 = _init_l_Lean_Parser_Command_docs__to__verso___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__2); +l_Lean_Parser_Command_docs__to__verso___closed__3 = _init_l_Lean_Parser_Command_docs__to__verso___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__3); +l_Lean_Parser_Command_docs__to__verso___closed__4 = _init_l_Lean_Parser_Command_docs__to__verso___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__4); +l_Lean_Parser_Command_docs__to__verso___closed__5 = _init_l_Lean_Parser_Command_docs__to__verso___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__5); +l_Lean_Parser_Command_docs__to__verso___closed__6 = _init_l_Lean_Parser_Command_docs__to__verso___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__6); +l_Lean_Parser_Command_docs__to__verso___closed__7 = _init_l_Lean_Parser_Command_docs__to__verso___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__7); +l_Lean_Parser_Command_docs__to__verso___closed__8 = _init_l_Lean_Parser_Command_docs__to__verso___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__8); +l_Lean_Parser_Command_docs__to__verso___closed__9 = _init_l_Lean_Parser_Command_docs__to__verso___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso___closed__9); +l_Lean_Parser_Command_docs__to__verso = _init_l_Lean_Parser_Command_docs__to__verso(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso); +if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0 = _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0(); +lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3___closed__0); +if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_docString__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_docs__to__verso_formatter___closed__0 = _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_formatter___closed__0); +l_Lean_Parser_Command_docs__to__verso_formatter___closed__1 = _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_formatter___closed__1); +l_Lean_Parser_Command_docs__to__verso_formatter___closed__2 = _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_formatter___closed__2); +l_Lean_Parser_Command_docs__to__verso_formatter___closed__3 = _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_formatter___closed__3); +l_Lean_Parser_Command_docs__to__verso_formatter___closed__4 = _init_l_Lean_Parser_Command_docs__to__verso_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_formatter___closed__4); +l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0 = _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0(); +lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7___closed__0); +if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_formatter__7(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__0); +l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__1); +l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__2); +l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__3); +l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_docs__to__verso_parenthesizer___closed__4); +l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0 = _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0(); +lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11___closed__0); +if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_docs__to__verso___regBuiltin_Lean_Parser_Command_docs__to__verso_parenthesizer__11(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_Parser_Command_optionValue___closed__0 = _init_l_Lean_Parser_Command_optionValue___closed__0(); lean_mark_persistent(l_Lean_Parser_Command_optionValue___closed__0); l_Lean_Parser_Command_optionValue___closed__1 = _init_l_Lean_Parser_Command_optionValue___closed__1(); @@ -53074,8 +53467,6 @@ l_Lean_Parser_Command_recommended__spelling___closed__14 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling___closed__14); l_Lean_Parser_Command_recommended__spelling___closed__15 = _init_l_Lean_Parser_Command_recommended__spelling___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling___closed__15); -l_Lean_Parser_Command_recommended__spelling___closed__16 = _init_l_Lean_Parser_Command_recommended__spelling___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling___closed__16); l_Lean_Parser_Command_recommended__spelling = _init_l_Lean_Parser_Command_recommended__spelling(); lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling); if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling__1(lean_io_mk_world()); @@ -53108,8 +53499,6 @@ l_Lean_Parser_Command_recommended__spelling_formatter___closed__9 = _init_l_Lean lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_formatter___closed__9); l_Lean_Parser_Command_recommended__spelling_formatter___closed__10 = _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_formatter___closed__10); -l_Lean_Parser_Command_recommended__spelling_formatter___closed__11 = _init_l_Lean_Parser_Command_recommended__spelling_formatter___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_formatter___closed__11); l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_formatter__7___closed__0 = _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_formatter__7___closed__0(); lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_formatter__7___closed__0); if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_formatter__7(lean_io_mk_world()); @@ -53137,8 +53526,6 @@ l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__9 = _init_l_ lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__9); l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__10); -l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_recommended__spelling_parenthesizer___closed__11); l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_parenthesizer__11___closed__0 = _init_l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_parenthesizer__11___closed__0(); lean_mark_persistent(l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_parenthesizer__11___closed__0); if (builtin) {res = l___private_Lean_Parser_Command_0__Lean_Parser_Command_recommended__spelling___regBuiltin_Lean_Parser_Command_recommended__spelling_parenthesizer__11(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/ScopedEnvExtension.c b/stage0/stdlib/Lean/ScopedEnvExtension.c index a12e1a05da..a1f8928593 100644 --- a/stage0/stdlib/Lean/ScopedEnvExtension.c +++ b/stage0/stdlib/Lean/ScopedEnvExtension.c @@ -237,7 +237,7 @@ LEAN_EXPORT lean_object* l_Lean_stateStackModify(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_ScopedEnvExtension_activateScoped_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedEnvExtension_default(lean_object*); -lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedScopedEnvExtension_default___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_ScopedEnvExtension_addImportedFn_spec__1___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at___Lean_ScopedEnvExtension_ScopedEntries_insert_spec__6_spec__11_spec__12_spec__12(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4793,14 +4793,15 @@ return x_22; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_pushScope___redArg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = lean_ctor_get(x_1, 1); lean_inc_ref(x_3); lean_dec_ref(x_1); x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_pushScope___redArg___lam__0), 1, 0); x_5 = lean_box(1); -x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5); -return x_6; +x_6 = lean_box(0); +x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_pushScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -4862,14 +4863,15 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_popScope___redArg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = lean_ctor_get(x_1, 1); lean_inc_ref(x_3); lean_dec_ref(x_1); x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_popScope___redArg___lam__0), 1, 0); x_5 = lean_box(1); -x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5); -return x_6; +x_6 = lean_box(0); +x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_popScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -5024,14 +5026,15 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_setDelimitsLocal___redArg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = lean_ctor_get(x_1, 1); lean_inc_ref(x_3); lean_dec_ref(x_1); x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_setDelimitsLocal___redArg___lam__0), 1, 0); x_5 = lean_box(1); -x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5); -return x_6; +x_6 = lean_box(0); +x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_setDelimitsLocal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -5297,15 +5300,16 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_1, 1); lean_inc_ref(x_4); x_5 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_addLocalEntry___redArg___lam__0), 3, 2); lean_closure_set(x_5, 0, x_1); lean_closure_set(x_5, 1, x_3); x_6 = lean_box(1); -x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6); -return x_7; +x_7 = lean_box(0); +x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6, x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_addLocalEntry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -6312,15 +6316,16 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_activateScoped___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_1, 1); lean_inc_ref(x_4); x_5 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_activateScoped___redArg___lam__0), 3, 2); lean_closure_set(x_5, 0, x_3); lean_closure_set(x_5, 1, x_1); x_6 = lean_box(1); -x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6); -return x_7; +x_7 = lean_box(0); +x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6, x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_activateScoped(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -6630,7 +6635,7 @@ return x_36; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_1, 1); lean_inc_ref(x_4); lean_dec_ref(x_1); @@ -6639,9 +6644,10 @@ x_6 = lean_ctor_get(x_5, 2); lean_inc(x_6); x_7 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_modifyState___redArg___lam__0), 2, 1); lean_closure_set(x_7, 0, x_3); -x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_7, x_6); +x_8 = lean_box(0); +x_9 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_7, x_6, x_8); lean_dec(x_6); -return x_8; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {